Lines Matching refs:def
456 struct mmu_psize_def *def; in setup_page_sizes() local
459 def = &mmu_psize_defs[psize]; in setup_page_sizes()
460 shift = def->shift; in setup_page_sizes()
469 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
495 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
497 if (!def->shift) in setup_page_sizes()
500 if (tlb1ps & (1U << (def->shift - 10))) { in setup_page_sizes()
501 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
504 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes()
518 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
520 if (tlb0ps & (1U << (def->shift - 10))) in setup_page_sizes()
521 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
546 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
548 if (ps == (def->shift - 10)) in setup_page_sizes()
549 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes()
550 if (sps == (def->shift - 10)) in setup_page_sizes()
551 def->ind = ps + 10; in setup_page_sizes()
559 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
566 if (def->flags == 0) { in setup_page_sizes()
567 def->shift = 0; in setup_page_sizes()
570 pr_info(" %8ld KB as %s\n", 1ul << (def->shift - 10), in setup_page_sizes()
571 __page_type_names[def->flags & 0x3]); in setup_page_sizes()