Home
last modified time | relevance | path

Searched refs:base_pa (Results 1 – 15 of 15) sorted by relevance

/external/arm-trusted-firmware/lib/xlat_tables/
Dxlat_tables_common.c65 (void *)mm->base_va, mm->base_pa, in print_mmap()
73 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, in mmap_add_region() argument
78 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region()
81 assert(IS_PAGE_ALIGNED(base_pa)); in mmap_add_region()
88 assert(base_pa < end_pa); /* Check for overflows */ in mmap_add_region()
93 assert((base_pa + (unsigned long long)size - 1ULL) <= in mmap_add_region()
117 assert((mm->base_va - mm->base_pa) == in mmap_add_region()
118 (base_va - base_pa)); in mmap_add_region()
128 mm->base_pa + mm->size - 1; in mmap_add_region()
130 bool separated_pa = (end_pa < mm->base_pa) || in mmap_add_region()
[all …]
/external/arm-trusted-firmware/lib/xlat_tables/aarch32/
Dnonlpae_tables.c162 (void *)mm->base_va, mm->base_pa, in print_mmap()
175 mmap_add_region(mm_cursor->base_pa, mm_cursor->base_va, in mmap_add()
181 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, in mmap_add_region() argument
186 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region()
189 assert(IS_PAGE_ALIGNED(base_pa)); in mmap_add_region()
197 assert(base_pa < end_pa); /* Check for overflows */ in mmap_add_region()
202 assert((base_pa + (unsigned long long)size - 1ULL) <= in mmap_add_region()
226 assert((mm->base_va - mm->base_pa) == in mmap_add_region()
227 (base_va - base_pa)); in mmap_add_region()
237 mm->base_pa + mm->size - 1; in mmap_add_region()
[all …]
/external/arm-trusted-firmware/lib/xlat_tables_v2/
Dxlat_tables_context.c31 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, size_t size, in mmap_add_region() argument
34 mmap_region_t mm = MAP_REGION(base_pa, base_va, size, attr); in mmap_add_region()
44 void mmap_add_region_alloc_va(unsigned long long base_pa, uintptr_t *base_va, in mmap_add_region_alloc_va() argument
47 mmap_region_t mm = MAP_REGION_ALLOC_VA(base_pa, size, attr); in mmap_add_region_alloc_va()
65 int mmap_add_dynamic_region(unsigned long long base_pa, uintptr_t base_va, in mmap_add_dynamic_region() argument
68 mmap_region_t mm = MAP_REGION(base_pa, base_va, size, attr); in mmap_add_dynamic_region()
73 int mmap_add_dynamic_region_alloc_va(unsigned long long base_pa, in mmap_add_dynamic_region_alloc_va() argument
77 mmap_region_t mm = MAP_REGION_ALLOC_VA(base_pa, size, attr); in mmap_add_dynamic_region_alloc_va()
Dxlat_tables_core.c597 table_idx_pa = mm->base_pa + table_idx_va - mm->base_va; in xlat_tables_map_region()
678 unsigned long long base_pa = mm->base_pa; in mmap_add_region_check() local
683 unsigned long long end_pa = base_pa + size - 1U; in mmap_add_region_check()
686 if (!IS_PAGE_ALIGNED(base_pa) || !IS_PAGE_ALIGNED(base_va) || in mmap_add_region_check()
697 if ((base_pa > end_pa) || (base_va > end_va)) in mmap_add_region_check()
740 if ((mm_cursor->base_va - mm_cursor->base_pa) != in mmap_add_region_check()
741 (base_va - base_pa)) in mmap_add_region_check()
756 mm_cursor->base_pa + mm_cursor->size - 1U; in mmap_add_region_check()
758 bool separated_pa = (end_pa < mm_cursor->base_pa) || in mmap_add_region_check()
759 (base_pa > mm_cursor_end_pa); in mmap_add_region_check()
[all …]
Dxlat_tables_utils.c44 mm->base_va, mm->base_pa, mm->size, mm->attr, in xlat_mmap_print()
/external/arm-trusted-firmware/include/lib/xlat_tables/
Dxlat_tables_v2.h135 unsigned long long base_pa; member
252 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va,
269 void mmap_add_region_alloc_va(unsigned long long base_pa, uintptr_t *base_va,
292 int mmap_add_dynamic_region(unsigned long long base_pa, uintptr_t base_va,
306 int mmap_add_dynamic_region_alloc_va(unsigned long long base_pa,
Dxlat_tables.h79 unsigned long long base_pa; member
87 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va,
Dxlat_tables_v2_helpers.h41 .base_pa = (_pa), \
/external/arm-trusted-firmware/plat/qti/common/src/
Dqti_common.c130 int qti_mmap_add_dynamic_region(uintptr_t base_pa, size_t size, in qti_mmap_add_dynamic_region() argument
136 qti_align_mem_region(base_pa, size, &aligned_pa, &aligned_size); in qti_mmap_add_dynamic_region()
138 if (qti_is_overlap_atf_rg(base_pa, size)) { in qti_mmap_add_dynamic_region()
/external/arm-trusted-firmware/plat/qti/common/inc/
Dqti_plat.h21 int qti_mmap_add_dynamic_region(uintptr_t base_pa, size_t size,
/external/arm-trusted-firmware/plat/qti/qtiseclib/src/
Dqtiseclib_cb_interface.c186 int qtiseclib_cb_mmap_add_dynamic_region(unsigned long long base_pa, in qtiseclib_cb_mmap_add_dynamic_region() argument
199 return qti_mmap_add_dynamic_region(base_pa, size, l_attr); in qtiseclib_cb_mmap_add_dynamic_region()
/external/arm-trusted-firmware/plat/arm/board/rdn1edge/
Drdn1edge_plat.c80 rdn1edge_dynamic_mmap[i].base_pa, in bl31_platform_setup()
/external/arm-trusted-firmware/plat/qti/qtiseclib/inc/
Dqtiseclib_cb_interface.h51 int qtiseclib_cb_mmap_add_dynamic_region(unsigned long long base_pa,
/external/arm-trusted-firmware/plat/arm/board/rdv1mc/
Drdv1mc_plat.c113 rdv1mc_dynamic_mmap[i].base_pa, in bl31_platform_setup()
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_spm.c127 plat_qemu_secure_partition_mmap[0].base_pa = ns_buf_base; in plat_get_secure_partition_mmap()