Home
last modified time | relevance | path

Searched refs:total_pe (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci-ioda.c137 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe)) { in pnv_ioda_reserve_pe()
157 phb->ioda.total_pe, 0); in pnv_ioda_alloc_pe()
158 if (pe >= phb->ioda.total_pe) in pnv_ioda_alloc_pe()
214 else if (phb->ioda.reserved_pe == (phb->ioda.total_pe - 1)) in pnv_ioda2_init_m64()
287 size = _ALIGN_UP(phb->ioda.total_pe / 8, sizeof(unsigned long)); in pnv_ioda2_pick_m64_pe()
303 if (bitmap_empty(pe_alloc, phb->ioda.total_pe)) { in pnv_ioda2_pick_m64_pe()
314 while ((i = find_next_bit(pe_alloc, phb->ioda.total_pe, i + 1)) < in pnv_ioda2_pick_m64_pe()
315 phb->ioda.total_pe) { in pnv_ioda2_pick_m64_pe()
367 phb->ioda.m64_segsize = phb->ioda.m64_size / phb->ioda.total_pe; in pnv_ioda_parse_m64_window()
468 if (pe_no < 0 || pe_no >= phb->ioda.total_pe) in pnv_ioda_get_pe_state()
[all …]
Dpci.h126 unsigned int total_pe; member