/linux-6.6.21/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.6.21/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.6.21/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.6.21/include/xen/interface/ |
D | physdev.h | 174 } physfn; member 243 } physfn; member
|
/linux-6.6.21/drivers/pci/ |
D | iov.c | 71 pf_dev = dev->physfn; in pci_iov_get_pf_drvdata() 158 struct pci_dev *physfn = virtfn->physfn; in pci_read_vf_config_common() local 170 &physfn->sriov->class); in pci_read_vf_config_common() 172 &physfn->sriov->hdr_type); in pci_read_vf_config_common() 174 &physfn->sriov->subsystem_vendor); in pci_read_vf_config_common() 176 &physfn->sriov->subsystem_device); in pci_read_vf_config_common() 310 virtfn->physfn = pci_dev_get(dev); in pci_iov_add_virtfn() 1136 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
|
D | probe.c | 1745 return dev->physfn->sriov->class; in pci_class() 1755 *vendor = dev->physfn->sriov->subsystem_vendor; in pci_subsystem_ids() 1756 *device = dev->physfn->sriov->subsystem_device; in pci_subsystem_ids() 1770 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.6.21/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.6.21/drivers/crypto/intel/qat/qat_c3xxxvf/ |
D | adf_drv.c | 70 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.6.21/drivers/crypto/intel/qat/qat_dh895xccvf/ |
D | adf_drv.c | 70 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.6.21/drivers/crypto/intel/qat/qat_c62xvf/ |
D | adf_drv.c | 70 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.6.21/drivers/vfio/pci/ |
D | vfio_pci_core.c | 2042 struct pci_dev *physfn = pci_physfn(pdev); in vfio_pci_bus_notifier() local 2045 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier() 2051 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier() 2068 struct pci_dev *physfn; in vfio_pci_vf_init() local 2078 physfn = pci_physfn(vdev->pdev); in vfio_pci_vf_init() 2081 if (cur->pdev == physfn) { in vfio_pci_vf_init()
|
/linux-6.6.21/drivers/vdpa/solidrun/ |
D | snet_main.c | 66 pdev = snet->pdev->physfn; in snet_free_irqs() 443 ret = snet_request_irqs(pf_irqs ? pdev->physfn : pdev, snet); in snet_set_status() 962 struct pci_dev *pdev_pf = pdev->physfn; in snet_vdpa_probe_vf()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 303 parent = pdev->physfn; in pnv_eeh_get_upstream_pe() 1220 if (edev->physfn && (edev->pe->state & EEH_PE_RESET)) in pnv_eeh_cfg_blocked() 1611 if (edev->physfn) in pnv_eeh_restore_config()
|
/linux-6.6.21/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() 3313 if (efx->pci_dev->is_virtfn && efx->pci_dev->physfn) { in efx_ef10_set_mac_address() 3314 struct efx_nic *efx_pf = pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_set_mac_address()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | eeh.h | 150 struct pci_dev *physfn; /* Associated SRIOV PF */ member
|
/linux-6.6.21/arch/sparc/kernel/ |
D | pci.c | 881 pdev = dev->physfn; in pcibios_device_add()
|
/linux-6.6.21/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.6.21/include/linux/ |
D | pci.h | 499 struct pci_dev *physfn; /* VF: related PF */ member 538 dev = dev->physfn; in pci_physfn()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_sriov.c | 1733 if (vfdev->is_virtfn && vfdev->physfn == pdev) in ice_restore_all_vfs_msi_state()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 142 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
|