Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/
H A 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()
H A 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()
H A Dpci.c6650 pdev = pci_physfn(pdev); in pci_device_is_present()
/openbmc/linux/drivers/vfio/pci/pds/
H A 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()
H A 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()
H A Dvfio_dev.c168 __func__, pci_dev_id(pci_physfn(pdev)), pci_id, vf_id, in pds_vfio_init_device()
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dauxbus.c104 pf_pdev = pci_physfn(padev->vf_pdev); in pds_client_adminq_cmd()
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c574 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in qm_reset_prepare_ready()
589 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in qm_reset_bit_clear()
1023 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in qm_reset_function()
2572 pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in hisi_qm_get_isolate_state()
2605 pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in hisi_qm_isolate_threshold_read()
2744 if (pci_physfn(dev) == pdev) { in qm_try_frozen_vfs()
4125 if (pci_physfn(virtfn) == pdev) { in qm_vf_reset_prepare()
4314 if (pci_physfn(virtfn) == pdev) { in qm_vf_reset_done()
4547 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in hisi_qm_reset_prepare()
4596 struct pci_dev *pf_pdev = pci_physfn(pdev); in qm_flr_reset_complete()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c233 struct pci_dev *pf = pci_physfn(vf); in mlx5_core_sriov_set_msix_vec_count()
/openbmc/linux/drivers/xen/xen-pciback/
H A Dpciback_ops.c218 pci_read_config_word(pci_physfn(dev), PCI_COMMAND, &cmd); in xen_pcibk_enable_msix()
H A Dpci_stub.c1633 && pci_physfn(psdev->dev) == pdev) { in find_vfs()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c490 parent_pci = pci_physfn(vf_pci); in usnic_ib_discover_pf()
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c931 struct pci_dev *pdev = pci_physfn(vdev->pdev); in vfio_pci_info_atomic_cap()
2062 struct pci_dev *physfn = pci_physfn(pdev); in vfio_pci_bus_notifier()
2098 physfn = pci_physfn(vdev->pdev); in vfio_pci_vf_init()
/openbmc/linux/drivers/vdpa/pds/
H A Dvdpa_dev.c802 pf_pdev = pci_physfn(vdpa_aux->padev->vf_pdev); in pds_vdpa_get_mgmt_info()
/openbmc/linux/drivers/iommu/intel/
H A 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()
H A Diommu.c725 pf_pdev = pci_physfn(pdev); in device_to_iommu()
3409 dev = pci_physfn(dev); in dmar_find_matched_satc_unit()
3436 dev = pci_physfn(dev); in dmar_ats_supported()
4401 info->pfsid = pci_dev_id(pci_physfn(pdev)); in intel_iommu_probe_device()
/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c1805 pfmdev = pci_get_drvdata(pci_physfn(mvdev->mdev->pdev)); in handle_ctrl_mac()
3000 pfmdev = pci_get_drvdata(pci_physfn(mvdev->mdev->pdev)); in mlx5_vdpa_free()
3468 pfmdev = pci_get_drvdata(pci_physfn(mdev->pdev)); in mlx5_vdpa_dev_add()