Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/pci/
Diov.c21 if (!dev->is_physfn) in pci_iov_virtfn_bus()
29 if (!dev->is_physfn) in pci_iov_virtfn_devfn()
108 if (!dev->is_physfn) in pci_iov_resource_size()
613 if (!pdev->is_physfn) { in sriov_enable()
718 if (pdev->is_physfn) in sriov_init()
791 dev->is_physfn = 1; in sriov_init()
800 dev->is_physfn = 0; in sriov_init()
876 if (dev->is_physfn) in pci_iov_release()
888 if (!dev->is_physfn) in pci_iov_remove()
905 struct pci_sriov *iov = dev->is_physfn ? dev->sriov : NULL; in pci_iov_update_resource()
[all …]
/Linux-v5.15/arch/powerpc/kernel/
Deeh_sysfs.c114 np = pci_device_to_OF_node(pdev->is_physfn ? pdev : pdev->physfn); in eeh_notify_resume_add()
126 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-v5.15/arch/powerpc/platforms/powernv/
Dpci-sriov.c244 } else if (pdev->is_physfn) { in pnv_pci_ioda_fixup_iov()
488 if (!pdev->is_physfn) in pnv_ioda_release_vf_PE()
517 if (!dev->is_physfn) in pnv_pci_vf_resource_shift()
629 if (!pdev->is_physfn) in pnv_ioda_setup_vf_PE()
Dpci-ioda.c2877 if (pdev->is_physfn) in pnv_pci_release_device()
/Linux-v5.15/arch/s390/pci/
Dpci_iov.c83 if (zdev && zdev->is_physfn) { in zpci_iov_setup_virtfn()
Dpci_clp.c163 zdev->is_physfn = response->is_physfn; in clp_store_query_pci_fn()
Dpci.c572 if (pdev->is_physfn) in pcibios_add_device()
/Linux-v5.15/arch/s390/include/asm/
Dpci_clp.h112 u16 is_physfn : 1; member
Dpci.h134 u8 is_physfn : 1; member
/Linux-v5.15/arch/powerpc/platforms/pseries/
Deeh_pseries.c730 if (edev->pdev->is_physfn) { in pseries_call_allow_unfreeze()
778 if (edev->pdev->is_physfn || edev->pdev->is_virtfn) in pseries_notify_resume()
Dsetup.c753 if (!pdev->is_physfn || pci_dev_is_added(pdev)) in pseries_pci_fixup_iov_resources()
774 if (!pdev->is_physfn) in pseries_pci_iov_resource_alignment()
/Linux-v5.15/include/linux/
Dpci.h429 unsigned int is_physfn:1; member
1120 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
/Linux-v5.15/drivers/xen/xen-pciback/
Dpci_stub.c1654 if (!pdev->is_physfn) in pci_stub_notifier()
/Linux-v5.15/drivers/vfio/pci/
Dvfio_pci_core.c1720 if (!pdev->is_physfn) in vfio_pci_vf_init()
/Linux-v5.15/drivers/net/ethernet/sfc/
Def10.c652 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()