Searched refs:to_pci_dev (Results 151 - 175 of 451) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_agp.c132 struct pci_dev *pdev = to_pci_dev(dev->dev);
165 struct pci_dev *pdev = to_pci_dev(dev->dev);
/linux-master/drivers/misc/ocxl/
H A Dcontext.c85 dev = to_pci_dev(ctx->afu->fn->dev.parent);
227 dev = to_pci_dev(ctx->afu->fn->dev.parent);
/linux-master/drivers/accel/qaic/
H A Dqaic_timesync.c176 struct qaic_device *qdev = pci_get_drvdata(to_pci_dev(mhi_dev->mhi_cntrl->cntrl_dev));
326 struct qaic_device *qdev = pci_get_drvdata(to_pci_dev(mhi_dev->mhi_cntrl->cntrl_dev));
/linux-master/drivers/pci/
H A Ddevres.c167 struct pci_dev *dev = to_pci_dev(gendev);
257 struct pci_dev *dev = to_pci_dev(gendev);
H A Dvpd.c277 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
301 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
330 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
/linux-master/drivers/accel/ivpu/
H A Divpu_debugfs.c135 ret = pci_try_reset_function(to_pci_dev(vdev->drm.dev));
198 ret = pci_try_reset_function(to_pci_dev(vdev->drm.dev));
/linux-master/drivers/misc/
H A Dtifm_core.c295 return dma_map_sg(&to_pci_dev(sock->dev.parent)->dev, sg, nents,
303 dma_unmap_sg(&to_pci_dev(sock->dev.parent)->dev, sg, nents, direction);
H A Dtifm_7xx1.c212 struct pci_dev *dev = to_pci_dev(dev_d);
229 struct pci_dev *dev = to_pci_dev(dev_d);
/linux-master/sound/soc/sof/amd/
H A Dacp-loader.c52 struct pci_dev *pci = to_pci_dev(sdev->dev);
167 struct pci_dev *pci = to_pci_dev(sdev->dev);
/linux-master/drivers/nvme/host/
H A Dpci.c460 blk_mq_pci_map_queues(map, to_pci_dev(dev->dev), offset);
1106 struct pci_dev *pdev = to_pci_dev(nvmeq->dev->dev);
1259 result = pci_read_config_word(to_pci_dev(dev->dev), PCI_STATUS,
1296 if (pci_channel_offline(to_pci_dev(dev->dev)))
1416 pci_free_p2pmem(to_pci_dev(nvmeq->dev->dev),
1448 pci_free_irq(to_pci_dev(dev->dev), nvmeq->cq_vector, nvmeq);
1504 struct pci_dev *pdev = to_pci_dev(dev->dev);
1564 struct pci_dev *pdev = to_pci_dev(nvmeq->dev->dev);
1705 struct pci_dev *pdev = to_pci_dev(dev->dev);
1835 struct pci_dev *pdev = to_pci_dev(de
[all...]
/linux-master/drivers/ata/
H A Dahci.c781 struct pci_dev *pdev = to_pci_dev(host->dev);
801 struct pci_dev *pdev = to_pci_dev(host->dev);
926 struct pci_dev *pdev = to_pci_dev(host->dev);
979 struct pci_dev *pdev = to_pci_dev(dev);
988 struct pci_dev *pdev = to_pci_dev(dev);
1002 struct pci_dev *pdev = to_pci_dev(dev);
1019 struct pci_dev *pdev = to_pci_dev(dev);
1075 struct pci_dev *pdev = to_pci_dev(host->dev);
1123 struct pci_dev *pdev = to_pci_dev(host->dev);
1666 return pci_irq_vector(to_pci_dev(hos
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_drm.c135 return nouveau_pci_name(to_pci_dev(dev->dev));
993 struct pci_dev *pdev = to_pci_dev(dev);
1015 struct pci_dev *pdev = to_pci_dev(dev);
1041 struct pci_dev *pdev = to_pci_dev(dev);
1049 struct pci_dev *pdev = to_pci_dev(dev);
1065 struct pci_dev *pdev = to_pci_dev(dev);
1087 struct pci_dev *pdev = to_pci_dev(dev);
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c365 struct pci_dev *pdev = to_pci_dev(isp->dev);
420 struct pci_dev *pdev = to_pci_dev(isp->dev);
462 struct pci_dev *pdev = to_pci_dev(isp->dev);
545 struct pci_dev *pdev = to_pci_dev(isp->dev);
599 struct pci_dev *pdev = to_pci_dev(dev);
637 pci_restore_state(to_pci_dev(dev));
692 struct pci_dev *pdev = to_pci_dev(isp->dev);
/linux-master/drivers/gpu/drm/i915/
H A Di915_driver.c444 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
582 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
1060 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
1111 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
1267 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
1501 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
1599 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c732 struct pci_dev *pdev = to_pci_dev(dev->drm.dev);
859 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
1192 struct pci_dev *pdev = to_pci_dev(dev->dev);
1516 struct pci_dev *pdev = to_pci_dev(kdev);
1526 struct pci_dev *pdev = to_pci_dev(kdev);
1533 struct pci_dev *pdev = to_pci_dev(kdev);
1575 struct pci_dev *pdev = to_pci_dev(kdev);
/linux-master/drivers/video/fbdev/
H A Dtgafb.c1427 if (tga_bus_pci && pci_enable_device(to_pci_dev(dev))) {
1443 bar0_start = pci_resource_start(to_pci_dev(dev), 0);
1444 bar0_len = pci_resource_len(to_pci_dev(dev), 0);
1470 par->tga_chip_rev = (to_pci_dev(dev))->revision;
1521 to_pci_dev(dev)->bus->number,
1522 PCI_SLOT(to_pci_dev(dev)->devfn),
1523 PCI_FUNC(to_pci_dev(dev)->devfn));
1561 bar0_start = pci_resource_start(to_pci_dev(dev), 0);
1562 bar0_len = pci_resource_len(to_pci_dev(dev), 0);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_pci.c839 struct pci_dev *pdev = to_pci_dev(dev);
861 struct pci_dev *pdev = to_pci_dev(dev);
886 struct pci_dev *pdev = to_pci_dev(dev);
911 struct pci_dev *pdev = to_pci_dev(dev);
934 struct pci_dev *pdev = to_pci_dev(dev);
H A Dxe_irq.c669 struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
684 struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
745 int irq = to_pci_dev(xe->drm.dev)->irq;
/linux-master/drivers/iommu/intel/
H A Diommu.c576 pdev = to_pci_dev(dev);
577 pbridge = to_pci_dev(bridge);
623 struct pci_dev *pdev = to_pci_dev(dev);
649 pdev = pci_real_dma_dev(to_pci_dev(dev));
1344 pdev = to_pci_dev(info->dev);
1368 pdev = to_pci_dev(info->dev);
1987 return pci_for_each_dma_alias(to_pci_dev(dev),
2242 pci_real_dma_dev(to_pci_dev(dev)) != to_pci_dev(dev);
2380 pdev = to_pci_dev(de
[all...]
/linux-master/drivers/virtio/
H A Dvirtio_pci_common.c473 struct pci_dev *pci_dev = to_pci_dev(dev);
486 struct pci_dev *pci_dev = to_pci_dev(dev);
500 struct pci_dev *pci_dev = to_pci_dev(dev);
/linux-master/drivers/gpu/drm/gma500/
H A Dpsb_drv.h38 #define IS_PSB(drm) ((to_pci_dev((drm)->dev)->device & 0xfffe) == 0x8108)
39 #define IS_MRST(drm) ((to_pci_dev((drm)->dev)->device & 0xfff0) == 0x4100)
40 #define IS_CDV(drm) ((to_pci_dev((drm)->dev)->device & 0xfff0) == 0x0be0)
/linux-master/drivers/edac/
H A Di3200_edac.c170 pdev = to_pci_dev(mci->pdev);
187 pdev = to_pci_dev(mci->pdev);
/linux-master/drivers/counter/
H A Dintel-qep.c459 struct pci_dev *pdev = to_pci_dev(dev);
471 struct pci_dev *pdev = to_pci_dev(dev);
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_pci_func.c385 struct aq_nic_s *nic = pci_get_drvdata(to_pci_dev(dev));
406 struct pci_dev *pdev = to_pci_dev(dev);
/linux-master/drivers/dma/dw-edma/
H A Ddw-edma-pcie.c95 return pci_irq_vector(to_pci_dev(dev), nr);
100 struct pci_dev *pdev = to_pci_dev(dev);

Completed in 415 milliseconds

1234567891011>>