Home
last modified time | relevance | path

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

/u-boot/arch/x86/cpu/efi/
A Dpayload.c57 if (!largest || desc->num_pages > largest->num_pages) in board_get_usable_ram_top()
63 if (!largest || (largest->num_pages << EFI_PAGE_SHIFT) < (2 << 20)) in board_get_usable_ram_top()
66 dest_addr = largest->physical_start + (largest->num_pages << in board_get_usable_ram_top()
93 gd->ram_size += desc->num_pages << EFI_PAGE_SHIFT; in dram_init()
122 (desc->num_pages << EFI_PAGE_SHIFT) < 1 << 20) in dram_init_banksize()
125 gd->bd->bi_dram[num_banks].size = desc->num_pages << in dram_init_banksize()
200 if (desc->num_pages == 0) in install_e820_map()
241 last_entry->size += (desc->num_pages << EFI_PAGE_SHIFT); in install_e820_map()
242 last_end_addr += (desc->num_pages << EFI_PAGE_SHIFT); in install_e820_map()
248 entries[num_entries].size = desc->num_pages; in install_e820_map()
/u-boot/lib/efi_loader/
A Defi_memory.c60 u64 num_pages; member
74 u64 ret = (addr >> 32) ^ (addr << 32) ^ alloc->num_pages ^ in checksum()
135 pages = cur->num_pages; in efi_mem_sort()
136 prev->num_pages += pages; in efi_mem_sort()
181 (carve_desc->num_pages << EFI_PAGE_SHIFT); in efi_mem_carve_out()
204 map->desc.num_pages = (map_end - carve_end) in efi_mem_carve_out()
266 newlist->desc.num_pages = pages; in efi_add_memory_map_pg()
420 uint64_t desc_len = desc->num_pages << EFI_PAGE_SHIFT; in efi_find_free_memory()
564 u64 num_pages = efi_size_in_pages(size + in efi_allocate_pool() local
579 alloc->num_pages = num_pages; in efi_allocate_pool()
[all …]
A Defi_runtime.c618 + (map->num_pages << EFI_PAGE_SHIFT))) { in efi_convert_pointer()
724 (map->num_pages << EFI_PAGE_SHIFT)))) { in efi_runtime_relocate()
822 efi_physical_addr_t map_len = map->num_pages << EFI_PAGE_SHIFT; in efi_set_virtual_address_map()
/u-boot/cmd/
A Defi.c131 prev->num_pages += desc->num_pages; in efi_build_mem_table()
136 addr = desc->physical_start + (desc->num_pages << in efi_build_mem_table()
171 size = desc->num_pages << EFI_PAGE_SHIFT; in efi_print_mem_table()
A Defidebug.c762 map->num_pages * EFI_PAGE_SIZE))); in do_efi_show_memmap()
/u-boot/lib/efi_selftest/
A Defi_selftest_set_virtual_address_map.c154 pos1->num_pages = 1; in setup()
162 pos1->num_pages = 1; in setup()
A Defi_selftest_memory.c75 (entry->num_pages << EFI_PAGE_SHIFT)) { in find_in_memory_map()
/u-boot/drivers/tee/optee/
A Dcore.c85 unsigned int num_pages; in optee_alloc_and_init_page_list() local
105 num_pages = roundup(page_offset + len, page_size) / page_size; in optee_alloc_and_init_page_list()
106 list_size = DIV_ROUND_UP(num_pages, PAGELIST_ENTRIES_PER_PAGE) * in optee_alloc_and_init_page_list()
115 while (num_pages) { in optee_alloc_and_init_page_list()
119 num_pages--; in optee_alloc_and_init_page_list()
/u-boot/drivers/nvme/
A Dnvme.c85 u32 num_pages; in nvme_setup_prps() local
103 num_pages = DIV_ROUND_UP(nprps, prps_per_page); in nvme_setup_prps()
111 dev->prp_pool = memalign(page_size, num_pages * page_size); in nvme_setup_prps()
116 dev->prp_entry_num = prps_per_page * num_pages; in nvme_setup_prps()
/u-boot/include/
A Defi.h216 u64 num_pages; member

Completed in 18 milliseconds