Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/pci/
H A Diov.c21 if (!dev->is_physfn) in pci_iov_virtfn_bus()
29 if (!dev->is_physfn) in pci_iov_virtfn_devfn()
107 if (!dev->is_physfn) in pci_iov_resource_size()
516 if (!pdev->is_physfn) { in sriov_enable()
621 if (pdev->is_physfn) in sriov_init()
694 dev->is_physfn = 1; in sriov_init()
703 dev->is_physfn = 0; in sriov_init()
779 if (dev->is_physfn) in pci_iov_release()
791 if (!dev->is_physfn) in pci_iov_remove()
808 struct pci_sriov *iov = dev->is_physfn ? dev->sriov : NULL; in pci_iov_update_resource()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A 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()
H A Dpci-ioda.c2821 if (pdev->is_physfn) in pnv_pci_release_device()
/OK3568_Linux_fs/kernel/arch/s390/pci/
H A Dpci_iov.c83 if (zdev && zdev->is_physfn) { in zpci_iov_setup_virtfn()
H A Dpci_clp.c165 zdev->is_physfn = response->is_physfn; in clp_store_query_pci_fn()
H A Dpci.c568 if (pdev->is_physfn) in pcibios_add_device()
/OK3568_Linux_fs/external/dpdk/pcie/igb_uio/
H A Dcompat.h50 if (!dev->is_physfn) in pci_num_vf()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dpci_clp.h112 u16 is_physfn : 1; member
H A Dpci.h134 u8 is_physfn : 1; member
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c731 if (edev->pdev->is_physfn) { in pseries_call_allow_unfreeze()
779 if (edev->pdev->is_physfn || edev->pdev->is_virtfn) in pseries_notify_resume()
H A Dsetup.c736 if (!pdev->is_physfn || pci_dev_is_added(pdev)) in pseries_pci_fixup_iov_resources()
757 if (!pdev->is_physfn) in pseries_pci_iov_resource_alignment()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpci.h425 unsigned int is_physfn:1; member
1091 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
/OK3568_Linux_fs/kernel/drivers/xen/xen-pciback/
H A Dpci_stub.c1654 if (!pdev->is_physfn) in pci_stub_notifier()
/OK3568_Linux_fs/kernel/drivers/vfio/pci/
H A Dvfio_pci.c1947 if (!pdev->is_physfn) in vfio_pci_vf_init()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Def10.c653 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()