Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/powernv/
H A 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()
H A Dpci.h230 bool m64_single_mode[PCI_SRIOV_NUM_BARS];
252 struct resource holes[PCI_SRIOV_NUM_BARS];
/openbmc/linux/arch/powerpc/include/asm/
H A Dpci-bridge.h227 int (*m64_map)[PCI_SRIOV_NUM_BARS]; /* Only used on powernv */
233 struct resource holes[PCI_SRIOV_NUM_BARS];
/openbmc/linux/arch/s390/pci/
H A Dpci_iov.c30 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in zpci_iov_map_resources()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dsetup.c706 num_res = min_t(int, num_res, PCI_SRIOV_NUM_BARS); in of_pci_set_vf_bar_size()
707 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_set_vf_bar_size()
733 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_parse_iov_addrs()
761 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in pseries_disable_sriov_resources()
H A Dpci.c119 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pseries_associate_pes()
/openbmc/linux/drivers/pci/
H A Diov.c323 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pci_iov_add_virtfn()
625 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_enable()
786 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
842 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in sriov_init()
880 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) in sriov_restore_state()
H A Dpci.h311 resource_size_t barsz[PCI_SRIOV_NUM_BARS]; /* VF BAR size */
H A Dsetup-bus.c1694 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in iov_resources_unassigned()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.h67 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
193 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
H A Dbnx2x_sriov.c1067 for (i = 0, n = 0; i < PCI_SRIOV_NUM_BARS; i += 2, n++) { in bnx2x_vf_set_bars()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h963 #define PCI_SRIOV_NUM_BARS 6 /* Number of VF BARs */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h966 #define PCI_SRIOV_NUM_BARS 6 /* Number of VF BARs */ macro
/openbmc/linux/include/linux/
H A Dpci.h107 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,