Lines Matching refs:psw
169 regs->psw.mask = PSW_USER_BITS | PSW_MASK_EA | PSW_MASK_BA; \
170 regs->psw.addr = new_psw; \
176 regs->psw.mask = PSW_USER_BITS | PSW_MASK_BA; \
177 regs->psw.addr = new_psw; \
200 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->psw.addr)
244 static inline void __load_psw(psw_t psw) in __load_psw() argument
246 asm volatile("lpswe %0" : : "Q" (psw) : "cc"); in __load_psw()
256 psw_t psw; in __load_psw_mask() local
258 psw.mask = mask; in __load_psw_mask()
265 : "=&d" (addr), "=Q" (psw.addr) : "Q" (psw) : "memory", "cc"); in __load_psw_mask()
292 static inline unsigned long __rewind_psw(psw_t psw, unsigned long ilc) in __rewind_psw() argument
296 mask = (psw.mask & PSW_MASK_EA) ? -1UL : in __rewind_psw()
297 (psw.mask & PSW_MASK_BA) ? (1UL << 31) - 1 : in __rewind_psw()
299 return (psw.addr - ilc) & mask; in __rewind_psw()
312 psw_t psw; in disabled_wait() local
314 psw.mask = PSW_MASK_BASE | PSW_MASK_WAIT | PSW_MASK_BA | PSW_MASK_EA; in disabled_wait()
315 psw.addr = _THIS_IP_; in disabled_wait()
316 __load_psw(psw); in disabled_wait()