Home
last modified time | relevance | path

Searched refs:__ilog2_u64 (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dlaw.c23 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
34 law_sz = 1ull << __ilog2_u64(law_sz); in set_ddr_laws()
43 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
/external/u-boot/drivers/pci/
Dfsl_pci_init.c50 u32 sz = (__ilog2_u64(size) - 1); in set_inbound_window()
106 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
123 sz = 2ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
139 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
158 pci_sz = 1ull << __ilog2_u64(gd->ram_size); in fsl_pci_setup_inbound_windows()
161 pci_sz = 1ull << (__ilog2_u64(gd->ram_size) + 1); in fsl_pci_setup_inbound_windows()
174 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
209 u32 sz_inbound = __ilog2_u64(CONFIG_SRIO_PCIE_BOOT_IMAGE_SIZE) in fsl_pcie_boot_master()
242 sz_inbound = __ilog2_u64(CONFIG_SRIO_PCIE_BOOT_UCODE_ENV_SIZE) in fsl_pcie_boot_master()
334 u32 sz = (__ilog2_u64((u64)hose->regions[r].size) - 1); in fsl_pci_init()
/external/u-boot/include/linux/
Dlog2.h35 int __ilog2_u64(u64 n) in __ilog2_u64() function
154 __ilog2_u64(n) \
/external/u-boot/arch/powerpc/cpu/mpc8xxx/
Dlaw.c192 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
198 law_sz = 1ull << __ilog2_u64(law_sz); in set_ddr_laws()
207 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
Dfsl_pamu.c20 return __ilog2_u64(val); in __ilog2_roundup_64()
22 return __ilog2_u64(val) + 1; in __ilog2_roundup_64()
150 int size_shift = __ilog2_u64(subwin_size); in pamu_config_spaace()
/external/u-boot/arch/powerpc/include/asm/
Dfsl_srio.h39 #define atmu_size_mask(sz) (__ilog2_u64(sz) - 1)
Dfsl_law.h47 #define law_size_bits(sz) (__ilog2_u64(sz) - 1)
Dmmu.h218 (u32)((((1ull << __ilog2_u64((u64)x)) / (128 * 1024)) - 1) * 4)
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dtlb.c272 u32 camsize = __ilog2_u64(size) & tsize_mask; in tlb_map_range()