Searched refs:__ilog2_u64 (Results 1 – 10 of 10) sorted by relevance
24 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()
35 int __ilog2_u64(u64 n) in __ilog2_u64() function154 __ilog2_u64(n) \
39 #define atmu_size_mask(sz) (__ilog2_u64(sz) - 1)
47 #define law_size_bits(sz) (__ilog2_u64(sz) - 1)
219 (u32)((((1ull << __ilog2_u64((u64)x)) / (128 * 1024)) - 1) * 4)
57 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()
271 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()
194 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()
22 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()
274 u32 camsize = __ilog2_u64(size) & tsize_mask; in tlb_map_range()
Completed in 15 milliseconds