Home
last modified time | relevance | path

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

12

/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/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-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/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.c472 hclk_div = ilog2(PERI_ACLK_HZ / PERI_HCLK_HZ); in rkclk_init()
476 pclk_div = ilog2(PERI_ACLK_HZ / PERI_PCLK_HZ); in rkclk_init()
/external/u-boot/drivers/clk/analogbits/
Dwrpll-cln28hpc.c159 divq = ilog2(MAX_DIVQ_DIVISOR); in __wrpll_calc_divq()
162 divq = ilog2(s); in __wrpll_calc_divq()
/external/igt-gpu-tools/benchmarks/
DMakefile.sources26 ilog2.h \
Dewma.h56 const T weight_rcp = ilog2(_weight_rcp); \
Dilog2.h32 #define ilog2(n) \ macro
/external/u-boot/drivers/clk/sunxi/
Dclk_sunxi.c34 clk->id, gate->off, ilog2(gate->bit)); in sunxi_set_gate()
/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/u-boot/drivers/reset/
Dreset-sunxi.c59 reset_ctl->id, reset->off, ilog2(reset->bit)); in sunxi_set_reset()
/external/fsverity-utils/
Dutil.h66 static inline int ilog2(unsigned long n) in ilog2() function
/external/u-boot/drivers/pci_endpoint/
Dpcie-cadence-ep.c67 aperture = ilog2(sz) - 7; /* 128B -> 0, 256B -> 1, 512B -> 2, ... */ in cdns_set_bar()
/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/swiftshader/src/Common/
DMath.hpp168 inline int ilog2(float x) in ilog2() function
/external/u-boot/drivers/mmc/
Dmeson_gx_mmc.c125 cfg |= ilog2(data->blocksize) << CFG_BL_LEN_SHIFT; in meson_mmc_setup_cmd()
/external/u-boot/drivers/spi/
Dspi-sifive.c303 spi->num_cs = ilog2(cs_bits) + 1; in sifive_spi_init_hw()
/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()
/external/u-boot/drivers/mtd/spi/
Dspi-nor-core.c747 pow = ilog2(mtd->size) - ilog2(lock_len); in stm_lock()
827 pow = ilog2(mtd->size) - order_base_2(lock_len); in stm_unlock()

12