Home
last modified time | relevance | path

Searched refs:get_gpregs_ctx (Results 1 – 23 of 23) sorted by relevance

/external/arm-trusted-firmware/plat/qti/qtiseclib/src/
Dqtiseclib_cb_interface.c150 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/
Dsmccc_helpers.h23 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/
Dopteed_main.c249 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()
Dopteed_pm.c71 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/
Dplat_sip_calls.c68 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/
Dcontext.h440 #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/
Dplat_sip_calls.c116 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/
Dspm_mm_main.c198 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()
Dspm_mm_setup.c73 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_SP_EL0, in spm_sp_setup()
/external/arm-trusted-firmware/services/spd/tlkd/
Dtlkd_pm.c54 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()
Dtlkd_main.c330 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in tlkd_smc_handler()
/external/arm-trusted-firmware/plat/rockchip/rk3399/
Dplat_sip_calls.c70 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/
Dspmd_pm.c140 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()
Dspmd_main.c184 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/
Dplat_sip_calls.c87 write_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X1, val); in plat_sip_handler()
/external/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_fiq_glue.c130 gp_regs_t *gpregs_ctx = get_gpregs_ctx(ctx); in tegra_fiq_get_intr_context()
/external/arm-trusted-firmware/services/spd/tspd/
Dtspd_pm.c160 write_ctx_reg(get_gpregs_ctx(&tsp_ctx->cpu_ctx), in tspd_cpu_suspend_finish_handler()
/external/arm-trusted-firmware/services/std_svc/sdei/
Dsdei_intr_mgmt.c166 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/
Dtrusty.c160 (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/
Dehf.c352 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/
Dmce.c162 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/
Dqti_syscall.c178 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/
Dcontext_mgmt.c360 gp_regs = get_gpregs_ctx(ctx); in cm_setup_context()