Home
last modified time | relevance | path

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

/u-boot/arch/powerpc/cpu/mpc83xx/
A Dlaw.c24 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
35 law_sz = 1ull << __ilog2_u64(law_sz); in set_ddr_laws()
44 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
/u-boot/include/linux/
A Dlog2.h35 int __ilog2_u64(u64 n) in __ilog2_u64() function
154 __ilog2_u64(n) \
/u-boot/arch/powerpc/include/asm/
A Dfsl_srio.h39 #define atmu_size_mask(sz) (__ilog2_u64(sz) - 1)
A Dfsl_law.h47 #define law_size_bits(sz) (__ilog2_u64(sz) - 1)
A Dmmu.h219 (u32)((((1ull << __ilog2_u64((u64)x)) / (128 * 1024)) - 1) * 4)
/u-boot/drivers/pci/
A Dfsl_pci_init.c57 u32 sz = (__ilog2_u64(size) - 1); in set_inbound_window()
116 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
133 sz = 2ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
149 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
168 pci_sz = 1ull << __ilog2_u64(gd->ram_size); in fsl_pci_setup_inbound_windows()
171 pci_sz = 1ull << (__ilog2_u64(gd->ram_size) + 1); in fsl_pci_setup_inbound_windows()
184 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pci_setup_inbound_windows()
219 u32 sz_inbound = __ilog2_u64(CONFIG_SRIO_PCIE_BOOT_IMAGE_SIZE) in fsl_pcie_boot_master()
252 sz_inbound = __ilog2_u64(CONFIG_SRIO_PCIE_BOOT_UCODE_ENV_SIZE) in fsl_pcie_boot_master()
350 u32 sz = (__ilog2_u64((u64)hose->regions[r].size) - 1); in fsl_pci_init()
A Dpcie_fsl.c271 sz = (__ilog2_u64((u64)size) - 1); in fsl_pcie_setup_outbound_win()
290 u32 sz = (__ilog2_u64(size) - 1); in fsl_pcie_setup_inbound_win()
355 pci_sz = 1ull << __ilog2_u64(sz); in fsl_pcie_setup_inbound_wins()
365 sz = 2ull << __ilog2_u64(sz); in fsl_pcie_setup_inbound_wins()
375 pci_sz = 1ull << __ilog2_u64(gd->ram_size); in fsl_pcie_setup_inbound_wins()
378 pci_sz = 1ull << (__ilog2_u64(gd->ram_size) + 1); in fsl_pcie_setup_inbound_wins()
/u-boot/arch/powerpc/cpu/mpc8xxx/
A Dlaw.c194 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
200 law_sz = 1ull << __ilog2_u64(law_sz); in set_ddr_laws()
209 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
A Dfsl_pamu.c22 return __ilog2_u64(val); in __ilog2_roundup_64()
24 return __ilog2_u64(val) + 1; in __ilog2_roundup_64()
152 int size_shift = __ilog2_u64(subwin_size); in pamu_config_spaace()
/u-boot/arch/powerpc/cpu/mpc85xx/
A Dtlb.c274 u32 camsize = __ilog2_u64(size) & tsize_mask; in tlb_map_range()

Completed in 15 milliseconds