Home
last modified time | relevance | path

Searched refs:__ilog2 (Results 1 – 14 of 14) sorted by relevance

/arch/powerpc/mm/
Dfsl_booke_mmu.c115 tsize = __ilog2(size) - 10; in settlbcam()
151 unsigned int camsize = __ilog2(ram); in calc_cam_sz()
162 max_cam = __ilog2(mfspr(SPRN_TLB1PS)) + 10; in calc_cam_sz()
Dhugetlbpage-book3e.c153 shift = __ilog2(psize); in book3e_hugetlb_preload()
Dppc_mmu_32.c216 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
Dhash_utils_64.c728 unsigned memshift = __ilog2(mem_size); in htab_shift_for_mem_size()
847 htab_size = __ilog2(htab_size) - 18; in hash_init_partition_table()
924 _SDR1 = table + __ilog2(htab_size_bytes) - 18; in htab_initialize()
Dhugetlbpage.c584 return (__ilog2(x) % 2) ? false : true; in is_power_of_4()
/arch/powerpc/platforms/ps3/
Dhtab.c205 ppc64_pft_size = __ilog2(htab_size); in ps3_hpte_init()
/arch/powerpc/include/asm/
Dbitops.h209 #define __ilog2(x) ilog2(x) macro
Diommu.h134 return __ilog2((size - 1) >> tbl->it_page_shift) + 1; in get_iommu_order()
/arch/powerpc/platforms/powermac/
Dpic.c219 irq += __ilog2(bits); in gatwick_action()
249 irq += __ilog2(bits); in pmac_pic_get_irq()
/arch/powerpc/sysdev/
Dmv64x60_pic.c292 hwirq = (level1 << MV64x60_LEVEL1_OFFSET) | __ilog2(cause); in mv64x60_get_irq()
Dmpic.c1486 mpic->isu_shift = 1 + __ilog2(mpic->isu_size - 1); in mpic_alloc()
/arch/powerpc/kernel/
Dsetup_64.c423 info->log_block_size = __ilog2(bsize); in init_cache_info()
/arch/powerpc/kvm/
De500_mmu_host.c438 tsize = min(__ilog2(psize) - 10, tsize); in kvmppc_e500_shadow_map()
Dbook3s_hv.c3633 porder = __ilog2(psize); in kvmppc_hv_setup_htab_rma()