Lines Matching refs:pmb_sizes
57 } pmb_sizes[] = { variable
195 for (i = 0; i < ARRAY_SIZE(pmb_sizes); i++) in pmb_size_valid()
196 if (pmb_sizes[i].size == size) in pmb_size_valid()
216 for (i = 0; i < ARRAY_SIZE(pmb_sizes); i++) in pmb_size_to_flags()
217 if (pmb_sizes[i].size == size) in pmb_size_to_flags()
218 return pmb_sizes[i].flag; in pmb_size_to_flags()
359 for (i = mapped = 0; i < ARRAY_SIZE(pmb_sizes); i++) { in pmb_bolt_mapping()
360 if (size < pmb_sizes[i].size) in pmb_bolt_mapping()
364 pmb_sizes[i].flag, PMB_NO_ENTRY); in pmb_bolt_mapping()
372 pmbe->size = pmb_sizes[i].size; in pmb_bolt_mapping()
431 for (i = 0; i < ARRAY_SIZE(pmb_sizes); i++) in pmb_remap_caller()
432 if (size >= pmb_sizes[i].size) in pmb_remap_caller()
436 align_mask = ~(pmb_sizes[i].size - 1); in pmb_remap_caller()
439 aligned = ALIGN(last_addr, pmb_sizes[i].size) - phys; in pmb_remap_caller()
632 for (j = 0; j < ARRAY_SIZE(pmb_sizes); j++) in pmb_synchronize()
633 if (pmb_sizes[j].flag == size) in pmb_synchronize()
634 pmbe->size = pmb_sizes[j].size; in pmb_synchronize()