Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/asm-ppc64/
Dbitops.h218 static __inline__ int __ilog2(unsigned long x) in __ilog2() function
263 return __ilog2(x & -x); in ffz()
268 return __ilog2(x & -x); in __ffs()
279 return __ilog2(i & -i) + 1; in ffs()
/linux-2.4.37.9/include/asm-ppc/
Dbitops.h229 static __inline__ int __ilog2(unsigned int x) in __ilog2() function
241 return __ilog2(x & -x); in ffz()
251 return __ilog2(x & -x) + 1; in ffs()
/linux-2.4.37.9/arch/ppc/mm/
Dppc_mmu.c185 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
200 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
Dpgtable.c248 __bat2 = 1UL << __ilog2(ram); in adjust_total_lowmem()
253 __bat3 = 1UL << __ilog2(ram); in adjust_total_lowmem()
/linux-2.4.37.9/arch/ppc64/kernel/
DLparData.c241 _msChunks->chunk_shift = __ilog2(chunk_size); in msChunks_alloc()
Dprom.c374 _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()
DiSeries_setup.c497 naca->pftSize = __ilog2(num_ptegs << 7); in build_iSeries_Memory_Map()
Dhtab.c172 _SDR1 = table + __ilog2(pteg_count) - 11; in htab_initialize()
Dpci_dma.c688 num_slots_ilog2 = __ilog2(num_slots); in create_tce_tables_for_buses()
/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_pic.c173 irq += __ilog2(bits); in gatwick_action()
209 irq += __ilog2(bits); in pmac_get_irq()
/linux-2.4.37.9/include/asm-mips/
Dau1000.h97 static __inline__ int __ilog2(unsigned int x) in __ilog2() function
119 return __ilog2(x & -x); in au_ffz()
129 return __ilog2(x & -x) + 1; in au_ffs()
/linux-2.4.37.9/arch/ppc/kernel/
Dprom_init.c693 _SDR1 = htab + __ilog2(hsize) - 18; in prom_alloc_htab()