Searched refs:__ilog2 (Results 1 – 15 of 15) sorted by relevance
69 (__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)
102 tsize = __ilog2(size) - 10; in settlbcam()141 unsigned int camsize = __ilog2(ram); in calc_cam_sz()152 max_cam = __ilog2(mfspr(SPRN_TLB1PS)) + 10; in calc_cam_sz()
131 shift = __ilog2(psize); in book3e_hugetlb_preload()
193 ppc64_pft_size = __ilog2(htab_size); in ps3_hpte_init()
217 irq += __ilog2(bits); in gatwick_action()247 irq += __ilog2(bits); in pmac_pic_get_irq()
278 #define __ilog2(x) ilog2(x) macro
126 return __ilog2((size - 1) >> tbl->it_page_shift) + 1; in get_iommu_order()
268 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()
364 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
871 unsigned memshift = __ilog2(mem_size); in htab_shift_for_mem_size()974 htab_size = __ilog2(htab_size) - 18; in hash_init_partition_table()1050 _SDR1 = table + __ilog2(htab_size_bytes) - 18; in htab_initialize()
553 info->log_block_size = __ilog2(bsize); in init_cache_info()
435 tsize = min(__ilog2(psize) - 10, tsize); in kvmppc_e500_shadow_map()
5201 porder = __ilog2(psize); in kvmppc_hv_setup_htab_rma()
888 port = (BITS_PER_LONG - 1) - __ilog2(bus_priv->bmp->status); in ps3_vuart_irq_handler()
1483 mpic->isu_shift = 1 + __ilog2(mpic->isu_size - 1); in mpic_alloc()