Home
last modified time | relevance | path

Searched refs:EFI_PAGE_SHIFT (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/firmware/efi/
A Dmemmap.c257 end = start + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_split_count()
322 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_insert()
332 EFI_PAGE_SHIFT; in efi_memmap_insert()
339 EFI_PAGE_SHIFT; in efi_memmap_insert()
345 EFI_PAGE_SHIFT; in efi_memmap_insert()
353 EFI_PAGE_SHIFT; in efi_memmap_insert()
360 EFI_PAGE_SHIFT; in efi_memmap_insert()
367 EFI_PAGE_SHIFT; in efi_memmap_insert()
374 EFI_PAGE_SHIFT; in efi_memmap_insert()
A Dmemattr.c59 u64 in_size = in->num_pages << EFI_PAGE_SHIFT; in entry_is_valid()
72 !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) { in entry_is_valid()
86 u64 md_size = md->num_pages << EFI_PAGE_SHIFT; in entry_is_valid()
164 size = md.num_pages << EFI_PAGE_SHIFT; in efi_memattr_apply_permissions()
A Defi-init.c48 (addr - md->virt_addr) < (md->num_pages << EFI_PAGE_SHIFT)) in efi_to_phys()
189 paddr, paddr + (npages << EFI_PAGE_SHIFT) - 1, in reserve_regions()
A Defi.c339 debugfs_blob[i].size = md->num_pages << EFI_PAGE_SHIFT; in efi_debugfs_init()
465 size = md->num_pages << EFI_PAGE_SHIFT; in efi_mem_desc_lookup()
480 u64 size = md->num_pages << EFI_PAGE_SHIFT; in efi_mem_desc_end()
816 (md->num_pages << EFI_PAGE_SHIFT)))) in efi_mem_attributes()
840 (md->num_pages << EFI_PAGE_SHIFT)))) in efi_mem_type()
A Dx86_fake_mem.c47 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_fake_memmap_early()
A Driscv-runtime.c88 int md_size = md->num_pages << EFI_PAGE_SHIFT; in riscv_enable_runtime_services()
A Darm-runtime.c110 int md_size = md->num_pages << EFI_PAGE_SHIFT; in arm_enable_runtime_services()
A Dembedded-firmware.c45 size = md->num_pages << EFI_PAGE_SHIFT; in efi_check_md_for_embedded_firmware()
/linux/arch/arm64/kernel/
A Defi.c67 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT)) { in efi_create_mapping()
81 md->num_pages << EFI_PAGE_SHIFT, in efi_create_mapping()
113 md->num_pages << EFI_PAGE_SHIFT, in efi_set_mapping_permissions()
A Dacpi.c285 u64 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT); in acpi_os_ioremap()
/linux/arch/x86/platform/efi/
A Defi.c118 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in efi_find_mirror()
147 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in do_add_efi_memmap()
256 #define OVERFLOW_ADDR_SHIFT (64 - EFI_PAGE_SHIFT)
262 u64 end = (md->num_pages << EFI_PAGE_SHIFT) + md->phys_addr - 1; in efi_memmap_entry_valid()
270 (md->phys_addr >> EFI_PAGE_SHIFT)) { in efi_memmap_entry_valid()
337 md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1, in efi_print_memmap()
338 (md->num_pages >> (20 - EFI_PAGE_SHIFT))); in efi_print_memmap()
520 prev_size = prev_md->num_pages << EFI_PAGE_SHIFT; in efi_merge_regions()
A Dquirks.c259 if (addr + size > md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT)) { in efi_arch_mem_reserve()
325 u64 size = md->num_pages << EFI_PAGE_SHIFT; in efi_reserve_boot_services()
412 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in efi_free_boot_services()
/linux/arch/ia64/kernel/
A Defi.c293 #define efi_md_size(md) (md->num_pages << EFI_PAGE_SHIFT)
298 return (kmd->start + (kmd->num_pages << EFI_PAGE_SHIFT)); in kmd_end()
330 end = (k->start + (k->num_pages << EFI_PAGE_SHIFT)) & PAGE_MASK; in walk()
573 size = md->num_pages << EFI_PAGE_SHIFT; in efi_init()
714 if (phys_addr - md->start < (md->num_pages << EFI_PAGE_SHIFT)) in kern_memory_descriptor()
1106 >> EFI_PAGE_SHIFT; in efi_memmap_init()
1111 >> EFI_PAGE_SHIFT; in efi_memmap_init()
1130 >> EFI_PAGE_SHIFT; in efi_memmap_init()
1151 prev->num_pages += (ae - as) >> EFI_PAGE_SHIFT; in efi_memmap_init()
1157 k->num_pages = (ae - as) >> EFI_PAGE_SHIFT; in efi_memmap_init()
/linux/include/linux/
A Defi.h131 #define EFI_PAGE_SHIFT 12 macro
132 #define EFI_PAGE_SIZE (1UL << EFI_PAGE_SHIFT)
133 #define EFI_PAGES_MAX (U64_MAX >> EFI_PAGE_SHIFT)
757 for (i = 0; i < len; i += (1UL << EFI_PAGE_SHIFT)) { in efi_range_is_wc()
930 *npages = PFN_UP(*addr + (*npages<<EFI_PAGE_SHIFT)) - PFN_DOWN(*addr); in memrange_efi_to_native()
/linux/arch/arm/kernel/
A Defi.c30 size = md->num_pages << EFI_PAGE_SHIFT; in efi_set_mapping_permissions()
/linux/arch/riscv/kernel/
A Defi.c94 md->num_pages << EFI_PAGE_SHIFT, in efi_set_mapping_permissions()
/linux/arch/x86/boot/compressed/
A Dkaslr.c742 region.size = md->num_pages << EFI_PAGE_SHIFT; in process_efi_entries()
/linux/drivers/video/fbdev/
A Defifb.c474 (md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT))) { in efifb_probe()

Completed in 27 milliseconds