Searched refs:device (Results 401 - 425 of 834) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/isci/scil/
H A Dscic_sds_port.h519 struct SCIC_SDS_REMOTE_DEVICE *device,
525 struct SCIC_SDS_REMOTE_DEVICE *device,
/freebsd-11-stable/sys/dev/usb/misc/
H A Dufm.c149 sc->sc_udev = uaa->device;
159 error = usb_fifo_attach(uaa->device, sc, &sc->sc_mtx,
H A Duled.c148 sc->sc_udev = uaa->device;
150 error = usb_fifo_attach(uaa->device, sc, &sc->sc_mtx,
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dverbs.c117 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device);
153 struct c4iw_dev *dev = to_c4iw_dev(mr->pd->context->device);
174 struct c4iw_dev *dev = to_c4iw_dev(context->device);
261 struct c4iw_dev *dev = to_c4iw_dev(ibcq->context->device);
309 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device);
412 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device);
560 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device);
602 struct c4iw_dev *dev = to_c4iw_dev(ibqp->context->device);
/freebsd-11-stable/sys/dev/wi/
H A Dif_wi_pci.c96 unsigned int vendor,device; member in struct:__anon7940
129 (pci_get_device(dev) == pci_ids[i].device)) {
/freebsd-11-stable/sys/dev/usb/serial/
H A Dufoma.c348 cd = usbd_get_config_descriptor(uaa->device);
379 sc->sc_udev = uaa->device;
393 cd = usbd_get_config_descriptor(uaa->device);
398 error = usbd_transfer_setup(uaa->device,
1037 cd = usbd_get_config_descriptor(uaa->device);
1067 iface = usbd_get_iface(uaa->device, i);
1075 usbd_set_parent_iface(uaa->device, i, uaa->info.bIfaceIndex);
1084 error = usbd_transfer_setup(uaa->device,
H A Dumodem.c191 uint8_t sc_line_coding[32]; /* used in USB device mode */
192 uint8_t sc_abstract_state[32]; /* used in USB device mode */
353 sc->sc_udev = uaa->device;
363 cud = usbd_find_descriptor(uaa->device, NULL,
411 iface = usbd_get_iface(uaa->device, i);
419 usbd_set_parent_iface(uaa->device, i, uaa->info.bIfaceIndex);
435 (uaa->device, sc->sc_ctrl_iface_no,
443 error = usbd_transfer_setup(uaa->device,
482 iface = usbd_get_iface(uaa->device, iface_index);
923 return (usbd_find_descriptor(uaa->device, NUL
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Duverbs.h96 struct device *dev;
125 struct ib_uverbs_device *device; member in struct:ib_uverbs_file
H A Dib_cm.c43 #include <linux/device.h>
67 static void cm_add_one(struct ib_device *device);
68 static void cm_remove_one(struct ib_device *device, void *client_data);
181 struct device *device; member in struct:cm_device
566 (cm_id_priv->id.device == cur_cm_id_priv->id.device))
569 if (cm_id_priv->id.device < cur_cm_id_priv->id.device)
571 else if (cm_id_priv->id.device > cur_cm_id_pri
585 cm_find_listen(struct ib_device *device, __be64 service_id) argument
739 ib_create_cm_id(struct ib_device *device, ib_cm_handler cm_handler, void *context) argument
1081 ib_cm_insert_listen(struct ib_device *device, ib_cm_handler cm_handler, __be64 service_id) argument
[all...]
/freebsd-11-stable/usr.sbin/mlxcontrol/
H A Dinterface.c86 /* Get the device */
91 /* Get the unit number of the next child device */
133 /* Get the device */
136 /* Get the unit number of the next child device */
230 mlx_scsi_inquiry(int unit, int channel, int target, char **vendor, char **device, char **revision) argument
265 *device = &dcdb_cmd.d.inq.product[0];
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_defines.h226 /* PQI device performing internal initialization (e.g., POST). */
228 /* Upon entry to this state PQI device initialization begins. */
230 /* PQI device Standard registers are available to the driver. */
232 /* PQI device is initialized and ready to process any PCI transactions. */
549 #define PQI_MAX_DEVICES (PQI_MAX_LOGICALS + PQI_MAX_PHYSICALS + 1) /* 1 for controller device entry */
988 #define DBG_ERR_BTL(device,fmt,args...) \
991 printf("[ERROR]::[%u:%u.%u][%u,%u,%u][CPU %d][%s][%d]:"fmt, softs->bus_id, softs->device_id, softs->func_id, device->bus, device->target, device->lun,curcpu,__func__,__LINE__,##args); \
995 #define DBG_WARN_BTL(device,fm
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Dif_ral_pci.c65 uint16_t device; member in struct:ral_pci_ident
189 pci_get_device(dev) == ident->device) {
275 /* check if device was removed */
/freebsd-11-stable/sbin/sconfig/
H A Dsconfig.c53 "\tsconfig [-aimsxeftuc] [device [parameters ...]]\n"
1007 char device [80]; local
1011 sprintf (device, "/dev/serial/ctl%d", num);
1015 sprintf (device, "/dev/cx%d", num);
1018 sprintf (device, "/dev/ct%d", num);
1021 sprintf (device, "/dev/cp%d", num);
1024 sprintf (device, "/dev/ce%d", num);
1028 fd = open (device, 0);
1033 perror (device);
/freebsd-11-stable/sys/dev/ichwd/
H A Dichwd.c36 * device as it's actually an integrated function of the ICH LPC interface
408 ichwd_verbose_printf(sc->device, "timer enabled\n");
422 ichwd_verbose_printf(sc->device, "timer disabled\n");
470 ichwd_verbose_printf(sc->device, "timeout set to %u ticks\n", timeout);
514 ichwd_verbose_printf(sc->device,
521 device_printf(sc->device,
575 if (devid == id->device) {
594 * The controller's device and function are fixed and we expect
605 if (devid == id->device) {
617 * ichwd device
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h56 #include <linux/device.h>
60 uint32_t device; member in struct:pci_device_id
106 .vendor = PCI_VENDOR_ID_##_vendor, .device = (_device), \
109 .vendor = (_vendor), .device = (_device), \
225 struct device dev;
230 uint16_t device; member in struct:pci_dev
263 static inline struct device *
267 struct device *found;
450 * The MSIX IRQ numbers associated with this PCI device are no
/freebsd-11-stable/sys/dev/usb/gadget/
H A Dg_audio.c317 error = usbd_set_alt_interface_index(uaa->device, iface_index[1], 1);
322 error = usbd_set_alt_interface_index(uaa->device, iface_index[2], 1);
327 error = usbd_transfer_setup(uaa->device,
335 usbd_set_parent_iface(uaa->device, iface_index[1], iface_index[0]);
336 usbd_set_parent_iface(uaa->device, iface_index[2], iface_index[0]);
/freebsd-11-stable/sys/dev/aac/
H A Daac_cam.c532 uint8_t device, qual; local
545 device = SID_TYPE(inq);
550 * visible through the pass device.
552 if (((device == T_DIRECT) ||
553 (device == T_PROCESSOR) ||
557 * access device is offline in response to a INQUIRY
562 if ((data[1] & SI_EVPD) == 0 && device == T_DIRECT &&
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_srq.c367 struct mthca_dev *dev = to_mdev(ibsrq->device);
390 struct mthca_dev *dev = to_mdev(ibsrq->device);
442 event.device = &dev->ib_dev;
478 struct mthca_dev *dev = to_mdev(ibsrq->device);
578 struct mthca_dev *dev = to_mdev(ibsrq->device);
H A Dmthca_cq.c257 event.device = &dev->ib_dev;
340 if (!mthca_is_memfree(to_mdev(cq->ibcq.device)) &&
662 struct mthca_dev *dev = to_mdev(ibcq->device);
735 mthca_write64(dbhi, 0xffffffff, to_mdev(cq->device)->kar + MTHCA_CQ_DOORBELL,
736 MTHCA_GET_DOORBELL_LOCK(&to_mdev(cq->device)->doorbell_lock));
767 to_mdev(ibcq->device)->kar + MTHCA_CQ_DOORBELL,
768 MTHCA_GET_DOORBELL_LOCK(&to_mdev(ibcq->device)->doorbell_lock));
/freebsd-11-stable/sys/contrib/rdma/krping_compat/
H A Dkrping.c44 #include <linux/device.h>
314 PRINTF(cb, "cma detected device removal!!!!\n");
487 cb->recv_sgl.lkey = cb->qp->device->local_dma_lkey;
498 cb->send_sgl.lkey = cb->qp->device->local_dma_lkey;
557 cb->recv_dma_addr = dma_map_single(cb->pd->device->dma_device,
561 cb->send_dma_addr = dma_map_single(cb->pd->device->dma_device,
615 cb->rdma_dma_addr = dma_map_single(cb->pd->device->dma_device,
625 cb->pd->device,
685 cb->start_dma_addr = dma_map_single(cb->pd->device->dma_device,
759 dma_unmap_single(cb->pd->device
[all...]
/freebsd-11-stable/sys/dev/pci/
H A Dpci_iov.c77 * SR-IOV device. 1MB ought to be enough for anyone, but leave this
312 pci_iov_schema_add_string(pf, "device", IOV_SCHEMA_REQUIRED, NULL);
429 * affects all PFs on the device.
462 * If we called this function some device must have the SR-IOV
496 /* Check that the device supports the system page size. */
507 const nvlist_t *device, *driver_config; local
509 device = nvlist_get_nvlist(config, PF_CONFIG_NAME);
510 driver_config = nvlist_get_nvlist(device, DRIVER_CONFIG_NAME);
618 const nvlist_t *device, *driver_config, *iov_config; local
634 device
[all...]
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c540 fsl_pcib_init_via(struct fsl_pcib_softc *sc, uint16_t device, int bus, argument
544 if (device == 0x0686) {
549 } else if (device == 0x0571) {
562 uint16_t vendor, device; local
580 device = fsl_pcib_read_config(sc->sc_dev, bus, slot,
583 if (vendor == 0x1957 && device == 0x3fff) {
595 fsl_pcib_init_via(sc, device, bus, slot, func);
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib.h51 #include <dev/mlx4/device.h>
523 struct device *dev;
813 if (rdma_port_get_link_layer(ah->ibah.device, port) == IB_LINK_LAYER_ETHERNET)
874 int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num,
876 void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num,
882 int mlx4_ib_device_register_sysfs(struct mlx4_ib_dev *device) ;
884 void mlx4_ib_device_unregister_sysfs(struct mlx4_ib_dev *device);
H A Dmlx4_ib_qp.c302 event.device = ibqp->device;
477 * resulting number of wqes does not exceed device
840 if (alloc_proxy_bufs(pd->device, qp)) {
889 /* Maintain device to QPs access, needed for further handling
914 free_proxy_bufs(pd->device, qp);
1179 if (!(to_mdev(pd->device)->dev->caps.flags & MLX4_DEV_CAP_FLAG_XRC))
1194 err = create_qp_common(to_mdev(pd->device), pd, init_attr,
1215 int res = mlx4_qp_reserve_range(to_mdev(pd->device)->dev, 1, 1, &sqpn, 0);
1220 sqpn = get_sqp_num(to_mdev(pd->device), init_att
1245 struct ib_device *device = pd ? pd->device : init_attr->xrcd->device; local
[all...]
/freebsd-11-stable/usr.sbin/rarpd/
H A Drarpd.c387 char device[sizeof "/dev/bpf000"]; local
393 (void)sprintf(device, "/dev/bpf%d", n++);
394 fd = open(device, O_RDWR);
398 logmsg(LOG_ERR, "%s: %m", device);
406 * Open a BPF file and attach it to the interface named 'device'.
410 rarp_open(char *device) argument
440 strlcpy(ifr.ifr_name, device, sizeof(ifr.ifr_name));
454 logmsg(LOG_ERR, "%s is not an ethernet", device);

Completed in 217 milliseconds

<<11121314151617181920>>