Searched refs:max_addr (Results 1 – 9 of 9) sorted by relevance
/u-boot/arch/mips/mach-octeon/include/mach/ |
A D | cvmx-bootmem.h | 178 u64 min_addr, u64 max_addr); 244 u64 max_addr, u64 align, 270 u64 max_addr, 384 s64 cvmx_bootmem_phy_named_block_alloc(u64 size, u64 min_addr, u64 max_addr, 528 u64 max_addr, u64 align, 531 u64 min_addr, u64 max_addr);
|
/u-boot/arch/mips/mach-octeon/ |
A D | cvmx-bootmem.c | 392 u64 min_addr, u64 max_addr) in cvmx_bootmem_phy_alloc_range() argument 396 __cvmx_validate_mem_range(&min_addr, &max_addr); in cvmx_bootmem_phy_alloc_range() 397 address = cvmx_bootmem_phy_alloc(size, min_addr, max_addr, in cvmx_bootmem_phy_alloc_range() 406 u64 min_addr, u64 max_addr) in cvmx_bootmem_alloc_range() argument 410 __cvmx_validate_mem_range(&min_addr, &max_addr); in cvmx_bootmem_alloc_range() 440 u64 max_addr, u64 align, in cvmx_bootmem_alloc_named_range_once() argument 450 __cvmx_validate_mem_range(&min_addr, &max_addr); in cvmx_bootmem_alloc_named_range_once() 482 u64 max_addr, u64 align, in cvmx_bootmem_alloc_named_range_flags() argument 487 __cvmx_validate_mem_range(&min_addr, &max_addr); in cvmx_bootmem_alloc_named_range_flags() 497 u64 max_addr, u64 align, in cvmx_bootmem_alloc_named_range() argument [all …]
|
/u-boot/include/ |
A D | lmb.h | 42 phys_addr_t max_addr); 44 phys_addr_t max_addr);
|
/u-boot/arch/x86/lib/ |
A D | physmem.c | 159 const phys_addr_t max_addr = (phys_addr_t)~(uintptr_t)0; in arch_phys_memset() local 166 if (start <= max_addr) { in arch_phys_memset() 167 phys_size_t low_size = min(max_addr + 1 - start, size); in arch_phys_memset()
|
/u-boot/arch/arm/cpu/armv8/ |
A D | cache_v8.c | 44 u64 max_addr = 0; in get_tcr() local 51 max_addr = max(max_addr, mem_map[i].virt + mem_map[i].size); in get_tcr() 54 if (max_addr > (1ULL << 44)) { in get_tcr() 57 } else if (max_addr > (1ULL << 42)) { in get_tcr() 60 } else if (max_addr > (1ULL << 40)) { in get_tcr() 63 } else if (max_addr > (1ULL << 36)) { in get_tcr() 66 } else if (max_addr > (1ULL << 32)) { in get_tcr()
|
/u-boot/lib/ |
A D | lmb.c | 297 phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in lmb_alloc_base() argument 301 alloc = __lmb_alloc_base(lmb, size, align, max_addr); in lmb_alloc_base() 305 (ulong)size, (ulong)max_addr); in lmb_alloc_base() 315 phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in __lmb_alloc_base() argument 327 if (max_addr == LMB_ALLOC_ANYWHERE) in __lmb_alloc_base() 329 else if (lmbbase < max_addr) { in __lmb_alloc_base() 333 base = min(base, max_addr); in __lmb_alloc_base()
|
/u-boot/arch/powerpc/cpu/mpc8xxx/ |
A D | fsl_pamu.c | 380 uint64_t min_addr, max_addr; in config_pamu() local 386 max_addr = find_max(tbl->end_addr, num_entries); in config_pamu() 387 size = max_addr - min_addr + 1; in config_pamu() 395 debug("max end_addr is %llx\n", max_addr); in config_pamu() 403 if (min_addr + size > max_addr) in config_pamu()
|
/u-boot/tools/ |
A D | zynqmpbif.c | 551 size_t min_addr = -1, max_addr = 0; in elf2flat64() local 568 max_addr) in elf2flat64() 569 max_addr = le64_to_cpu(shdr->sh_addr) + in elf2flat64() 574 *flat_size = max_addr - min_addr; in elf2flat64() 599 size_t min_addr = -1, max_addr = 0; in elf2flat32() local 616 max_addr) in elf2flat32() 617 max_addr = le32_to_cpu(shdr->sh_addr) + in elf2flat32() 622 *flat_size = max_addr - min_addr; in elf2flat32()
|
/u-boot/lib/efi_loader/ |
A D | efi_memory.c | 406 static uint64_t efi_find_free_memory(uint64_t len, uint64_t max_addr) in efi_find_free_memory() argument 414 max_addr &= ~EFI_PAGE_MASK; in efi_find_free_memory() 422 uint64_t curmax = min(max_addr, desc_end); in efi_find_free_memory() 430 if ((ret + len) > max_addr) in efi_find_free_memory()
|
Completed in 15 milliseconds