Searched refs:PCI_SRIOV_NUM_BARS (Results 1 – 10 of 10) sorted by relevance
212 int (*m64_map)[PCI_SRIOV_NUM_BARS]; /* Only used on powernv */218 struct resource holes[PCI_SRIOV_NUM_BARS];
623 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()
133 for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { in pseries_associate_pes()
173 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()
292 resource_size_t barsz[PCI_SRIOV_NUM_BARS]; /* VF BAR size */
67 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];190 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS];
1074 for (i = 0, n = 0; i < PCI_SRIOV_NUM_BARS; i += 2, n++) { in bnx2x_vf_set_bars()
988 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()
918 #define PCI_SRIOV_NUM_BARS 6 /* Number of VF BARs */ macro
87 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,