Home
last modified time | relevance | path

Searched refs:physfn (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/xen/
Dpci.c32 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/
Dpci_iov.c44 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/
Deeh_pseries.c76 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/
Dphysdev.h174 } physfn; member
243 } physfn; member
/linux-6.1.9/drivers/pci/
Diov.c72 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()
Dprobe.c1733 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()
Dpci-driver.c344 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/
Deeh_sysfs.c115 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()
Deeh_driver.c464 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()
Dpci_dn.c210 edev->physfn = pdev; in add_sriov_vf_pdns()
Deeh_pe.c350 if (edev->physfn) in eeh_pe_tree_insert()
Deeh.c1784 pdev = pdev->physfn; in eeh_debugfs_break_device()
/linux-6.1.9/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c69 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/
Dadf_drv.c69 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/
Dadf_drv.c69 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/
Dvfio_pci_core.c1971 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/
Deeh-powernv.c303 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/
Def10.c652 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/
Deeh.h150 struct pci_dev *physfn; /* Associated SRIOV PF */ member
/linux-6.1.9/arch/sparc/kernel/
Dpci.c882 pdev = dev->physfn; in pcibios_device_add()
/linux-6.1.9/drivers/iommu/intel/
Ddmar.c335 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/
Dpci.h496 struct pci_dev *physfn; /* VF: related PF */ member
532 dev = dev->physfn; in pci_physfn()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_sriov.c1826 if (vfdev->is_virtfn && vfdev->physfn == pdev) in ice_restore_all_vfs_msi_state()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c141 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-pci197 What: /sys/bus/pci/devices/.../physfn

12