Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/lib/el3_runtime/aarch64/
Dcontext_mgmt.c101 if (GET_RW(ep->spsr) == MODE_RW_64) in cm_setup_context()
194 if (((GET_RW(ep->spsr) == MODE_RW_64) && (GET_EL(ep->spsr) == MODE_EL2)) in cm_setup_context()
195 || ((GET_RW(ep->spsr) != MODE_RW_64) in cm_setup_context()
211 if (GET_RW(ep->spsr) != MODE_RW_64) { in cm_setup_context()
231 if (GET_RW(ep->spsr) == MODE_RW_64) in cm_setup_context()
/external/arm-trusted-firmware/services/spd/trusty/
Dtrusty.c311 uint64_t reg_width = GET_RW(read_ctx_reg(get_el3state_ctx(&ctx->cpu_ctx), in trusty_init()
501 if (GET_RW(spsr) == MODE_RW_64 && GET_EL(spsr) == MODE_EL2) { in trusty_setup()
505 if (GET_RW(spsr) == MODE_RW_32 && GET_M32(spsr) == MODE32_hyp) { in trusty_setup()
/external/arm-trusted-firmware/plat/arm/common/aarch64/
Dexecution_state_switch.c62 caller_64 = (GET_RW(spsr) == MODE_RW_64); in arm_execution_state_switch()
/external/arm-trusted-firmware/include/arch/aarch64/
Darch.h682 #define GET_RW(mode) (((mode) >> MODE_RW_SHIFT) & MODE_RW_MASK) macro