/freebsd-11-stable/sys/dev/sound/usb/ |
H A D | uaudio.c | 848 panic("uaudio_get_child_index_dev: Invalid device: %p\n", dev); 874 /* lookup non-standard device(s) */ 977 sc->sc_udev = uaa->device; 1013 uaudio_mixer_fill_info(sc, uaa->device, id); 1016 uaudio_chan_fill_info(sc, uaa->device); 1121 * Only attach a PCM device if we have a playback, recording 1122 * or mixer device present: 1199 DPRINTF("device needs bitperfect by default\n"); 1277 * will time out and close opened /dev/dspX.Y device(s), if 1551 * actual data sent. In other words the device sometime [all...] |
/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_if.c | 256 uint16_t device = 0; local 266 device = pci_get_device(dev); 270 if (device == (supportedDevices[i] & 0xffff)) { 275 switch (device) { 2600 any other lock. So unlock device lock and require after
|
/freebsd-11-stable/sys/modules/netgraph/ |
H A D | Makefile | 16 device \
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | sbpf.c | 55 int initdevice(device, tout) 56 char *device; 103 (void) strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name));
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipfstat.c | 456 static void ipfstate_live(device, fiopp, ipsstpp, ifrstpp, frauthstpp, frfp) 457 char *device; 466 if (checkrev(device) == -1) { 519 PRINTF("opts %#x name %s\n", opts, device);
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_pf_main.c | 278 /* Set up the device filtering */ 523 /* Make sure to initialize the device to the complete list of 1160 /* Stop iWARP device */ 1706 /* Ensure proper PCI device operation */ 1718 hw->bus.device = pci_get_slot(dev); 1919 * Setup networking device structure and register an interface. 1985 ** created on another pseudo device (eg. lagg) 4078 /* Query device FW LLDP status */ 4323 * Since the device stats are not reset at PFReset, they likely will not 4950 " for this device ma [all...] |
/freebsd-11-stable/sys/dev/usb/serial/ |
H A D | uplcom.c | 392 sc->sc_udev = uaa->device; 476 iface = usbd_get_iface(uaa->device, UPLCOM_SECOND_IFACE_INDEX); 485 usbd_set_parent_iface(uaa->device, 492 error = usbd_transfer_setup(uaa->device, 500 error = uplcom_reset(sc, uaa->device); 539 if (uplcom_pl2303_init(uaa->device, sc->sc_chiptype)) {
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sa_query.c | 138 static void ib_sa_add_one(struct ib_device *device); 139 static void ib_sa_remove_one(struct ib_device *device, void *client_data); 510 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { 524 if (ib_find_pkey(port->agent->device, port->port_num, 567 if (!rdma_cap_ib_sa(handler->device, port->port_num)) 628 static u8 get_src_path_mask(struct ib_device *device, u8 port_num) argument 635 sa_dev = ib_get_client_data(device, &sa_client); 647 int ib_init_ah_from_path(struct ib_device *device, u8 port_num, argument 659 get_src_path_mask(device, port_num); 663 use_roce = rdma_cap_eth_ah(device, port_nu 900 ib_sa_path_rec_get(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_path_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_path_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1020 ib_sa_service_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_service_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_service_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1116 ib_sa_mcmember_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_mcmember_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_mcmember_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1208 ib_sa_guid_info_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_guidinfo_rec *rec, ib_sa_comp_mask comp_mask, u8 method, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_guidinfo_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1321 ib_sa_classport_info_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_class_port_info *resp, void *context), void *context, struct ib_sa_query **sa_query) argument 1453 ib_sa_add_one(struct ib_device *device) argument 1527 ib_sa_remove_one(struct ib_device *device, void *client_data) argument [all...] |
H A D | core_priv.h | 71 int ib_device_register_sysfs(struct ib_device *device, 74 void ib_device_unregister_sysfs(struct ib_device *device); 79 typedef void (*roce_netdev_callback)(struct ib_device *device, u8 port, 82 typedef int (*roce_netdev_filter)(struct ib_device *device, u8 port, 125 int ib_cache_setup_one(struct ib_device *device); 126 void ib_cache_cleanup_one(struct ib_device *device); 127 void ib_cache_release_one(struct ib_device *device);
|
H A D | ib_uverbs_cmd.c | 352 ucontext->device = ib_dev; 380 resp.num_comp_vectors = file->device->num_comp_vectors; 580 pd->device = ib_dev; 643 ret = pd->device->dealloc_pd(uobj->object); 775 mutex_lock(&file->device->xrcd_tree_mutex); 786 xrcd = find_xrcd(file->device, vnode); 817 xrcd->device = ib_dev; 836 ret = xrcd_table_insert(file->device, vnode, xrcd); 859 mutex_unlock(&file->device->xrcd_tree_mutex); 865 xrcd_table_delete(file->device, vnod 1778 struct ib_device *device; local [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 88 mlx5_ib_port_link_layer(struct ib_device *device, u8 port_num) argument 90 struct mlx5_ib_dev *dev = to_mdev(device); 133 ibev.device = &ibdev->ib_dev; 149 static struct net_device *mlx5_ib_get_netdev(struct ib_device *device, argument 152 struct mlx5_ib_dev *ibdev = to_mdev(device); 280 static int mlx5_query_port_roce(struct ib_device *device, u8 port_num, argument 283 struct mlx5_ib_dev *dev = to_mdev(device); 326 ndev = mlx5_ib_get_netdev(device, port_num); 392 static int set_roce_addr(struct ib_device *device, u8 port_num, argument 397 struct mlx5_ib_dev *dev = to_mdev(device); 413 mlx5_ib_add_gid(struct ib_device *device, u8 port_num, unsigned int index, const union ib_gid *gid, const struct ib_gid_attr *attr, __always_unused void **context) argument 421 mlx5_ib_del_gid(struct ib_device *device, u8 port_num, unsigned int index, __always_unused void **context) argument 2339 show_fw_pages(struct device *device, struct device_attribute *attr, char *buf) argument 2348 show_reg_pages(struct device *device, struct device_attribute *attr, char *buf) argument 2357 show_hca(struct device *device, struct device_attribute *attr, char *buf) argument 2365 show_rev(struct device *device, struct device_attribute *attr, char *buf) argument 2373 show_board(struct device *device, struct device_attribute *attr, char *buf) argument [all...] |
H A D | mlx5_ib_qp.c | 134 struct ib_device *ibdev = qp->ibqp.device; 196 event.device = ibqp->device; 1774 /* Maintain device to QPs access, needed for further handling via reset 2014 dev = to_mdev(pd->device); 2033 dev = to_mdev(to_mxrcd(init_attr->xrcd)->ibxrcd.device); 2102 struct mlx5_ib_dev *dev = to_mdev(qp->device); 2603 struct mlx5_ib_dev *dev = to_mdev(ibqp->device); 2770 * again to RTS, and may cause the driver and the device to get out of 2845 struct mlx5_ib_dev *dev = to_mdev(ibqp->device); 4811 mlx5_ib_create_rwq_ind_table(struct ib_device *device, struct ib_rwq_ind_table_init_attr *init_attr, struct ib_udata *udata) argument [all...] |
H A D | mlx5_ib_mr.c | 478 struct mlx5_ib_dev *dev = to_mdev(pd->device); 550 struct device *ddev = dev->ib_dev.dma_device; 580 struct mlx5_ib_dev *dev = to_mdev(pd->device); 632 struct mlx5_ib_dev *dev = to_mdev(pd->device); 673 struct mlx5_ib_dev *dev = to_mdev(pd->device); 674 struct device *ddev = dev->ib_dev.dma_device; 752 struct device *ddev = dev->ib_dev.dma_device; 879 struct mlx5_ib_dev *dev = to_mdev(pd->device); 965 struct mlx5_ib_dev *dev = to_mdev(pd->device); 1065 struct mlx5_ib_dev *dev = to_mdev(pd->device); 1223 mlx5_alloc_priv_descs(struct ib_device *device, struct mlx5_ib_mr *mr, int ndescs, int desc_size) argument 1258 struct ib_device *device = mr->ibmr.device; local [all...] |
H A D | mlx5_ib_cq.c | 44 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device); 55 event.device = &dev->ib_dev; 165 enum rdma_link_layer ll = rdma_port_get_link_layer(qp->ibqp.device, 1); 166 struct mlx5_ib_dev *dev = to_mdev(qp->ibqp.device); 515 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device); 646 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device); 669 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device); 699 struct mlx5_core_dev *mdev = to_mdev(ibcq->device)->mdev; 1013 struct mlx5_ib_dev *dev = to_mdev(cq->device); 1099 struct mlx5_ib_dev *dev = to_mdev(cq->device); [all...] |
H A D | mlx5_ib.h | 907 struct ib_rwq_ind_table *mlx5_ib_create_rwq_ind_table(struct ib_device *device, 943 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, 945 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, 947 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf, 949 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u8 port,
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_main.c | 886 mlx5_core_err(dev, "Cannot enable PCI device, aborting\n"); 1010 * device is up 1142 mlx5_core_err(dev, "fpga device start failed %d\n", err); 1708 /* wait for the device to show vital signs. For now we check 1709 * that we can read the device ID and that the health buffer 1728 if (did == pdev->device) { 1730 "device ID correctly read after %d iterations\n", i); 1736 mlx5_core_warn(dev, "could not read device ID\n"); 1749 mlx5_core_warn(dev, "could not read device ID\n"); 1767 mlx5_core_info(dev,"device recovere [all...] |
H A D | mlx5_fwdump.c | 34 #include <dev/mlx5/device.h>
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 135 static struct net_device *mlx4_ib_get_netdev(struct ib_device *device, u8 port_num) argument 137 struct mlx4_ib_dev *ibdev = to_mdev(device); 256 static int mlx4_ib_add_gid(struct ib_device *device, argument 263 struct mlx4_ib_dev *ibdev = to_mdev(device); 272 if (!rdma_cap_roce_gid_table(device, port_num)) 335 static int mlx4_ib_del_gid(struct ib_device *device, argument 341 struct mlx4_ib_dev *ibdev = to_mdev(device); 348 if (!rdma_cap_roce_gid_table(device, port_num)) 529 props->vendor_part_id = dev->dev->persist->pdev->device; 588 mlx4_ib_port_link_layer(struct ib_device *device, u argument 2058 show_hca(struct device *device, struct device_attribute *attr, char *buf) argument 2066 show_rev(struct device *device, struct device_attribute *attr, char *buf) argument 2074 show_board(struct device *device, struct device_attribute *attr, char *buf) argument 2497 get_fw_ver_str(struct ib_device *device, char *str, size_t str_len) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4.h | 46 #include <linux/device.h> 48 #include <dev/mlx4/device.h>
|
/freebsd-11-stable/sys/contrib/rdma/krping/ |
H A D | krping.c | 44 #include <linux/device.h> 120 * the RDMA device (iw%d): 305 printk(KERN_ERR PFX "cma detected device removal!!!!\n"); 521 cb->recv_dma_addr = ib_dma_map_single(cb->pd->device, 525 cb->send_dma_addr = ib_dma_map_single(cb->pd->device, 530 cb->rdma_buf = ib_dma_alloc_coherent(cb->pd->device, cb->size, 553 cb->start_buf = ib_dma_alloc_coherent(cb->pd->device, cb->size, 575 ib_dma_free_coherent(cb->pd->device, cb->size, cb->rdma_buf, 579 ib_dma_free_coherent(cb->pd->device, cb->size, cb->start_buf, 598 dma_unmap_single(cb->pd->device [all...] |
/freebsd-11-stable/sys/dev/usb/ |
H A D | usbdi.h | 186 void *bsd_priv_sc; /* device specific information */ 235 enum usb_hc_mode usb_mode; /* host or device mode */ 244 * Use these macro when defining USB device ID arrays if you want to 245 * have your driver module automatically loaded in host, device or 266 * an USB device. It is inspired by the Linux structure called 310 /* Used for device class matches */ 343 #define USB_STD_PNP_DEVICE_INFO USB_STD_PNP_INFO "T:mode=device;" 429 struct usb_device *device; /* current device */ member in struct:usb_attach_arg 431 enum usb_hc_mode usb_mode; /* host or device mod [all...] |
H A D | usb_device.c | 124 "I", "Selected USB device side template"); 130 * operating in device mode either on (when on_not_off is 1), or off 210 * operating in device mode, causing the host machine to reenumerate them. 217 * Set the pull up resistors off for all ports in device mode. 584 * returning. This function is used before freeing a USB device. 611 * to an USB device. 637 /* free Linux compat device, if any */ 692 * device. "usb_unconfigure()" will also reset 717 /* Figure out if the device is self or bus powered. */ 724 /* Must ask device [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_usb.c | 238 * the Linux USB device driver "struct usb_device_id" match was found. 278 if (usb_linux_create_usb_device(uaa->device, dev) != 0) 282 sc->sc_fbsd_udev = uaa->device; 285 sc->sc_ui = usb_ifnum_to_if(uaa->device, uaa->info.bIfaceNum); 857 * The following function is used to build up a per USB device 1160 * ensure that all driver instances belonging to the Linux USB device 1188 * cleanup and free memory after that a Linux USB device was attached. 1265 * data pointer. It is used by most Linux USB device drivers.
|
/freebsd-11-stable/sys/dev/if_ndis/ |
H A D | if_ndis_usb.c | 175 sc->ndisusb_dev = uaa->device; 177 /* Create PDO for this device instance */ 182 /* Figure out exactly which device we matched. */
|
/freebsd-11-stable/sys/dev/mlx5/ |
H A D | driver.h | 44 #include <dev/mlx5/device.h>
|