Searched refs:dev_type (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-10-stable/sys/boot/powerpc/ps3/
H A Dps3repo.h36 int ps3repo_read_bus_dev_type(unsigned int bus_index, unsigned int dev_index, uint64_t *dev_type);
48 int ps3repo_find_bus_dev_by_type(unsigned int bus_index, uint64_t dev_type,
H A Dps3repo.c95 int ps3repo_read_bus_dev_type(unsigned int bus_index, unsigned int dev_index, uint64_t *dev_type) argument
103 *dev_type = v1;
226 int ps3repo_find_bus_dev_by_type(unsigned int bus_index, uint64_t dev_type, argument
240 if (type == dev_type) {
/freebsd-10-stable/contrib/wpa/src/wps/
H A Dwps_common.c405 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) argument
410 WPA_PUT_BE16(dev_type, atoi(str));
415 if (hexstr2bin(pos, &dev_type[2], 4))
421 WPA_PUT_BE16(&dev_type[6], atoi(pos));
428 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, argument
434 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]),
435 WPA_GET_BE16(&dev_type[6]));
H A Dwps_dev_attr.c355 const u8 *dev_type)
361 if (dev_type == NULL) {
366 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN);
354 wps_process_primary_dev_type(struct wps_device_data *dev, const u8 *dev_type) argument
H A Dwps.h805 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]);
806 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
/freebsd-10-stable/sys/ofed/include/rdma/
H A Dib_addr.h66 unsigned short dev_type; member in struct:rdma_dev_addr
130 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0;
182 dev_addr->dev_type != ARPHRD_INFINIBAND)
H A Drdma_cm.h336 unsigned short dev_type, void **cm_id);
/freebsd-10-stable/tools/tools/netmap/
H A Dpkt-gen.c186 int dev_type; member in struct:glob_arg
207 enum dev_type { DEV_NONE, DEV_NETMAP, DEV_PCAP, DEV_TAP }; enum
1085 if (targ->g->dev_type == DEV_TAP) {
1098 } else if (targ->g->dev_type == DEV_PCAP) {
1258 if (targ->g->dev_type == DEV_TAP) {
1266 } else if (targ->g->dev_type == DEV_PCAP) {
1421 if (g->dev_type == DEV_NETMAP) {
1555 if (g->dev_type == DEV_NETMAP) {
1722 g.dev_type = DEV_NETMAP;
1725 g.dev_type
[all...]
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Daddr.c98 dev_addr->dev_type = ARPHRD_INFINIBAND;
100 dev_addr->dev_type = ARPHRD_ETHER;
102 dev_addr->dev_type = 0;
H A Dcma.c389 rdma_find_cmid_laddr(struct sockaddr_in *local_addr, unsigned short dev_type, argument
400 enum rdma_link_layer dev_ll = dev_type == ARPHRD_INFINIBAND ?
464 if (dev_addr->dev_type != ARPHRD_INFINIBAND) {
1208 rt->addr.dev_addr.dev_type = ARPHRD_INFINIBAND;
2047 id_priv->id.route.addr.dev_addr.dev_type =
/freebsd-10-stable/sbin/camcontrol/
H A Dfwdownload.c134 * dev_type: SCSI device type to match, or T_ANY to match any
163 int dev_type; member in struct:fw_vendor
310 if ((vp->dev_type == T_ANY)
311 || (vp->dev_type == SID_TYPE(&cam_dev->inq_data)))
609 if (vp->dev_type != T_SEQUENTIAL)
/freebsd-10-stable/usr.sbin/camdd/
H A Dcamdd.c115 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
602 dev->dev_type = dev_type;
3000 switch (io_opts[i].dev_type) {
3094 io_opts[i].dev_type, io_opts[i].dev_name);
3254 io_opts->dev_type
[all...]
/freebsd-10-stable/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c571 char dev_type[WPS_DEV_TYPE_BUFSIZE]; local
575 wps_dev_type_bin2str(ap->pri_dev_type, dev_type,
576 sizeof(dev_type));
578 dev_type[0] = '\0';
582 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state,
605 char dev_type[WPS_DEV_TYPE_BUFSIZE]; local
609 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type,
610 sizeof(dev_type));
612 dev_type[0] = '\0';
618 enrollee->config_methods, enrollee->dev_passwd_id, dev_type,
[all...]
/freebsd-10-stable/sys/dev/xen/blkback/
H A Dblkback.c692 char *dev_type; member in struct:xbb_softc
3616 "device-type", NULL, &xbb->dev_type,
3619 xbb->dev_type = NULL;
3747 if (xbb->dev_type != NULL) {
3748 free(xbb->dev_type, M_XENBUS);
3749 xbb->dev_type = NULL;
/freebsd-10-stable/sys/dev/qlnx/qlnxe/
H A Decore_vfpf_if.h223 u8 dev_type; member in struct:pfvf_acquire_resp_tlv::pf_vf_pfdev_info
H A Dfcoe_common.h428 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 Decore_vf.c471 p_hwfn->p_dev->type = resp->pfdev_info.dev_type;
/freebsd-10-stable/sys/dev/ntb/ntb_hw/
H A Dntb_hw.c229 enum ntb_b2b_direction dev_type; member in struct:ntb_softc
1443 ntb->dev_type = NTB_DEV_DSD;
1445 ntb->dev_type = NTB_DEV_USD;
1491 ntb->dev_type = NTB_DEV_DSD;
1493 ntb->dev_type = NTB_DEV_USD;
1566 if (ntb->dev_type == NTB_DEV_USD)
1639 if (ntb->dev_type == NTB_DEV_USD) {
2205 SYSCTL_ADD_UINT(ctx, tree_par, OID_AUTO, "dev_type", CTLFLAG_RD,
2206 &ntb->dev_type, 0, "0 - USD; 1 - DSD");
/freebsd-10-stable/contrib/wpa/src/p2p/
H A Dp2p_i.h705 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
H A Dp2p.c1824 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) argument
1826 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0)
1828 if (os_memcmp(dev_type, req_dev_type, 2) == 0 &&
1836 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], argument
1841 if (dev_type_match(dev_type, req_dev_type[i]))
/freebsd-10-stable/sys/cam/ctl/
H A Dctl_backend_block.c156 ctl_be_block_type dev_type; member in struct:ctl_be_block_lun
1830 be_lun->dev_type = CTL_BE_BLOCK_FILE;
1927 be_lun->dev_type = CTL_BE_BLOCK_DEV;
2104 switch (be_lun->dev_type) {
2116 panic("Unexpected backend type %d", be_lun->dev_type);
2119 be_lun->dev_type = CTL_BE_BLOCK_NONE;
/freebsd-10-stable/sys/dev/ixgbe/
H A Dixgbe_x550.c339 * @dev_type: always unused
343 u32 dev_type, u16 *phy_data)
346 UNREFERENCED_1PARAMETER(dev_type);
386 * @dev_type: always unused
390 u32 dev_type, u16 phy_data)
393 UNREFERENCED_1PARAMETER(dev_type);
342 ixgbe_read_phy_reg_mdi_22(struct ixgbe_hw *hw, u32 reg_addr, u32 dev_type, u16 *phy_data) argument
389 ixgbe_write_phy_reg_mdi_22(struct ixgbe_hw *hw, u32 reg_addr, u32 dev_type, u16 phy_data) argument
/freebsd-10-stable/sys/cam/
H A Dcam_ccb.h844 u_int8_t dev_type; /* Value for dev type field in EDT */ member in struct:ccb_setdev
/freebsd-10-stable/sys/sys/
H A Dsoundcard.h755 int dev_type; member in struct:midi_info
/freebsd-10-stable/sys/dev/sound/midi/
H A Dsequencer.c1390 midiinfo->dev_type = 0x01;

Completed in 499 milliseconds

12