/external/arm-trusted-firmware/plat/qti/qtiseclib/src/ |
D | qtiseclib_cb_interface.c | 150 qti_ns_ctx->x0 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X0); in qtiseclib_cb_get_ns_ctx() 151 qti_ns_ctx->x1 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X1); in qtiseclib_cb_get_ns_ctx() 152 qti_ns_ctx->x2 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X2); in qtiseclib_cb_get_ns_ctx() 153 qti_ns_ctx->x3 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X3); in qtiseclib_cb_get_ns_ctx() 154 qti_ns_ctx->x4 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X4); in qtiseclib_cb_get_ns_ctx() 155 qti_ns_ctx->x5 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X5); in qtiseclib_cb_get_ns_ctx() 156 qti_ns_ctx->x6 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X6); in qtiseclib_cb_get_ns_ctx() 157 qti_ns_ctx->x7 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X7); in qtiseclib_cb_get_ns_ctx() 158 qti_ns_ctx->x8 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X8); in qtiseclib_cb_get_ns_ctx() 159 qti_ns_ctx->x9 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X9); in qtiseclib_cb_get_ns_ctx() [all …]
|
/external/arm-trusted-firmware/include/arch/aarch64/ |
D | smccc_helpers.h | 23 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X0), (_x0)); \ 27 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X1), (_x1)); \ 31 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X2), (_x2)); \ 35 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X3), (_x3)); \ 39 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X4), (_x4)); \ 43 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X5), (_x5)); \ 47 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X6), (_x6)); \ 51 write_ctx_reg((get_gpregs_ctx(_h)), (CTX_GPREG_X7), (_x7)); \ 60 read_ctx_reg((get_gpregs_ctx(_h)), (_g)) 62 write_ctx_reg((get_gpregs_ctx(_h)), (_g), (_v)) [all …]
|
/external/arm-trusted-firmware/services/spd/opteed/ |
D | opteed_main.c | 249 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 251 read_ctx_reg(get_gpregs_ctx(handle), in opteed_smc_handler() 253 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 255 read_ctx_reg(get_gpregs_ctx(handle), in opteed_smc_handler() 257 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 259 read_ctx_reg(get_gpregs_ctx(handle), in opteed_smc_handler() 262 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 264 read_ctx_reg(get_gpregs_ctx(handle), in opteed_smc_handler()
|
D | opteed_pm.c | 71 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), CTX_GPREG_X0, in opteed_cpu_suspend_handler() 141 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_cpu_suspend_finish_handler()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t194/ |
D | plat_sip_calls.c | 68 write_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X1, per[0]); in plat_sip_handler() 69 write_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X2, per[1]); in plat_sip_handler() 70 write_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X3, per[2]); in plat_sip_handler() 91 write_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X1, local_x1); in plat_sip_handler()
|
/external/arm-trusted-firmware/include/lib/el3_runtime/aarch64/ |
D | context.h | 440 #define get_gpregs_ctx(h) (&((cpu_context_t *) h)->gpregs_ctx) macro 477 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X0, x0); \ 480 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X1, x1); \ 484 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X2, x2); \ 488 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X3, x3); \ 492 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X4, x4); \ 496 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X5, x5); \ 500 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X6, x6); \ 504 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X7, x7); \
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/ |
D | plat_sip_calls.c | 116 write_ctx_reg(get_gpregs_ctx(handle), in plat_sip_handler() 145 write_ctx_reg(get_gpregs_ctx(handle), in plat_sip_handler() 147 write_ctx_reg(get_gpregs_ctx(handle), in plat_sip_handler()
|
/external/arm-trusted-firmware/services/std_svc/spm_mm/ |
D | spm_mm_main.c | 198 write_ctx_reg(get_gpregs_ctx(cpu_ctx), CTX_GPREG_X0, smc_fid); in spm_mm_sp_call() 199 write_ctx_reg(get_gpregs_ctx(cpu_ctx), CTX_GPREG_X1, x1); in spm_mm_sp_call() 200 write_ctx_reg(get_gpregs_ctx(cpu_ctx), CTX_GPREG_X2, x2); in spm_mm_sp_call() 201 write_ctx_reg(get_gpregs_ctx(cpu_ctx), CTX_GPREG_X3, x3); in spm_mm_sp_call()
|
D | spm_mm_setup.c | 73 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_SP_EL0, in spm_sp_setup()
|
/external/arm-trusted-firmware/services/spd/tlkd/ |
D | tlkd_pm.c | 54 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_suspend_handler() 87 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_resume_handler()
|
D | tlkd_main.c | 330 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in tlkd_smc_handler()
|
/external/arm-trusted-firmware/plat/rockchip/rk3399/ |
D | plat_sip_calls.c | 70 x5 = read_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X5); in rockchip_plat_sip_handler() 71 x6 = read_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X6); in rockchip_plat_sip_handler()
|
/external/arm-trusted-firmware/services/std_svc/spmd/ |
D | spmd_pm.c | 140 spmd_build_spmc_message(get_gpregs_ctx(&ctx->cpu_ctx), PSCI_CPU_OFF); in spmd_cpu_off_handler() 148 u_register_t ffa_resp_func = read_ctx_reg(get_gpregs_ctx(&ctx->cpu_ctx), in spmd_cpu_off_handler()
|
D | spmd_main.c | 184 gp_regs_t *gpregs = get_gpregs_ctx(&ctx->cpu_ctx); in spmd_secure_interrupt_handler() 341 write_ctx_reg(get_gpregs_ctx(cpu_ctx), CTX_GPREG_X4, core_id); in spmd_spmc_init()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/ |
D | plat_sip_calls.c | 87 write_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X1, val); in plat_sip_handler()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/common/ |
D | tegra_fiq_glue.c | 130 gp_regs_t *gpregs_ctx = get_gpregs_ctx(ctx); in tegra_fiq_get_intr_context()
|
/external/arm-trusted-firmware/services/spd/tspd/ |
D | tspd_pm.c | 160 write_ctx_reg(get_gpregs_ctx(&tsp_ctx->cpu_ctx), in tspd_cpu_suspend_finish_handler()
|
/external/arm-trusted-firmware/services/std_svc/sdei/ |
D | sdei_intr_mgmt.c | 166 tgt_gpregs = get_gpregs_ctx(tgt_ctx); in save_event_ctx() 187 tgt_gpregs = get_gpregs_ctx(tgt_ctx); in restore_event_ctx()
|
/external/arm-trusted-firmware/services/spd/trusty/ |
D | trusty.c | 160 (void)memcpy(&ctx->fiq_gpregs, get_gpregs_ctx(handle), sizeof(ctx->fiq_gpregs)); in trusty_fiq_handler() 222 (void)memcpy(get_gpregs_ctx(handle), &ctx->fiq_gpregs, sizeof(ctx->fiq_gpregs)); in trusty_fiq_exit()
|
/external/arm-trusted-firmware/bl31/ |
D | ehf.c | 352 write_ctx_reg(get_gpregs_ctx(ns_ctx), CTX_GPREG_X0, preempt_ret_code); in ehf_allow_ns_preemption()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/mce/ |
D | mce.c | 162 gp_regs_t *gp_regs = get_gpregs_ctx(cm_get_context(NON_SECURE)); in mce_command_handler()
|
/external/arm-trusted-firmware/plat/qti/common/src/ |
D | qti_syscall.c | 178 u_register_t x5 = read_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X5); in qti_sip_mem_assign()
|
/external/arm-trusted-firmware/lib/el3_runtime/aarch64/ |
D | context_mgmt.c | 360 gp_regs = get_gpregs_ctx(ctx); in cm_setup_context()
|