Lines Matching refs:sctlr_elx
76 u_register_t sctlr_elx, actlr_elx; in cm_setup_context() local
283 sctlr_elx = (EP_GET_EE(ep->h.attr) != 0U) ? SCTLR_EE_BIT : 0U; in cm_setup_context()
285 sctlr_elx |= SCTLR_EL1_RES1; in cm_setup_context()
300 sctlr_elx |= SCTLR_AARCH32_EL1_RES1 | SCTLR_CP15BEN_BIT in cm_setup_context()
309 sctlr_elx |= SCTLR_IESB_BIT; in cm_setup_context()
335 write_ctx_reg(get_el1_sysregs_ctx(ctx), CTX_SCTLR_EL1, sctlr_elx); in cm_setup_context()
480 u_register_t sctlr_elx, scr_el3, mdcr_el2; in cm_prepare_el3_exit() local
492 sctlr_elx = read_ctx_reg(get_el1_sysregs_ctx(ctx), in cm_prepare_el3_exit()
494 sctlr_elx &= SCTLR_EE_BIT; in cm_prepare_el3_exit()
495 sctlr_elx |= SCTLR_EL2_RES1; in cm_prepare_el3_exit()
502 sctlr_elx |= SCTLR_IESB_BIT; in cm_prepare_el3_exit()
504 write_sctlr_el2(sctlr_elx); in cm_prepare_el3_exit()