Home
last modified time | relevance | path

Searched refs:pci_physfn (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/pci/
Dats.c76 pdev = pci_physfn(dev); in pci_enable_ats()
208 if (pci_physfn(pdev)->pri_enabled) in pci_enable_pri()
325 pdev = pci_physfn(pdev); in pci_prg_resp_pasid_required()
339 if (pci_physfn(pdev)->pri_cap) in pci_pri_supported()
371 if (pci_physfn(pdev)->pasid_enabled) in pci_enable_pasid()
469 pdev = pci_physfn(pdev); in pci_pasid_features()
498 pdev = pci_physfn(pdev); in pci_max_pasids()
Diov.c43 pf = pci_physfn(dev); in pci_iov_vf_id()
227 struct pci_dev *pdev = pci_physfn(vf_dev); in sriov_vf_msix_count_store()
Dpci.c6587 pdev = pci_physfn(pdev); in pci_device_is_present()
/linux-6.6.21/drivers/vfio/pci/pds/
Ddirty.c39 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_print_guest_region_info()
106 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in __pds_vfio_dirty_free_sgl()
131 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in __pds_vfio_dirty_alloc_sgl()
183 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_dirty_enable()
330 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_dirty_seq_ack()
Dcmds.c290 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_get_lm_state_cmd()
328 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_set_lm_state_cmd()
Dvfio_dev.c168 __func__, pci_dev_id(pci_physfn(pdev)), pci_id, vf_id, in pds_vfio_init_device()
/linux-6.6.21/drivers/net/ethernet/amd/pds_core/
Dauxbus.c104 pf_pdev = pci_physfn(padev->vf_pdev); in pds_client_adminq_cmd()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c233 struct pci_dev *pf = pci_physfn(vf); in mlx5_core_sriov_set_msix_vec_count()
/linux-6.6.21/drivers/crypto/hisilicon/
Dqm.c579 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in qm_reset_prepare_ready()
594 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in qm_reset_bit_clear()
1028 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in qm_reset_function()
2574 pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in hisi_qm_get_isolate_state()
2607 pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in hisi_qm_isolate_threshold_read()
2746 if (pci_physfn(dev) == pdev) { in qm_try_frozen_vfs()
4126 if (pci_physfn(virtfn) == pdev) { in qm_vf_reset_prepare()
4316 if (pci_physfn(virtfn) == pdev) { in qm_vf_reset_done()
4549 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in hisi_qm_reset_prepare()
4598 struct pci_dev *pf_pdev = pci_physfn(pdev); in qm_flr_reset_complete()
[all …]
/linux-6.6.21/drivers/xen/xen-pciback/
Dpciback_ops.c218 pci_read_config_word(pci_physfn(dev), PCI_COMMAND, &cmd); in xen_pcibk_enable_msix()
Dpci_stub.c1633 && pci_physfn(psdev->dev) == pdev) { in find_vfs()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c490 parent_pci = pci_physfn(vf_pci); in usnic_ib_discover_pf()
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_core.c933 struct pci_dev *pdev = pci_physfn(vdev->pdev); in vfio_pci_info_atomic_cap()
2042 struct pci_dev *physfn = pci_physfn(pdev); in vfio_pci_bus_notifier()
2078 physfn = pci_physfn(vdev->pdev); in vfio_pci_vf_init()
/linux-6.6.21/drivers/vdpa/pds/
Dvdpa_dev.c802 pf_pdev = pci_physfn(vdpa_aux->padev->vf_pdev); in pds_vdpa_get_mgmt_info()
/linux-6.6.21/drivers/iommu/intel/
Ddmar.c335 struct pci_dev *physfn = pci_physfn(pdev); in vf_inherit_msi_domain()
704 dev = pci_physfn(dev); in dmar_find_matched_drhd_unit()
Diommu.c725 pf_pdev = pci_physfn(pdev); in device_to_iommu()
3397 dev = pci_physfn(dev); in dmar_find_matched_satc_unit()
3424 dev = pci_physfn(dev); in dmar_ats_supported()
4387 info->pfsid = pci_dev_id(pci_physfn(pdev)); in intel_iommu_probe_device()
/linux-6.6.21/include/linux/
Dpci.h534 static inline struct pci_dev *pci_physfn(struct pci_dev *dev) in pci_physfn() function
722 dev = pci_physfn(dev); in pci_upstream_bridge()
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1807 pfmdev = pci_get_drvdata(pci_physfn(mvdev->mdev->pdev)); in handle_ctrl_mac()
2995 pfmdev = pci_get_drvdata(pci_physfn(mvdev->mdev->pdev)); in mlx5_vdpa_free()
3463 pfmdev = pci_get_drvdata(pci_physfn(mdev->pdev)); in mlx5_vdpa_dev_add()