Lines Matching refs:tstate
264 membuf_write(&to, ®s->tstate, 3 * sizeof(u64)); in genregs64_get()
299 unsigned long tstate; in genregs64_set() local
303 &tstate, in genregs64_set()
310 tstate &= (TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL); in genregs64_set()
311 regs->tstate &= ~(TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL); in genregs64_set()
312 regs->tstate |= tstate; in genregs64_set()
454 membuf_write(&to, ®s->tstate, 3 * sizeof(u64)); in getregs64_get()
465 unsigned long tstate; in setregs64_set() local
483 &tstate, in setregs64_set()
491 tstate &= (TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL); in setregs64_set()
492 regs->tstate &= ~(TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL); in setregs64_set()
493 regs->tstate |= tstate; in setregs64_set()
554 membuf_store(&to, (u32)tstate_to_psr(regs->tstate)); in genregs32_get()
635 unsigned long tstate; in genregs32_set() local
644 tstate = regs->tstate; in genregs32_set()
645 tstate &= ~(TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL); in genregs32_set()
646 tstate |= psr_to_tstate_icc(reg); in genregs32_set()
648 tstate |= TSTATE_SYSCALL; in genregs32_set()
649 regs->tstate = tstate; in genregs32_set()
788 membuf_store(&to, (u32)tstate_to_psr(regs->tstate)); in getregs_get()
803 unsigned long tstate; in setregs_set() local
816 tstate = regs->tstate; in setregs_set()
817 tstate &= ~(TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL); in setregs_set()
818 tstate |= psr_to_tstate_icc(uregs[0]); in setregs_set()
820 tstate |= TSTATE_SYSCALL; in setregs_set()
821 regs->tstate = tstate; in setregs_set()