Home
last modified time | relevance | path

Searched refs:physfn (Results 1 – 11 of 11) sorted by relevance

/drivers/xen/
Dpci.c31 struct pci_dev *physfn = pci_dev->physfn; in xen_add_device() local
63 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()
/drivers/pci/
Diov.c116 struct pci_dev *physfn = virtfn->physfn; in pci_read_vf_config_common() local
128 &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()
Dprobe.c1620 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()
Dpci-driver.c325 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()
/drivers/crypto/qat/qat_c3xxxvf/
Dadf_drv.c116 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()
/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c116 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()
/drivers/crypto/qat/qat_c62xvf/
Dadf_drv.c116 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()
/drivers/net/ethernet/sfc/
Def10.c779 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()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c140 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c775 if (!oct->pci_dev->physfn) in octeon_pci_os_setup()
Dlio_main.c3830 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()