Home
last modified time | relevance | path

Searched refs:epsw (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/arch/mn10300/include/asm/
Dirqflags.h179 mov epsw,reg
182 and ~EPSW_IM,epsw; \
183 or EPSW_IE|MN10300_CLI_LEVEL,epsw; \
189 or EPSW_IE|EPSW_IM_7,epsw
192 mov reg,epsw
195 mov epsw,reg; \
196 and ~EPSW_IE,epsw; \
202 and ~EPSW_IE,epsw; \
208 or EPSW_IE,epsw
211 and ~EPSW_IM,epsw; \
[all …]
Dbitops.h98 unsigned epsw; \
103 : "=m"(*_a), "=d"(epsw) \
107 !(epsw & EPSW_FLAG_Z); \
119 unsigned epsw; \
124 : "=m"(*_a), "=d"(epsw) \
128 !(epsw & EPSW_FLAG_Z); \
Dfpu.h70 tsk->thread.uregs->epsw &= ~EPSW_FE; in unlazy_fpu()
99 tsk->thread.uregs->epsw &= ~EPSW_FE; in flush_fpu()
104 tsk->thread.uregs->epsw &= ~EPSW_FE; in flush_fpu()
Dptrace.h17 #define user_mode(regs) (((regs)->epsw & EPSW_nSL) == EPSW_nSL)
Dframe.inc49 and ~EPSW_FE,epsw
76 or EPSW_NMID,epsw
Dswitch_to.h26 (prev)->thread.uregs->epsw &= ~EPSW_FE; \
Dprocessor.h128 regs->epsw = EPSW_nSL | EPSW_IE | EPSW_IM; in start_thread()
Delf.h128 pr_reg[25] = regs->epsw; \
Dgdb-stub.h81 u32 sp, pc, mdr, epsw, lir, lar, mdrq; member
/linux-4.4.14/arch/mn10300/kernel/
Dfpu-low.S137 mov epsw,d0
138 or EPSW_FE,epsw
151 mov d0,epsw
166 mov epsw,d1
167 or EPSW_FE,epsw /* enable the FPU so we can access it */
180 mov d1,epsw
195 or EPSW_nAR|EPSW_FE,epsw
243 and ~(EPSW_nAR|EPSW_FE),epsw
252 and ~EPSW_NMID,epsw
Dptrace.c130 tmp = regs->epsw; in genregs_set()
135 tmp |= regs->epsw & ~(EPSW_FLAG_V | EPSW_FLAG_C | EPSW_FLAG_N | in genregs_set()
137 regs->epsw = tmp; in genregs_set()
268 tmp = get_stack_long(child, (unsigned long) &dummy->regs.epsw); in user_enable_single_step()
270 put_stack_long(child, (unsigned long) &dummy->regs.epsw, tmp); in user_enable_single_step()
283 tmp = get_stack_long(child, (unsigned long) &dummy->regs.epsw); in user_disable_single_step()
285 put_stack_long(child, (unsigned long) &dummy->regs.epsw, tmp); in user_disable_single_step()
Dfpu.c90 tsk->thread.uregs->epsw &= ~EPSW_FE; in fpu_setup_sigcontext()
96 fpu_state_owner->thread.uregs->epsw &= ~EPSW_FE; in fpu_setup_sigcontext()
126 tsk->thread.uregs->epsw &= ~EPSW_FE; in fpu_kill_state()
131 fpu_state_owner->thread.uregs->epsw &= ~EPSW_FE; in fpu_kill_state()
Dprocess.c170 local_save_flags(c_regs->epsw); in copy_thread()
171 c_regs->epsw |= EPSW_IE | EPSW_IM_7; in copy_thread()
178 c_regs->epsw &= ~EPSW_FE; /* my FPU */ in copy_thread()
Dirq.c249 unsigned long sp, epsw, irq_disabled_epsw, old_irq_enabled_epsw; in do_IRQ() local
259 local_save_flags(epsw); in do_IRQ()
260 __mn10300_irq_enabled_epsw[cpu_id] = EPSW_IE | (EPSW_IM & epsw); in do_IRQ()
282 local_irq_restore(epsw); in do_IRQ()
Dsignal.c68 err |= __get_user(tmpflags, &sc->epsw); in restore_sigcontext()
69 regs->epsw = (regs->epsw & ~USER_EPSW) | in restore_sigcontext()
171 COPY(sp); COPY(epsw); COPY(pc); in setup_sigcontext()
416 regs->epsw |= EPSW_T; in do_notify_resume()
Dgdb-io-ttysm-low.S75 or EPSW_IE|EPSW_IM_1,epsw
86 and ~EPSW_IE,epsw
Dfpu-nofpu-low.S33 and ~EPSW_NMID,epsw
Dentry.S302 and ~EPSW_NMID,epsw # enable NMI
319 and ~EPSW_NMID,epsw # enable NMI
351 and ~EPSW_NMID,epsw # turn NMIs back on if not NMI
352 or EPSW_IE,epsw
380 and ~EPSW_IE,epsw
Dswitch_to.S33 or EPSW_NMID,epsw
75 and ~EPSW_NMID,epsw
Dkgdb.c44 gdb_regs[GDB_FR_SP] = (regs->epsw & EPSW_nSL) ? regs->sp : ssp; in pt_regs_to_gdb_regs()
47 gdb_regs[GDB_FR_EPSW] = regs->epsw; in pt_regs_to_gdb_regs()
99 regs->epsw = gdb_regs[GDB_FR_EPSW]; in gdb_regs_to_pt_regs()
Dgdb-stub.c1180 unsigned long epsw, mdr; in gdbstub() local
1197 local_save_flags(epsw); in gdbstub()
1393 ptr = mem2hex(&regs->epsw, ptr, 4, 0); in gdbstub()
1443 ptr = hex2mem(ptr, &regs->epsw, 4, 0); in gdbstub()
1676 local_irq_restore(epsw); in gdbstub()
1712 regs->pc, regs->epsw, (unsigned long) &ret, in debugger_intercept()
Dasm-offsets.c49 OFFSET(REG_EPSW, pt_regs, epsw); in foo()
Dkprobes.c150 if (cond_table[regs->epsw & 0xf] & (1 << (opc & 0xf))) in find_nextpc()
229 (cond_table[regs->epsw & 0xf] & in find_nextpc()
Dtraps.c306 regs->pc, regs->epsw, ssp, user_mode(regs) ? "User" : "Super"); in show_registers_only()
416 (regs->epsw & (EPSW_IM | EPSW_IE)) != (EPSW_IM | EPSW_IE)) { in die()
Dmn10300-serial.c512 u32 epsw; in mask_test_and_clear() local
515 : "=d"(epsw) : "d"(mask), "a"(ptr) in mask_test_and_clear()
517 return !(epsw & EPSW_FLAG_Z); in mask_test_and_clear()
/linux-4.4.14/arch/mn10300/mm/
Dcache-dbg-flush-by-reg.S41 mov epsw,d1
42 and ~EPSW_IE,epsw
43 or EPSW_NMID,epsw
84 mov d1,epsw
Dcache.inc28 mov epsw,d1
29 and ~EPSW_IE,epsw
30 or EPSW_NMID,epsw
89 mov epsw,d1
90 and ~EPSW_IE,epsw
91 or EPSW_NMID,epsw
Dtlb-mn10300.S33 or EPSW_nAR,epsw # switch D0-D3 & A0-A3 to the alternate
45 and ~EPSW_NMID,epsw
96 or EPSW_nAR,epsw # switch D0-D3 & A0-A3 to the alternate
108 and ~EPSW_NMID,epsw
163 and ~EPSW_NMID,epsw
Dmisalignment.c338 if (regs->epsw & EPSW_IE) in misalignment()
743 unsigned long epsw = regs->epsw; in misalignment_MOV_Lcc() local
746 kdebug("MOV_Lcc %x [flags=%lx]", opcode, epsw & 0xf); in misalignment_MOV_Lcc()
749 NxorV = ((epsw >> 3) ^ epsw >> 1) & 1; in misalignment_MOV_Lcc()
757 if (!((epsw & EPSW_FLAG_Z) | NxorV)) in misalignment_MOV_Lcc()
765 if ((epsw & EPSW_FLAG_Z) | NxorV) in misalignment_MOV_Lcc()
770 if (epsw & EPSW_FLAG_C) in misalignment_MOV_Lcc()
774 if (!(epsw & (EPSW_FLAG_C | EPSW_FLAG_Z))) in misalignment_MOV_Lcc()
778 if (!(epsw & EPSW_FLAG_C)) in misalignment_MOV_Lcc()
782 if (epsw & (EPSW_FLAG_C | EPSW_FLAG_Z)) in misalignment_MOV_Lcc()
[all …]
/linux-4.4.14/arch/mn10300/include/uapi/asm/
Dsigcontext.h45 unsigned long epsw; member
Dptrace.h74 unsigned long epsw; member
/linux-4.4.14/arch/s390/kernel/
Dbase.S96 epsw %r2,%r3
Dreipl.S60 epsw %r2,%r3
Dswsusp.S157 epsw %r2,%r3
/linux-4.4.14/arch/s390/kernel/vdso64/
Dclock_gettime.S114 epsw %r5,0