Home
last modified time | relevance | path

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

123

/freebsd/sys/arm64/coresight/
H A Dcoresight_tmc.c202 sc->dev_type = CORESIGHT_ETR; in tmc_init()
206 sc->dev_type = CORESIGHT_ETF; in tmc_init()
214 sc->dev_type = CORESIGHT_UNKNOWN; in tmc_init()
230 if (sc->dev_type == CORESIGHT_ETF) in tmc_enable()
233 KASSERT(sc->dev_type == CORESIGHT_ETR, in tmc_enable()
265 if (sc->dev_type == CORESIGHT_ETF) in tmc_disable()
268 KASSERT(sc->dev_type == CORESIGHT_ETR, ("Wrong dev_type")); in tmc_disable()
289 if (sc->dev_type == CORESIGHT_ETF) in tmc_read()
328 desc.dev_type = CORESIGHT_TMC; in tmc_attach()
H A Dcoresight.c55 cs_dev->dev_type = desc->dev_type; in coresight_register()
H A Dcoresight.h75 enum cs_dev_type dev_type; member
108 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_replicator.c110 desc.dev_type = CORESIGHT_DYNAMIC_REPLICATOR; in replicator_attach()
H A Dcoresight_tmc.h124 uint32_t dev_type; member
H A Dcoresight_cpu_debug.c135 desc.dev_type = CORESIGHT_CPU_DEBUG; in debug_attach()
H A Dcoresight_funnel.c126 desc.dev_type = CORESIGHT_FUNNEL; in funnel_attach()
H A Dcoresight_etm4x.c249 desc.dev_type = CORESIGHT_ETMV4; in etm_attach()
/freebsd/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.c356 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 Dwps.h929 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]);
930 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_addr.c144 int dev_type = if_gettype(dev); in rdma_copy_addr() local
148 dev_addr->dev_type = ARPHRD_ETHER; in rdma_copy_addr()
154 } else if (dev_type == IFT_INFINIBAND) in rdma_copy_addr()
155 dev_addr->dev_type = ARPHRD_INFINIBAND; in rdma_copy_addr()
156 else if (dev_type == IFT_ETHER || dev_type == IFT_L2VLAN) 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/sys/ofed/include/rdma/
H A Dib_addr.h97 unsigned short dev_type; member
174 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; in rdma_addr_gid_offset()
258 dev_addr->dev_type != ARPHRD_INFINIBAND) in rdma_addr_get_sgid()
/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dio76 this->device_type = device_type[(int)this->devinfo.dev_type];
77 this->device_if = device_if[(int)this->devinfo.dev_type];
/freebsd/usr.sbin/camdd/
H A Dcamdd.c106 camdd_dev_type dev_type; member
308 camdd_dev_type dev_type; member
440 struct camdd_dev *camdd_alloc_dev(camdd_dev_type dev_type,
545 switch (dev->dev_type) { in camdd_free_dev()
569 camdd_alloc_dev(camdd_dev_type dev_type, struct kevent *new_ke, int num_ke, in camdd_alloc_dev() argument
583 dev->dev_type = dev_type; in camdd_alloc_dev()
3217 switch (io_opts[i].dev_type) {
3309 io_opts[i].dev_type, io_opts[i].dev_name);
3465 io_opts->dev_type = CAMDD_DEV_FILE;
3473 io_opts->dev_type = CAMDD_DEV_PASS;
[all …]
/freebsd/cddl/lib/libdtrace/
H A Dio.d35 int dev_type; /* type of device */ member
46 dev_type = D->device_type;
/freebsd/sys/dev/ntb/ntb_hw/
H A Dntb_hw_intel.c236 enum ntb_b2b_direction dev_type; member
1725 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_xeon()
1727 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_xeon()
1773 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_atom()
1775 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_atom()
1812 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_xeon_gen3()
1815 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_xeon_gen3()
1832 "features 0x%02x\n", ntb->conn_type, ntb->dev_type, ntb->features); in intel_ntb_detect_xeon_gen3()
1885 ntb->dev_type = NTB_DEV_USD; in intel_ntb_detect_xeon_gen4_cfg()
1889 ntb->dev_type = NTB_DEV_DSD; in intel_ntb_detect_xeon_gen4_cfg()
[all …]
/freebsd/sbin/camcontrol/
H A Dfwdownload.c166 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()
615 if (vp->dev_type != T_SEQUENTIAL) in fw_read_img()
/freebsd/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/tools/tools/netmap/
H A Dpkt-gen.c286 int dev_type; member
313 enum dev_type { DEV_NONE, DEV_NETMAP, DEV_PCAP, DEV_TAP }; enum
1713 if (targ->g->dev_type == DEV_TAP) { in sender_body()
1728 } else if (targ->g->dev_type == DEV_PCAP) { in sender_body()
1958 if (targ->g->dev_type == DEV_TAP) { in receiver_body()
1970 } else if (targ->g->dev_type == DEV_PCAP) { in receiver_body()
2636 if (g->dev_type == DEV_NETMAP) { in start_threads()
2804 if (g->dev_type == DEV_NETMAP) { in main_thread()
3042 g.dev_type = DEV_NETMAP; in main()
3045 g.dev_type = DEV_TAP; in main()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c754 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local
758 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add()
759 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add()
761 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add()
765 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
788 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local
792 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
793 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add()
795 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add()
801 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_cam.h89 uint8_t dev_type; member
/freebsd/sys/dev/mana/
H A Dgdma_main.c156 uint16_t dev_type; in mana_gd_detect_devices() local
174 dev_type = gd_dev.type; in mana_gd_detect_devices()
177 i, dev_type); in mana_gd_detect_devices()
180 if (dev_type == GDMA_DEVICE_HWC) in mana_gd_detect_devices()
183 if (dev_type == GDMA_DEVICE_MANA) { in mana_gd_detect_devices()
/freebsd/sys/dev/xen/blkback/
H A Dblkback.c637 char *dev_type; member
3534 NULL, &xbb->dev_type, NULL); in xbb_attach_cb()
3536 xbb->dev_type = NULL; in xbb_attach_cb()
3687 if (xbb->dev_type != NULL) { in xbb_detach()
3688 free(xbb->dev_type, M_XENSTORE); in xbb_detach()
3689 xbb->dev_type = NULL; in xbb_detach()

123