Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Dpci-bridge.h212 int (*m64_map)[PCI_SRIOV_NUM_BARS]; /* Only used on powernv */
218 struct resource holes[PCI_SRIOV_NUM_BARS];
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dsetup.c623 num_res = min_t(int, num_res, PCI_SRIOV_NUM_BARS); in of_pci_set_vf_bar_size()
624 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_set_vf_bar_size()
650 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_parse_iov_addrs()
678 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in pseries_disable_sriov_resources()
Dpci.c133 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pseries_associate_pes()
/Linux-v4.19/drivers/pci/
Diov.c173 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pci_iov_add_virtfn()
282 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_enable()
443 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
499 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
Dpci.h292 resource_size_t barsz[PCI_SRIOV_NUM_BARS]; /* VF BAR size */
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h67 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
190 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
Dbnx2x_sriov.c1074 for (i = 0, n = 0; i < PCI_SRIOV_NUM_BARS; i += 2, n++) { in bnx2x_vf_set_bars()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda.c988 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_resource_shift()
1019 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_resource_shift()
1319 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in pnv_pci_vf_release_m64()
1366 for (j = 0; j < PCI_SRIOV_NUM_BARS; j++) in pnv_pci_vf_assign_m64()
1370 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_assign_m64()
3013 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
3049 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
3073 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
/Linux-v4.19/include/uapi/linux/
Dpci_regs.h918 #define PCI_SRIOV_NUM_BARS 6 /* Number of VF BARs */ macro
/Linux-v4.19/include/linux/
Dpci.h87 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,