Lines Matching refs:pstate
151 unsigned long pstate; in compat_psr_to_pstate() local
153 pstate = psr & ~COMPAT_PSR_DIT_BIT; in compat_psr_to_pstate()
156 pstate |= PSR_AA32_DIT_BIT; in compat_psr_to_pstate()
158 return pstate; in compat_psr_to_pstate()
161 static inline unsigned long pstate_to_compat_psr(const unsigned long pstate) in pstate_to_compat_psr() argument
165 psr = pstate & ~PSR_AA32_DIT_BIT; in pstate_to_compat_psr()
167 if (pstate & PSR_AA32_DIT_BIT) in pstate_to_compat_psr()
185 u64 pstate; member
217 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate)
223 (((regs)->pstate & PSR_AA32_T_BIT))
229 (((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)
232 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
236 ((regs)->pstate & PSR_MODE_MASK)
244 (!((regs)->pstate & PSR_I_BIT) && irqs_priority_unmasked(regs))
247 (!((regs)->pstate & PSR_F_BIT))
286 case offsetof(struct pt_regs, pstate) >> 3: in regs_get_register()
287 val = regs->pstate; in regs_get_register()