Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/xen/
H A 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()
/OK3568_Linux_fs/kernel/arch/s390/pci/
H A Dpci_iov.c44 pci_iov_remove_virtfn(pdev->physfn, vfn - 1); in zpci_iov_remove_virtfn()
58 virtfn->physfn = pci_dev_get(pdev); in zpci_iov_link_virtfn()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c74 struct eeh_pe *physfn_pe = pci_dev_to_eeh_dev(pdev->physfn)->pe; in pseries_pcibios_bus_add_device()
333 if (edev->physfn) in pseries_eeh_pe_get_parent()
334 pdn = pci_get_pdn(edev->physfn); in pseries_eeh_pe_get_parent()
730 if (pci_num_vf(edev->physfn ? edev->physfn : edev->pdev)) { in pseries_call_allow_unfreeze()
757 physfn_pdn = pci_get_pdn(edev->physfn); in pseries_call_allow_unfreeze()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Diov.c115 struct pci_dev *physfn = virtfn->physfn; in pci_read_vf_config_common() local
127 &physfn->sriov->class); in pci_read_vf_config_common()
129 &physfn->sriov->hdr_type); in pci_read_vf_config_common()
131 &physfn->sriov->subsystem_vendor); in pci_read_vf_config_common()
133 &physfn->sriov->subsystem_device); in pci_read_vf_config_common()
182 virtfn->physfn = pci_dev_get(dev); in pci_iov_add_virtfn()
999 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
H A Dprobe.c1686 return dev->physfn->sriov->class; in pci_class()
1696 *vendor = dev->physfn->sriov->subsystem_vendor; in pci_subsystem_ids()
1697 *device = dev->physfn->sriov->subsystem_device; in pci_subsystem_ids()
1711 return dev->physfn->sriov->hdr_type; in pci_hdr_type()
H A Dpci-driver.c328 return dev->is_virtfn && dev->physfn->is_probed; in pci_physfn_is_probed()
407 return (!pdev->is_virtfn || pdev->physfn->sriov->drivers_autoprobe || in pci_device_can_probe()
/OK3568_Linux_fs/kernel/include/xen/interface/
H A Dphysdev.h192 } physfn; member
261 } physfn; member
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Deeh_sysfs.c114 np = pci_device_to_OF_node(pdev->is_physfn ? pdev : pdev->physfn); in eeh_notify_resume_add()
126 np = pci_device_to_OF_node(pdev->is_physfn ? pdev : pdev->physfn); in eeh_notify_resume_remove()
H A Deeh_driver.c465 if (!(edev->physfn)) { in eeh_add_virt_device()
480 pci_iov_add_virtfn(edev->physfn, edev->vf_index); in eeh_add_virt_device()
522 if (edev->physfn) { in eeh_rmv_device()
524 pci_iov_remove_virtfn(edev->physfn, edev->vf_index); in eeh_rmv_device()
H A Dpci_dn.c210 edev->physfn = pdev; in add_sriov_vf_pdns()
H A Deeh_pe.c349 if (edev->physfn) in eeh_pe_tree_insert()
H A Deeh.c1775 pdev = pdev->physfn; in eeh_debugfs_break_device()
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_c3xxxvf/
H A Dadf_drv.c69 pf = adf_devmgr_pci_to_accel_dev(accel_pci_dev->pci_dev->physfn); in adf_cleanup_accel()
98 pf = adf_devmgr_pci_to_accel_dev(pdev->physfn); in adf_probe()
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_c62xvf/
H A Dadf_drv.c69 pf = adf_devmgr_pci_to_accel_dev(accel_pci_dev->pci_dev->physfn); in adf_cleanup_accel()
98 pf = adf_devmgr_pci_to_accel_dev(pdev->physfn); in adf_probe()
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_dh895xccvf/
H A Dadf_drv.c69 pf = adf_devmgr_pci_to_accel_dev(accel_pci_dev->pci_dev->physfn); in adf_cleanup_accel()
98 pf = adf_devmgr_pci_to_accel_dev(pdev->physfn); in adf_probe()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c302 parent = pdev->physfn; in pnv_eeh_get_upstream_pe()
1220 if (edev->physfn && (edev->pe->state & EEH_PE_RESET)) in pnv_eeh_cfg_blocked()
1611 if (edev->physfn) in pnv_eeh_restore_config()
1653 parent_mps = pcie_get_mps(pdev->physfn); in pnv_pci_fixup_vf_mps()
/OK3568_Linux_fs/kernel/drivers/vfio/pci/
H A Dvfio_pci.c523 struct pci_dev *physfn = pci_physfn(vdev->pdev); in get_pf_vdev() local
528 *pf_dev = vfio_device_get_from_dev(&physfn->dev); in get_pf_vdev()
532 if (pci_dev_driver(physfn) != &vfio_pci_driver) { in get_pf_vdev()
1921 struct pci_dev *physfn = pci_physfn(pdev); in vfio_pci_bus_notifier() local
1924 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier()
1930 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Def10.c653 if ((efx->pci_dev->physfn) && (!efx->pci_dev->is_physfn)) { in efx_ef10_probe()
654 struct pci_dev *pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe()
932 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_remove()
1075 pci_dev_pf = efx->pci_dev->physfn; in efx_ef10_probe_vf()
1097 if (efx->pci_dev->physfn) { in efx_ef10_probe_vf()
1099 pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_probe_vf()
3262 if (efx->pci_dev->is_virtfn && efx->pci_dev->physfn) { in efx_ef10_set_mac_address()
3263 struct efx_nic *efx_pf = pci_get_drvdata(efx->pci_dev->physfn); in efx_ef10_set_mac_address()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Deeh.h150 struct pci_dev *physfn; /* Associated SRIOV PF */ member
/OK3568_Linux_fs/kernel/drivers/iommu/intel/
H A Ddmar.c338 struct pci_dev *physfn = pci_physfn(pdev); in vf_inherit_msi_domain() local
340 dev_set_msi_domain(&pdev->dev, dev_get_msi_domain(&physfn->dev)); in vf_inherit_msi_domain()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dpci.c1024 pdev = dev->physfn; in pcibios_add_device()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpci.h486 struct pci_dev *physfn; /* VF: related PF */ member
520 dev = dev->physfn; in pci_physfn()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-bus-pci165 What: /sys/bus/pci/devices/.../physfn
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c140 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_main.c779 if (!oct->pci_dev->physfn) in octeon_pci_os_setup()

12