Home
last modified time | relevance | path

Searched refs:total_pe_num (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dpci-ioda.c142 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe_num)) { in pnv_ioda_reserve_pe()
165 for (pe = phb->ioda.total_pe_num - 1; pe >= 0; pe--) { in pnv_ioda_alloc_pe()
240 else if (phb->ioda.reserved_pe_idx == (phb->ioda.total_pe_num - 1)) in pnv_ioda2_init_m64()
319 for (index = 0; index < phb->ioda.total_pe_num; index++) { in pnv_ioda1_init_m64()
348 else if (phb->ioda.reserved_pe_idx == (phb->ioda.total_pe_num - 1)) in pnv_ioda1_init_m64()
391 size = ALIGN(phb->ioda.total_pe_num / 8, sizeof(unsigned long)); in pnv_ioda_pick_m64_pe()
407 if (bitmap_empty(pe_alloc, phb->ioda.total_pe_num)) { in pnv_ioda_pick_m64_pe()
418 while ((i = find_next_bit(pe_alloc, phb->ioda.total_pe_num, i + 1)) < in pnv_ioda_pick_m64_pe()
419 phb->ioda.total_pe_num) { in pnv_ioda_pick_m64_pe()
497 phb->ioda.m64_segsize = phb->ioda.m64_size / phb->ioda.total_pe_num; in pnv_ioda_parse_m64_window()
[all …]
Dpci-sriov.c159 mul = phb->ioda.total_pe_num; in pnv_pci_ioda_fixup_iov_resources()
287 return phb->ioda.total_pe_num * align; in pnv_pci_iov_resource_alignment()
Dpci.h143 unsigned int total_pe_num; member