Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-12.1/sys/arm64/coresight/
H A Dcoresight-tmc.c69 uint32_t dev_type; member
227 sc->dev_type = CORESIGHT_ETR; in tmc_init()
231 sc->dev_type = CORESIGHT_ETF; in tmc_init()
239 sc->dev_type = CORESIGHT_UNKNOWN; in tmc_init()
255 if (sc->dev_type == CORESIGHT_ETF) in tmc_enable()
258 KASSERT(sc->dev_type == CORESIGHT_ETR, in tmc_enable()
290 if (sc->dev_type == CORESIGHT_ETF) in tmc_disable()
293 KASSERT(sc->dev_type == CORESIGHT_ETR, ("Wrong dev_type")); in tmc_disable()
314 if (sc->dev_type == CORESIGHT_ETF) in tmc_read()
370 desc.dev_type = CORESIGHT_TMC; in tmc_attach()
H A Dcoresight.h60 enum cs_dev_type dev_type; member
86 enum cs_dev_type dev_type; member
H A Dcoresight-cmd.c101 if (cs_dev->dev_type == event->src && in coresight_init_event()
111 if (cs_dev->dev_type == CORESIGHT_CPU_DEBUG && in coresight_init_event()
H A Dcoresight.c121 cs_dev->dev_type = desc->dev_type; in coresight_register()
H A Dcoresight-cpu-debug.c138 desc.dev_type = CORESIGHT_CPU_DEBUG; in debug_attach()
H A Dcoresight-dynamic-replicator.c144 desc.dev_type = CORESIGHT_DYNAMIC_REPLICATOR; in replicator_attach()
H A Dcoresight-funnel.c153 desc.dev_type = CORESIGHT_FUNNEL; in funnel_attach()
H A Dcoresight-etm4x.c280 desc.dev_type = CORESIGHT_ETMV4; in etm_attach()
/freebsd-12.1/contrib/wpa/src/wps/
H A Dwps_common.c462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin()
467 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin()
472 if (hexstr2bin(pos, &dev_type[2], 4)) in wps_dev_type_str2bin()
478 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin()
485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str()
491 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]), in wps_dev_type_bin2str()
492 WPA_GET_BE16(&dev_type[6])); in wps_dev_type_bin2str()
H A Dwps_dev_attr.c341 const u8 *dev_type) in wps_process_primary_dev_type() argument
347 if (dev_type == NULL) { in wps_process_primary_dev_type()
352 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
H A Dwps.h911 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]);
912 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
/freebsd-12.1/sys/ofed/include/rdma/
H A Dib_addr.h86 unsigned short dev_type; member
163 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; in rdma_addr_gid_offset()
246 dev_addr->dev_type != ARPHRD_INFINIBAND) in rdma_addr_get_sgid()
/freebsd-12.1/cddl/usr.sbin/dwatch/libexec/
H A Dio77 this->device_type = device_type[(int)this->devinfo.dev_type];
78 this->device_if = device_if[(int)this->devinfo.dev_type];
/freebsd-12.1/usr.sbin/camdd/
H A Dcamdd.c115 camdd_dev_type dev_type; member
317 camdd_dev_type dev_type; member
550 switch (dev->dev_type) { in camdd_free_dev()
588 dev->dev_type = dev_type; in camdd_alloc_dev()
3098 switch (io_opts[i].dev_type) {
3192 io_opts[i].dev_type, io_opts[i].dev_name);
3348 io_opts->dev_type = CAMDD_DEV_FILE;
3356 io_opts->dev_type = CAMDD_DEV_PASS;
3456 && (opt_list[0].dev_type != CAMDD_DEV_NONE))
3494 if ((opt_list[0].dev_type == CAMDD_DEV_NONE)
[all …]
/freebsd-12.1/cddl/lib/libdtrace/
H A Dio.d37 int dev_type; /* type of device */ member
48 dev_type = D->device_type;
/freebsd-12.1/sbin/camcontrol/
H A Dfwdownload.c165 int dev_type; member
316 if ((vp->dev_type == T_ANY) in fw_get_vendor()
317 || (vp->dev_type == SID_TYPE(&cam_dev->inq_data))) in fw_get_vendor()
615 if (vp->dev_type != T_SEQUENTIAL) in fw_read_img()
/freebsd-12.1/tools/tools/netmap/
H A Dpkt-gen.c282 int dev_type; member
1592 if (targ->g->dev_type == DEV_TAP) { in sender_body()
2503 if (g->dev_type == DEV_NETMAP) { in start_threads()
2658 if (g->dev_type == DEV_NETMAP) { in main_thread()
2896 g.dev_type = DEV_NETMAP; in main()
2899 g.dev_type = DEV_TAP; in main()
2902 g.dev_type = DEV_PCAP; in main()
2906 g.dev_type = DEV_NETMAP; in main()
2908 g.dev_type = DEV_TAP; in main()
2910 g.dev_type = DEV_NETMAP; in main()
[all …]
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_addr.c145 dev_addr->dev_type = ARPHRD_ETHER; in rdma_copy_addr()
152 dev_addr->dev_type = ARPHRD_INFINIBAND; in rdma_copy_addr()
154 dev_addr->dev_type = ARPHRD_ETHER; in rdma_copy_addr()
156 dev_addr->dev_type = 0; in rdma_copy_addr()
H A Dib_cma.c551 dev_addr->dev_type = ARPHRD_INFINIBAND; in cma_translate_ib()
575 const int dev_type = dev_addr->dev_type; in cma_validate_port() local
579 if ((dev_type == ARPHRD_INFINIBAND) && !rdma_protocol_ib(device, port)) in cma_validate_port()
582 if ((dev_type != ARPHRD_INFINIBAND) && rdma_protocol_ib(device, port)) in cma_validate_port()
585 if (dev_type == ARPHRD_ETHER && rdma_protocol_roce(device, port)) { in cma_validate_port()
610 if (dev_addr->dev_type != ARPHRD_INFINIBAND && in cma_acquire_dev()
1905 rt->addr.dev_addr.dev_type = ARPHRD_INFINIBAND; in cma_new_conn_id()
2722 id_priv->id.route.addr.dev_addr.dev_type = in cma_bind_loopback()
/freebsd-12.1/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers_wps.c782 u8 *dev_type; in wpas_dbus_setter_wps_device_device_type() local
794 dbus_message_iter_get_fixed_array(&array_iter, &dev_type, &dev_len); in wpas_dbus_setter_wps_device_device_type()
799 os_memcpy(wpa_s->conf->device_type, dev_type, WPS_DEV_TYPE_LEN); in wpas_dbus_setter_wps_device_device_type()
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c738 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local
742 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add()
743 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add()
745 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add()
749 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
772 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local
776 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
777 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add()
779 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add()
785 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
/freebsd-12.1/sys/dev/ntb/ntb_hw/
H A Dntb_hw_intel.c228 enum ntb_b2b_direction dev_type; member
1432 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_xeon()
1434 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_xeon()
1480 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_atom()
1482 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_atom()
1555 if (ntb->dev_type == NTB_DEV_USD) in intel_ntb_xeon_init_dev()
1628 if (ntb->dev_type == NTB_DEV_USD) { in configure_atom_secondary_side_bars()
1984 return (ntb->dev_type == NTB_DEV_USD ? 0 : 1); in intel_ntb_port_number()
2002 return (ntb->dev_type == NTB_DEV_USD ? 1 : 0); in intel_ntb_peer_port_number()
2232 &ntb->dev_type, 0, "0 - USD; 1 - DSD"); in intel_ntb_sysctl_init()
/freebsd-12.1/sys/dev/xen/blkback/
H A Dblkback.c691 char *dev_type; member
3621 "device-type", NULL, &xbb->dev_type, in xbb_attach_disk()
3624 xbb->dev_type = NULL; in xbb_attach_disk()
3838 if (xbb->dev_type != NULL) { in xbb_detach()
3839 free(xbb->dev_type, M_XENSTORE); in xbb_detach()
3840 xbb->dev_type = NULL; in xbb_detach()
/freebsd-12.1/sys/cam/ctl/
H A Dctl_backend_block.c158 ctl_be_block_type dev_type; member
1831 be_lun->dev_type = CTL_BE_BLOCK_FILE; in ctl_be_block_open_file()
1928 be_lun->dev_type = CTL_BE_BLOCK_DEV; in ctl_be_block_open_dev()
2105 switch (be_lun->dev_type) { in ctl_be_block_close()
2117 panic("Unexpected backend type %d", be_lun->dev_type); in ctl_be_block_close()
2120 be_lun->dev_type = CTL_BE_BLOCK_NONE; in ctl_be_block_close()
/freebsd-12.1/sys/dev/qlnx/qlnxe/
H A Decore_vfpf_if.h223 u8 dev_type; member

12