Home
last modified time | relevance | path

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

12

/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()
97 tsk->thread.uregs->epsw &= ~EPSW_FE; in flush_fpu()
102 tsk->thread.uregs->epsw &= ~EPSW_FE; in flush_fpu()
Dptrace.h17 #define user_mode(regs) (((regs)->epsw & EPSW_nSL) == EPSW_nSL)
Dswitch_to.h26 (prev)->thread.uregs->epsw &= ~EPSW_FE; \
Dframe.inc49 and ~EPSW_FE,epsw
76 or EPSW_NMID,epsw
Dprocessor.h128 regs->epsw = EPSW_nSL | EPSW_IE | EPSW_IM; in start_thread()
Delf.h128 pr_reg[25] = regs->epsw; \
/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 …]
/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
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()
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()
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.c248 unsigned long sp, epsw, irq_disabled_epsw, old_irq_enabled_epsw; in do_IRQ() local
258 local_save_flags(epsw); in do_IRQ()
259 __mn10300_irq_enabled_epsw[cpu_id] = EPSW_IE | (EPSW_IM & epsw); in do_IRQ()
281 local_irq_restore(epsw); in do_IRQ()
Dfpu-nofpu-low.S33 and ~EPSW_NMID,epsw
Dgdb-io-ttysm-low.S75 or EPSW_IE|EPSW_IM_1,epsw
86 and ~EPSW_IE,epsw
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()
428 regs->epsw |= EPSW_T; in do_notify_resume()
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()
/arch/mn10300/include/uapi/asm/
Dsigcontext.h45 unsigned long epsw; member
Dptrace.h74 unsigned long epsw; member

12