Lines Matching refs:psr_mode
12 #define psr_mode(psr,m) (((psr) & PSR_MODE_MASK) == m) macro
16 #define usr_mode(r) psr_mode((r)->cpsr,PSR_MODE_USR)
17 #define fiq_mode(r) psr_mode((r)->cpsr,PSR_MODE_FIQ)
18 #define irq_mode(r) psr_mode((r)->cpsr,PSR_MODE_IRQ)
19 #define svc_mode(r) psr_mode((r)->cpsr,PSR_MODE_SVC)
20 #define mon_mode(r) psr_mode((r)->cpsr,PSR_MODE_MON)
21 #define abt_mode(r) psr_mode((r)->cpsr,PSR_MODE_ABT)
22 #define und_mode(r) psr_mode((r)->cpsr,PSR_MODE_UND)
23 #define sys_mode(r) psr_mode((r)->cpsr,PSR_MODE_SYS)
26 #define hyp_mode(r) psr_mode((r)->cpsr,PSR_MODE_HYP)
29 #define hyp_mode(r) (psr_mode((r)->cpsr,PSR_MODE_EL2h) || \
30 psr_mode((r)->cpsr,PSR_MODE_EL2t))
37 (psr_mode((r)->cpsr,PSR_MODE_EL0t) || usr_mode(r))