Lines Matching refs:it
564 u32 it, pstate = regs->pstate; in compat_get_it_state() local
566 it = (pstate & PSTATE_IT_1_0_MASK) >> PSTATE_IT_1_0_SHIFT; in compat_get_it_state()
567 it |= ((pstate & PSTATE_IT_7_2_MASK) >> PSTATE_IT_7_2_SHIFT) << 2; in compat_get_it_state()
569 return it; in compat_get_it_state()
572 static void compat_set_it_state(struct pt_regs *regs, u32 it) in compat_set_it_state() argument
576 pstate_it = (it << PSTATE_IT_1_0_SHIFT) & PSTATE_IT_1_0_MASK; in compat_set_it_state()
577 pstate_it |= ((it >> 2) << PSTATE_IT_7_2_SHIFT) & PSTATE_IT_7_2_MASK; in compat_set_it_state()
589 u32 it; in cp15_cond_valid() local
591 it = compat_get_it_state(regs); in cp15_cond_valid()
592 if (!it) in cp15_cond_valid()
595 cond = it >> 4; in cp15_cond_valid()
605 u32 it; in advance_itstate() local
612 it = compat_get_it_state(regs); in advance_itstate()
618 if (!(it & 7)) in advance_itstate()
619 it = 0; in advance_itstate()
621 it = (it & 0xe0) | ((it << 1) & 0x1f); in advance_itstate()
623 compat_set_it_state(regs, it); in advance_itstate()