Home
last modified time | relevance | path

Searched refs:ilog2 (Results 1 – 20 of 20) sorted by relevance

/external/u-boot/include/linux/
Dlog2.h85 #define ilog2(n) \ macro
169 (1UL << (ilog2((n) - 1) + 1)) \
185 (1UL << ilog2(n))) : \
192 return n > 1 ? ilog2(n - 1) + 1 : 0; in __order_base_2()
212 ilog2((n) - 1) + 1) : \
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2006-08-07-CycleInDAG.ll5 br i1 false, label %ilog2.exit, label %cond_true.i
10 ilog2.exit: ; preds = %0
21 bb.i: ; preds = %ilog2.exit
24 bb224.preheader.i: ; preds = %ilog2.exit
/external/llvm/test/CodeGen/X86/
D2006-08-07-CycleInDAG.ll5 br i1 false, label %ilog2.exit, label %cond_true.i
10 ilog2.exit: ; preds = %0
21 bb.i: ; preds = %ilog2.exit
24 bb224.preheader.i: ; preds = %ilog2.exit
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2006-08-07-CycleInDAG.ll5 br i1 false, label %ilog2.exit, label %cond_true.i
10 ilog2.exit: ; preds = %0
21 bb.i: ; preds = %ilog2.exit
24 bb224.preheader.i: ; preds = %ilog2.exit
/external/u-boot/include/
Ddiv64.h69 ___p = 1 << ilog2(___b); \
126 ___p >>= ilog2(___bits); \
127 ___m >>= ilog2(___bits); \
211 (n) >>= ilog2(__base); \
/external/linux-kselftest/tools/testing/selftests/vm/
Dthuge-gen.c53 int ilog2(unsigned long v) in ilog2() function
237 int arg = ilog2(ps) << MAP_HUGE_SHIFT; in main()
249 int arg = ilog2(ps) << SHM_HUGE_SHIFT; in main()
/external/u-boot/drivers/clk/rockchip/
Dclk_rk3188.c408 hclk_div = ilog2(CPU_ACLK_HZ / CPU_HCLK_HZ); in rkclk_init()
410 pclk_div = ilog2(CPU_ACLK_HZ / CPU_PCLK_HZ); in rkclk_init()
412 h2p_div = ilog2(CPU_HCLK_HZ / CPU_H2P_HZ); in rkclk_init()
430 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()
434 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()
Dclk_rk3036.c145 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()
149 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()
Dclk_rk322x.c146 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()
150 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()
Dclk_rk3128.c207 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()
211 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()
Dclk_rk3288.c427 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()
431 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()
/external/iproute2/tc/
Dq_fq.c62 static unsigned int ilog2(unsigned int val) in ilog2() function
187 unsigned int log = ilog2(buckets); in fq_parse_opt()
/external/aac/libSACenc/src/
Dsacenc_nlc_enc.cpp240 static INT ilog2(UINT i) { in ilog2() function
294 bits_pcm = (SHORT)(ilog2(chunk_levels) * num_complete_chunks); in calc_pcm_bits()
295 bits_pcm += (SHORT)(ilog2(num_levels) * rest_chunk_size); in calc_pcm_bits()
348 pcm_chunk_size[i] = ilog2(chunk_levels); in apply_pcm_coding()
/external/u-boot/drivers/mtd/spi/
Dspi_flash.c931 pow = ilog2(flash->size) - ilog2(len); in stm_lock()
980 pow = ilog2(flash->size) - order_base_2(flash->size - (ofs + len)); in stm_unlock()
/external/fsverity-utils/
Dutil.h67 static inline int ilog2(unsigned long n) in ilog2() function
Dcmd_setup.c522 params.blockbits = ilog2(params.blocksize); in fsverity_cmd_setup()
/external/swiftshader/src/Common/
DMath.hpp168 inline int ilog2(float x) in ilog2() function
/external/swiftshader/src/System/
DMath.hpp168 inline int ilog2(float x) in ilog2() function
/external/u-boot/drivers/mmc/
Dmeson_gx_mmc.c122 cfg |= ilog2(data->blocksize) << CFG_BL_LEN_SHIFT; in meson_mmc_setup_cmd()
/external/aac/libFDK/src/
Dnlc_dec.cpp138 static int ilog2(unsigned int i) { in ilog2() function
196 pcm_chunk_size[i] = ilog2(tmp); in pcm_decode()