Home
last modified time | relevance | path

Searched refs:is_physfn (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/pci/
Diov.c21 if (!dev->is_physfn) in pci_iov_virtfn_bus()
29 if (!dev->is_physfn) in pci_iov_virtfn_devfn()
151 if (!dev->is_physfn) in pci_iov_resource_size()
654 if (!pdev->is_physfn) { in sriov_enable()
759 if (pdev->is_physfn) in sriov_init()
832 dev->is_physfn = 1; in sriov_init()
841 dev->is_physfn = 0; in sriov_init()
917 if (dev->is_physfn) in pci_iov_release()
929 if (!dev->is_physfn) in pci_iov_remove()
946 struct pci_sriov *iov = dev->is_physfn ? dev->sriov : NULL; in pci_iov_update_resource()
[all …]
/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()
Dpci_dn.c179 if (WARN_ON(!pdev->is_physfn)) in add_sriov_vf_pdns()
224 if (WARN_ON(!pdev->is_physfn)) in remove_sriov_vf_pdns()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dpci-sriov.c238 } else if (pdev->is_physfn) { in pnv_pci_ioda_fixup_iov()
482 if (!pdev->is_physfn) in pnv_ioda_release_vf_PE()
511 if (!dev->is_physfn) in pnv_pci_vf_resource_shift()
623 if (!pdev->is_physfn) in pnv_ioda_setup_vf_PE()
Dpci-ioda.c2870 if (pdev->is_physfn) in pnv_pci_release_device()
/linux-6.1.9/arch/s390/pci/
Dpci_iov.c83 if (zdev && zdev->is_physfn) { in zpci_iov_setup_virtfn()
Dpci_clp.c168 zdev->is_physfn = response->is_physfn; in clp_store_query_pci_fn()
Dpci.c614 if (pdev->is_physfn) in pcibios_device_add()
/linux-6.1.9/arch/s390/include/asm/
Dpci_clp.h112 u16 is_physfn : 1; member
Dpci.h137 u8 is_physfn : 1; member
/linux-6.1.9/arch/powerpc/platforms/pseries/
Deeh_pseries.c732 if (edev->pdev->is_physfn) { in pseries_call_allow_unfreeze()
780 if (edev->pdev->is_physfn || edev->pdev->is_virtfn) in pseries_notify_resume()
Dsetup.c782 if (!pdev->is_physfn) in pseries_pci_fixup_iov_resources()
803 if (!pdev->is_physfn) in pseries_pci_iov_resource_alignment()
/linux-6.1.9/include/linux/
Dpci.h437 unsigned int is_physfn:1; member
1147 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
/linux-6.1.9/drivers/xen/xen-pciback/
Dpci_stub.c1655 if (!pdev->is_physfn) in pci_stub_notifier()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_core.c2020 if (!pdev->is_physfn) in vfio_pci_vf_init()
/linux-6.1.9/drivers/net/ethernet/sfc/
Def10.c652 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()