Searched refs:GET_M32 (Results 1 – 7 of 7) sorted by relevance
361 #define IS_IN_HYP() (GET_M32(read_cpsr()) == MODE32_hyp) in DEFINE_SYSREG_RW_FUNCS()362 #define IS_IN_SVC() (GET_M32(read_cpsr()) == MODE32_svc) in DEFINE_SYSREG_RW_FUNCS()363 #define IS_IN_MON() (GET_M32(read_cpsr()) == MODE32_mon) in DEFINE_SYSREG_RW_FUNCS()367 ((GET_M32(read_cpsr()) == MODE32_mon) || \ in DEFINE_SYSREG_RW_FUNCS()368 (IS_IN_SECURE() && (GET_M32(read_cpsr()) != MODE32_usr))) in DEFINE_SYSREG_RW_FUNCS()
399 #define GET_M32(mode) (((mode) >> MODE32_SHIFT) & MODE32_MASK) macro
94 (GET_M32(spsr) == MODE32_hyp); in arm_execution_state_switch()
109 if (GET_M32(ep->spsr) == MODE32_hyp) in cm_setup_context()
196 && (GET_M32(ep->spsr) == MODE32_hyp))) { in cm_setup_context()
505 if (GET_RW(spsr) == MODE_RW_32 && GET_M32(spsr) == MODE32_hyp) { in trusty_setup()
685 #define GET_M32(mode) (((mode) >> MODE32_SHIFT) & MODE32_MASK) macro