Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/qti/qtiseclib/src/
Dqtiseclib_cb_interface.c146 qti_ns_ctx->x0 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X0); in qtiseclib_cb_get_ns_ctx()
147 qti_ns_ctx->x1 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X1); in qtiseclib_cb_get_ns_ctx()
148 qti_ns_ctx->x2 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X2); in qtiseclib_cb_get_ns_ctx()
149 qti_ns_ctx->x3 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X3); in qtiseclib_cb_get_ns_ctx()
150 qti_ns_ctx->x4 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X4); in qtiseclib_cb_get_ns_ctx()
151 qti_ns_ctx->x5 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X5); in qtiseclib_cb_get_ns_ctx()
152 qti_ns_ctx->x6 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X6); in qtiseclib_cb_get_ns_ctx()
153 qti_ns_ctx->x7 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X7); in qtiseclib_cb_get_ns_ctx()
154 qti_ns_ctx->x8 = read_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X8); in qtiseclib_cb_get_ns_ctx()
155 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.h447 #define get_gpregs_ctx(h) (&((cpu_context_t *) h)->gpregs_ctx) macro
484 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X0, x0); \
487 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X1, x1); \
491 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X2, x2); \
495 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X3, x3); \
499 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X4, x4); \
503 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X5, x5); \
507 write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X6, x6); \
511 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.c68 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.c95 write_ctx_reg(get_gpregs_ctx(&ctx->cpu_ctx), CTX_GPREG_X0, in spmd_cpu_on_finish_handler()
132 spmd_build_spmc_message(get_gpregs_ctx(&ctx->cpu_ctx), PSCI_CPU_OFF); in spmd_cpu_off_handler()
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/
Dplat_sip_calls.c84 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.c163 tgt_gpregs = get_gpregs_ctx(tgt_ctx); in save_event_ctx()
184 tgt_gpregs = get_gpregs_ctx(tgt_ctx); in restore_event_ctx()
/external/arm-trusted-firmware/services/spd/trusty/
Dtrusty.c158 (void)memcpy(&ctx->fiq_gpregs, get_gpregs_ctx(handle), sizeof(ctx->fiq_gpregs)); in trusty_fiq_handler()
220 (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/qti/common/src/
Dqti_syscall.c161 u_register_t x5 = read_ctx_reg(get_gpregs_ctx(handle), CTX_GPREG_X5); in qti_sip_mem_assign()
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/mce/
Dmce.c160 gp_regs_t *gp_regs = get_gpregs_ctx(cm_get_context(NON_SECURE)); in mce_command_handler()
/external/arm-trusted-firmware/lib/el3_runtime/aarch64/
Dcontext_mgmt.c307 gp_regs = get_gpregs_ctx(ctx); in cm_setup_context()