Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 25 of 99) sorted by relevance

1234

/arch/mips/alchemy/common/
Dsleeper.S25 sw $1, PT_R1(sp)
26 sw $2, PT_R2(sp)
27 sw $3, PT_R3(sp)
28 sw $4, PT_R4(sp)
29 sw $5, PT_R5(sp)
30 sw $6, PT_R6(sp)
31 sw $7, PT_R7(sp)
32 sw $16, PT_R16(sp)
33 sw $17, PT_R17(sp)
34 sw $18, PT_R18(sp)
[all …]
/arch/alpha/include/uapi/asm/
Dfpu.h93 ieee_swcr_to_fpcr(unsigned long sw) in ieee_swcr_to_fpcr() argument
96 fp = (sw & IEEE_STATUS_MASK) << 35; in ieee_swcr_to_fpcr()
97 fp |= (sw & IEEE_MAP_DMZ) << 36; in ieee_swcr_to_fpcr()
98 fp |= (sw & IEEE_STATUS_MASK ? FPCR_SUM : 0); in ieee_swcr_to_fpcr()
99 fp |= (~sw & (IEEE_TRAP_ENABLE_INV in ieee_swcr_to_fpcr()
102 fp |= (~sw & (IEEE_TRAP_ENABLE_UNF | IEEE_TRAP_ENABLE_INE)) << 57; in ieee_swcr_to_fpcr()
103 fp |= (sw & IEEE_MAP_UMZ ? FPCR_UNDZ | FPCR_UNFD : 0); in ieee_swcr_to_fpcr()
104 fp |= (~sw & IEEE_TRAP_ENABLE_DNO) << 41; in ieee_swcr_to_fpcr()
111 unsigned long sw; in ieee_fpcr_to_swcr() local
112 sw = (fp >> 35) & IEEE_STATUS_MASK; in ieee_fpcr_to_swcr()
[all …]
/arch/nios2/include/asm/
Delf.h62 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
63 pr_reg[23] = sw->r16; \
64 pr_reg[24] = sw->r17; \
65 pr_reg[25] = sw->r18; \
66 pr_reg[26] = sw->r19; \
67 pr_reg[27] = sw->r20; \
68 pr_reg[28] = sw->r21; \
69 pr_reg[29] = sw->r22; \
70 pr_reg[30] = sw->r23; \
71 pr_reg[31] = sw->fp; \
[all …]
/arch/openrisc/kernel/
Dentry.S46 l.sw -8(r1),r2 /* store frame pointer */ ;\
47 l.sw -4(r1),r9 /* store return address */ ;\
59 l.sw -12(r1),t1 /* save extra reg */ ;\
60 l.sw -8(r1),r2 /* store frame pointer */ ;\
61 l.sw -4(r1),r9 /* store return address */ ;\
147 l.sw PT_GPR2(r1),r2 ;\
148 l.sw PT_GPR3(r1),r3 ;\
150 l.sw PT_GPR5(r1),r5 ;\
151 l.sw PT_GPR6(r1),r6 ;\
152 l.sw PT_GPR7(r1),r7 ;\
[all …]
Dhead.S73 #define EMERGENCY_PRINT_STORE_GPR4 l.sw 0x20(r0),r4
76 #define EMERGENCY_PRINT_STORE_GPR5 l.sw 0x24(r0),r5
79 #define EMERGENCY_PRINT_STORE_GPR6 l.sw 0x28(r0),r6
82 #define EMERGENCY_PRINT_STORE_GPR7 l.sw 0x2c(r0),r7
85 #define EMERGENCY_PRINT_STORE_GPR8 l.sw 0x30(r0),r8
88 #define EMERGENCY_PRINT_STORE_GPR9 l.sw 0x34(r0),r9
113 #define EXCEPTION_STORE_GPR2 l.sw 0x64(r0),r2
116 #define EXCEPTION_STORE_GPR3 l.sw 0x68(r0),r3
119 #define EXCEPTION_STORE_GPR4 l.sw 0x6c(r0),r4
122 #define EXCEPTION_STORE_GPR5 l.sw 0x70(r0),r5
[all …]
/arch/nios2/kernel/
Dsignal.c38 struct switch_stack *sw, in rt_restore_ucontext() argument
67 err |= __get_user(sw->r16, &gregs[15]); in rt_restore_ucontext()
68 err |= __get_user(sw->r17, &gregs[16]); in rt_restore_ucontext()
69 err |= __get_user(sw->r18, &gregs[17]); in rt_restore_ucontext()
70 err |= __get_user(sw->r19, &gregs[18]); in rt_restore_ucontext()
71 err |= __get_user(sw->r20, &gregs[19]); in rt_restore_ucontext()
72 err |= __get_user(sw->r21, &gregs[20]); in rt_restore_ucontext()
73 err |= __get_user(sw->r22, &gregs[21]); in rt_restore_ucontext()
74 err |= __get_user(sw->r23, &gregs[22]); in rt_restore_ucontext()
76 err |= __get_user(sw->fp, &gregs[24]); /* Verify, should this be in rt_restore_ucontext()
[all …]
Dptrace.c27 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_get() local
32 membuf_write(&to, sw, 8 * 4); // R16..R23 in genregs_get()
53 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_set() local
74 REG_IN_RANGE(sw, PTR_R16, PTR_R23); in genregs_set()
/arch/mips/kernel/
Dscall32-o32.S36 sw t1, PT_EPC(sp)
38 sw a3, PT_R26(sp) # save a3 for syscall restarting
70 sw t5, 16(sp) # argument #5 to ksp
71 sw t6, 20(sp) # argument #6 to ksp
72 sw t7, 24(sp) # argument #7 to ksp
73 sw t8, 28(sp) # argument #8 to ksp
103 sw t0, PT_R7(sp) # set error flag
108 sw t1, PT_R0(sp) # save it for syscall restarting
109 1: sw v0, PT_R2(sp) # result
151 sw v0, PT_R2(sp)
[all …]
Dr2300_switch.S35 sw t1, THREAD_STATUS(a0)
37 sw ra, THREAD_REG31(a0)
53 sw t1, kernelsp
DMakefile45 sw-y := r4k_switch.o
46 sw-$(CONFIG_CPU_R3000) := r2300_switch.o
47 sw-$(CONFIG_CPU_TX39XX) := r2300_switch.o
48 sw-$(CONFIG_CPU_CAVIUM_OCTEON) := octeon_switch.o
49 obj-y += $(sw-y)
/arch/m68k/include/asm/
Delf.h97 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
98 pr_reg[5] = sw->d6; \
99 pr_reg[6] = sw->d7; \
100 pr_reg[10] = sw->a3; \
101 pr_reg[11] = sw->a4; \
102 pr_reg[12] = sw->a5; \
103 pr_reg[13] = sw->a6; \
/arch/mips/crypto/
Dchacha-core.S157 sw X ## x, (x*4) ## (OUT);
219 sw $s0, 0($sp)
220 sw $s1, 4($sp)
221 sw $s2, 8($sp)
222 sw $s3, 12($sp)
223 sw $s4, 16($sp)
224 sw $s5, 20($sp)
225 sw $s6, 24($sp)
226 sw $s7, 28($sp)
308 sw NONCE_0, 48(STATE)
[all …]
/arch/ia64/oprofile/
Dbacktrace.c73 struct switch_stack *sw; in do_ia64_backtrace() local
77 sw = (struct switch_stack *)(info+1); in do_ia64_backtrace()
79 sw = (struct switch_stack *)(((unsigned long)sw + 15) & ~15); in do_ia64_backtrace()
81 unw_init_frame_info(&bt->frame, current, sw); in do_ia64_backtrace()
/arch/alpha/kernel/
Dprocess.c290 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread() local
301 dest[ 9] = sw->r9; in dump_elf_thread()
302 dest[10] = sw->r10; in dump_elf_thread()
303 dest[11] = sw->r11; in dump_elf_thread()
304 dest[12] = sw->r12; in dump_elf_thread()
305 dest[13] = sw->r13; in dump_elf_thread()
306 dest[14] = sw->r14; in dump_elf_thread()
307 dest[15] = sw->r15; in dump_elf_thread()
343 struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1; in dump_elf_task_fp() local
344 memcpy(dest, sw->fp, 32 * 8); in dump_elf_task_fp()
Dsignal.c152 struct switch_stack *sw = (struct switch_stack *)regs - 1; in restore_sigcontext() local
157 sw->r26 = (unsigned long) ret_from_sys_call; in restore_sigcontext()
168 err |= __get_user(sw->r9, sc->sc_regs+9); in restore_sigcontext()
169 err |= __get_user(sw->r10, sc->sc_regs+10); in restore_sigcontext()
170 err |= __get_user(sw->r11, sc->sc_regs+11); in restore_sigcontext()
171 err |= __get_user(sw->r12, sc->sc_regs+12); in restore_sigcontext()
172 err |= __get_user(sw->r13, sc->sc_regs+13); in restore_sigcontext()
173 err |= __get_user(sw->r14, sc->sc_regs+14); in restore_sigcontext()
174 err |= __get_user(sw->r15, sc->sc_regs+15); in restore_sigcontext()
193 err |= __get_user(sw->fp[i], sc->sc_fpregs+i); in restore_sigcontext()
[all …]
/arch/openrisc/lib/
Dstring.S34 l.sw 0(r1),r6
35 l.sw 4(r1),r4
36 l.sw 8(r1),r3
75 l.sw 0(r1),r4
76 l.sw 4(r1),r3
/arch/parisc/math-emu/
Ddriver.c71 unsigned int orig_sw, sw; in handle_fpe() local
96 memcpy(&sw, frcopy, sizeof(sw)); in handle_fpe()
100 printbinary(sw, 32); in handle_fpe()
/arch/ia64/kernel/
Dunaligned.c310 struct switch_stack *sw = (struct switch_stack *) regs - 1; in set_rse_reg() local
330 r1, sw->ar_bspstore, regs->ar_bspstore, sof, (regs->cr_ifs >> 7) & 0x7f, ridx); in set_rse_reg()
332 on_kbs = ia64_rse_num_regs(kbs, (unsigned long *) sw->ar_bspstore); in set_rse_reg()
333 addr = ia64_rse_skip_regs((unsigned long *) sw->ar_bspstore, -sof + ridx); in set_rse_reg()
337 if ((unsigned long) rnat_addr >= sw->ar_bspstore) in set_rse_reg()
338 rnat_addr = &sw->ar_rnat; in set_rse_reg()
361 ia64_poke(current, sw, (unsigned long) ubs_end, (unsigned long) addr, val); in set_rse_reg()
365 ia64_peek(current, sw, (unsigned long) ubs_end, (unsigned long) rnat_addr, &rnats); in set_rse_reg()
374 ia64_poke(current, sw, (unsigned long) ubs_end, (unsigned long) rnat_addr, rnats); in set_rse_reg()
383 struct switch_stack *sw = (struct switch_stack *) regs - 1; in get_rse_reg() local
[all …]
Dunwind.c350 nat_addr = &info->sw->ar_rnat; in unw_access_gr()
355 addr = &info->sw->r4 + (regnum - 4); in unw_access_gr()
356 nat_addr = &info->sw->ar_unat; in unw_access_gr()
366 nat_addr = &info->sw->caller_unat; in unw_access_gr()
381 nat_addr = &info->sw->ar_rnat; in unw_access_gr()
425 addr = &info->sw->b1 + (regnum - 1); in unw_access_br()
460 addr = &info->sw->f2 + (regnum - 2); in unw_access_fr()
467 addr = &info->sw->f12 + (regnum - 12); in unw_access_fr()
471 addr = &info->sw->f16 + (regnum - 16); in unw_access_fr()
504 addr = &info->sw->ar_bspstore; in unw_access_ar()
[all …]
/arch/m68k/kernel/
Dprocess.c145 struct switch_stack sw; in copy_thread() member
164 frame->sw.a3 = usp; /* function */ in copy_thread()
165 frame->sw.d7 = arg; in copy_thread()
166 frame->sw.retpc = (unsigned long)ret_from_kernel_thread; in copy_thread()
173 frame->sw.retpc = (unsigned long)ret_from_fork; in copy_thread()
Dsignal.c652 struct switch_stack *sw = (struct switch_stack *)regs - 1; in mangle_kernel_stack() local
684 : "a" (sw), "d" (fsize), "d" (frame_offset/4-1), in mangle_kernel_stack()
731 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext() argument
752 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext()
753 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext()
757 err |= __get_user(sw->a3, &gregs[11]); in rt_restore_ucontext()
758 err |= __get_user(sw->a4, &gregs[12]); in rt_restore_ucontext()
759 err |= __get_user(sw->a5, &gregs[13]); in rt_restore_ucontext()
760 err |= __get_user(sw->a6, &gregs[14]); in rt_restore_ucontext()
784 asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_sigreturn() argument
[all …]
/arch/mips/fw/lib/
Dcall_o32.S70 sw a6,4*O32_SZREG(fp)
71 sw a7,5*O32_SZREG(fp)
79 sw t3,(t1)
/arch/arm/boot/dts/
Dkirkwood-topkick.dts63 pmx_sw_left: pmx-sw-left {
68 pmx_sw_right: pmx-sw-right {
73 pmx_sw_idle: pmx-sw-idle {
78 pmx_sw_left2: pmx-sw-left2 {
/arch/arm/mach-imx/
Dgpc.c34 void imx_gpc_set_arm_power_up_timing(u32 sw2iso, u32 sw) in imx_gpc_set_arm_power_up_timing() argument
37 (sw << GPC_PGC_SW_SHIFT), gpc_base + GPC_PGC_CPU_PUPSCR); in imx_gpc_set_arm_power_up_timing()
40 void imx_gpc_set_arm_power_down_timing(u32 sw2iso, u32 sw) in imx_gpc_set_arm_power_down_timing() argument
43 (sw << GPC_PGC_SW_SHIFT), gpc_base + GPC_PGC_CPU_PDNSCR); in imx_gpc_set_arm_power_down_timing()
/arch/mips/include/asm/
Dasm.h154 #define REG_S sw
177 #define INT_S sw
214 #define LONG_S sw
267 #define PTR_S sw

1234