| /freebsd-13.1/sys/arm64/coresight/ |
| H A D | coresight_tmc.c | 205 sc->dev_type = CORESIGHT_ETR; in tmc_init() 209 sc->dev_type = CORESIGHT_ETF; in tmc_init() 217 sc->dev_type = CORESIGHT_UNKNOWN; in tmc_init() 233 if (sc->dev_type == CORESIGHT_ETF) in tmc_enable() 236 KASSERT(sc->dev_type == CORESIGHT_ETR, in tmc_enable() 268 if (sc->dev_type == CORESIGHT_ETF) in tmc_disable() 271 KASSERT(sc->dev_type == CORESIGHT_ETR, ("Wrong dev_type")); in tmc_disable() 292 if (sc->dev_type == CORESIGHT_ETF) in tmc_read() 331 desc.dev_type = CORESIGHT_TMC; in tmc_attach()
|
| H A D | coresight.c | 58 cs_dev->dev_type = desc->dev_type; in coresight_register()
|
| H A D | coresight.h | 76 enum cs_dev_type dev_type; member 109 enum cs_dev_type dev_type; member
|
| H A D | coresight_cmd.c | 104 if (cs_dev->dev_type == event->src && in coresight_init_event() 114 if (cs_dev->dev_type == CORESIGHT_CPU_DEBUG && in coresight_init_event()
|
| H A D | coresight_tmc.h | 126 uint32_t dev_type; member
|
| H A D | coresight_replicator.c | 113 desc.dev_type = CORESIGHT_DYNAMIC_REPLICATOR; in replicator_attach()
|
| H A D | coresight_cpu_debug.c | 138 desc.dev_type = CORESIGHT_CPU_DEBUG; in debug_attach()
|
| H A D | coresight_funnel.c | 129 desc.dev_type = CORESIGHT_FUNNEL; in funnel_attach()
|
| H A D | coresight_etm4x.c | 252 desc.dev_type = CORESIGHT_ETMV4; in etm_attach()
|
| /freebsd-13.1/contrib/wpa/src/wps/ |
| H A D | wps_common.c | 462 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 D | wps_dev_attr.c | 356 const u8 *dev_type) in wps_process_primary_dev_type() argument 362 if (dev_type == NULL) { in wps_process_primary_dev_type() 367 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
|
| H A D | wps.h | 924 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]); 925 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
|
| /freebsd-13.1/sys/ofed/include/rdma/ |
| H A D | ib_addr.h | 99 unsigned short dev_type; member 176 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; in rdma_addr_gid_offset() 259 dev_addr->dev_type != ARPHRD_INFINIBAND) in rdma_addr_get_sgid()
|
| /freebsd-13.1/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 77 this->device_type = device_type[(int)this->devinfo.dev_type]; 78 this->device_if = device_if[(int)this->devinfo.dev_type];
|
| /freebsd-13.1/cddl/lib/libdtrace/ |
| H A D | io.d | 37 int dev_type; /* type of device */ member 48 dev_type = D->device_type;
|
| /freebsd-13.1/usr.sbin/camdd/ |
| H A D | camdd.c | 115 camdd_dev_type dev_type; member 317 camdd_dev_type dev_type; member 558 switch (dev->dev_type) { in camdd_free_dev() 596 dev->dev_type = dev_type; in camdd_alloc_dev() 3238 switch (io_opts[i].dev_type) { 3332 io_opts[i].dev_type, io_opts[i].dev_name); 3488 io_opts->dev_type = CAMDD_DEV_FILE; 3496 io_opts->dev_type = CAMDD_DEV_PASS; 3596 && (opt_list[0].dev_type != CAMDD_DEV_NONE)) 3634 if ((opt_list[0].dev_type == CAMDD_DEV_NONE) [all …]
|
| /freebsd-13.1/sbin/camcontrol/ |
| H A D | fwdownload.c | 168 int dev_type; member 319 if ((vp->dev_type == T_ANY) in fw_get_vendor() 320 || (vp->dev_type == SID_TYPE(&cam_dev->inq_data))) in fw_get_vendor() 618 if (vp->dev_type != T_SEQUENTIAL) in fw_read_img()
|
| /freebsd-13.1/tools/tools/netmap/ |
| H A D | pkt-gen.c | 286 int dev_type; member 1611 if (targ->g->dev_type == DEV_TAP) { in sender_body() 2522 if (g->dev_type == DEV_NETMAP) { in start_threads() 2690 if (g->dev_type == DEV_NETMAP) { in main_thread() 2928 g.dev_type = DEV_NETMAP; in main() 2931 g.dev_type = DEV_TAP; in main() 2934 g.dev_type = DEV_PCAP; in main() 2938 g.dev_type = DEV_NETMAP; in main() 2940 g.dev_type = DEV_TAP; in main() 2942 g.dev_type = DEV_NETMAP; in main() [all …]
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_addr.c | 148 dev_addr->dev_type = ARPHRD_ETHER; in rdma_copy_addr() 155 dev_addr->dev_type = ARPHRD_INFINIBAND; in rdma_copy_addr() 157 dev_addr->dev_type = ARPHRD_ETHER; in rdma_copy_addr() 159 dev_addr->dev_type = 0; in rdma_copy_addr()
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/dbus/ |
| H A D | dbus_new_handlers_wps.c | 782 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-13.1/sys/dev/ntb/ntb_hw/ |
| H A D | ntb_hw_intel.c | 237 enum ntb_b2b_direction dev_type; member 1612 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_xeon() 1614 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_xeon() 1660 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_atom() 1662 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_atom() 1699 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_xeon_gen3() 1702 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_xeon_gen3() 1783 if (ntb->dev_type == NTB_DEV_USD) in intel_ntb_xeon_init_dev() 1892 if (ntb->dev_type == NTB_DEV_USD) { in configure_atom_secondary_side_bars() 2297 return (ntb->dev_type == NTB_DEV_USD ? 0 : 1); in intel_ntb_port_number() [all …]
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | wps_supplicant.c | 746 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local 750 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add() 751 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add() 753 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add() 757 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add() 780 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local 784 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add() 785 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add() 787 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add() 793 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
|
| /freebsd-13.1/sys/dev/xen/blkback/ |
| H A D | blkback.c | 690 char *dev_type; member 3620 "device-type", NULL, &xbb->dev_type, in xbb_attach_disk() 3623 xbb->dev_type = NULL; in xbb_attach_disk() 3837 if (xbb->dev_type != NULL) { in xbb_detach() 3838 free(xbb->dev_type, M_XENSTORE); in xbb_detach() 3839 xbb->dev_type = NULL; in xbb_detach()
|
| /freebsd-13.1/sys/cam/ctl/ |
| H A D | ctl_backend_block.c | 159 ctl_be_block_type dev_type; member 1810 be_lun->dev_type = CTL_BE_BLOCK_FILE; in ctl_be_block_open_file() 1907 be_lun->dev_type = CTL_BE_BLOCK_DEV; in ctl_be_block_open_dev() 2084 switch (be_lun->dev_type) { in ctl_be_block_close() 2096 panic("Unexpected backend type %d", be_lun->dev_type); in ctl_be_block_close() 2099 be_lun->dev_type = CTL_BE_BLOCK_NONE; in ctl_be_block_close()
|
| /freebsd-13.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_vfpf_if.h | 222 u8 dev_type; member
|