Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/platforms/powernv/
Dpci-sriov.c161 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
219 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
435 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_assign_m64()
530 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_resource_shift()
563 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_resource_shift()
Dpci.h235 bool m64_single_mode[PCI_SRIOV_NUM_BARS];
257 struct resource holes[PCI_SRIOV_NUM_BARS];
/Linux-v5.15/arch/powerpc/include/asm/
Dpci-bridge.h214 int (*m64_map)[PCI_SRIOV_NUM_BARS]; /* Only used on powernv */
220 struct resource holes[PCI_SRIOV_NUM_BARS];
/Linux-v5.15/arch/s390/pci/
Dpci_iov.c30 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in zpci_iov_map_resources()
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dsetup.c676 num_res = min_t(int, num_res, PCI_SRIOV_NUM_BARS); in of_pci_set_vf_bar_size()
677 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_set_vf_bar_size()
703 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_parse_iov_addrs()
731 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in pseries_disable_sriov_resources()
Dpci.c120 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pseries_associate_pes()
/Linux-v5.15/drivers/pci/
Diov.c282 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pci_iov_add_virtfn()
585 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_enable()
746 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
802 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
840 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in sriov_restore_state()
Dpci.h340 resource_size_t barsz[PCI_SRIOV_NUM_BARS]; /* VF BAR size */
Dsetup-bus.c1703 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in iov_resources_unassigned()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h67 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
193 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
Dbnx2x_sriov.c1054 for (i = 0, n = 0; i < PCI_SRIOV_NUM_BARS; i += 2, n++) { in bnx2x_vf_set_bars()
/Linux-v5.15/include/uapi/linux/
Dpci_regs.h953 #define PCI_SRIOV_NUM_BARS 6 /* Number of VF BARs */ macro
/Linux-v5.15/include/linux/
Dpci.h106 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,