Searched refs:pdev (Results 101 - 125 of 166) sorted by relevance

1234567

/freebsd-11-stable/sys/fs/devfs/
H A Ddevfs_devs.c503 struct cdev *pdev; local
604 pdev = cdp->cdp_c.si_parent;
610 j = depth * 3 + strlen(pdev->si_name) + 1;
615 strcat(de->de_symlink, pdev->si_name);
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c188 if (pci_channel_offline(dev->pdev))
722 snprintf(name, sizeof(name), "%s-rec", dev_name(&dev->pdev->dev));
727 snprintf(name, sizeof(name), "%s-wdg", dev_name(&dev->pdev->dev));
732 snprintf(name, sizeof(name), "%s-cmd", dev_name(&dev->pdev->dev));
H A Dmlx5_alloc.c85 bus_get_dma_tag(dev->pdev->dev.bsddev),
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_kern.h752 void *pdev; /* used to store pci device */ member in struct:netmap_adapter
1717 * dma_map_single(&pdev->dev, virt_addr, len, direction)
1718 * dma_unmap_single(&adapter->pdev->dev, phys_addr, len, direction)
1728 dma_unmap_single(&adapter->pdev->dev, buffer_info->dma,
1730 buffer_info->dma = dma_map_single(&adapter->pdev->dev,
1733 if (dma_mapping_error(&adapter->pdev->dev, buffer_info->dma)) {
1747 *map = dma_map_single(na->pdev, buf, size,
1749 if (dma_mapping_error(na->pdev, *map)) {
1762 dma_unmap_single(na->pdev, *map, sz,
1773 dma_sync_single_for_cpu(na->pdev, *ma
[all...]
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_av.c338 dev->av_table.pool = pci_pool_create("mthca_av", dev->pdev,
345 dev->av_table.av_map = ioremap(pci_resource_start(dev->pdev, 4) +
/freebsd-11-stable/sys/dev/ena/
H A Dena.h223 device_t pdev; member in struct:ena_calc_queue_size_ctx
395 device_t pdev; member in struct:ena_adapter
H A Dena_datapath.c196 device_printf(adapter->pdev,
200 device_printf(adapter->pdev, "Invalid req_id: %hu\n", req_id);
407 device_printf(adapter->pdev, "NULL mbuf in rx_info");
450 device_printf(adapter->pdev, "NULL mbuf in rx_info");
978 device_printf(adapter->pdev,
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-fifo-fp.c73 xge_os_dma_sync(fifo->channel.pdev,
81 xge_os_pio_mem_write64(fifo->channel.pdev,
112 xge_os_pio_mem_write64(fifo->channel.pdev, fifo->channel.regh1,
673 xge_os_dma_sync(fifo->channel.pdev,
886 xge_os_dma_sync(fifo->channel.pdev,
1000 xge_os_dma_sync(fifo->channel.pdev,
H A Dxgehal-ring-fp.c559 xge_os_dma_sync(ring->channel.pdev,
596 xge_os_dma_sync(ring->channel.pdev,
689 xge_os_dma_sync(ring->channel.pdev,
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_alloc.c594 buf->direct.buf = dma_alloc_coherent(&dev->persist->pdev->dev,
621 dma_alloc_coherent(&dev->persist->pdev->dev,
660 dma_free_coherent(&dev->persist->pdev->dev, size,
669 dma_free_coherent(&dev->persist->pdev->dev,
743 pgdir = mlx4_alloc_db_pgdir(&dev->persist->pdev->dev, gfp);
780 dma_free_coherent(&dev->persist->pdev->dev, PAGE_SIZE,
H A Dmlx4_eq.c932 ioremap(pci_resource_start(dev->persist->pdev, 2) +
996 pdev->dev,
1058 dma_free_coherent(&dev->persist->pdev->dev, PAGE_SIZE,
1091 dma_free_coherent(&dev->persist->pdev->dev, PAGE_SIZE,
1105 free_irq(dev->persist->pdev->irq, dev);
1121 priv->clr_base = ioremap(pci_resource_start(dev->persist->pdev,
1249 pci_name(dev->persist->pdev));
1264 pci_name(dev->persist->pdev));
1265 err = request_irq(dev->persist->pdev->irq, mlx4_interrupt,
1483 *prequested_vector, dev_name(&dev->persist->pdev
[all...]
H A Dmlx4.h222 &(mdev)->persist->pdev->dev, format, \
227 dev_err(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__)
229 dev_info(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__)
231 dev_warn(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__)
1028 int mlx4_restart_one(struct pci_dev *pdev);
/freebsd-11-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-fifo.c358 vp->vpath->hldev->header.pdev);
667 vp->vpath->hldev->header.pdev);
670 vp->vpath->hldev->header.pdev);
1091 vxge_os_dma_sync(fifo->channel.pdev,
1246 vxge_os_dma_sync(fifo->channel.pdev,
1408 vxge_os_dma_sync(fifo->channel.pdev,
1605 vxge_os_dma_sync(fifo->channel.pdev,
H A Dvxgehal-channel.h95 * @pdev: PCI Device object
137 pci_dev_h pdev; member in struct:__hal_channel_t
/freebsd-11-stable/sys/dev/vxge/
H A Dvxge.c158 device_attr.bar0 = (u8 *) vdev->pdev->bar_info[0];
159 device_attr.bar1 = (u8 *) vdev->pdev->bar_info[1];
160 device_attr.bar2 = (u8 *) vdev->pdev->bar_info[2];
161 device_attr.regh0 = (vxge_bus_res_t *) vdev->pdev->reg_map[0];
162 device_attr.regh1 = (vxge_bus_res_t *) vdev->pdev->reg_map[1];
163 device_attr.regh2 = (vxge_bus_res_t *) vdev->pdev->reg_map[2];
165 device_attr.cfgh = vdev->pdev;
166 device_attr.pdev = vdev->pdev;
1491 val64 = vxge_os_pio_mem_read64(vdev->pdev, (vde
[all...]
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Den.h445 struct pci_dev *pdev; member in struct:mlx4_en_dev
923 DRV_NAME, dev_name(&(priv)->mdev->pdev->dev), \
942 dev_name(&(mdev)->pdev->dev), ##arg)
945 dev_name(&(mdev)->pdev->dev), ##arg)
948 dev_name(&(mdev)->pdev->dev), ##arg)
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_fb.c128 vga_switcheroo_client_fb_set(dev->pdev, info);
/freebsd-11-stable/sys/dev/mxge/
H A Dif_mxge_var.h229 struct pci_dev *pdev; member in struct:mxge_softc
H A Dif_mxge.c347 device_t pdev, mcp55; local
356 pdev = device_get_parent(device_get_parent(sc->dev));
357 if (pdev == NULL) {
361 vendor_id = pci_read_config(pdev, PCIR_VENDOR, 2);
362 device_id = pci_read_config(pdev, PCIR_DEVICE, 2);
395 val = pci_read_config(pdev, 0x178, 4);
398 pci_write_config(pdev, 0x178, val, 4);
410 BUS_READ_IVAR(device_get_parent(pdev), pdev,
412 BUS_READ_IVAR(device_get_parent(pdev), pde local
414 BUS_READ_IVAR(device_get_parent(pdev), pdev, local
416 BUS_READ_IVAR(device_get_parent(pdev), pdev, local
418 BUS_READ_IVAR(device_get_parent(pdev), pdev, local
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_ttm.c626 gtt->ttm.dma_address[i] = pci_map_page(rdev->pdev, ttm->pages[i],
629 if (pci_dma_mapping_error(rdev->pdev, gtt->ttm.dma_address[i])) {
631 pci_unmap_page(rdev->pdev, gtt->ttm.dma_address[i],
672 pci_unmap_page(rdev->pdev, gtt->ttm.dma_address[i],
H A Dradeon_bios.c206 while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, pdev)) != NULL) {
/freebsd-11-stable/sys/dev/vxge/include/
H A Dvxgehal-ll.h227 vxge_hal_device_get_legacy_reg(pci_dev_h pdev, pci_reg_h regh, u8 *bar0);
2832 * @regh0: BAR0 mapped memory handle (Solaris), or simply PCI device @pdev
2840 * @cfgh: Configuration space handle (Solaris), or PCI device @pdev (Linux).
2841 * @pdev: PCI device object.
2855 pci_dev_h pdev; member in struct:vxge_hal_device_attr_t
2957 * @regh0: BAR0 mapped memory handle (Solaris), or simply PCI device @pdev
2966 * @pdev: Physical device handle
2999 pci_dev_h pdev; member in struct:vxge_hal_device_t
3130 * @pdev: PCI device object.
3131 * @regh0: BAR0 mapped memory handle (Solaris), or simply PCI device @pdev
[all...]
/freebsd-11-stable/sys/dev/drm/
H A Di915_suspend.c239 pci_read_config_byte(dev->pdev, LBB, &dev_priv->saveLBB);
375 pci_write_config_byte(dev->pdev, LBB, dev_priv->saveLBB);
/freebsd-11-stable/sys/arm/nvidia/
H A Das3722.h318 int as3722_gpio_map_gpios(device_t dev, phandle_t pdev, phandle_t gparent,
/freebsd-11-stable/sys/dev/nxge/
H A Dif_nxge.h283 xge_pci_info_t *pdev; /* PCI info */ member in struct:xge_lldev_t

Completed in 387 milliseconds

1234567