Searched refs:is_physfn (Results 1 – 16 of 16) sorted by relevance
21 if (!dev->is_physfn) in pci_iov_virtfn_bus()29 if (!dev->is_physfn) in pci_iov_virtfn_devfn()151 if (!dev->is_physfn) in pci_iov_resource_size()654 if (!pdev->is_physfn) { in sriov_enable()759 if (pdev->is_physfn) in sriov_init()832 dev->is_physfn = 1; in sriov_init()841 dev->is_physfn = 0; in sriov_init()917 if (dev->is_physfn) in pci_iov_release()929 if (!dev->is_physfn) in pci_iov_remove()946 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()
2870 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()
614 if (pdev->is_physfn) in pcibios_device_add()
112 u16 is_physfn : 1; member
137 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()
782 if (!pdev->is_physfn) in pseries_pci_fixup_iov_resources()803 if (!pdev->is_physfn) in pseries_pci_iov_resource_alignment()
437 unsigned int is_physfn:1; member1147 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
1655 if (!pdev->is_physfn) in pci_stub_notifier()
2020 if (!pdev->is_physfn) in vfio_pci_vf_init()
652 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()