/linux-6.1.9/drivers/xen/ |
D | pci.c | 32 struct pci_dev *physfn = pci_dev->physfn; in xen_add_device() local 64 add->physfn.bus = physfn->bus->number; in xen_add_device() 65 add->physfn.devfn = physfn->devfn; in xen_add_device() 75 handle = ACPI_HANDLE(physfn->bus->bridge); in xen_add_device() 121 .physfn.bus = physfn->bus->number, in xen_add_device() 122 .physfn.devfn = physfn->devfn, in xen_add_device()
|
/linux-6.1.9/arch/s390/pci/ |
D | pci_iov.c | 44 pci_iov_remove_virtfn(pdev->physfn, vfn - 1); in zpci_iov_remove_virtfn() 58 virtfn->physfn = pci_dev_get(pdev); in zpci_iov_link_virtfn()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 76 struct eeh_pe *physfn_pe = pci_dev_to_eeh_dev(pdev->physfn)->pe; in pseries_pcibios_bus_add_device() 335 if (edev->physfn) in pseries_eeh_pe_get_parent() 336 pdn = pci_get_pdn(edev->physfn); in pseries_eeh_pe_get_parent() 731 if (pci_num_vf(edev->physfn ? edev->physfn : edev->pdev)) { in pseries_call_allow_unfreeze() 758 physfn_pdn = pci_get_pdn(edev->physfn); in pseries_call_allow_unfreeze()
|
/linux-6.1.9/include/xen/interface/ |
D | physdev.h | 174 } physfn; member 243 } physfn; member
|
/linux-6.1.9/drivers/pci/ |
D | iov.c | 72 pf_dev = dev->physfn; in pci_iov_get_pf_drvdata() 159 struct pci_dev *physfn = virtfn->physfn; in pci_read_vf_config_common() local 171 &physfn->sriov->class); in pci_read_vf_config_common() 173 &physfn->sriov->hdr_type); in pci_read_vf_config_common() 175 &physfn->sriov->subsystem_vendor); in pci_read_vf_config_common() 177 &physfn->sriov->subsystem_device); in pci_read_vf_config_common() 311 virtfn->physfn = pci_dev_get(dev); in pci_iov_add_virtfn() 1137 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
|
D | probe.c | 1733 return dev->physfn->sriov->class; in pci_class() 1743 *vendor = dev->physfn->sriov->subsystem_vendor; in pci_subsystem_ids() 1744 *device = dev->physfn->sriov->subsystem_device; in pci_subsystem_ids() 1758 return dev->physfn->sriov->hdr_type; in pci_hdr_type()
|
D | pci-driver.c | 344 return dev->is_virtfn && dev->physfn->is_probed; in pci_physfn_is_probed() 434 return (!pdev->is_virtfn || pdev->physfn->sriov->drivers_autoprobe || in pci_device_can_probe()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | eeh_sysfs.c | 115 np = pci_device_to_OF_node(pdev->is_physfn ? pdev : pdev->physfn); in eeh_notify_resume_add() 127 np = pci_device_to_OF_node(pdev->is_physfn ? pdev : pdev->physfn); in eeh_notify_resume_remove()
|
D | eeh_driver.c | 464 if (!(edev->physfn)) { in eeh_add_virt_device() 479 pci_iov_add_virtfn(edev->physfn, edev->vf_index); in eeh_add_virt_device() 521 if (edev->physfn) { in eeh_rmv_device() 523 pci_iov_remove_virtfn(edev->physfn, edev->vf_index); in eeh_rmv_device()
|
D | pci_dn.c | 210 edev->physfn = pdev; in add_sriov_vf_pdns()
|
D | eeh_pe.c | 350 if (edev->physfn) in eeh_pe_tree_insert()
|
D | eeh.c | 1784 pdev = pdev->physfn; in eeh_debugfs_break_device()
|
/linux-6.1.9/drivers/crypto/qat/qat_dh895xccvf/ |
D | adf_drv.c | 69 pf = adf_devmgr_pci_to_accel_dev(accel_pci_dev->pci_dev->physfn); in adf_cleanup_accel() 98 pf = adf_devmgr_pci_to_accel_dev(pdev->physfn); in adf_probe()
|
/linux-6.1.9/drivers/crypto/qat/qat_c62xvf/ |
D | adf_drv.c | 69 pf = adf_devmgr_pci_to_accel_dev(accel_pci_dev->pci_dev->physfn); in adf_cleanup_accel() 98 pf = adf_devmgr_pci_to_accel_dev(pdev->physfn); in adf_probe()
|
/linux-6.1.9/drivers/crypto/qat/qat_c3xxxvf/ |
D | adf_drv.c | 69 pf = adf_devmgr_pci_to_accel_dev(accel_pci_dev->pci_dev->physfn); in adf_cleanup_accel() 98 pf = adf_devmgr_pci_to_accel_dev(pdev->physfn); in adf_probe()
|
/linux-6.1.9/drivers/vfio/pci/ |
D | vfio_pci_core.c | 1971 struct pci_dev *physfn = pci_physfn(pdev); in vfio_pci_bus_notifier() local 1974 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier() 1980 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier() 1997 struct pci_dev *physfn; in vfio_pci_vf_init() local 2007 physfn = pci_physfn(vdev->pdev); in vfio_pci_vf_init() 2010 if (cur->pdev == physfn) { in vfio_pci_vf_init()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 303 parent = pdev->physfn; in pnv_eeh_get_upstream_pe() 1221 if (edev->physfn && (edev->pe->state & EEH_PE_RESET)) in pnv_eeh_cfg_blocked() 1612 if (edev->physfn) in pnv_eeh_restore_config()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | ef10.c | 652 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe() 653 struct pci_dev *pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe() 931 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_remove() 1075 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe_vf() 1097 if (efx->pci_dev->physfn) { in efx_ef10_probe_vf() 1099 pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_probe_vf() 3284 if (efx->pci_dev->is_virtfn && efx->pci_dev->physfn) { in efx_ef10_set_mac_address() 3285 struct efx_nic *efx_pf = pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_set_mac_address()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | eeh.h | 150 struct pci_dev *physfn; /* Associated SRIOV PF */ member
|
/linux-6.1.9/arch/sparc/kernel/ |
D | pci.c | 882 pdev = dev->physfn; in pcibios_device_add()
|
/linux-6.1.9/drivers/iommu/intel/ |
D | dmar.c | 335 struct pci_dev *physfn = pci_physfn(pdev); in vf_inherit_msi_domain() local 337 dev_set_msi_domain(&pdev->dev, dev_get_msi_domain(&physfn->dev)); in vf_inherit_msi_domain()
|
/linux-6.1.9/include/linux/ |
D | pci.h | 496 struct pci_dev *physfn; /* VF: related PF */ member 532 dev = dev->physfn; in pci_physfn()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_sriov.c | 1826 if (vfdev->is_virtfn && vfdev->physfn == pdev) in ice_restore_all_vfs_msi_state()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 141 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-bus-pci | 197 What: /sys/bus/pci/devices/.../physfn
|