Searched refs:physfn (Results 1 – 11 of 11) sorted by relevance
31 struct pci_dev *physfn = pci_dev->physfn; in xen_add_device() local63 add->physfn.bus = physfn->bus->number; in xen_add_device()64 add->physfn.devfn = physfn->devfn; in xen_add_device()74 handle = ACPI_HANDLE(physfn->bus->bridge); in xen_add_device()120 .physfn.bus = physfn->bus->number, in xen_add_device()121 .physfn.devfn = physfn->devfn, in xen_add_device()
116 struct pci_dev *physfn = virtfn->physfn; in pci_read_vf_config_common() local128 &physfn->sriov->class); in pci_read_vf_config_common()130 &physfn->sriov->hdr_type); in pci_read_vf_config_common()132 &physfn->sriov->subsystem_vendor); in pci_read_vf_config_common()134 &physfn->sriov->subsystem_device); in pci_read_vf_config_common()160 virtfn->physfn = pci_dev_get(dev); in pci_iov_add_virtfn()983 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
1620 return dev->physfn->sriov->class; in pci_class()1630 *vendor = dev->physfn->sriov->subsystem_vendor; in pci_subsystem_ids()1631 *device = dev->physfn->sriov->subsystem_device; in pci_subsystem_ids()1645 return dev->physfn->sriov->hdr_type; in pci_hdr_type()
325 return dev->is_virtfn && dev->physfn->is_probed; in pci_physfn_is_probed()402 return (!pdev->is_virtfn || pdev->physfn->sriov->drivers_autoprobe || in pci_device_can_probe()
116 pf = adf_devmgr_pci_to_accel_dev(accel_pci_dev->pci_dev->physfn); in adf_cleanup_accel()145 pf = adf_devmgr_pci_to_accel_dev(pdev->physfn); in adf_probe()
779 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()780 struct pci_dev *pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe()1066 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_remove()1209 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe_vf()1231 if (efx->pci_dev->physfn) { in efx_ef10_probe_vf()1233 pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_probe_vf()5873 if (efx->pci_dev->is_virtfn && efx->pci_dev->physfn) { in efx_ef10_set_mac_address()5874 struct pci_dev *pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_set_mac_address()
140 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
775 if (!oct->pci_dev->physfn) in octeon_pci_os_setup()
3830 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()