Home
last modified time | relevance | path

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

12

/external/u-boot/arch/powerpc/include/asm/
Dbitops.h149 static __inline__ int __ilog2(unsigned int x) in __ilog2() function
161 return __ilog2(x & -x); in ffz()
172 return __ilog2(x) + 1; in fls()
200 return __ilog2(x) + 1; in fls64()
215 return __ilog2(x & -x) + 1; in ffs()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dpci.c87 POWAR_MEM_WRITE | (__ilog2(CONFIG_SYS_PCI1_MEM_SIZE) - 1)); in pci_mpc85xx_init()
94 POWAR_IO_WRITE | (__ilog2(CONFIG_SYS_PCI1_IO_SIZE) - 1)); in pci_mpc85xx_init()
172 POWAR_MEM_WRITE | (__ilog2(CONFIG_SYS_PCI2_MEM_SIZE) - 1)); in pci_mpc85xx_init()
179 POWAR_IO_WRITE | (__ilog2(CONFIG_SYS_PCI2_IO_SIZE) - 1)); in pci_mpc85xx_init()
Dtlb.c266 max_cam = __ilog2(mfspr(SPRN_TLB1PS)) + 10; in tlb_map_range()
273 u32 align = __ilog2(v_addr) & tsize_mask; in tlb_map_range()
/external/u-boot/drivers/ddr/fsl/
Dddr2_dimm_params.c293 pdimm->caslat_x = __ilog2(spd->cas_lat); in ddr_compute_dimm_parameters()
294 pdimm->caslat_x_minus_1 = __ilog2(spd->cas_lat in ddr_compute_dimm_parameters()
296 pdimm->caslat_x_minus_2 = __ilog2(spd->cas_lat in ddr_compute_dimm_parameters()
Dddr1_dimm_params.c294 pdimm->caslat_x = __ilog2(spd->cas_lat); in ddr_compute_dimm_parameters()
295 pdimm->caslat_x_minus_1 = __ilog2(spd->cas_lat in ddr_compute_dimm_parameters()
297 pdimm->caslat_x_minus_2 = __ilog2(spd->cas_lat in ddr_compute_dimm_parameters()
Dlc_common_dimm_params.c131 temp2 = __ilog2(temp1); in compute_cas_latency()
/external/u-boot/drivers/pci/
Dpci_mpc85xx.c96 POWAR_MEM_WRITE | (__ilog2(mem->size) - 1))); in mpc85xx_pci_dm_probe()
104 POWAR_IO_WRITE | (__ilog2(io->size) - 1))); in mpc85xx_pci_dm_probe()
/external/u-boot/board/mpc8308_p1m/
Dsdram.c29 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/board/freescale/mpc8308rdb/
Dsdram.c33 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/board/gdsys/mpc8308/
Dsdram.c36 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/board/freescale/mpc8315erdb/
Dsdram.c45 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/board/freescale/mpc8313erdb/
Dsdram.c48 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/arch/arm/include/asm/
Dbitops.h108 static inline int __ilog2(unsigned int x) in __ilog2() function
/external/u-boot/board/sbc8349/
Dsbc8349.c80 u32 ddr_size_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/board/freescale/mpc837xerdb/
Dmpc837xerdb.c97 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dpci.c69 PIWAR_WTT_SNOOP | (__ilog2(gd->ram_size - 1)); in pci_init_bus()
Dspd_sdram.c281 law_size = 19 + __ilog2(memsize); in spd_sdram()
309 caslat = __ilog2(spd.cas_lat); in spd_sdram()
/external/u-boot/board/ids/ids8313/
Dids8313.c57 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/arch/x86/include/asm/
Dbitops.h375 static inline int __ilog2(unsigned int x) in __ilog2() function
/external/u-boot/board/ve8313/
Dve8313.c39 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/drivers/spi/
Dspi-sunxi.c442 div = __ilog2(SUN4I_SPI_MAX_RATE) - __ilog2(speed); in sun4i_spi_set_speed()
/external/u-boot/board/freescale/mpc8349itx/
Dmpc8349itx.c36 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram()
/external/u-boot/board/freescale/mpc8349emds/
Dmpc8349emds.c92 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram()
/external/u-boot/board/freescale/mpc837xemds/
Dmpc837xemds.c254 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/external/u-boot/arch/powerpc/cpu/mpc8xxx/
Dlaw.c121 idx = __ilog2(~(gd->arch.used_laws)); in set_last_law()

12