Searched defs:dev_type (Results 1 - 20 of 20) sorted by relevance

/freebsd-head/contrib/wpa/src/wps/
H A Dwps_dev_attr.c341 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 Dwps_common.c462 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]));
/freebsd-head/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers_wps.c782 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-head/sys/ofed/include/rdma/
H A Dib_addr.h83 * @dev_type: The interface hardware type of the device.
93 unsigned short dev_type; member in struct:rdma_dev_addr
170 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0;
253 dev_addr->dev_type != ARPHRD_INFINIBAND)
/freebsd-head/sys/arm64/coresight/
H A Dcoresight.h76 enum cs_dev_type dev_type; member in struct:coresight_device
109 enum cs_dev_type dev_type; member in struct:coresight_desc
H A Dcoresight_tmc.h126 uint32_t dev_type; member in struct:tmc_softc
/freebsd-head/sbin/camcontrol/
H A Dfwdownload.c136 * 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-head/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c738 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 Dctrl_iface.c5310 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-head/sys/cam/ctl/
H A Dctl_backend_block.c158 ctl_be_block_type dev_type; member in struct:ctl_be_block_lun
1823 be_lun->dev_type = CTL_BE_BLOCK_FILE;
1920 be_lun->dev_type = CTL_BE_BLOCK_DEV;
2097 switch (be_lun->dev_type) {
2109 panic("Unexpected backend type %d", be_lun->dev_type);
2112 be_lun->dev_type = CTL_BE_BLOCK_NONE;
/freebsd-head/usr.sbin/camdd/
H A Dcamdd.c115 camdd_dev_type dev_type; member in struct:camdd_io_opts
317 camdd_dev_type dev_type; member in struct:camdd_dev
450 struct camdd_dev *camdd_alloc_dev(camdd_dev_type dev_type,
558 switch (dev->dev_type) {
582 camdd_alloc_dev(camdd_dev_type dev_type, struct kevent *new_ke, int num_ke, argument
596 dev->dev_type = dev_type;
3238 switch (io_opts[i].dev_type) {
3332 io_opts[i].dev_type, io_opts[i].dev_name);
3488 io_opts->dev_type
[all...]
/freebsd-head/sys/dev/qlnx/qlnxe/
H A Decore_vfpf_if.h222 u8 dev_type; member in struct:pfvf_acquire_resp_tlv::pf_vf_pfdev_info
H A Dfcoe_common.h423 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
/freebsd-head/sys/dev/xen/blkback/
H A Dblkback.c689 char *dev_type; member in struct:xbb_softc
3598 "device-type", NULL, &xbb->dev_type,
3601 xbb->dev_type = NULL;
3809 if (xbb->dev_type != NULL) {
3810 free(xbb->dev_type, M_XENSTORE);
3811 xbb->dev_type = NULL;
/freebsd-head/contrib/wpa/src/p2p/
H A Dp2p.c2115 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-head/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c565 dev_addr->dev_type = ARPHRD_INFINIBAND;
589 const int dev_type = dev_addr->dev_type; local
593 if ((dev_type == ARPHRD_INFINIBAND) && !rdma_protocol_ib(device, port))
596 if ((dev_type != ARPHRD_INFINIBAND) && rdma_protocol_ib(device, port))
599 if (dev_type == ARPHRD_ETHER && rdma_protocol_roce(device, port)) {
624 if (dev_addr->dev_type != ARPHRD_INFINIBAND &&
2046 rt->addr.dev_addr.dev_type = ARPHRD_INFINIBAND;
2863 id_priv->id.route.addr.dev_addr.dev_type =
/freebsd-head/sys/dev/ntb/ntb_hw/
H A Dntb_hw_intel.c235 enum ntb_b2b_direction dev_type; member in struct:ntb_softc
1472 ntb->dev_type = NTB_DEV_DSD;
1474 ntb->dev_type = NTB_DEV_USD;
1520 ntb->dev_type = NTB_DEV_DSD;
1522 ntb->dev_type = NTB_DEV_USD;
1595 if (ntb->dev_type == NTB_DEV_USD)
1668 if (ntb->dev_type == NTB_DEV_USD) {
2023 return (ntb->dev_type == NTB_DEV_USD ? 0 : 1);
2041 return (ntb->dev_type == NTB_DEV_USD ? 1 : 0);
2273 SYSCTL_ADD_UINT(ctx, tree_par, OID_AUTO, "dev_type", CTLFLAG_R
[all...]
/freebsd-head/tools/tools/netmap/
H A Dpkt-gen.c281 int dev_type; member in struct:glob_arg
307 enum dev_type { DEV_NONE, DEV_NETMAP, DEV_PCAP, DEV_TAP }; enum
1591 if (targ->g->dev_type == DEV_TAP) {
1606 } else if (targ->g->dev_type == DEV_PCAP) {
1825 if (targ->g->dev_type == DEV_TAP) {
1837 } else if (targ->g->dev_type == DEV_PCAP) {
2502 if (g->dev_type == DEV_NETMAP) {
2657 if (g->dev_type == DEV_NETMAP) {
2895 g.dev_type = DEV_NETMAP;
2898 g.dev_type
[all...]
/freebsd-head/sys/cam/
H A Dcam_ccb.h901 u_int8_t dev_type; /* Value for dev type field in EDT */ member in struct:ccb_setdev
/freebsd-head/sys/sys/
H A Dsoundcard.h757 int dev_type; member in struct:midi_info

Completed in 259 milliseconds