Home
last modified time | relevance | path

Searched refs:base_va (Results 1 – 21 of 21) 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
79 uintptr_t end_va = base_va + size - 1U; in mmap_add_region()
82 assert(IS_PAGE_ALIGNED(base_va)); in mmap_add_region()
89 assert(base_va < end_va); in mmap_add_region()
91 assert((base_va + (uintptr_t)size - (uintptr_t)1) <= in mmap_add_region()
101 uintptr_t mm_end_va = mm->base_va + mm->size - 1U; in mmap_add_region()
108 ((base_va >= mm->base_va) && (end_va <= mm_end_va)) || in mmap_add_region()
109 ((mm->base_va >= base_va) && (mm_end_va <= end_va)); in mmap_add_region()
117 assert((mm->base_va - mm->base_pa) == in mmap_add_region()
[all …]
Dxlat_tables_private.h37 void init_xlation_table(uintptr_t base_va, uint64_t *table,
/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
187 uintptr_t end_va = base_va + size - 1U; in mmap_add_region()
190 assert(IS_PAGE_ALIGNED(base_va)); in mmap_add_region()
198 assert(base_va < end_va); in mmap_add_region()
200 assert((base_va + (uintptr_t)size - (uintptr_t)1) <= in mmap_add_region()
210 uintptr_t mm_end_va = mm->base_va + mm->size - 1U; in mmap_add_region()
217 ((base_va >= mm->base_va) && (end_va <= mm_end_va)) || in mmap_add_region()
218 ((mm->base_va >= base_va) && (mm_end_va <= end_va)); 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
51 *base_va = mm.base_va; in mmap_add_region_alloc_va()
57 assert(mm->base_va == 0U); in mmap_add_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()
74 uintptr_t *base_va, size_t size, in mmap_add_dynamic_region_alloc_va() argument
81 *base_va = mm.base_va; in mmap_add_dynamic_region_alloc_va()
87 int mmap_remove_dynamic_region(uintptr_t base_va, size_t size) in mmap_remove_dynamic_region() argument
[all …]
Dxlat_tables_core.c266 if (mm->base_va > table_base_va) { in xlat_tables_find_start_va()
268 table_idx_va = mm->base_va & ~XLAT_BLOCK_MASK(level); in xlat_tables_find_start_va()
298 uintptr_t region_end_va = mm->base_va + mm->size - 1U; in xlat_tables_unmap_region_action()
300 if ((mm->base_va <= table_idx_va) && in xlat_tables_unmap_region_action()
329 } else if ((mm->base_va <= table_idx_end_va) || in xlat_tables_unmap_region_action()
368 uintptr_t region_end_va = mm->base_va + mm->size - 1U; in xlat_tables_unmap_region()
438 uintptr_t mm_end_va = mm->base_va + mm->size - 1U; in xlat_tables_map_region_action()
446 if ((mm->base_va <= table_entry_base_va) && in xlat_tables_map_region_action()
513 } else if ((mm->base_va <= table_entry_end_va) || in xlat_tables_map_region_action()
575 uintptr_t mm_end_va = mm->base_va + mm->size - 1U; in xlat_tables_map_region()
[all …]
Dxlat_tables_utils.c44 mm->base_va, mm->base_pa, mm->size, mm->attr, in xlat_mmap_print()
329 uintptr_t base_va, uint32_t *attributes, uint64_t **table_entry, in xlat_get_mem_attributes_internal() argument
349 entry = find_xlat_table_entry(base_va, in xlat_get_mem_attributes_internal()
355 WARN("Address 0x%lx is not mapped.\n", base_va); in xlat_get_mem_attributes_internal()
422 int xlat_get_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va, in xlat_get_mem_attributes_ctx() argument
425 return xlat_get_mem_attributes_internal(ctx, base_va, attr, in xlat_get_mem_attributes_ctx()
430 int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va, in xlat_change_mem_attributes_ctx() argument
442 if (!IS_PAGE_ALIGNED(base_va)) { in xlat_change_mem_attributes_ctx()
444 __func__, base_va); in xlat_change_mem_attributes_ctx()
468 pages_count, base_va); in xlat_change_mem_attributes_ctx()
[all …]
/external/arm-trusted-firmware/include/lib/xlat_tables/
Dxlat_tables_v2.h136 uintptr_t base_va; 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,
307 uintptr_t *base_va,
321 int mmap_remove_dynamic_region(uintptr_t base_va, size_t size);
323 uintptr_t base_va,
368 int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
370 int xlat_change_mem_attributes(uintptr_t base_va, size_t size, uint32_t attr);
397 int xlat_get_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
[all …]
Dxlat_tables.h80 uintptr_t base_va; member
87 void mmap_add_region(unsigned long long base_pa, uintptr_t base_va,
Dxlat_tables_v2_helpers.h42 .base_va = (_va), \
/external/arm-trusted-firmware/services/std_svc/spm_mm/
Dspm_mm_xlat.c113 uintptr_t base_va) in spm_memory_attributes_get_smc_handler() argument
120 base_va, &attributes); in spm_memory_attributes_get_smc_handler()
139 uintptr_t base_va = (uintptr_t) page_address; in spm_memory_attributes_set_smc_handler() local
143 INFO(" Start address : 0x%lx\n", base_va); in spm_memory_attributes_set_smc_handler()
150 base_va, size, in spm_memory_attributes_set_smc_handler()
Dspm_mm_private.h63 uintptr_t base_va);
/external/arm-trusted-firmware/plat/qti/common/src/
Dqti_common.c147 int qti_mmap_remove_dynamic_region(uintptr_t base_va, size_t size) in qti_mmap_remove_dynamic_region() argument
149 qti_align_mem_region(base_va, size, &base_va, &size); in qti_mmap_remove_dynamic_region()
150 return mmap_remove_dynamic_region(base_va, size); in qti_mmap_remove_dynamic_region()
/external/arm-trusted-firmware/plat/common/
Dplat_bl_common.c120 regions->base_va, in setup_page_tables()
121 regions->base_va + regions->size, in setup_page_tables()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_texture.c102 uint32_t base_va = lima_res->bo->va; in lima_texture_desc_set_res() local
105 …uint32_t first_va = base_va + lima_res->levels[first_level].offset + first_layer * lima_res->level… in lima_texture_desc_set_res()
113 uint32_t address = base_va + lima_res->levels[first_level + i].offset; in lima_texture_desc_set_res()
/external/arm-trusted-firmware/plat/qti/common/inc/
Dqti_plat.h23 int qti_mmap_remove_dynamic_region(uintptr_t base_va, size_t size);
/external/arm-trusted-firmware/plat/qti/qtiseclib/src/
Dqtiseclib_cb_interface.c202 int qtiseclib_cb_mmap_remove_dynamic_region(uintptr_t base_va, size_t size) in qtiseclib_cb_mmap_remove_dynamic_region() argument
204 return qti_mmap_remove_dynamic_region(base_va, size); in qtiseclib_cb_mmap_remove_dynamic_region()
/external/arm-trusted-firmware/plat/arm/board/rdn1edge/
Drdn1edge_plat.c81 rdn1edge_dynamic_mmap[i].base_va, in bl31_platform_setup()
/external/arm-trusted-firmware/plat/qti/qtiseclib/inc/
Dqtiseclib_cb_interface.h50 int qtiseclib_cb_mmap_remove_dynamic_region(uintptr_t base_va, size_t size);
/external/arm-trusted-firmware/plat/arm/board/rdv1mc/
Drdv1mc_plat.c114 rdv1mc_dynamic_mmap[i].base_va, in bl31_platform_setup()
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_spm.c128 plat_qemu_secure_partition_mmap[0].base_va = ns_buf_base; in plat_get_secure_partition_mmap()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c776 uint64_t base_va = si_resource(info->indirect)->gpu_address; in si_emit_dispatch_packets() local
783 radeon_emit(cs, base_va); in si_emit_dispatch_packets()
784 radeon_emit(cs, base_va >> 32); in si_emit_dispatch_packets()