Lines Matching refs:it
314 u32 it, pstate = regs->pstate; in compat_get_it_state() local
316 it = (pstate & PSTATE_IT_1_0_MASK) >> PSTATE_IT_1_0_SHIFT; in compat_get_it_state()
317 it |= ((pstate & PSTATE_IT_7_2_MASK) >> PSTATE_IT_7_2_SHIFT) << 2; in compat_get_it_state()
319 return it; in compat_get_it_state()
322 static void compat_set_it_state(struct pt_regs *regs, u32 it) in compat_set_it_state() argument
326 pstate_it = (it << PSTATE_IT_1_0_SHIFT) & PSTATE_IT_1_0_MASK; in compat_set_it_state()
327 pstate_it |= ((it >> 2) << PSTATE_IT_7_2_SHIFT) & PSTATE_IT_7_2_MASK; in compat_set_it_state()
335 u32 it; in advance_itstate() local
342 it = compat_get_it_state(regs); in advance_itstate()
348 if (!(it & 7)) in advance_itstate()
349 it = 0; in advance_itstate()
351 it = (it & 0xe0) | ((it << 1) & 0x1f); in advance_itstate()
353 compat_set_it_state(regs, it); in advance_itstate()
671 u32 it; in cp15_cond_valid() local
673 it = compat_get_it_state(regs); in cp15_cond_valid()
674 if (!it) in cp15_cond_valid()
677 cond = it >> 4; in cp15_cond_valid()