Searched refs:__ilog2 (Results 1 – 16 of 16) 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)
108 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()
141 shift = __ilog2(psize); in book3e_hugetlb_preload()
194 ppc64_pft_size = __ilog2(htab_size); in ps3_hpte_init()
214 irq += __ilog2(bits); in gatwick_action()244 irq += __ilog2(bits); in pmac_pic_get_irq()
205 #define __ilog2(x) ilog2(x) macro
128 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()
370 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
775 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()
509 info->log_block_size = __ilog2(bsize); in init_cache_info()
435 tsize = min(__ilog2(psize) - 10, tsize); in kvmppc_e500_shadow_map()
445 ptb_order = __ilog2(KVMPPC_NR_LPIDS - 1) + 1; in kvmhv_nested_init()
5041 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()
1484 mpic->isu_shift = 1 + __ilog2(mpic->isu_size - 1); in mpic_alloc()
Completed in 43 milliseconds