Lines Matching refs:ARM_cpsr
27 (((regs)->ARM_cpsr & 0xf) == 0)
31 (((regs)->ARM_cpsr & PSR_T_BIT))
38 ((((regs)->ARM_cpsr & PSR_J_BIT) >> (__ffs(PSR_J_BIT) - 1)) | \
39 (((regs)->ARM_cpsr & PSR_T_BIT) >> (__ffs(PSR_T_BIT))))
45 ((regs)->ARM_cpsr & MODE_MASK)
48 (!((regs)->ARM_cpsr & PSR_I_BIT))
51 (!((regs)->ARM_cpsr & PSR_F_BIT))
59 unsigned long mode = regs->ARM_cpsr & MODE_MASK; in valid_user_regs()
64 regs->ARM_cpsr &= ~(PSR_F_BIT | PSR_A_BIT); in valid_user_regs()
66 if ((regs->ARM_cpsr & PSR_I_BIT) == 0) { in valid_user_regs()
76 regs->ARM_cpsr &= PSR_f | PSR_s | PSR_x | PSR_T_BIT | MODE32_BIT; in valid_user_regs()
78 regs->ARM_cpsr |= USR_MODE; in valid_user_regs()