Home
last modified time | relevance | path

Searched refs:get_el2_sysregs_ctx (Results 1 – 4 of 4) sorted by relevance

/rk3399_ARM-atf/plat/arm/board/neoverse_rd/common/ras/
H A Dnrd_ras_cpu.c96 cpu_info->ErrCtxEl2Reg[0] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
98 cpu_info->ErrCtxEl2Reg[1] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
100 cpu_info->ErrCtxEl2Reg[2] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
102 cpu_info->ErrCtxEl2Reg[3] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
104 cpu_info->ErrCtxEl2Reg[4] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
106 cpu_info->ErrCtxEl2Reg[5] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
108 cpu_info->ErrCtxEl2Reg[6] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
110 cpu_info->ErrCtxEl2Reg[7] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
112 cpu_info->ErrCtxEl2Reg[8] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
114 cpu_info->ErrCtxEl2Reg[9] = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), in populate_cpu_err_data()
[all …]
/rk3399_ARM-atf/lib/extensions/pmuv3/aarch64/
H A Dpmuv3.c43 mdcr_el2_val = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), mdcr_el2); in pmuv3_enable()
45 write_el2_ctx_common(get_el2_sysregs_ctx(ctx), mdcr_el2, mdcr_el2_val); in pmuv3_enable()
/rk3399_ARM-atf/lib/el3_runtime/aarch64/
H A Dcontext_mgmt.c169 el2_ctx = get_el2_sysregs_ctx(ctx); in setup_realm_context()
356 write_el2_ctx_hcx(get_el2_sysregs_ctx(ctx), hcrx_el2, in setup_ns_context()
366 write_el2_ctx_fgt(get_el2_sysregs_ctx(ctx), hfgitr_el2, in setup_ns_context()
368 write_el2_ctx_fgt(get_el2_sysregs_ctx(ctx), hfgrtr_el2, in setup_ns_context()
370 write_el2_ctx_fgt(get_el2_sysregs_ctx(ctx), hfgwtr_el2, in setup_ns_context()
408 el2_sysregs_t *el2_ctx = get_el2_sysregs_ctx(ctx); in setup_context_common()
616 write_el2_ctx_common(get_el2_sysregs_ctx(ctx), sctlr_el2, SCTLR_EL2_RES1); in setup_context_common()
1524 el2_sysregs_ctx = get_el2_sysregs_ctx(ctx); in cm_el2_sysregs_context_save()
1619 el2_sysregs_ctx = get_el2_sysregs_ctx(ctx); in cm_el2_sysregs_context_restore()
/rk3399_ARM-atf/include/lib/el3_runtime/aarch64/
H A Dcontext.h343 #define get_el2_sysregs_ctx(h) (&((cpu_context_t *) h)->el2_sysregs_ctx) macro