Lines Matching refs:pstate
132 unsigned long pstate; in compat_psr_to_pstate() local
134 pstate = psr & ~COMPAT_PSR_DIT_BIT; in compat_psr_to_pstate()
137 pstate |= PSR_AA32_DIT_BIT; in compat_psr_to_pstate()
139 return pstate; in compat_psr_to_pstate()
142 static inline unsigned long pstate_to_compat_psr(const unsigned long pstate) in pstate_to_compat_psr() argument
146 psr = pstate & ~PSR_AA32_DIT_BIT; in pstate_to_compat_psr()
148 if (pstate & PSR_AA32_DIT_BIT) in pstate_to_compat_psr()
166 u64 pstate; member
194 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate)
200 (((regs)->pstate & PSR_AA32_T_BIT))
206 (((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)
209 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
213 ((regs)->pstate & PSR_MODE_MASK)
221 (!((regs)->pstate & PSR_I_BIT) && irqs_priority_unmasked(regs))
224 (!((regs)->pstate & PSR_F_BIT))
263 case offsetof(struct pt_regs, pstate) >> 3: in regs_get_register()
264 val = regs->pstate; in regs_get_register()