Home
last modified time | relevance | path

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

/linux/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()
150 if (!dev->is_physfn) in pci_iov_resource_size()
834 dev->is_physfn = 1; in sriov_init()
843 dev->is_physfn = 0; in sriov_init()
919 if (dev->is_physfn) in pci_iov_release()
931 if (!dev->is_physfn) in pci_iov_remove()
1024 if (dev->is_physfn) in pci_restore_iov_state()
1035 if (dev->is_physfn) in pci_vf_drivers_autoprobe()
1072 if (!dev->is_physfn) in pci_enable_sriov()
[all …]
/linux/arch/powerpc/kernel/
H A 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()
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()
/linux/arch/powerpc/platforms/powernv/
H 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()
H A Dpci-ioda.c2472 if (pdev->is_physfn) in pnv_pci_release_device()
/linux/arch/s390/pci/
H A Dpci_iov.c83 if (zdev && zdev->is_physfn) { in zpci_iov_setup_virtfn()
H A Dpci_clp.c168 zdev->is_physfn = response->is_physfn; in clp_store_query_pci_fn()
H A Dpci.c587 if (pdev->is_physfn) in pcibios_device_add()
/linux/arch/s390/include/asm/
H A Dpci_clp.h115 u16 is_physfn : 1; member
H A Dpci.h140 u8 is_physfn : 1; member
/linux/arch/powerpc/platforms/pseries/
H A 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()
H A Dsetup.c783 if (!pdev->is_physfn) in pseries_pci_fixup_iov_resources()
804 if (!pdev->is_physfn) in pseries_pci_iov_resource_alignment()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c117 if (lif->ionic->pdev->is_physfn) in ionic_get_link_ext_stats()
/linux/include/linux/
H A Dpci.h439 unsigned int is_physfn:1; member
1182 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
/linux/drivers/xen/xen-pciback/
H A Dpci_stub.c1653 if (!pdev->is_physfn) in pci_stub_notifier()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c2010 if (!pdev->is_physfn) in vfio_pci_vf_init()
/linux/drivers/net/ethernet/sfc/
H A Def10.c652 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c164 if (!pdev->is_physfn) in i40e_restore_all_vfs_msi_state()