Lines Matching full:pstate
146 unsigned long pstate;
148 pstate = psr & ~COMPAT_PSR_DIT_BIT;
151 pstate |= PSR_AA32_DIT_BIT;
153 return pstate;
156 static inline unsigned long pstate_to_compat_psr(const unsigned long pstate)
160 psr = pstate & ~PSR_AA32_DIT_BIT;
162 if (pstate & PSR_AA32_DIT_BIT)
180 u64 pstate;
212 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate)
218 (((regs)->pstate & PSR_AA32_T_BIT))
224 (((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)
227 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
231 ((regs)->pstate & PSR_MODE_MASK)
239 (!((regs)->pstate & PSR_I_BIT) && irqs_priority_unmasked(regs))
242 (!((regs)->pstate & PSR_F_BIT))
281 case offsetof(struct pt_regs, pstate) >> 3:
282 val = regs->pstate;