/trusted-firmware-a/lib/el3_runtime/aarch64/ |
A D | context_mgmt.c | 452 cpu_context_t *ctx; in cm_init_context_by_index() local 464 cpu_context_t *ctx; in cm_init_my_context() local 708 cpu_context_t *ctx; in cm_el2_sysregs_context_save() local 730 cpu_context_t *ctx; in cm_el2_sysregs_context_restore() local 747 cpu_context_t *ctx; in cm_el1_sysregs_context_save() local 764 cpu_context_t *ctx; in cm_el1_sysregs_context_restore() local 785 cpu_context_t *ctx; in cm_set_elr_el3() local 803 cpu_context_t *ctx; in cm_set_elr_spsr_el3() local 824 cpu_context_t *ctx; in cm_write_scr_el3_bit() local 854 cpu_context_t *ctx; in cm_get_scr_el3() local [all …]
|
/trusted-firmware-a/lib/xlat_mpu/ |
A D | xlat_mpu_utils.c | 32 void xlat_tables_print(__unused xlat_ctx_t *ctx) in xlat_tables_print() 39 static void xlat_tables_print_internal(__unused xlat_ctx_t *ctx) in xlat_tables_print_internal() 78 void xlat_tables_print(__unused xlat_ctx_t *ctx) in xlat_tables_print()
|
A D | xlat_mpu_core.c | 158 static int mmap_add_region_check(const xlat_ctx_t *ctx, const mmap_region_t *mm) in mmap_add_region_check() 247 void mmap_add_region_ctx(xlat_ctx_t *ctx, const mmap_region_t *mm) in mmap_add_region_ctx() 308 void mmap_add_ctx(xlat_ctx_t *ctx, const mmap_region_t *mm) in mmap_add_ctx() 318 void __init init_xlat_tables_ctx(xlat_ctx_t *ctx) in init_xlat_tables_ctx()
|
/trusted-firmware-a/lib/xlat_tables_v2/ |
A D | xlat_tables_core.c | 43 static int xlat_table_get_index(const xlat_ctx_t *ctx, const uint64_t *table) in xlat_table_get_index() 59 static uint64_t *xlat_table_get_empty(const xlat_ctx_t *ctx) in xlat_table_get_empty() 69 static void xlat_table_inc_regions_count(const xlat_ctx_t *ctx, in xlat_table_inc_regions_count() 78 static void xlat_table_dec_regions_count(const xlat_ctx_t *ctx, in xlat_table_dec_regions_count() 95 static uint64_t *xlat_table_get_empty(xlat_ctx_t *ctx) in xlat_table_get_empty() 107 uint64_t xlat_desc(const xlat_ctx_t *ctx, uint32_t attr, in xlat_desc() 774 void mmap_add_region_ctx(xlat_ctx_t *ctx, const mmap_region_t *mm) in mmap_add_region_ctx() 926 void mmap_add_region_alloc_va_ctx(xlat_ctx_t *ctx, mmap_region_t *mm) in mmap_add_region_alloc_va_ctx() 940 void mmap_add_ctx(xlat_ctx_t *ctx, const mmap_region_t *mm) in mmap_add_ctx() 952 int mmap_add_dynamic_region_ctx(xlat_ctx_t *ctx, mmap_region_t *mm) in mmap_add_dynamic_region_ctx() [all …]
|
A D | xlat_tables_utils.c | 30 void xlat_tables_print(__unused xlat_ctx_t *ctx) in xlat_tables_print() 52 static void xlat_desc_print(const xlat_ctx_t *ctx, uint64_t desc) in xlat_desc_print() 138 static void xlat_tables_print_internal(xlat_ctx_t *ctx, uintptr_t table_base_va, in xlat_tables_print_internal() 221 void xlat_tables_print(xlat_ctx_t *ctx) in xlat_tables_print() 344 static int xlat_get_mem_attributes_internal(const xlat_ctx_t *ctx, in xlat_get_mem_attributes_internal() 438 int xlat_get_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va, in xlat_get_mem_attributes_ctx() 446 int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va, in xlat_change_mem_attributes_ctx()
|
/trusted-firmware-a/lib/el3_runtime/aarch32/ |
A D | context_mgmt.c | 56 void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep) in cm_setup_context() 160 cpu_context_t *ctx; in cm_init_context_by_index() local 172 cpu_context_t *ctx; in cm_init_my_context() local 188 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit() local
|
/trusted-firmware-a/drivers/nxp/crypto/caam/src/auth/ |
A D | hash.c | 42 int hash_init(enum hash_algo algo, void **ctx) in hash_init() 67 struct hash_ctx *ctx = context; in hash_update() local 115 struct hash_ctx *ctx = context; in hash_final() local
|
/trusted-firmware-a/services/std_svc/spm_mm/ |
A D | spm_mm_main.c | 88 static uint64_t spm_sp_synchronous_entry(sp_context_t *ctx) in spm_sp_synchronous_entry() 120 sp_context_t *ctx = &sp_ctx; in spm_sp_synchronous_exit() local 138 sp_context_t *ctx; in spm_init() local 161 sp_context_t *ctx; in spm_mm_setup() local
|
A D | spm_mm_setup.c | 28 cpu_context_t *ctx = &(sp_ctx->cpu_ctx); in spm_sp_setup() local
|
/trusted-firmware-a/lib/cpus/aarch64/ |
A D | cpuamu.c | 32 struct cpuamu_ctx *ctx = &cpuamu_ctxs[plat_my_core_pos()]; in cpuamu_context_save() local 51 struct cpuamu_ctx *ctx = &cpuamu_ctxs[plat_my_core_pos()]; in cpuamu_context_restore() local
|
/trusted-firmware-a/services/std_svc/rmmd/ |
A D | rmmd_main.c | 97 rmmd_rmm_context_t *ctx = &rmm_context[plat_my_core_pos()]; in rmmd_rmm_sync_exit() local 126 rmmd_rmm_context_t *ctx = &rmm_context[plat_my_core_pos()]; in rmm_init() local 222 rmmd_rmm_context_t *ctx = &rmm_context[plat_my_core_pos()]; in rmmd_rmi_handler() local 271 rmmd_rmm_context_t *ctx = &rmm_context[linear_id]; in rmmd_cpu_on_finish_handler() local
|
/trusted-firmware-a/plat/nvidia/tegra/common/ |
A D | tegra_fiq_glue.c | 42 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_interrupt_handler() local 129 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_get_intr_context() local
|
/trusted-firmware-a/plat/imx/common/ |
A D | plat_imx8_gic.c | 100 void plat_gic_save(unsigned int proc_num, struct plat_gic_ctx *ctx) in plat_gic_save() 108 void plat_gic_restore(unsigned int proc_num, struct plat_gic_ctx *ctx) in plat_gic_restore()
|
/trusted-firmware-a/services/spd/trusty/ |
A D | trusty.c | 94 struct trusty_cpu_ctx *ctx = get_trusty_ctx(); in trusty_context_switch() local 145 struct trusty_cpu_ctx *ctx = get_trusty_ctx(); in trusty_fiq_handler() local 174 struct trusty_cpu_ctx *ctx; in trusty_set_fiq_handler() local 191 struct trusty_cpu_ctx *ctx = get_trusty_ctx(); in trusty_get_fiq_regs() local 200 struct trusty_cpu_ctx *ctx = get_trusty_ctx(); in trusty_fiq_exit() local 311 struct trusty_cpu_ctx *ctx = get_trusty_ctx(); in trusty_init() local 386 struct trusty_cpu_ctx *ctx = get_trusty_ctx(); in trusty_cpu_on_finish_handler() local
|
/trusted-firmware-a/services/std_svc/spmd/ |
A D | spmd_pm.c | 81 spmd_spm_core_context_t *ctx = spmd_get_context(); in spmd_cpu_on_finish_handler() local 132 spmd_spm_core_context_t *ctx = spmd_get_context(); in spmd_cpu_off_handler() local
|
A D | spmd_main.c | 132 spmd_spm_core_context_t *ctx = spmd_get_context(); in spmd_spm_core_sync_exit() local 152 spmd_spm_core_context_t *ctx = spmd_get_context(); in spmd_init() local 183 spmd_spm_core_context_t *ctx = spmd_get_context(); in spmd_secure_interrupt_handler() local 503 spmd_spm_core_context_t *ctx = spmd_get_context(); in spmd_smc_handler() local
|
/trusted-firmware-a/include/lib/el3_runtime/aarch32/ |
A D | context.h | 50 #define read_ctx_reg(ctx, offset) ((ctx)->ctx_regs[offset >> WORD_SHIFT]) argument 51 #define write_ctx_reg(ctx, offset, val) (((ctx)->ctx_regs[offset >> WORD_SHIFT]) \ argument
|
/trusted-firmware-a/lib/extensions/sys_reg_trace/aarch64/ |
A D | sys_reg_trace.c | 22 void sys_reg_trace_enable(cpu_context_t *ctx) in sys_reg_trace_enable()
|
/trusted-firmware-a/drivers/arm/gic/v3/ |
A D | gicv3_main.c | 41 #define RESTORE_GICR_REG(base, ctx, name, i) \ argument 44 #define SAVE_GICR_REG(base, ctx, name, i) \ argument 48 #define RESTORE_GICD_REGS(base, ctx, intr_num, reg, REG) \ argument 58 #define SAVE_GICD_REGS(base, ctx, intr_num, reg, REG) \ argument 68 #define RESTORE_GICD_EREGS(base, ctx, intr_num, reg, REG) \ argument 79 #define SAVE_GICD_EREGS(base, ctx, intr_num, reg, REG) \ argument 89 #define SAVE_GICD_EREGS(base, ctx, intr_num, reg, REG) argument 90 #define RESTORE_GICD_EREGS(base, ctx, intr_num, reg, REG) argument
|
/trusted-firmware-a/lib/xlat_mpu/aarch64/ |
A D | xlat_mpu_arch.c | 39 bool is_mpu_enabled_ctx(const xlat_ctx_t *ctx) in is_mpu_enabled_ctx()
|
/trusted-firmware-a/bl32/sp_min/ |
A D | sp_min_main.c | 128 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_prepare_next_image_entry() local 211 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_warm_boot() local
|
/trusted-firmware-a/include/lib/el3_runtime/aarch64/ |
A D | context.h | 403 #define read_ctx_reg(ctx, offset) ((ctx)->ctx_regs[(offset) >> DWORD_SHIFT]) argument 404 #define write_ctx_reg(ctx, offset, val) (((ctx)->ctx_regs[(offset) >> DWORD_SHIFT]) \ argument 476 #define set_aapcs_args0(ctx, x0) do { \ argument 479 #define set_aapcs_args1(ctx, x0, x1) do { \ argument 483 #define set_aapcs_args2(ctx, x0, x1, x2) do { \ argument 487 #define set_aapcs_args3(ctx, x0, x1, x2, x3) do { \ argument 491 #define set_aapcs_args4(ctx, x0, x1, x2, x3, x4) do { \ argument 495 #define set_aapcs_args5(ctx, x0, x1, x2, x3, x4, x5) do { \ argument 499 #define set_aapcs_args6(ctx, x0, x1, x2, x3, x4, x5, x6) do { \ argument 503 #define set_aapcs_args7(ctx, x0, x1, x2, x3, x4, x5, x6, x7) do { \ argument
|
/trusted-firmware-a/lib/extensions/amu/aarch64/ |
A D | amu.c | 78 static inline __unused void write_cptr_el3_tam(cpu_context_t *ctx, uint64_t tam) in write_cptr_el3_tam() 197 void amu_enable(bool el2_unused, cpu_context_t *ctx) in amu_enable() 444 struct amu_ctx *ctx; in amu_context_save() local 536 struct amu_ctx *ctx; in amu_context_restore() local
|
/trusted-firmware-a/plat/qti/qtiseclib/inc/ |
A D | qtiseclib_interface.h | 23 uint64_t ctx; member
|
/trusted-firmware-a/plat/arm/common/aarch64/ |
A D | execution_state_switch.c | 45 cpu_context_t *ctx = (cpu_context_t *) handle; in arm_execution_state_switch() local
|