Lines Matching refs:uintptr_t
54 uintptr_t _dtb_early_pa __initdata;
58 phys_addr_t (*alloc_pte)(uintptr_t va);
61 phys_addr_t (*alloc_pmd)(uintptr_t va);
274 return (pte_t *)((uintptr_t)pa); in get_pte_virt_early()
288 static inline phys_addr_t __init alloc_pte_early(uintptr_t va) in alloc_pte_early()
297 static inline phys_addr_t __init alloc_pte_fixmap(uintptr_t va) in alloc_pte_fixmap()
302 static phys_addr_t __init alloc_pte_late(uintptr_t va) in alloc_pte_late()
313 uintptr_t va, phys_addr_t pa, in create_pte_mapping()
316 uintptr_t pte_idx = pte_index(va); in create_pte_mapping()
339 return (pmd_t *)((uintptr_t)pa); in get_pmd_virt_early()
353 static phys_addr_t __init alloc_pmd_early(uintptr_t va) in alloc_pmd_early()
357 return (uintptr_t)early_pmd; in alloc_pmd_early()
360 static phys_addr_t __init alloc_pmd_fixmap(uintptr_t va) in alloc_pmd_fixmap()
365 static phys_addr_t __init alloc_pmd_late(uintptr_t va) in alloc_pmd_late()
375 uintptr_t va, phys_addr_t pa, in create_pmd_mapping()
380 uintptr_t pmd_idx = pmd_index(va); in create_pmd_mapping()
418 uintptr_t va, phys_addr_t pa, in create_pgd_mapping()
423 uintptr_t pgd_idx = pgd_index(va); in create_pgd_mapping()
444 static uintptr_t __init best_map_size(phys_addr_t base, phys_addr_t size) in best_map_size()
459 size_t sz = (size_t)((uintptr_t)(&_end) - (uintptr_t)(&_sdata)); in __copy_data()
466 static __init pgprot_t pgprot_from_va(uintptr_t va) in pgprot_from_va()
493 static __init pgprot_t pgprot_from_va(uintptr_t va) in pgprot_from_va()
524 uintptr_t va, end_va; in create_kernel_page_table()
543 uintptr_t va, end_va; in create_kernel_page_table()
560 static void __init create_fdt_early_page_table(pgd_t *pgdir, uintptr_t dtb_pa) in create_fdt_early_page_table()
563 uintptr_t pa = dtb_pa & ~(PMD_SIZE - 1); in create_fdt_early_page_table()
566 IS_ENABLED(CONFIG_64BIT) ? (uintptr_t)early_dtb_pmd : pa, in create_fdt_early_page_table()
591 asmlinkage void __init setup_vm(uintptr_t dtb_pa) in setup_vm()
598 kernel_map.xiprom = (uintptr_t)CONFIG_XIP_PHYS_ADDR; in setup_vm()
599 kernel_map.xiprom_sz = (uintptr_t)(&_exiprom) - (uintptr_t)(&_xiprom); in setup_vm()
602 kernel_map.phys_addr = (uintptr_t)CONFIG_PHYS_RAM_BASE; in setup_vm()
603 kernel_map.size = (uintptr_t)(&_end) - (uintptr_t)(&_sdata); in setup_vm()
607 kernel_map.phys_addr = (uintptr_t)(&_start); in setup_vm()
608 kernel_map.size = (uintptr_t)(&_end) - kernel_map.phys_addr; in setup_vm()
635 (uintptr_t)fixmap_pgd_next, PGDIR_SIZE, PAGE_TABLE); in setup_vm()
640 (uintptr_t)fixmap_pte, PMD_SIZE, PAGE_TABLE); in setup_vm()
643 (uintptr_t)trampoline_pmd, PGDIR_SIZE, PAGE_TABLE); in setup_vm()
700 uintptr_t va, map_size; in setup_vm_final()
731 va = (uintptr_t)__va(pa); in setup_vm_final()
760 asmlinkage void __init setup_vm(uintptr_t dtb_pa) in setup_vm()