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
216 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate)
222 (((regs)->pstate & PSR_AA32_T_BIT))
228 (((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)
231 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
235 ((regs)->pstate & PSR_MODE_MASK)
243 (!((regs)->pstate & PSR_I_BIT) && irqs_priority_unmasked(regs))
246 (!((regs)->pstate & PSR_F_BIT))
285 case offsetof(struct pt_regs, pstate) >> 3: in regs_get_register()
286 val = regs->pstate; in regs_get_register()