Home
last modified time | relevance | path

Searched refs:is_virtfn (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pci/
Dats.c75 if (dev->is_virtfn) { in pci_enable_ats()
117 if (!dev->is_virtfn) in pci_restore_ats_state()
141 if (dev->is_virtfn) in pci_ats_queue_depth()
207 if (pdev->is_virtfn) { in pci_enable_pri()
248 if (pdev->is_virtfn) in pci_disable_pri()
275 if (pdev->is_virtfn) in pci_restore_pri_state()
300 if (pdev->is_virtfn) in pci_reset_pri()
324 if (pdev->is_virtfn) in pci_prg_resp_pasid_required()
370 if (pdev->is_virtfn) { in pci_enable_pasid()
413 if (pdev->is_virtfn) in pci_disable_pasid()
[all …]
Dprobe.c329 if (dev->is_virtfn) in pci_read_bases()
1478 if (dev->is_virtfn) { in pci_read_irq()
1661 if (dev->is_virtfn) in pci_cfg_space_size()
1691 if (dev->is_virtfn) in pci_class()
1701 if (dev->is_virtfn) { in pci_subsystem_ids()
1716 if (dev->is_virtfn) in pci_hdr_type()
1968 if (dev->is_virtfn) in pci_configure_mps()
2096 if (dev->is_virtfn) in pci_configure_relaxed_ordering()
2397 if (PCI_FUNC(dev->devfn) != 0 || dev->is_virtfn) in pcie_report_downtraining()
Diov.c181 virtfn->is_virtfn = 1; in pci_iov_add_virtfn()
999 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
Dsetup-res.c35 if (dev->is_virtfn) in pci_std_update_resource()
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()
/kernel/linux/linux-5.10/drivers/xen/
Dpci.c61 if (pci_dev->is_virtfn) { in xen_add_device()
73 if (!handle && pci_dev->is_virtfn) in xen_add_device()
115 else if (pci_dev->is_virtfn) { in xen_add_device()
119 .is_virtfn = 1, in xen_add_device()
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
Dvpci.c102 if (!dev->is_virtfn || func) { in __xen_pcibk_add_pci_dev()
109 if (t->dev->is_virtfn && !PCI_FUNC(t->dev->devfn)) in __xen_pcibk_add_pci_dev()
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci_iov.c56 virtfn->is_virtfn = 1; in zpci_iov_link_virtfn()
Dpci.c714 if (pdev->is_virtfn) { in zpci_remove_device()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dmain.c142 rdev->is_virtfn = 1; in bnxt_re_get_sriov_func_type()
946 (rdev->is_virtfn ? BNXT_RE_GEN_P5_VF_NQ_DB : in bnxt_re_get_nqdb_offset()
1028 rdev->is_virtfn); in bnxt_re_alloc_res()
1467 vid, db_offt, rdev->is_virtfn, in bnxt_re_dev_init()
1476 rdev->is_virtfn); in bnxt_re_dev_init()
1499 rdev->is_virtfn); in bnxt_re_dev_init()
1524 if (!rdev->is_virtfn) { in bnxt_re_dev_init()
1802 if (rdev->is_virtfn) in bnxt_re_mod_exit()
Dbnxt_re.h185 u32 is_virtfn; member
Dqplib_rcfw.h217 struct bnxt_qplib_ctx *ctx, int is_virtfn);
Dqplib_rcfw.c474 struct bnxt_qplib_ctx *ctx, int is_virtfn) in bnxt_qplib_init_rcfw() argument
495 if (is_virtfn) in bnxt_qplib_init_rcfw()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Deeh_pseries.c55 if (pdev->is_virtfn) { in pseries_pcibios_bus_add_device()
69 if (pdev->is_virtfn) { in pseries_pcibios_bus_add_device()
779 if (edev->pdev->is_physfn || edev->pdev->is_virtfn) in pseries_notify_resume()
/kernel/linux/linux-5.10/include/xen/interface/
Dphysdev.h188 unsigned is_virtfn; member
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci.c525 if (!vdev->pdev->is_virtfn) in get_pf_vdev()
616 vdev->nointx || vdev->pdev->is_virtfn) in vfio_pci_get_irq_count()
1783 if (!vdev->pdev->is_virtfn && !vdev->vf_token && !vf_token) in vfio_pci_validate_vf_token()
1786 if (vdev->pdev->is_virtfn) { in vfio_pci_validate_vf_token()
1924 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier()
1930 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier()
Dvfio_pci_config.c423 if (pdev->is_virtfn) in vfio_bar_restore()
1721 if (pdev->is_virtfn) { in vfio_config_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dpci-sriov.c234 if (pdev->is_virtfn) { in pnv_pci_ioda_fixup_iov()
Deeh-powernv.c301 if (pdev->is_virtfn) in pnv_eeh_get_upstream_pe()
1649 if (!pdev->is_virtfn) in pnv_pci_fixup_vf_mps()
/kernel/linux/linux-5.10/drivers/iommu/intel/
Ddmar.c130 BUG_ON(dev->is_virtfn); in dmar_alloc_pci_notify_info()
352 if (pdev->is_virtfn) { in dmar_pci_bus_notifier()
813 if (dev->is_virtfn) in dmar_dev_scope_init()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
Dsec_main.c252 if (qm->pdev->is_virtfn) { in sec_get_endian()
/kernel/linux/linux-5.10/drivers/misc/genwqe/
Dcard_base.c445 if (pci_dev->is_virtfn) in genwqe_read_ids()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dpci.c1021 if (dev->is_virtfn) { in pcibios_add_device()
/kernel/linux/linux-5.10/include/linux/
Dpci.h425 unsigned int is_virtfn:1; member
510 if (dev->is_virtfn) in pci_physfn()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dqm.c2194 uacce->is_vf = pdev->is_virtfn; in qm_alloc_uacce()
3261 if (pdev->is_virtfn) in hisi_qm_dev_err_detected()
3730 if (pdev->is_virtfn) in hisi_qm_dev_slot_reset()

12