Home
last modified time | relevance | path

Searched refs:gr (Results 1 – 25 of 69) sorted by relevance

123

/linux-2.6.39/arch/parisc/kernel/
Dsignal.c86 err |= __copy_from_user(regs->gr, sc->sc_gr, sizeof(regs->gr)); in restore_sigcontext()
93 DBG(2,"restore_sigcontext: r28 is %ld\n", regs->gr[28]); in restore_sigcontext()
102 unsigned long usp = (regs->gr[30] & ~(0x01UL)); in sys_rt_sigreturn()
171 regs->gr[31] = regs->iaoq[0]; in sys_rt_sigreturn()
216 err |= __put_user(regs->gr[31], &sc->sc_iaoq[0]); in setup_sigcontext()
217 err |= __put_user(regs->gr[31]+4, &sc->sc_iaoq[1]); in setup_sigcontext()
221 regs->gr[31], regs->gr[31]+4); in setup_sigcontext()
230 err |= __copy_to_user(sc->sc_gr, regs->gr, sizeof(regs->gr)); in setup_sigcontext()
233 DBG(1,"setup_sigcontext: r28 is %ld\n", regs->gr[28]); in setup_sigcontext()
252 usp = (regs->gr[30] & ~(0x01UL)); in setup_rt_frame()
[all …]
Dasm-offsets.c67 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
68 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main()
69 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); in main()
70 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); in main()
71 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); in main()
72 DEFINE(TASK_PT_GR5, offsetof(struct task_struct, thread.regs.gr[ 5])); in main()
73 DEFINE(TASK_PT_GR6, offsetof(struct task_struct, thread.regs.gr[ 6])); in main()
74 DEFINE(TASK_PT_GR7, offsetof(struct task_struct, thread.regs.gr[ 7])); in main()
75 DEFINE(TASK_PT_GR8, offsetof(struct task_struct, thread.regs.gr[ 8])); in main()
76 DEFINE(TASK_PT_GR9, offsetof(struct task_struct, thread.regs.gr[ 9])); in main()
[all …]
Dprocess.c236 int __user *parent_tidptr = (int __user *)regs->gr[24]; in sys_clone()
237 int __user *child_tidptr = (int __user *)regs->gr[22]; in sys_clone()
246 usp = regs->gr[30]; in sys_clone()
254 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs->gr[30], regs, 0, NULL, NULL); in sys_vfork()
279 cregs->gr[28] = 0; /* child */ in copy_thread()
300 cregs->gr[27] = pregs->gr[27]; in copy_thread()
302 cregs->gr[26] = pregs->gr[26]; in copy_thread()
303 cregs->gr[25] = pregs->gr[25]; in copy_thread()
313 + (pregs->gr[21] & (THREAD_SIZE - 1)); in copy_thread()
314 cregs->gr[30] = usp; in copy_thread()
[all …]
Dtraps.c87 printbinary(buf, regs->gr[0], 32); in print_gr()
91 PRINTREGS(level, regs->gr, "r", RFMT, i); in print_gr()
152 printk("%s RP(r2): " RFMT "\n", level, regs->gr[2]); in show_regs()
156 printk("%s RP(r2): %pS\n", level, (void *) regs->gr[2]); in show_regs()
210 r.gr[2] = (unsigned long)__builtin_return_address(0); in parisc_show_stack()
211 r.gr[30] = sp; in parisc_show_stack()
376 regs->gr[0] = pim_wide->cr[22]; in transfer_pim_to_trap_frame()
379 regs->gr[i] = pim_wide->gr[i]; in transfer_pim_to_trap_frame()
400 regs->gr[0] = pim_narrow->cr[22]; in transfer_pim_to_trap_frame()
403 regs->gr[i] = pim_narrow->gr[i]; in transfer_pim_to_trap_frame()
[all …]
Dsignal32.c202 regs->gr[regn] = compat_reg; in restore_sigcontext32()
205 regs->gr[regn] = ((u64)compat_regt << 32) | (u64)compat_reg; in restore_sigcontext32()
207 regn, regs->gr[regn], compat_regt, compat_reg); in restore_sigcontext32()
254 DBG(2,"restore_sigcontext32: r28 is %ld\n", regs->gr[28]); in restore_sigcontext32()
284 compat_reg = (compat_uint_t)(regs->gr[31]); in setup_sigcontext32()
291 compat_reg = (compat_uint_t)(regs->gr[31] >> 32); in setup_sigcontext32()
296 compat_reg = (compat_uint_t)(regs->gr[31]+4); in setup_sigcontext32()
301 compat_reg = (compat_uint_t)((regs->gr[31]+4) >> 32); in setup_sigcontext32()
318 regs->gr[31], regs->gr[31]+4); in setup_sigcontext32()
371 compat_reg = (compat_uint_t)(regs->gr[regn]); in setup_sigcontext32()
[all …]
Dunaligned.c163 regs->gr[toreg] = val; in emulate_ldh()
203 regs->gr[toreg] = val; in emulate_ldw()
276 regs->gr[toreg] = val; in emulate_ldd()
283 unsigned long val = regs->gr[frreg]; in emulate_sth()
320 val = regs->gr[frreg]; in emulate_stw()
366 val = regs->gr[frreg]; in emulate_std()
451 unsigned long newbase = R1(regs->iir)?regs->gr[R1(regs->iir)]:0; in handle_unaligned()
505 newbase += (R2(regs->iir)?regs->gr[R2(regs->iir)]:0)<<shift; in handle_unaligned()
507 newbase += (R2(regs->iir)?regs->gr[R2(regs->iir)]:0); in handle_unaligned()
667 regs->gr[R1(regs->iir)] = newbase; in handle_unaligned()
[all …]
Dunwind.c216 info->prev_sp = regs->gr[30]; in unwind_special()
359 info->sp = regs->gr[30]; in unwind_frame_init()
361 info->rp = regs->gr[2]; in unwind_frame_init()
362 info->r31 = regs->gr[31]; in unwind_frame_init()
377 r2->gr[30] = r->ksp; in unwind_frame_init_from_blocked_task()
429 r.gr[2] = (unsigned long) __builtin_return_address(0); in return_address()
430 r.gr[30] = sp; in return_address()
Dsys_parisc32.c65 DBG(("sys32_execve(%p) r26 = 0x%lx\n", regs, regs->gr[26])); in sys32_execve()
66 filename = getname((const char __user *) regs->gr[26]); in sys32_execve()
70 error = compat_do_execve(filename, compat_ptr(regs->gr[25]), in sys32_execve()
71 compat_ptr(regs->gr[24]), regs); in sys32_execve()
Dstacktrace.c27 r.gr[2] = (unsigned long)__builtin_return_address(0); in dump_trace()
28 r.gr[30] = sp; in dump_trace()
Dptrace.c149 task_regs(child)->gr[0] &= ~USER_PSW_BITS; in arch_ptrace()
150 task_regs(child)->gr[0] |= data; in arch_ptrace()
275 return regs->gr[20]; in do_syscall_trace_enter()
Dperf_asm.S31 #define MTDIAG_1(gr) .word 0x14201840 + gr*0x10000 argument
32 #define MTDIAG_2(gr) .word 0x14401840 + gr*0x10000 argument
33 #define MFDIAG_1(gr) .word 0x142008A0 + gr argument
34 #define MFDIAG_2(gr) .word 0x144008A0 + gr argument
Dtime.c176 if (regs->gr[0] & PSW_N) in profile_pc()
181 pc = regs->gr[2]; in profile_pc()
/linux-2.6.39/arch/parisc/include/asm/
Dsyscall.h12 return regs->gr[20]; in syscall_get_nr()
23 args[5] = regs->gr[21]; in syscall_get_arguments()
25 args[4] = regs->gr[22]; in syscall_get_arguments()
27 args[3] = regs->gr[23]; in syscall_get_arguments()
29 args[2] = regs->gr[24]; in syscall_get_arguments()
31 args[1] = regs->gr[25]; in syscall_get_arguments()
33 args[0] = regs->gr[26]; in syscall_get_arguments()
Dprocessor.h156 .regs = { .gr = { 0, }, \
210 regs->gr[ 0] = USER_PSW; \
211 regs->gr[30] = ((new_sp)+63)&~63; \
212 regs->gr[31] = pc; \
214 get_user(regs->gr[26],&sp[0]); \
215 get_user(regs->gr[25],&sp[-1]); \
216 get_user(regs->gr[24],&sp[-2]); \
217 get_user(regs->gr[23],&sp[-3]); \
313 regs->gr[ 0] = USER_PSW | (USER_WIDE_MODE ? PSW_W : 0); \
318 regs->gr[30] = (((unsigned long)sp + 63) &~ 63) | (USER_WIDE_MODE ? 1 : 0); \
[all …]
Dsystem.h60 #define mtctl(gr, cr) \ argument
63 : "r" (gr), "i" (cr) : "memory")
82 #define mtsp(gr, cr) \ argument
85 : "r" (gr), "i" (cr) : "memory")
Dptrace.h19 unsigned long gr[32]; /* PSW is in gr[0] */ member
57 #define user_stack_pointer(regs) ((regs)->gr[30])
/linux-2.6.39/drivers/parisc/
Dpower.c66 #define MTCPU(dr, gr) MFCPU_X(dr, gr, 0, 0x12) /* move value of gr to dr[dr] */ argument
67 #define MFCPU_C(dr, gr) MFCPU_X(dr, gr, 0, 0x30) /* for dr0 and dr8 only ! */ argument
68 #define MFCPU_T(dr, gr) MFCPU_X(dr, 0, gr, 0xa0) /* all dr except dr0 and dr8 */ argument
/linux-2.6.39/drivers/macintosh/
Dwindfarm_pm81.c166 s32 gd, gp, gr; member
200 .gr = 0x000002fd,
212 .gr = 0x0000072b,
224 .gr = 0x000002fd,
302 pid_param.gr = param->gr; in wf_smu_create_sys_fans()
441 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
Dwindfarm_pid.h30 s32 gd, gp, gr; /* PID gains */ member
63 s32 gd, gp, gr; /* PID gains */ member
/linux-2.6.39/drivers/mmc/card/
Dmmc_test.c148 struct mmc_test_general_result *gr; member
504 if (!test->gr) in mmc_test_save_transfer_result()
517 list_add_tail(&tr->link, &test->gr->tr_lst); in mmc_test_save_transfer_result()
2242 struct mmc_test_general_result *gr; in mmc_test_run() local
2262 gr = kzalloc(sizeof(struct mmc_test_general_result), in mmc_test_run()
2264 if (gr) { in mmc_test_run()
2265 INIT_LIST_HEAD(&gr->tr_lst); in mmc_test_run()
2268 gr->card = test->card; in mmc_test_run()
2269 gr->testcase = i; in mmc_test_run()
2272 list_add_tail(&gr->link, &mmc_test_result); in mmc_test_run()
[all …]
/linux-2.6.39/arch/parisc/hpux/
Dfs.c39 filename = getname((const char __user *) regs->gr[26]); in hpux_execve()
45 (const char __user *const __user *) regs->gr[25], in hpux_execve()
46 (const char __user *const __user *) regs->gr[24], in hpux_execve()
/linux-2.6.39/arch/ia64/kvm/
Dasm-offsets.c206 DEFINE(VMM_CTX_R4_OFFSET, offsetof(union context, gr[4])); in foo()
207 DEFINE(VMM_CTX_R5_OFFSET, offsetof(union context, gr[5])); in foo()
208 DEFINE(VMM_CTX_R12_OFFSET, offsetof(union context, gr[12])); in foo()
209 DEFINE(VMM_CTX_R13_OFFSET, offsetof(union context, gr[13])); in foo()
/linux-2.6.39/arch/frv/kernel/
Dptrace.c80 offs_gr0 = offsetof(struct user_int_regs, gr[0]); in genregs_set()
81 offs_gr1 = offsetof(struct user_int_regs, gr[1]); in genregs_set()
95 &iregs->gr[1], offs_gr1, sizeof(*iregs)); in genregs_set()
Dasm-offsets.c72 DEF_IREG(__INT_GR0, i.gr[0]); in foo()
96 OFFSET(__THREAD_GR16, thread_struct, gr[0]); in foo()
/linux-2.6.39/arch/ia64/kernel/
Dptrace.c907 retval |= __copy_to_user(&ppr->gr[1], &pt->r1, sizeof(long)); in ptrace_getregs()
908 retval |= __copy_to_user(&ppr->gr[2], &pt->r2, sizeof(long) *2); in ptrace_getregs()
915 retval |= __put_user(val, &ppr->gr[i]); in ptrace_getregs()
920 retval |= __copy_to_user(&ppr->gr[8], &pt->r8, sizeof(long) * 4); in ptrace_getregs()
924 retval |= __copy_to_user(&ppr->gr[12], &pt->r12, sizeof(long) * 2); in ptrace_getregs()
925 retval |= __copy_to_user(&ppr->gr[14], &pt->r14, sizeof(long)); in ptrace_getregs()
926 retval |= __copy_to_user(&ppr->gr[15], &pt->r15, sizeof(long)); in ptrace_getregs()
930 retval |= __copy_to_user(&ppr->gr[16], &pt->r16, sizeof(long) * 16); in ptrace_getregs()
1043 retval |= __copy_from_user(&pt->r1, &ppr->gr[1], sizeof(long)); in ptrace_setregs()
1044 retval |= __copy_from_user(&pt->r2, &ppr->gr[2], sizeof(long) * 2); in ptrace_setregs()
[all …]

123