Searched refs:base_shift (Results 1 – 5 of 5) sorted by relevance
/arch/powerpc/mm/book3s64/ |
D | hash_utils.c | 461 unsigned int base_shift = be32_to_cpu(prop[0]); in htab_dt_scan_page_sizes() local 468 base_idx = get_idx_from_shift(base_shift); in htab_dt_scan_page_sizes() 478 def->shift = base_shift; in htab_dt_scan_page_sizes() 479 if (base_shift <= 23) in htab_dt_scan_page_sizes() 482 def->avpnm = (1 << (base_shift - 23)) - 1; in htab_dt_scan_page_sizes() 506 "shift=%d\n", base_shift, shift); in htab_dt_scan_page_sizes() 511 base_shift, shift, def->sllp, in htab_dt_scan_page_sizes()
|
/arch/powerpc/mm/book3s32/ |
D | mmu.c | 102 unsigned int base_shift = (ffs(base) - 1) & 31; in bat_block_size() local 105 return min3(max_size, 1U << base_shift, 1U << block_shift); in bat_block_size()
|
/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 274 static inline int kvmppc_pgsize_lp_encoding(int base_shift, int actual_shift) in kvmppc_pgsize_lp_encoding() argument 276 switch (base_shift) { in kvmppc_pgsize_lp_encoding()
|
/arch/sparc/kernel/ |
D | iommu.c | 444 unsigned long base_shift; in dma_4u_map_sg() local 476 base_shift = iommu->tbl.table_map_base >> IO_PAGE_SHIFT; in dma_4u_map_sg() 523 (is_span_boundary(out_entry, base_shift, in dma_4u_map_sg()
|
D | pci_sun4v.c | 482 unsigned long base_shift; in dma_4v_map_sg() local 520 base_shift = tbl->table_map_base >> IO_PAGE_SHIFT; in dma_4v_map_sg() 566 (is_span_boundary(out_entry, base_shift, in dma_4v_map_sg()
|