Searched refs:is_physfn (Results 1 – 18 of 18) sorted by relevance
21 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()653 if (!pdev->is_physfn) { in sriov_enable()758 if (pdev->is_physfn) in sriov_init()831 dev->is_physfn = 1; in sriov_init()840 dev->is_physfn = 0; in sriov_init()916 if (dev->is_physfn) in pci_iov_release()928 if (!dev->is_physfn) in pci_iov_remove()945 struct pci_sriov *iov = dev->is_physfn ? dev->sriov : NULL; in pci_iov_update_resource()[all …]
115 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()
179 if (WARN_ON(!pdev->is_physfn)) in add_sriov_vf_pdns()224 if (WARN_ON(!pdev->is_physfn)) in remove_sriov_vf_pdns()
238 } 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()
2472 if (pdev->is_physfn) in pnv_pci_release_device()
83 if (zdev && zdev->is_physfn) { in zpci_iov_setup_virtfn()
168 zdev->is_physfn = response->is_physfn; in clp_store_query_pci_fn()
581 if (pdev->is_physfn) in pcibios_device_add()
112 u16 is_physfn : 1; member
139 u8 is_physfn : 1; member
732 if (edev->pdev->is_physfn) { in pseries_call_allow_unfreeze()780 if (edev->pdev->is_physfn || edev->pdev->is_virtfn) in pseries_notify_resume()
783 if (!pdev->is_physfn) in pseries_pci_fixup_iov_resources()804 if (!pdev->is_physfn) in pseries_pci_iov_resource_alignment()
112 if (lif->ionic->pdev->is_physfn) in ionic_get_link_ext_stats()
439 unsigned int is_physfn:1; member1158 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
1653 if (!pdev->is_physfn) in pci_stub_notifier()
2091 if (!pdev->is_physfn) in vfio_pci_vf_init()
652 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()
162 if (!pdev->is_physfn) in i40e_restore_all_vfs_msi_state()