Home
last modified time | relevance | path

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

/linux/include/linux/
A Dfsl_ifc.h69 (__ilog2(n) - IFC_AMASK_SHIFT))
110 #define CSOR_NAND_PB(n) ((__ilog2(n) - 5) << CSOR_NAND_PB_SHIFT)
163 #define CSOR_GPCM_GPTO(n) ((__ilog2(n) - 8) << CSOR_GPCM_GPTO_SHIFT)
618 #define IFC_NORCR_STOCNT(n) ((__ilog2(n) - 8) << IFC_NORCR_STOCNT_SHIFT)
/linux/arch/powerpc/mm/nohash/
A Dfsl_book3e.c108 tsize = __ilog2(size) - 10; in settlbcam()
147 unsigned int camsize = __ilog2(ram); in calc_cam_sz()
158 max_cam = __ilog2(mfspr(SPRN_TLB1PS)) + 10; in calc_cam_sz()
A Dbook3e_hugetlbpage.c141 shift = __ilog2(psize); in book3e_hugetlb_preload()
/linux/arch/powerpc/platforms/ps3/
A Dhtab.c194 ppc64_pft_size = __ilog2(htab_size); in ps3_hpte_init()
/linux/arch/powerpc/platforms/powermac/
A Dpic.c214 irq += __ilog2(bits); in gatwick_action()
244 irq += __ilog2(bits); in pmac_pic_get_irq()
/linux/arch/powerpc/include/asm/
A Dbitops.h205 #define __ilog2(x) ilog2(x) macro
A Diommu.h128 return __ilog2((size - 1) >> tbl->it_page_shift) + 1; in get_iommu_order()
/linux/drivers/dma/
A Dfsldma.c268 mode |= FSL_DMA_MR_SAHE | (__ilog2(size) << 14); in fsl_chan_set_src_loop_size()
301 mode |= FSL_DMA_MR_DAHE | (__ilog2(size) << 16); in fsl_chan_set_dst_loop_size()
328 mode |= (__ilog2(size) << 24) & FSL_DMA_MR_BWC_MASK; in fsl_chan_set_request_count()
/linux/arch/powerpc/mm/book3s32/
A Dmmu.c370 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
/linux/arch/powerpc/mm/book3s64/
A Dhash_utils.c775 unsigned memshift = __ilog2(mem_size); in htab_shift_for_mem_size()
878 htab_size = __ilog2(htab_size) - 18; in hash_init_partition_table()
954 _SDR1 = table + __ilog2(htab_size_bytes) - 18; in htab_initialize()
/linux/arch/powerpc/kernel/
A Dsetup_64.c509 info->log_block_size = __ilog2(bsize); in init_cache_info()
/linux/arch/powerpc/kvm/
A De500_mmu_host.c435 tsize = min(__ilog2(psize) - 10, tsize); in kvmppc_e500_shadow_map()
A Dbook3s_hv_nested.c445 ptb_order = __ilog2(KVMPPC_NR_LPIDS - 1) + 1; in kvmhv_nested_init()
A Dbook3s_hv.c5041 porder = __ilog2(psize); in kvmppc_hv_setup_htab_rma()
/linux/drivers/ps3/
A Dps3-vuart.c888 port = (BITS_PER_LONG - 1) - __ilog2(bus_priv->bmp->status); in ps3_vuart_irq_handler()
/linux/arch/powerpc/sysdev/
A Dmpic.c1484 mpic->isu_shift = 1 + __ilog2(mpic->isu_size - 1); in mpic_alloc()

Completed in 43 milliseconds