Searched refs:EFI_PAGE_MASK (Results 1 – 6 of 6) sorted by relevance
341 uint64_t pages = (len + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_alloc()385 EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_allocate_pool()420 assert(((uintptr_t)alloc & EFI_PAGE_MASK) == 0); in efi_free_pool()491 u64 start = (ram_start + EFI_PAGE_MASK) & ~EFI_PAGE_MASK; in efi_add_known_memory()492 u64 pages = (ram_size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_add_known_memory()508 uboot_start = (gd->start_addr_sp - uboot_stack_size) & ~EFI_PAGE_MASK; in efi_memory_init()513 runtime_start = (ulong)&__efi_runtime_start & ~EFI_PAGE_MASK; in efi_memory_init()515 runtime_end = (runtime_end + EFI_PAGE_MASK) & ~EFI_PAGE_MASK; in efi_memory_init()
323 ~(ulong)EFI_PAGE_MASK; in efi_set_virtual_address_map()378 u64 pages = (len + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_add_runtime_mmio()
305 (virt_size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT); in efi_load_pe()
250 fdt_start = ((ulong)fdt) & ~EFI_PAGE_MASK; in efi_install_fdt()252 fdt_size = (fdt_end - fdt_start) + EFI_PAGE_MASK; in efi_install_fdt()
862 start = (ram_start + EFI_PAGE_MASK) & ~EFI_PAGE_MASK; in efi_add_known_memory()863 pages = (ram_size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_add_known_memory()
182 #define EFI_PAGE_MASK (EFI_PAGE_SIZE - 1) macro