/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_addr.h | 74 * @dev_type: The interface hardware type of the device. 84 unsigned short dev_type; member in struct:rdma_dev_addr 161 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; 244 dev_addr->dev_type != ARPHRD_INFINIBAND)
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 341 const u8 *dev_type) 347 if (dev_type == NULL) { 352 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); 340 wps_process_primary_dev_type(struct wps_device_data *dev, const u8 *dev_type) argument
|
H A D | wps_common.c | 462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) argument 467 WPA_PUT_BE16(dev_type, atoi(str)); 472 if (hexstr2bin(pos, &dev_type[2], 4)) 478 WPA_PUT_BE16(&dev_type[6], atoi(pos)); 485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, argument 491 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]), 492 WPA_GET_BE16(&dev_type[6]));
|
H A D | wps.h | 911 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-11-stable/cddl/lib/libdtrace/ |
H A D | io.d | 37 int dev_type; /* type of device */ 48 dev_type = D->device_type;
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | fwdownload.c | 136 * dev_type: SCSI device type to match, or T_ANY to match any 165 int dev_type; member in struct:fw_vendor 316 if ((vp->dev_type == T_ANY) 317 || (vp->dev_type == SID_TYPE(&cam_dev->inq_data))) 615 if (vp->dev_type != T_SEQUENTIAL)
|
/freebsd-11-stable/usr.sbin/camdd/ |
H A D | camdd.c | 115 camdd_dev_type dev_type; member in struct:camdd_io_opts 316 camdd_dev_type dev_type; member in struct:camdd_dev 466 struct camdd_dev *camdd_alloc_dev(camdd_dev_type dev_type, 562 switch (dev->dev_type) { 586 camdd_alloc_dev(camdd_dev_type dev_type, struct kevent *new_ke, int num_ke, argument 600 dev->dev_type = dev_type; 2996 switch (io_opts[i].dev_type) { 3090 io_opts[i].dev_type, io_opts[i].dev_name); 3250 io_opts->dev_type [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_wps.c | 782 u8 *dev_type; local 794 dbus_message_iter_get_fixed_array(&array_iter, &dev_type, &dev_len); 799 os_memcpy(wpa_s->conf->device_type, dev_type, WPS_DEV_TYPE_LEN);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_addr.c | 145 dev_addr->dev_type = ARPHRD_ETHER; 152 dev_addr->dev_type = ARPHRD_INFINIBAND; 154 dev_addr->dev_type = ARPHRD_ETHER; 156 dev_addr->dev_type = 0;
|
H A D | ib_cma.c | 551 dev_addr->dev_type = ARPHRD_INFINIBAND; 575 const int dev_type = dev_addr->dev_type; local 579 if ((dev_type == ARPHRD_INFINIBAND) && !rdma_protocol_ib(device, port)) 582 if ((dev_type != ARPHRD_INFINIBAND) && rdma_protocol_ib(device, port)) 585 if (dev_type == ARPHRD_ETHER && rdma_protocol_roce(device, port)) { 610 if (dev_addr->dev_type != ARPHRD_INFINIBAND && 1905 rt->addr.dev_addr.dev_type = ARPHRD_INFINIBAND; 2722 id_priv->id.route.addr.dev_addr.dev_type =
|
/freebsd-11-stable/tools/tools/netmap/ |
H A D | pkt-gen.c | 282 int dev_type; member in struct:glob_arg 308 enum dev_type { DEV_NONE, DEV_NETMAP, DEV_PCAP, DEV_TAP }; enum 1592 if (targ->g->dev_type == DEV_TAP) { 1607 } else if (targ->g->dev_type == DEV_PCAP) { 1826 if (targ->g->dev_type == DEV_TAP) { 1838 } else if (targ->g->dev_type == DEV_PCAP) { 2503 if (g->dev_type == DEV_NETMAP) { 2658 if (g->dev_type == DEV_NETMAP) { 2896 g.dev_type = DEV_NETMAP; 2899 g.dev_type [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | wps_supplicant.c | 738 char dev_type[WPS_DEV_TYPE_BUFSIZE]; local 742 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, 743 sizeof(dev_type)); 745 dev_type[0] = '\0'; 749 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, 772 char dev_type[WPS_DEV_TYPE_BUFSIZE]; local 776 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, 777 sizeof(dev_type)); 779 dev_type[0] = '\0'; 785 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, [all...] |
H A D | ctrl_iface.c | 5310 u8 dev_type[WPS_DEV_TYPE_LEN], *_dev_type = NULL; local 5335 pos = os_strstr(cmd, "dev_type="); 5338 if (wps_dev_type_str2bin(pos, dev_type) < 0) 5340 _dev_type = dev_type;
|
/freebsd-11-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 689 char *dev_type; member in struct:xbb_softc 3641 "device-type", NULL, &xbb->dev_type, 3644 xbb->dev_type = NULL; 3858 if (xbb->dev_type != NULL) { 3859 free(xbb->dev_type, M_XENSTORE); 3860 xbb->dev_type = NULL;
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_vfpf_if.h | 223 u8 dev_type; member in struct:pfvf_acquire_resp_tlv::pf_vf_pfdev_info
|
H A D | fcoe_common.h | 428 u8 dev_type /* Device type (disk or tape). use enum fcoe_device_type (use enum fcoe_device_type) */; member in struct:fcoe_tstorm_fcoe_task_st_ctx_read_only
|
H A D | ecore_vf.c | 471 p_hwfn->p_dev->type = resp->pfdev_info.dev_type;
|
/freebsd-11-stable/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_intel.c | 228 enum ntb_b2b_direction dev_type; member in struct:ntb_softc 1435 ntb->dev_type = NTB_DEV_DSD; 1437 ntb->dev_type = NTB_DEV_USD; 1483 ntb->dev_type = NTB_DEV_DSD; 1485 ntb->dev_type = NTB_DEV_USD; 1558 if (ntb->dev_type == NTB_DEV_USD) 1631 if (ntb->dev_type == NTB_DEV_USD) { 2196 SYSCTL_ADD_UINT(ctx, tree_par, OID_AUTO, "dev_type", CTLFLAG_RD, 2197 &ntb->dev_type, 0, "0 - USD; 1 - DSD");
|
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 153 ctl_be_block_type dev_type; member in struct:ctl_be_block_lun 1822 be_lun->dev_type = CTL_BE_BLOCK_FILE; 1919 be_lun->dev_type = CTL_BE_BLOCK_DEV; 2096 switch (be_lun->dev_type) { 2108 panic("Unexpected backend type %d", be_lun->dev_type); 2111 be_lun->dev_type = CTL_BE_BLOCK_NONE;
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | ixgbe_x550.c | 343 * @dev_type: always unused 347 u32 dev_type, u16 *phy_data) 350 UNREFERENCED_1PARAMETER(dev_type); 390 * @dev_type: always unused 394 u32 dev_type, u16 phy_data) 397 UNREFERENCED_1PARAMETER(dev_type); 346 ixgbe_read_phy_reg_mdi_22(struct ixgbe_hw *hw, u32 reg_addr, u32 dev_type, u16 *phy_data) argument 393 ixgbe_write_phy_reg_mdi_22(struct ixgbe_hw *hw, u32 reg_addr, u32 dev_type, u16 phy_data) argument
|
/freebsd-11-stable/contrib/wpa/src/p2p/ |
H A D | p2p_i.h | 872 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
|
H A D | p2p.c | 2115 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) argument 2117 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) 2119 if (os_memcmp(dev_type, req_dev_type, 2) == 0 && 2127 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], argument 2132 if (dev_type_match(dev_type, req_dev_type[i]))
|
/freebsd-11-stable/sys/sys/ |
H A D | soundcard.h | 755 int dev_type; member in struct:midi_info
|
/freebsd-11-stable/sys/cam/ |
H A D | cam_ccb.h | 878 u_int8_t dev_type; /* Value for dev type field in EDT */ member in struct:ccb_setdev
|
/freebsd-11-stable/sys/dev/sound/midi/ |
H A D | sequencer.c | 1381 midiinfo->dev_type = 0x01;
|