Home
last modified time | relevance | path

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

/linux/drivers/xen/
H A Dpci.c32 struct pci_dev *physfn = pci_dev->physfn; in xen_add_device() local
72 add->physfn.bus = physfn->bus->number; in xen_add_device()
73 add->physfn.devfn = physfn->devfn; in xen_add_device()
83 handle = ACPI_HANDLE(physfn->bus->bridge); in xen_add_device()
129 .physfn.bus = physfn->bus->number, in xen_add_device()
130 .physfn.devfn = physfn->devfn, in xen_add_device()
/linux/include/xen/interface/
H A Dphysdev.h174 } physfn; member
243 } physfn; member
/linux/drivers/vdpa/solidrun/
H A Dsnet_main.c66 pdev = snet->pdev->physfn; in snet_free_irqs()
443 ret = snet_request_irqs(pf_irqs ? pdev->physfn : pdev, snet); in snet_set_status()
967 struct pci_dev *pdev_pf = pdev->physfn; in snet_vdpa_probe_vf()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c2071 struct pci_dev *physfn = pci_physfn(pdev); in vfio_pci_bus_notifier() local
2074 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier()
2080 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier()
2097 struct pci_dev *physfn; in vfio_pci_vf_init() local
2107 physfn = pci_physfn(vdev->pdev); in vfio_pci_vf_init()
2110 if (cur->pdev == physfn) { in vfio_pci_vf_init()
/linux/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c302 parent = pdev->physfn; in pnv_eeh_get_upstream_pe()
1219 if (edev->physfn && (edev->pe->state & EEH_PE_RESET)) in pnv_eeh_cfg_blocked()
1610 if (edev->physfn) in pnv_eeh_restore_config()
/linux/drivers/net/ethernet/sfc/
H A Def10.c659 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()
660 struct pci_dev *pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe()
938 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_remove()
1082 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe_vf()
1104 if (efx->pci_dev->physfn) { in efx_ef10_probe_vf()
1106 pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_probe_vf()
3340 if (efx->pci_dev->is_virtfn && efx->pci_dev->physfn) { in efx_ef10_set_mac_address()
3341 struct efx_nic *efx_pf = pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_set_mac_address()
/linux/arch/powerpc/kernel/
H A Dpci_dn.c210 edev->physfn = pdev; in add_sriov_vf_pdns()
H A Deeh.c1617 pdev = pdev->physfn; in eeh_break_device()
/linux/arch/sparc/kernel/
H A Dpci.c884 pdev = dev->physfn; in pcibios_device_add()
/linux/include/linux/
H A Dpci.h549 struct pci_dev *physfn; /* VF: related PF */ member
607 dev = dev->physfn; in pci_physfn()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c717 } while (vfdev && vfdev->physfn != pdev); in ice_create_vf_entries()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c141 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c176 if (vf_dev->is_virtfn && vf_dev->physfn == pdev) in i40e_restore_all_vfs_msi_state()