Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/include/asm/
Dpci-bridge.h211 int (*m64_map)[PCI_SRIOV_NUM_BARS]; /* Only used on powernv */
217 struct resource holes[PCI_SRIOV_NUM_BARS];
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dsetup.c622 num_res = min_t(int, num_res, PCI_SRIOV_NUM_BARS); in of_pci_set_vf_bar_size()
623 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_set_vf_bar_size()
649 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_parse_iov_addrs()
677 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in pseries_disable_sriov_resources()
Dpci.c121 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pseries_associate_pes()
/Linux-v5.4/drivers/pci/
Diov.c172 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pci_iov_add_virtfn()
469 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_enable()
633 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
689 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
727 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in sriov_restore_state()
Dpci.h335 resource_size_t barsz[PCI_SRIOV_NUM_BARS]; /* VF BAR size */
Dsetup-bus.c1665 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in iov_resources_unassigned()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h67 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
192 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
Dbnx2x_sriov.c1075 for (i = 0, n = 0; i < PCI_SRIOV_NUM_BARS; i += 2, n++) { in bnx2x_vf_set_bars()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c979 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_resource_shift()
1010 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_resource_shift()
1320 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in pnv_pci_vf_release_m64()
1367 for (j = 0; j < PCI_SRIOV_NUM_BARS; j++) in pnv_pci_vf_assign_m64()
1371 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_vf_assign_m64()
2903 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
2939 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
2963 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pnv_pci_ioda_fixup_iov_resources()
/Linux-v5.4/include/uapi/linux/
Dpci_regs.h932 #define PCI_SRIOV_NUM_BARS 6 /* Number of VF BARs */ macro
/Linux-v5.4/arch/s390/pci/
Dpci.c434 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in zpci_map_resources()
/Linux-v5.4/include/linux/
Dpci.h93 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,