Searched refs:__ilog2 (Results 1 – 12 of 12) sorted by relevance
218 static __inline__ int __ilog2(unsigned long x) in __ilog2() function263 return __ilog2(x & -x); in ffz()268 return __ilog2(x & -x); in __ffs()279 return __ilog2(i & -i) + 1; in ffs()
229 static __inline__ int __ilog2(unsigned int x) in __ilog2() function241 return __ilog2(x & -x); in ffz()251 return __ilog2(x & -x) + 1; in ffs()
185 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()200 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
248 __bat2 = 1UL << __ilog2(ram); in adjust_total_lowmem()253 __bat3 = 1UL << __ilog2(ram); in adjust_total_lowmem()
241 _msChunks->chunk_shift = __ilog2(chunk_size); in msChunks_alloc()
374 _naca->dCacheL1LogLineSize = __ilog2(lsize); in prom_initialize_naca()387 _naca->iCacheL1LogLineSize = __ilog2(lsize); in prom_initialize_naca()469 rnd_mem_size = 1UL << __ilog2(_systemcfg->physicalMemorySize); in prom_initialize_naca()476 _naca->pftSize = __ilog2(pteg_count << 7); in prom_initialize_naca()
497 naca->pftSize = __ilog2(num_ptegs << 7); in build_iSeries_Memory_Map()
172 _SDR1 = table + __ilog2(pteg_count) - 11; in htab_initialize()
688 num_slots_ilog2 = __ilog2(num_slots); in create_tce_tables_for_buses()
173 irq += __ilog2(bits); in gatwick_action()209 irq += __ilog2(bits); in pmac_get_irq()
97 static __inline__ int __ilog2(unsigned int x) in __ilog2() function119 return __ilog2(x & -x); in au_ffz()129 return __ilog2(x & -x) + 1; in au_ffs()
693 _SDR1 = htab + __ilog2(hsize) - 18; in prom_alloc_htab()