Lines Matching full:va
23 * Return PA for this VA if it is in an area mapped with LTLBs or fixmap.
26 phys_addr_t v_block_mapped(unsigned long va) in v_block_mapped() argument
30 if (va >= VIRT_IMMR_BASE && va < VIRT_IMMR_BASE + IMMR_SIZE) in v_block_mapped()
31 return p + va - VIRT_IMMR_BASE; in v_block_mapped()
32 if (va >= PAGE_OFFSET && va < PAGE_OFFSET + block_mapped_ram) in v_block_mapped()
33 return __pa(va); in v_block_mapped()
38 * Return VA for a given PA mapped with LTLBs or fixmap
52 static int __ref __early_map_kernel_hugepage(unsigned long va, phys_addr_t pa, in __early_map_kernel_hugepage() argument
55 pmd_t *pmdp = pmd_off_k(va); in __early_map_kernel_hugepage()
66 ptep = early_pte_alloc_kernel(pmdp, va); in __early_map_kernel_hugepage()
84 ptep = pte_offset_kernel(pmdp, va); in __early_map_kernel_hugepage()
92 set_huge_pte_at(&init_mm, va, ptep, in __early_map_kernel_hugepage()