/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | pci.c | 87 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()
|
H A D | tlb.c | 266 max_cam = __ilog2(mfspr(SPRN_TLB1PS)) + 10; in tlb_map_range() 273 u32 align = __ilog2(v_addr) & tsize_mask; in tlb_map_range()
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | bitops.h | 149 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()
|
/openbmc/u-boot/drivers/ddr/fsl/ |
H A D | ddr2_dimm_params.c | 293 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()
|
H A D | ddr1_dimm_params.c | 294 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()
|
/openbmc/linux/include/linux/ |
H A D | fsl_ifc.h | 69 (__ilog2(n) - IFC_AMASK_SHIFT)) 110 #define CSOR_NAND_PB(n) ((__ilog2(n) - 5) << CSOR_NAND_PB_SHIFT) 163 #define CSOR_GPCM_GPTO(n) ((__ilog2(n) - 8) << CSOR_GPCM_GPTO_SHIFT) 618 #define IFC_NORCR_STOCNT(n) ((__ilog2(n) - 8) << IFC_NORCR_STOCNT_SHIFT)
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | e500.c | 102 tsize = __ilog2(size) - 10; in settlbcam() 141 unsigned int camsize = __ilog2(ram); in calc_cam_sz() 152 max_cam = __ilog2(mfspr(SPRN_TLB1PS)) + 10; in calc_cam_sz()
|
H A D | e500_hugetlbpage.c | 134 shift = __ilog2(psize); in book3e_hugetlb_preload()
|
/openbmc/u-boot/board/freescale/mpc8308rdb/ |
H A D | sdram.c | 33 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/u-boot/board/mpc8308_p1m/ |
H A D | sdram.c | 29 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/u-boot/board/gdsys/mpc8308/ |
H A D | sdram.c | 34 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/u-boot/board/freescale/mpc8315erdb/ |
H A D | sdram.c | 45 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/u-boot/board/freescale/mpc8313erdb/ |
H A D | sdram.c | 48 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | htab.c | 193 ppc64_pft_size = __ilog2(htab_size); in ps3_hpte_init()
|
/openbmc/u-boot/board/sbc8349/ |
H A D | sbc8349.c | 80 u32 ddr_size_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | bitops.h | 108 static inline int __ilog2(unsigned int x) in __ilog2() function
|
/openbmc/u-boot/board/freescale/mpc837xerdb/ |
H A D | mpc837xerdb.c | 96 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | pci.c | 69 PIWAR_WTT_SNOOP | (__ilog2(gd->ram_size - 1)); in pci_init_bus()
|
/openbmc/u-boot/board/ve8313/ |
H A D | ve8313.c | 38 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | bitops.h | 375 static inline int __ilog2(unsigned int x) in __ilog2() function
|
/openbmc/u-boot/board/ids/ids8313/ |
H A D | ids8313.c | 57 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | pic.c | 217 irq += __ilog2(bits); in gatwick_action() 247 irq += __ilog2(bits); in pmac_pic_get_irq()
|
/openbmc/u-boot/board/freescale/mpc8349emds/ |
H A D | mpc8349emds.c | 92 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram()
|
/openbmc/u-boot/board/freescale/mpc8349itx/ |
H A D | mpc8349itx.c | 33 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram()
|
/openbmc/u-boot/drivers/spi/ |
H A D | spi-sunxi.c | 442 div = __ilog2(SUN4I_SPI_MAX_RATE) - __ilog2(speed); in sun4i_spi_set_speed()
|