/arch/sparc/mm/ |
D | init_32.c | 43 unsigned long phys_base; variable 44 EXPORT_SYMBOL(phys_base); 113 initrd_start = sparc_ramdisk_image + phys_base; in find_ramdisk() 125 initrd_start = (initrd_start - phys_base) + PAGE_OFFSET; in find_ramdisk() 126 initrd_end = (initrd_end - phys_base) + PAGE_OFFSET; in find_ramdisk() 193 size = (start_pfn << PAGE_SHIFT) - phys_base; in bootmem_init() 194 memblock_reserve(phys_base, size); in bootmem_init() 195 memblock_add(phys_base, size); in bootmem_init()
|
D | init_64.c | 861 static void __init find_ramdisk(unsigned long phys_base) in find_ramdisk() argument 884 ramdisk_image += phys_base; in find_ramdisk() 1594 static unsigned long __init bootmem_init(unsigned long phys_base) in bootmem_init() argument 1600 min_low_pfn = (phys_base >> PAGE_SHIFT); in bootmem_init() 2277 unsigned long end_pfn, shift, phys_base; in paging_init() local 2364 phys_base = 0xffffffffffffffffUL; in paging_init() 2366 phys_base = min(phys_base, pavail[i].phys_addr); in paging_init() 2372 find_ramdisk(phys_base); in paging_init() 2446 last_valid_pfn = end_pfn = bootmem_init(phys_base); in paging_init()
|
D | srmmu.c | 847 static void __init do_large_mapping(unsigned long vaddr, unsigned long phys_base) in do_large_mapping() argument 852 big_pte = KERNEL_PTE(phys_base >> 4); in do_large_mapping() 883 if (phys_base > 0) { in map_kernel() 884 do_large_mapping(PAGE_OFFSET, phys_base); in map_kernel()
|
/arch/x86/include/asm/ |
D | page_64.h | 12 extern unsigned long phys_base; 23 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); in __phys_addr_nodebug() 34 ((unsigned long)(x) - __START_KERNEL_map + phys_base)
|
/arch/x86/mm/ |
D | physaddr.c | 21 x = y + phys_base; in __phys_addr() 42 return y + phys_base; in __phys_addr_symbol() 53 x = y + phys_base; in __virt_addr_valid()
|
D | kasan_init_64.c | 200 p4d += __START_KERNEL_map - phys_base; in early_p4d_offset()
|
/arch/x86/realmode/ |
D | init.c | 95 unsigned long phys_base; in setup_real_mode() local 116 phys_base = __pa(base); in setup_real_mode() 117 real_mode_seg = phys_base >> 4; in setup_real_mode() 132 *ptr += phys_base; in setup_real_mode()
|
/arch/sparc/include/asm/ |
D | page_32.h | 121 extern unsigned long phys_base; 124 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + phys_base) 125 #define __va(x) ((void *)((unsigned long) (x) - phys_base + PAGE_OFFSET))
|
D | pgtable_32.h | 90 extern unsigned long phys_base; 406 unsigned long long offset, space, phys_base; in io_remap_pfn_range() local 410 phys_base = offset | (space << 32ULL); in io_remap_pfn_range() 412 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); in io_remap_pfn_range()
|
D | leon.h | 254 #define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base)))
|
D | pgtable_64.h | 1047 unsigned long phys_base; in io_remap_pfn_range() local 1049 phys_base = offset | (((unsigned long) space) << 32UL); in io_remap_pfn_range() 1051 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); in io_remap_pfn_range()
|
/arch/sparc/kernel/ |
D | setup_32.c | 336 phys_base = 0xffffffffUL; in setup_arch() 341 if (sp_banks[i].base_addr < phys_base) in setup_arch() 342 phys_base = sp_banks[i].base_addr; in setup_arch() 348 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()
|
/arch/x86/kernel/ |
D | head64.c | 277 *fixup_long(&phys_base, physaddr) += load_delta - sme_get_me_mask(); in __startup_64() 346 p4d_p = (p4dval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable() 355 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable() 361 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable() 370 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable() 376 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable() 385 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
|
D | crash_core_64.c | 12 VMCOREINFO_NUMBER(phys_base); in arch_crash_save_vmcoreinfo()
|
D | head_64.S | 154 addq phys_base(%rip), %rax 582 SYM_DATA(phys_base, .quad 0x0) 583 EXPORT_SYMBOL(phys_base)
|
/arch/x86/platform/efi/ |
D | efi_thunk_64.S | 44 subq phys_base(%rip), %rax
|
/arch/ia64/pci/ |
D | pci.c | 124 static unsigned int new_space(u64 phys_base, int sparse) in new_space() argument 129 if (phys_base == 0) in new_space() 132 mmio_base = (u64) ioremap(phys_base, 0); in new_space()
|
/arch/arm/plat-pxa/ |
D | ssp.c | 140 ssp->phys_base = res->start; in pxa_ssp_probe()
|
/arch/x86/mm/pat/ |
D | set_memory.c | 1631 __START_KERNEL_map - phys_base; in cpa_process_alias()
|