Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/powernv/
Dpci-sriov.c158 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
216 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
429 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_assign_m64()
524 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_resource_shift()
557 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-6.1.9/arch/powerpc/include/asm/
Dpci-bridge.h218 int (*m64_map)[PCI_SRIOV_NUM_BARS]; /* Only used on powernv */
224 struct resource holes[PCI_SRIOV_NUM_BARS];
/linux-6.1.9/arch/s390/pci/
Dpci_iov.c30 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in zpci_iov_map_resources()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dsetup.c705 num_res = min_t(int, num_res, PCI_SRIOV_NUM_BARS); in of_pci_set_vf_bar_size()
706 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_set_vf_bar_size()
732 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_parse_iov_addrs()
760 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in pseries_disable_sriov_resources()
Dpci.c119 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pseries_associate_pes()
/linux-6.1.9/drivers/pci/
Diov.c324 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pci_iov_add_virtfn()
626 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_enable()
787 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
843 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
881 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in sriov_restore_state()
Dpci.h302 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-6.1.9/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.c1067 for (i = 0, n = 0; i < PCI_SRIOV_NUM_BARS; i += 2, n++) { in bnx2x_vf_set_bars()
/linux-6.1.9/include/uapi/linux/
Dpci_regs.h961 #define PCI_SRIOV_NUM_BARS 6 /* Number of VF BARs */ macro
/linux-6.1.9/include/linux/
Dpci.h106 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,