Home
last modified time | relevance | path

Searched refs:base_shift (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/mm/book3s64/
Dhash_utils.c461 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/
Dmmu.c102 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/
Dkvm_book3s_64.h274 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/
Diommu.c444 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()
Dpci_sun4v.c482 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()