Searched refs:EFI_PAGE_SHIFT (Results 1 – 16 of 16) sorted by relevance
101 return desc->physical_start + (desc->num_pages << EFI_PAGE_SHIFT); in desc_get_end()135 prev->physical_start -= pages << EFI_PAGE_SHIFT; in efi_mem_sort()136 prev->virtual_start -= pages << EFI_PAGE_SHIFT; in efi_mem_sort()176 uint64_t map_end = map_start + (map_desc->num_pages << EFI_PAGE_SHIFT); in efi_mem_carve_out()179 (carve_desc->num_pages << EFI_PAGE_SHIFT); in efi_mem_carve_out()203 >> EFI_PAGE_SHIFT; in efi_mem_carve_out()206 return (carve_end - carve_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()221 newmap->desc.num_pages = (map_end - carve_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()226 map_desc->num_pages = (carve_start - map_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()367 u64 end = start + (item->desc.num_pages << EFI_PAGE_SHIFT); in efi_check_allocated()[all …]
502 + (map->num_pages << EFI_PAGE_SHIFT))) { in efi_convert_pointer()608 (map->num_pages << EFI_PAGE_SHIFT)))) { in efi_runtime_relocate()706 efi_physical_addr_t map_len = map->num_pages << EFI_PAGE_SHIFT; in efi_set_virtual_address_map()766 u64 pages = (len + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_add_runtime_mmio()
123 int type = *relocs >> EFI_PAGE_SHIFT; in efi_loader_relocate()330 (virt_size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT); in efi_load_pe()
61 if (!largest || (largest->num_pages << EFI_PAGE_SHIFT) < (2 << 20)) in board_get_usable_ram_top()65 EFI_PAGE_SHIFT); in board_get_usable_ram_top()91 gd->ram_size += desc->num_pages << EFI_PAGE_SHIFT; in dram_init()120 (desc->num_pages << EFI_PAGE_SHIFT) < 1 << 20) in dram_init_banksize()124 EFI_PAGE_SHIFT; in dram_init_banksize()239 last_entry->size += (desc->num_pages << EFI_PAGE_SHIFT); in install_e820_map()240 last_end_addr += (desc->num_pages << EFI_PAGE_SHIFT); in install_e820_map()247 entries[num_entries].size <<= EFI_PAGE_SHIFT; in install_e820_map()
116 EFI_PAGE_SHIFT); in efi_build_mem_table()150 size = desc->num_pages << EFI_PAGE_SHIFT; in efi_print_mem_table()
116 fdt_size = fdt_pages << EFI_PAGE_SHIFT; in copy_fdt()
196 #define EFI_PAGE_SHIFT 12 macro197 #define EFI_PAGE_SIZE (1ULL << EFI_PAGE_SHIFT)
472 #define efi_size_in_pages(size) ((size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT)
81 >> EFI_PAGE_SHIFT; in efi_add_known_memory()
73 ALIGN(size, EFI_PAGE_SIZE) >> EFI_PAGE_SHIFT, in meson_board_add_reserved_memory()
75 (entry->num_pages << EFI_PAGE_SHIFT)) { in find_in_memory_map()
186 efi_add_memory_map(meson_fb.base, meson_fb.fb_size >> EFI_PAGE_SHIFT, in meson_vpu_rsv_fb()
228 (1 << l2bpp) / 8, EFI_PAGE_SIZE) >> EFI_PAGE_SHIFT, in sunxi_de2_init()
1230 EFI_PAGE_SHIFT,
140 ALIGN(*boot_code_size, EFI_PAGE_SIZE) >> EFI_PAGE_SHIFT, in ft_fixup_cpu()
1540 pages = (ram_size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_add_known_memory()