Home
last modified time | relevance | path

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

/linux/drivers/pci/
A 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()
789 dev->is_physfn = 1; in sriov_init()
798 dev->is_physfn = 0; in sriov_init()
874 if (dev->is_physfn) in pci_iov_release()
886 if (!dev->is_physfn) in pci_iov_remove()
979 if (dev->is_physfn) in pci_restore_iov_state()
990 if (dev->is_physfn) in pci_vf_drivers_autoprobe()
1027 if (!dev->is_physfn) in pci_enable_sriov()
[all …]
/linux/arch/powerpc/platforms/powernv/
A 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()
A Dpci-ioda.c2877 if (pdev->is_physfn) in pnv_pci_release_device()
/linux/arch/powerpc/kernel/
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()
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()
/linux/arch/s390/pci/
A Dpci_iov.c83 if (zdev && zdev->is_physfn) { in zpci_iov_setup_virtfn()
A Dpci_clp.c163 zdev->is_physfn = response->is_physfn; in clp_store_query_pci_fn()
A Dpci.c600 if (pdev->is_physfn) in pcibios_device_add()
/linux/arch/s390/include/asm/
A Dpci_clp.h112 u16 is_physfn : 1; member
A Dpci.h134 u8 is_physfn : 1; member
/linux/arch/powerpc/platforms/pseries/
A 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()
A Dsetup.c752 if (!pdev->is_physfn) in pseries_pci_fixup_iov_resources()
773 if (!pdev->is_physfn) in pseries_pci_iov_resource_alignment()
/linux/include/linux/
A Dpci.h431 unsigned int is_physfn:1; member
1125 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
/linux/drivers/xen/xen-pciback/
A Dpci_stub.c1655 if (!pdev->is_physfn) in pci_stub_notifier()
/linux/drivers/vfio/pci/
A Dvfio_pci_core.c1720 if (!pdev->is_physfn) in vfio_pci_vf_init()
/linux/drivers/net/ethernet/sfc/
A Def10.c652 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()

Completed in 45 milliseconds