Searched refs:gr (Results 1 - 125 of 125) sorted by relevance

/linux-4.1.27/arch/parisc/include/asm/
H A Dsyscall.h14 return regs->gr[20]; syscall_get_nr()
25 args[5] = regs->gr[21]; syscall_get_arguments()
27 args[4] = regs->gr[22]; syscall_get_arguments()
29 args[3] = regs->gr[23]; syscall_get_arguments()
31 args[2] = regs->gr[24]; syscall_get_arguments()
33 args[1] = regs->gr[25]; syscall_get_arguments()
35 args[0] = regs->gr[26]; syscall_get_arguments()
H A Dptrace.h19 #define user_stack_pointer(regs) ((regs)->gr[30])
24 return regs->gr[20]; regs_return_value()
H A Dspecial_insns.h13 #define mtctl(gr, cr) \
16 : "r" (gr), "i" (cr) : "memory")
H A Dprocessor.h158 .regs = { .gr = { 0, }, \
212 regs->gr[ 0] = USER_PSW; \
213 regs->gr[30] = ((new_sp)+63)&~63; \
214 regs->gr[31] = pc; \
216 get_user(regs->gr[26],&sp[0]); \
217 get_user(regs->gr[25],&sp[-1]); \
218 get_user(regs->gr[24],&sp[-2]); \
219 get_user(regs->gr[23],&sp[-3]); \
314 regs->gr[ 0] = USER_PSW | (USER_WIDE_MODE ? PSW_W : 0); \
319 regs->gr[30] = (((unsigned long)sp + 63) &~ 63) | (USER_WIDE_MODE ? 1 : 0); \
320 regs->gr[31] = pc; \
322 get_user(regs->gr[25], (argv - 1)); \
323 regs->gr[24] = (long) argv; \
324 regs->gr[23] = 0; \
336 #define KSTK_ESP(tsk) ((tsk)->thread.regs.gr[30])
H A Dassembly.h109 .macro tophys_r1 gr
111 sub \gr, %r1, \gr variable
114 .macro tovirt_r1 gr
116 add \gr, %r1, \gr variable
H A Dcompat.h272 return (void __user *)regs->gr[30]; arch_compat_alloc_user_space()
H A Dpdc.h208 __u32 gr[32]; member in struct:pdc_hpmc_pim_11
241 __u64 gr[32]; member in struct:pdc_hpmc_pim_20
H A Delf.h279 memcpy(dst + 0, pt->gr, 32 * sizeof(elf_greg_t)); \
329 #define ELF_PLAT_INIT(_r, load_addr) _r->gr[23] = 0
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv50.h3 #include <engine/gr.h>
H A Dnv20.h3 #include <engine/gr.h>
H A Dnv40.h3 #include <engine/gr.h>
H A Dnv04.c24 #include <engine/gr.h>
1195 struct nvkm_gr *gr = nvkm_gr(obj); nv04_gr_idle() local
1201 if (!nv_wait(gr, NV04_PGRAPH_STATUS, mask, 0)) { nv04_gr_idle()
1202 nv_error(gr, "idle timed out with status 0x%08x\n", nv04_gr_idle()
1203 nv_rd32(gr, NV04_PGRAPH_STATUS)); nv04_gr_idle()
H A Dnv40.c43 nv40_gr_units(struct nvkm_gr *gr) nv40_gr_units() argument
45 struct nv40_gr_priv *priv = (void *)gr; nv40_gr_units()
H A Dgf100.h26 #include <engine/gr.h>
H A Dnv50.c43 nv50_gr_units(struct nvkm_gr *gr) nv50_gr_units() argument
45 struct nv50_gr_priv *priv = (void *)gr; nv50_gr_units()
H A Dgf100.c735 gf100_gr_units(struct nvkm_gr *gr) gf100_gr_units() argument
737 struct gf100_gr_priv *priv = (void *)gr; gf100_gr_units()
H A Dnv10.c24 #include <engine/gr.h>
H A Dctxnv50.c1373 /* CTX_SWITCH: caches of gr objects bound to subchannels. 8 values, last used index */ nv50_gr_construct_gene_dispatch()
/linux-4.1.27/arch/parisc/kernel/
H A Dasm-offsets.c67 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); main()
68 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); main()
69 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); main()
70 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); main()
71 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); main()
72 DEFINE(TASK_PT_GR5, offsetof(struct task_struct, thread.regs.gr[ 5])); main()
73 DEFINE(TASK_PT_GR6, offsetof(struct task_struct, thread.regs.gr[ 6])); main()
74 DEFINE(TASK_PT_GR7, offsetof(struct task_struct, thread.regs.gr[ 7])); main()
75 DEFINE(TASK_PT_GR8, offsetof(struct task_struct, thread.regs.gr[ 8])); main()
76 DEFINE(TASK_PT_GR9, offsetof(struct task_struct, thread.regs.gr[ 9])); main()
77 DEFINE(TASK_PT_GR10, offsetof(struct task_struct, thread.regs.gr[10])); main()
78 DEFINE(TASK_PT_GR11, offsetof(struct task_struct, thread.regs.gr[11])); main()
79 DEFINE(TASK_PT_GR12, offsetof(struct task_struct, thread.regs.gr[12])); main()
80 DEFINE(TASK_PT_GR13, offsetof(struct task_struct, thread.regs.gr[13])); main()
81 DEFINE(TASK_PT_GR14, offsetof(struct task_struct, thread.regs.gr[14])); main()
82 DEFINE(TASK_PT_GR15, offsetof(struct task_struct, thread.regs.gr[15])); main()
83 DEFINE(TASK_PT_GR16, offsetof(struct task_struct, thread.regs.gr[16])); main()
84 DEFINE(TASK_PT_GR17, offsetof(struct task_struct, thread.regs.gr[17])); main()
85 DEFINE(TASK_PT_GR18, offsetof(struct task_struct, thread.regs.gr[18])); main()
86 DEFINE(TASK_PT_GR19, offsetof(struct task_struct, thread.regs.gr[19])); main()
87 DEFINE(TASK_PT_GR20, offsetof(struct task_struct, thread.regs.gr[20])); main()
88 DEFINE(TASK_PT_GR21, offsetof(struct task_struct, thread.regs.gr[21])); main()
89 DEFINE(TASK_PT_GR22, offsetof(struct task_struct, thread.regs.gr[22])); main()
90 DEFINE(TASK_PT_GR23, offsetof(struct task_struct, thread.regs.gr[23])); main()
91 DEFINE(TASK_PT_GR24, offsetof(struct task_struct, thread.regs.gr[24])); main()
92 DEFINE(TASK_PT_GR25, offsetof(struct task_struct, thread.regs.gr[25])); main()
93 DEFINE(TASK_PT_GR26, offsetof(struct task_struct, thread.regs.gr[26])); main()
94 DEFINE(TASK_PT_GR27, offsetof(struct task_struct, thread.regs.gr[27])); main()
95 DEFINE(TASK_PT_GR28, offsetof(struct task_struct, thread.regs.gr[28])); main()
96 DEFINE(TASK_PT_GR29, offsetof(struct task_struct, thread.regs.gr[29])); main()
97 DEFINE(TASK_PT_GR30, offsetof(struct task_struct, thread.regs.gr[30])); main()
98 DEFINE(TASK_PT_GR31, offsetof(struct task_struct, thread.regs.gr[31])); main()
156 DEFINE(PT_PSW, offsetof(struct pt_regs, gr[ 0])); main()
157 DEFINE(PT_GR1, offsetof(struct pt_regs, gr[ 1])); main()
158 DEFINE(PT_GR2, offsetof(struct pt_regs, gr[ 2])); main()
159 DEFINE(PT_GR3, offsetof(struct pt_regs, gr[ 3])); main()
160 DEFINE(PT_GR4, offsetof(struct pt_regs, gr[ 4])); main()
161 DEFINE(PT_GR5, offsetof(struct pt_regs, gr[ 5])); main()
162 DEFINE(PT_GR6, offsetof(struct pt_regs, gr[ 6])); main()
163 DEFINE(PT_GR7, offsetof(struct pt_regs, gr[ 7])); main()
164 DEFINE(PT_GR8, offsetof(struct pt_regs, gr[ 8])); main()
165 DEFINE(PT_GR9, offsetof(struct pt_regs, gr[ 9])); main()
166 DEFINE(PT_GR10, offsetof(struct pt_regs, gr[10])); main()
167 DEFINE(PT_GR11, offsetof(struct pt_regs, gr[11])); main()
168 DEFINE(PT_GR12, offsetof(struct pt_regs, gr[12])); main()
169 DEFINE(PT_GR13, offsetof(struct pt_regs, gr[13])); main()
170 DEFINE(PT_GR14, offsetof(struct pt_regs, gr[14])); main()
171 DEFINE(PT_GR15, offsetof(struct pt_regs, gr[15])); main()
172 DEFINE(PT_GR16, offsetof(struct pt_regs, gr[16])); main()
173 DEFINE(PT_GR17, offsetof(struct pt_regs, gr[17])); main()
174 DEFINE(PT_GR18, offsetof(struct pt_regs, gr[18])); main()
175 DEFINE(PT_GR19, offsetof(struct pt_regs, gr[19])); main()
176 DEFINE(PT_GR20, offsetof(struct pt_regs, gr[20])); main()
177 DEFINE(PT_GR21, offsetof(struct pt_regs, gr[21])); main()
178 DEFINE(PT_GR22, offsetof(struct pt_regs, gr[22])); main()
179 DEFINE(PT_GR23, offsetof(struct pt_regs, gr[23])); main()
180 DEFINE(PT_GR24, offsetof(struct pt_regs, gr[24])); main()
181 DEFINE(PT_GR25, offsetof(struct pt_regs, gr[25])); main()
182 DEFINE(PT_GR26, offsetof(struct pt_regs, gr[26])); main()
183 DEFINE(PT_GR27, offsetof(struct pt_regs, gr[27])); main()
184 DEFINE(PT_GR28, offsetof(struct pt_regs, gr[28])); main()
185 DEFINE(PT_GR29, offsetof(struct pt_regs, gr[29])); main()
186 DEFINE(PT_GR30, offsetof(struct pt_regs, gr[30])); main()
187 DEFINE(PT_GR31, offsetof(struct pt_regs, gr[31])); main()
H A Dsignal.c75 err |= __copy_from_user(regs->gr, sc->sc_gr, sizeof(regs->gr)); restore_sigcontext()
82 DBG(2,"restore_sigcontext: r28 is %ld\n", regs->gr[28]); restore_sigcontext()
91 unsigned long usp = (regs->gr[30] & ~(0x01UL)); sys_rt_sigreturn()
127 /* Good thing we saved the old gr[30], eh? */ sys_rt_sigreturn()
159 regs->gr[31] = regs->iaoq[0]; sys_rt_sigreturn()
206 err |= __put_user(regs->gr[31], &sc->sc_iaoq[0]); setup_sigcontext()
207 err |= __put_user(regs->gr[31]+4, &sc->sc_iaoq[1]); setup_sigcontext()
211 regs->gr[31], regs->gr[31]+4); setup_sigcontext()
220 err |= __copy_to_user(sc->sc_gr, regs->gr, sizeof(regs->gr)); setup_sigcontext()
223 DBG(1,"setup_sigcontext: r28 is %ld\n", regs->gr[28]); setup_sigcontext()
241 usp = (regs->gr[30] & ~(0x01UL)); setup_rt_frame()
256 err |= __compat_save_altstack( &compat_frame->uc.uc_stack, regs->gr[30]); setup_rt_frame()
268 err |= __save_altstack(&frame->uc.uc_stack, regs->gr[30]); setup_rt_frame()
331 regs->gr[19] = fdesc.gp; setup_rt_frame()
344 regs->gr[19] = fdesc.gp; setup_rt_frame()
346 haddr, regs->gr[19], in_syscall); setup_rt_frame()
358 regs->gr[31] = haddr; setup_rt_frame()
382 regs->gr[0] = psw; setup_rt_frame()
387 regs->gr[2] = rp; /* userland return pointer */ setup_rt_frame()
388 regs->gr[26] = ksig->sig; /* signal number */ setup_rt_frame()
392 regs->gr[25] = A(&compat_frame->info); /* siginfo pointer */ setup_rt_frame()
393 regs->gr[24] = A(&compat_frame->uc); /* ucontext pointer */ setup_rt_frame()
397 regs->gr[25] = A(&frame->info); /* siginfo pointer */ setup_rt_frame()
398 regs->gr[24] = A(&frame->uc); /* ucontext pointer */ setup_rt_frame()
402 regs->gr[30], sigframe_size, setup_rt_frame()
403 regs->gr[30] + sigframe_size); setup_rt_frame()
405 regs->gr[30] = (A(frame) + sigframe_size); setup_rt_frame()
409 current->comm, current->pid, frame, regs->gr[30], setup_rt_frame()
434 DBG(1,KERN_DEBUG "do_signal: Exit (success), regs->gr[28] = %ld\n", handle_signal()
435 regs->gr[28]); handle_signal()
445 switch (regs->gr[28]) { syscall_restart()
449 regs->gr[28] = -EINTR; syscall_restart()
455 regs->gr[28] = -EINTR; syscall_restart()
463 regs->gr[31] -= 8; /* delayed branching */ syscall_restart()
474 switch(regs->gr[28]) { insert_restart_trampoline()
477 unsigned int *usp = (unsigned int *)regs->gr[30]; insert_restart_trampoline()
492 err |= put_user(regs->gr[31] >> 32, &usp[0]); insert_restart_trampoline()
493 err |= put_user(regs->gr[31] & 0xffffffff, &usp[1]); insert_restart_trampoline()
496 err |= put_user(regs->gr[31], &usp[0]); insert_restart_trampoline()
508 regs->gr[31] = regs->gr[30] + 8; insert_restart_trampoline()
519 regs->gr[31] -= 8; insert_restart_trampoline()
547 DBG(3,"do_signal: signr = %d, regs->gr[28] = %ld\n", signr, regs->gr[28]); do_signal()
560 DBG(1,"do_signal: Exit (not delivered), regs->gr[28] = %ld\n", do_signal()
561 regs->gr[28]); do_signal()
H A Dptrace.c150 task_regs(child)->gr[0] &= ~USER_PSW_BITS; arch_ptrace()
151 task_regs(child)->gr[0] |= data; arch_ptrace()
185 * the gr registers at the start of pt_regs. The 32 bit pt_regs should
194 else if (offset <= 32*4) /* gr[0..31] */ translate_usr_offset()
196 else if (offset <= 32*4+32*8) /* gr[0..31] + fr[0..31] */ translate_usr_offset()
273 secure_computing_strict(regs->gr[20]); do_syscall_trace_enter()
282 regs->gr[20] = -1UL; do_syscall_trace_enter()
288 audit_syscall_entry(regs->gr[20], regs->gr[26], regs->gr[25], do_syscall_trace_enter()
289 regs->gr[24], regs->gr[23]); do_syscall_trace_enter()
292 audit_syscall_entry(regs->gr[20] & 0xffffffff, do_syscall_trace_enter()
293 regs->gr[26] & 0xffffffff, do_syscall_trace_enter()
294 regs->gr[25] & 0xffffffff, do_syscall_trace_enter()
295 regs->gr[24] & 0xffffffff, do_syscall_trace_enter()
296 regs->gr[23] & 0xffffffff); do_syscall_trace_enter()
299 return regs->gr[20]; do_syscall_trace_enter()
H A Dsignal32.c78 regs->gr[regn] = compat_reg; restore_sigcontext32()
81 regs->gr[regn] = ((u64)compat_regt << 32) | (u64)compat_reg; restore_sigcontext32()
82 DBG(3,"restore_sigcontext32: gr%02d = %#lx (%#x / %#x)\n", restore_sigcontext32()
83 regn, regs->gr[regn], compat_regt, compat_reg); restore_sigcontext32()
130 DBG(2,"restore_sigcontext32: r28 is %ld\n", regs->gr[28]); restore_sigcontext32()
160 compat_reg = (compat_uint_t)(regs->gr[31]); setup_sigcontext32()
167 compat_reg = (compat_uint_t)(regs->gr[31] >> 32); setup_sigcontext32()
172 compat_reg = (compat_uint_t)(regs->gr[31]+4); setup_sigcontext32()
177 compat_reg = (compat_uint_t)((regs->gr[31]+4) >> 32); setup_sigcontext32()
194 regs->gr[31], regs->gr[31]+4); setup_sigcontext32()
247 compat_reg = (compat_uint_t)(regs->gr[regn]); setup_sigcontext32()
250 compat_regb = (compat_uint_t)(regs->gr[regn] >> 32); setup_sigcontext32()
254 DBG(2,"setup_sigcontext32: gr%02d = %#x / %#x\n", regn, setup_sigcontext32()
272 DBG(1,"setup_sigcontext32: r28 is %ld\n", regs->gr[28]); setup_sigcontext32()
H A Dstacktrace.c27 r.gr[2] = (unsigned long)__builtin_return_address(0); dump_trace()
28 r.gr[30] = sp; dump_trace()
H A Dtraps.c80 printbinary(buf, regs->gr[0], 32); print_gr()
84 PRINTREGS(level, regs->gr, "r", RFMT, i); print_gr()
147 printk("%s RP(r2): " RFMT "\n", level, regs->gr[2]); show_regs()
151 printk("%s RP(r2): %pS\n", level, (void *) regs->gr[2]); show_regs()
208 r.gr[2] = (unsigned long)__builtin_return_address(0); parisc_show_stack()
209 r.gr[30] = sp; parisc_show_stack()
364 regs->gr[0] = pim_wide->cr[22]; transfer_pim_to_trap_frame()
367 regs->gr[i] = pim_wide->gr[i]; transfer_pim_to_trap_frame()
388 regs->gr[0] = pim_narrow->cr[22]; transfer_pim_to_trap_frame()
391 regs->gr[i] = pim_narrow->gr[i]; transfer_pim_to_trap_frame()
457 /* show_stack(NULL, (unsigned long *)regs->gr[30]); */ parisc_terminate()
524 regs->gr[0] &= ~PSW_B; handle_interruption()
551 regs->gr[0] &= ~PSW_R; handle_interruption()
593 /* This is a MFCTL cr26/cr27 to gr instruction. handle_interruption()
598 regs->gr[regs->iir & 0x1f] = mfctl(27); handle_interruption()
600 regs->gr[regs->iir & 0x1f] = mfctl(26); handle_interruption()
688 regs->gr[0] |= PSW_X; /* So we can single-step over the trap */ handle_interruption()
697 regs->gr[0] &= ~PSW_T; handle_interruption()
H A Dprocess.c215 cregs->gr[27] = ((unsigned long *)usp)[3]; copy_thread()
216 cregs->gr[26] = ((unsigned long *)usp)[2]; copy_thread()
218 cregs->gr[26] = usp; copy_thread()
220 cregs->gr[25] = kthread_arg; copy_thread()
229 cregs->gr[30] = usp; copy_thread()
236 cregs->cr27 = cregs->gr[23]; copy_thread()
H A Dunwind.c216 info->prev_sp = regs->gr[30]; unwind_special()
357 info->sp = regs->gr[30]; unwind_frame_init()
359 info->rp = regs->gr[2]; unwind_frame_init()
360 info->r31 = regs->gr[31]; unwind_frame_init()
375 r2->gr[30] = r->ksp; unwind_frame_init_from_blocked_task()
427 r.gr[2] = (unsigned long) __builtin_return_address(0); return_address()
428 r.gr[30] = sp; return_address()
H A Dunaligned.c164 regs->gr[toreg] = val; emulate_ldh()
204 regs->gr[toreg] = val; emulate_ldw()
277 regs->gr[toreg] = val; emulate_ldd()
284 unsigned long val = regs->gr[frreg]; emulate_sth()
321 val = regs->gr[frreg]; emulate_stw()
367 val = regs->gr[frreg]; emulate_std()
452 unsigned long newbase = R1(regs->iir)?regs->gr[R1(regs->iir)]:0; handle_unaligned()
508 newbase += (R2(regs->iir)?regs->gr[R2(regs->iir)]:0)<<shift; handle_unaligned()
510 newbase += (R2(regs->iir)?regs->gr[R2(regs->iir)]:0); handle_unaligned()
670 regs->gr[R1(regs->iir)] = newbase; handle_unaligned()
714 regs->gr[0]|=PSW_N; handle_unaligned()
H A Dperf_asm.S31 #define MTDIAG_1(gr) .word 0x14201840 + gr*0x10000
32 #define MTDIAG_2(gr) .word 0x14401840 + gr*0x10000
33 #define MFDIAG_1(gr) .word 0x142008A0 + gr
34 #define MFDIAG_2(gr) .word 0x144008A0 + gr
H A Dbinfmt_elf32.c18 for (i = 0; i < 32; i++) dst[i] = (elf_greg_t) pt->gr[i]; \
H A Dtime.c177 if (regs->gr[0] & PSW_N) profile_pc()
182 pc = regs->gr[2]; profile_pc()
H A Dirq.c406 unsigned long sp = regs->gr[30]; stack_overflow_check()
H A Dsyscall.S324 * task->thread.regs.gr[20] above.
/linux-4.1.27/arch/parisc/include/uapi/asm/
H A Dptrace.h19 unsigned long gr[32]; /* PSW is in gr[0] */ member in struct:pt_regs
/linux-4.1.27/drivers/parisc/
H A Dpower.c66 #define MTCPU(dr, gr) MFCPU_X(dr, gr, 0, 0x12) /* move value of gr to dr[dr] */
67 #define MFCPU_C(dr, gr) MFCPU_X(dr, gr, 0, 0x30) /* for dr0 and dr8 only ! */
68 #define MFCPU_T(dr, gr) MFCPU_X(dr, 0, gr, 0xa0) /* all dr except dr0 and dr8 */
/linux-4.1.27/drivers/media/dvb-frontends/
H A Drtl2832_sdr.h20 * GNU Radio plugin "gr-kernel" for device usage will be on:
21 * http://git.linuxtv.org/anttip/gr-kernel.git
H A Drtl2832_sdr.c20 * GNU Radio plugin "gr-kernel" for device usage will be on:
21 * http://git.linuxtv.org/anttip/gr-kernel.git
/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_pid.c68 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + wf_pid_run()
119 integ *= st->param.gr; wf_cpu_pid_run()
H A Dwindfarm_pid.h30 s32 gd, gp, gr; /* PID gains */ member in struct:wf_pid_param
63 s32 gd, gp, gr; /* PID gains */ member in struct:wf_cpu_pid_param
H A Dwindfarm_pm81.c166 s32 gd, gp, gr; member in struct:wf_smu_sys_fans_param
200 .gr = 0x000002fd,
212 .gr = 0x0000072b,
224 .gr = 0x000002fd,
302 pid_param.gr = param->gr; wf_smu_create_sys_fans()
441 pid_param.gr = piddata->gr / pid_param.history_len; wf_smu_create_cpu_fans()
H A Dwindfarm_pm112.c168 pid.gr = piddata->gr / piddata->history_len; create_cpu_loop()
346 .gr = 0,
396 .gr = 0,
447 .gr = 0x1277952,
H A Dwindfarm_rm31.c327 pid.gr = mpu->pid_gr; cpu_setup_pid()
346 .gr = 0,
359 .gr = 0x06553600,
446 .gr = 0x00100000,
H A Dwindfarm_pm72.c426 pid.gr = mpu->pid_gr; cpu_setup_pid()
445 .gr = 0,
457 .gr = 0,
537 .gr = 0,
H A Dwindfarm_pm91.c186 pid_param.gr = piddata->gr / pid_param.history_len; wf_smu_create_cpu_fans()
297 .gr = 0x00000000, wf_smu_create_drive_fans()
378 .gr = 0x00020000, wf_smu_create_slots_fans()
H A Dwindfarm_pm121.c554 pid_param.gr = PM121_SYS_GR; pm121_create_sys_fans()
696 pid_param.gr = piddata->gr / pid_param.history_len; pm121_create_cpu_fans()
/linux-4.1.27/arch/frv/kernel/
H A Dasm-offsets.c70 DEF_IREG(__INT_GR0, i.gr[0]); foo()
94 OFFSET(__THREAD_GR16, thread_struct, gr[0]); foo()
H A Dptrace.c79 offs_gr0 = offsetof(struct user_int_regs, gr[0]); genregs_set()
80 offs_gr1 = offsetof(struct user_int_regs, gr[1]); genregs_set()
94 &iregs->gr[1], offs_gr1, sizeof(*iregs)); genregs_set()
H A Dgdb-stub.c1612 ptr = mem2hex(&__debug_user_context->i.gr[loop], ptr, 4, 0); gdbstub()
1615 ptr = mem2hex(&__debug_user_context->i.gr[29], ptr, 4, 0); gdbstub()
1616 ptr = mem2hex(&__debug_user_context->i.gr[30], ptr, 4, 0); gdbstub()
1618 ptr = mem2hex(&__debug_user_context->i.gr[31], ptr, 4, 0); gdbstub()
1625 ptr = mem2hex(&__debug_user_context->i.gr[loop], ptr, 4, 0); gdbstub()
1691 ptr = hex2mem(ptr, &__debug_user_context->i.gr[loop], 4); gdbstub()
1704 ptr = hex2mem(ptr, &__debug_user_context->i.gr[loop], 4); gdbstub()
1814 __debug_user_context->i.gr[addr - GDB_REG_GR(0)] = temp; gdbstub()
H A Dsignal.c78 *_gr8 = user->i.gr[8]; restore_sigcontext()
H A Dsetup.c1020 const char *gr, *fr, *fm, *fp, *cm, *nem, *ble; show_cpuinfo() local
1025 gr = cpu_hsr0_all & HSR0_GRHE ? "gr0-63" : "gr0-31"; show_cpuinfo()
1041 cpu_core, gr, ble, cm, nem, show_cpuinfo()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
H A Ddevice.h55 #include <engine/gr.h>
/linux-4.1.27/arch/s390/include/asm/
H A Dnmi.h44 __u32 gr : 1; /* 28 general register validity */ member in struct:mci
/linux-4.1.27/drivers/mmc/card/
H A Dmmc_test.c140 * @gr: pointer to results of current testcase
151 struct mmc_test_general_result *gr; member in struct:mmc_test_card
528 if (!test->gr) mmc_test_save_transfer_result()
541 list_add_tail(&tr->link, &test->gr->tr_lst); mmc_test_save_transfer_result()
2699 struct mmc_test_general_result *gr; mmc_test_run() local
2719 gr = kzalloc(sizeof(struct mmc_test_general_result), mmc_test_run()
2721 if (gr) { mmc_test_run()
2722 INIT_LIST_HEAD(&gr->tr_lst); mmc_test_run()
2725 gr->card = test->card; mmc_test_run()
2726 gr->testcase = i; mmc_test_run()
2729 list_add_tail(&gr->link, &mmc_test_result); mmc_test_run()
2735 test->gr = gr; mmc_test_run()
2764 if (gr) mmc_test_run()
2765 gr->result = ret; mmc_test_run()
2786 struct mmc_test_general_result *gr, *grs; mmc_test_free_result() local
2790 list_for_each_entry_safe(gr, grs, &mmc_test_result, link) { mmc_test_free_result()
2793 if (card && gr->card != card) mmc_test_free_result()
2796 list_for_each_entry_safe(tr, trs, &gr->tr_lst, link) { mmc_test_free_result()
2801 list_del(&gr->link); mmc_test_free_result()
2802 kfree(gr); mmc_test_free_result()
2813 struct mmc_test_general_result *gr; mtf_test_show() local
2817 list_for_each_entry(gr, &mmc_test_result, link) { mtf_test_show()
2820 if (gr->card != card) mtf_test_show()
2823 seq_printf(sf, "Test %d: %d\n", gr->testcase + 1, gr->result); mtf_test_show()
2825 list_for_each_entry(tr, &gr->tr_lst, link) { mtf_test_show()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv40.c27 #include <engine/gr/nv40.h>
76 * from engine/gr/nv40.c nv40_instmem_ctor()
/linux-4.1.27/arch/powerpc/include/asm/
H A Drheap.h6 * Author: Pantelis Antoniou <panto@intracom.gr>
H A Dsmu.h632 __s32 gp,gr,gd; member in struct:smu_sdbp_cpupiddata
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Dmanager-sysfs.c383 info.cpr_coefs.gr, manager_cpr_coef_show()
404 &coefs.gr, &coefs.gg, &coefs.gb, manager_cpr_coef_store()
409 coefs.gr, coefs.gg, coefs.gb, manager_cpr_coef_store()
H A Ddispc.c1090 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | dispc_mgr_set_cpr_coef()
/linux-4.1.27/arch/parisc/mm/
H A Dfault.c154 d->fault_gp = regs->gr[27]; fixup_exception()
167 regs->gr[0] &= ~PSW_B; /* IPSW in gr[0] */ fixup_exception()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_abi16.c168 struct nvkm_gr *gr = nvxx_gr(device); nouveau_abi16_ioctl_getparam() local
218 getparam->value = gr->units ? gr->units(gr) : 0; nouveau_abi16_ioctl_getparam()
H A Dnouveau_dma.h56 NvSub2D = 3, /* DO NOT CHANGE - hardcoded for kepler gr fifo */
57 NvSubCopy = 4, /* DO NOT CHANGE - hardcoded for kepler gr fifo */
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dnv04.c40 #include <engine/gr.h>
H A Dnv20.c42 #include <engine/gr.h>
H A Dnv30.c41 #include <engine/gr.h>
H A Dgm100.c49 #include <engine/gr.h>
H A Dnv10.c41 #include <engine/gr.h>
H A Dgk104.c49 #include <engine/gr.h>
H A Dgf100.c49 #include <engine/gr.h>
H A Dnv40.c44 #include <engine/gr.h>
H A Dnv50.c47 #include <engine/gr.h>
/linux-4.1.27/drivers/tty/serial/cpm_uart/
H A Dcpm_uart_cpm1.c5 * Pantelis Antoniou (panto@intracom.gr) (CPM1)
H A Dcpm_uart_cpm2.c5 * Pantelis Antoniou (panto@intracom.gr) (CPM1)
H A Dcpm_uart_core.c9 * Pantelis Antoniou (panto@intracom.gr) (CPM1)
/linux-4.1.27/include/uapi/linux/
H A Dam437x-vpfe.h94 char gr; member in struct:vpfe_ccdc_black_compensation
/linux-4.1.27/arch/mips/rb532/
H A Dprom.c5 * Copyright (C) 2005-2006, P.Christeas <p_christ@hol.gr>
/linux-4.1.27/arch/frv/include/asm/
H A Dprocessor.h49 unsigned long gr[12]; /* [GR16-GR27] */ member in struct:thread_struct
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dsigcontext.h36 unsigned long sc_nat; /* bit i == 1 iff scratch reg gr[i] is a NaT */
H A Dptrace.h215 unsigned long gr[32]; member in struct:pt_all_user_regs
/linux-4.1.27/arch/ia64/kernel/
H A Dptrace.c879 retval |= __copy_to_user(&ppr->gr[1], &pt->r1, sizeof(long)); ptrace_getregs()
880 retval |= __copy_to_user(&ppr->gr[2], &pt->r2, sizeof(long) *2); ptrace_getregs()
887 retval |= __put_user(val, &ppr->gr[i]); ptrace_getregs()
892 retval |= __copy_to_user(&ppr->gr[8], &pt->r8, sizeof(long) * 4); ptrace_getregs()
896 retval |= __copy_to_user(&ppr->gr[12], &pt->r12, sizeof(long) * 2); ptrace_getregs()
897 retval |= __copy_to_user(&ppr->gr[14], &pt->r14, sizeof(long)); ptrace_getregs()
898 retval |= __copy_to_user(&ppr->gr[15], &pt->r15, sizeof(long)); ptrace_getregs()
902 retval |= __copy_to_user(&ppr->gr[16], &pt->r16, sizeof(long) * 16); ptrace_getregs()
1015 retval |= __copy_from_user(&pt->r1, &ppr->gr[1], sizeof(long)); ptrace_setregs()
1016 retval |= __copy_from_user(&pt->r2, &ppr->gr[2], sizeof(long) * 2); ptrace_setregs()
1021 retval |= __get_user(val, &ppr->gr[i]); ptrace_setregs()
1029 retval |= __copy_from_user(&pt->r8, &ppr->gr[8], sizeof(long) * 4); ptrace_setregs()
1033 retval |= __copy_from_user(&pt->r12, &ppr->gr[12], sizeof(long) * 2); ptrace_setregs()
1034 retval |= __copy_from_user(&pt->r14, &ppr->gr[14], sizeof(long)); ptrace_setregs()
1035 retval |= __copy_from_user(&pt->r15, &ppr->gr[15], sizeof(long)); ptrace_setregs()
1039 retval |= __copy_from_user(&pt->r16, &ppr->gr[16], sizeof(long) * 16); ptrace_setregs()
H A Dbrl_emu.c169 * CFM.rrb.gr = 0 ia64_emulate_brl()
H A Dunwind_decoder.c31 * UNW_DEC_BR_GR(fmt,brmask,gr,arg)
37 * UNW_DEC_GR_GR(fmt,grmask,gr,arg)
H A Dunwind.c867 desc_br_gr (unsigned char brmask, unsigned char gr, struct unw_state_record *sr) desc_br_gr()
874 sr->region_start + sr->region_len - 1, gr++); desc_br_gr()
934 desc_gr_gr (unsigned char grmask, unsigned char gr, struct unw_state_record *sr) desc_gr_gr()
941 sr->region_start + sr->region_len - 1, gr++); desc_gr_gr()
1156 #define UNW_DEC_PROLOGUE_GR(fmt,r,m,gr,arg) desc_prologue(0,r,m,gr,arg)
865 desc_br_gr(unsigned char brmask, unsigned char gr, struct unw_state_record *sr) desc_br_gr() argument
932 desc_gr_gr(unsigned char grmask, unsigned char gr, struct unw_state_record *sr) desc_gr_gr() argument
/linux-4.1.27/include/linux/
H A Dfs_enet_pd.h6 * by Pantelis Antoniou <panto@intracom.gr>
/linux-4.1.27/arch/frv/include/uapi/asm/
H A Dregisters.h165 * - up to gr[31] mirror pt_regs
183 unsigned long gr[64]; member in union:user_int_regs::__anon1399
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c794 unsigned long v, r, gr; kvmppc_hpte_hv_fault() local
815 gr = rev->guest_rpte; kvmppc_hpte_hv_fault()
824 pp = gr & (HPTE_R_PP0 | HPTE_R_PP); kvmppc_hpte_hv_fault()
828 if (gr & (HPTE_R_N | HPTE_R_G)) kvmppc_hpte_hv_fault()
843 unsigned int perm = hpte_get_skey_perm(gr, vcpu->arch.amr); kvmppc_hpte_hv_fault()
H A Dbook3s_64_mmu_hv.c314 unsigned long v, gr; kvmppc_mmu_book3s_64_hv_xlate() local
340 gr = kvm->arch.revmap[index].guest_rpte; kvmppc_mmu_book3s_64_hv_xlate()
349 pp = gr & (HPTE_R_PP0 | HPTE_R_PP); kvmppc_mmu_book3s_64_hv_xlate()
356 gpte->may_execute = gpte->may_read && !(gr & (HPTE_R_N | HPTE_R_G)); kvmppc_mmu_book3s_64_hv_xlate()
360 int amrfield = hpte_get_skey_perm(gr, vcpu->arch.amr); kvmppc_mmu_book3s_64_hv_xlate()
368 gpte->raddr = kvmppc_mmu_get_real_addr(v, gr, eaddr); kvmppc_mmu_book3s_64_hv_xlate()
1533 unsigned long v, hr, gr; debugfs_htab_read() local
1572 gr = kvm->arch.revmap[i].guest_rpte; debugfs_htab_read()
1581 i, v, hr, gr); debugfs_htab_read()
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c5 * by Pantelis Antoniou <panto@intracom.gr>
H A Dmii-fec.c5 * by Pantelis Antoniou <panto@intracom.gr>
H A Dmac-fec.c5 * by Pantelis Antoniou <panto@intracom.gr>
H A Dmac-scc.c5 * by Pantelis Antoniou <panto@intracom.gr>
H A Dfs_enet-main.c5 * by Pantelis Antoniou <panto@intracom.gr>
53 MODULE_AUTHOR("Pantelis Antoniou <panto@intracom.gr>");
H A Dmac-fcc.c5 * by Pantelis Antoniou <panto@intracom.gr>
/linux-4.1.27/include/media/davinci/
H A Ddm644x_ccdc.h103 char gr; member in struct:ccdc_black_compensation
H A Ddm355_ccdc.h124 unsigned char gr; member in struct:ccdc_black_compensation
/linux-4.1.27/sound/sparc/
H A Damd7930.c87 __u16 gr; member in struct:amd7930_map
391 sbus_writeb(((map->gr >> 0) & 0xff), amd->regs + AMD7930_DR); __amd7930_write_map()
392 sbus_writeb(((map->gr >> 8) & 0xff), amd->regs + AMD7930_DR); __amd7930_write_map()
409 /* gx, gr & stg gains. this table must contain 256 elements with
486 map->gr = gx_coeff[255]; __amd7930_update_map()
489 map->gr = gx_coeff[level]; __amd7930_update_map()
/linux-4.1.27/fs/dlm/
H A Dlock.c100 * Usage: matrix[grmode+1][rqmode+1] (although m[rq+1][gr+1] is the same)
136 #define modes_compat(gr, rq) \
137 __dlm_compat_matrix[(gr)->lkb_grmode + 1][(rq)->lkb_rqmode + 1]
165 "sts %d rq %d gr %d wait_type %d wait_nodeid %d seq %llu\n", dlm_print_lkb()
2166 log_print("munge_demoted %x invalid modes gr %d rq %d", munge_demoted()
2596 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) lock_requires_bast() argument
2598 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { lock_requires_bast()
2599 if (gr->lkb_highbast < DLM_LOCK_EX) lock_requires_bast()
2604 if (gr->lkb_highbast < high && lock_requires_bast()
2605 !__dlm_compat_matrix[gr->lkb_grmode+1][high+1]) lock_requires_bast()
2646 static int modes_require_bast(struct dlm_lkb *gr, struct dlm_lkb *rq) modes_require_bast() argument
2648 if ((gr->lkb_grmode == DLM_LOCK_PR && rq->lkb_rqmode == DLM_LOCK_CW) || modes_require_bast()
2649 (gr->lkb_grmode == DLM_LOCK_CW && rq->lkb_rqmode == DLM_LOCK_PR)) { modes_require_bast()
2650 if (gr->lkb_highbast < DLM_LOCK_EX) modes_require_bast()
2655 if (gr->lkb_highbast < rq->lkb_rqmode && !modes_compat(gr, rq)) modes_require_bast()
2663 struct dlm_lkb *gr; send_bast_queue() local
2665 list_for_each_entry(gr, head, lkb_statequeue) { list_for_each_entry()
2667 if (gr == lkb) list_for_each_entry()
2669 if (gr->lkb_bastfn && modes_require_bast(gr, lkb)) { list_for_each_entry()
2670 queue_bast(r, gr, lkb->lkb_rqmode); list_for_each_entry()
2671 gr->lkb_highbast = lkb->lkb_rqmode; list_for_each_entry()
H A Drecover.c835 log_debug(ls, "recover_conversion %x set gr to rq %d", recover_conversion()
839 log_debug(ls, "recover_conversion %x set gr %d", recover_conversion()
H A Ddlm_internal.h223 int8_t mode; /* rq mode of bast, gr mode of cast */
/linux-4.1.27/drivers/net/phy/
H A Dmdio-bitbang.c10 * by Pantelis Antoniou <panto@intracom.gr>
H A Dmdio-gpio.c13 * by Pantelis Antoniou <panto@intracom.gr>
/linux-4.1.27/arch/s390/kernel/
H A Dnmi.c107 if (!mci->gr) { s390_revalidate_registers()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dcore.h316 * Set if we need phy clock workaround for 440ep or 440gr
H A Dcore.c2599 of_device_is_compatible(np, "ibm,emac-440gr")) emac_init_config()
/linux-4.1.27/drivers/gpu/drm/ast/
H A Dast_drv.h277 u8 gr[9]; member in struct:ast_vbios_stdtable
H A Dast_mode.c266 ast_set_index_reg(ast, AST_IO_GR_PORT, i, stdtable->gr[i]); ast_set_std_reg()
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipe_hw.c454 regw_ip(base_addr, dpc_thr->corr_thr.gr & OTFDPC_DPC2_THR_MASK, set_dpc_thresholds()
462 regw_ip(base_addr, dpc_thr->det_thr.gr & OTFDPC_DPC2_THR_MASK, set_dpc_thresholds()
493 dpc_2_0->det_thr.gr = dpc_2_0->det_thr.b = 0; ipipe_set_otfdpc_regs()
H A Ddm365_ipipe.c145 dpc_2_0->det_thr.gr > OTFDPC_DPC2_THR_MASK || ipipe_validate_otfdpc_params()
149 dpc_2_0->corr_thr.gr > OTFDPC_DPC2_THR_MASK || ipipe_validate_otfdpc_params()
H A Ddavinci_vpfe_user.h654 unsigned short gr; member in struct:vpfe_ipipe_otfdpc_thr
/linux-4.1.27/drivers/net/fddi/skfp/h/
H A Dsupern_2.h256 #define FM_LAGM 0x0d /* r/w long addr.-gr. (MSW of LAGP) */
257 #define FM_LAGC 0x0e /* r/w long addr.-gr. (middle) */
258 #define FM_LAGL 0x0f /* r/w long addr.-gr. (LSW) */
/linux-4.1.27/include/video/
H A Domapdss.h381 s16 gr, gg, gb; member in struct:omap_dss_cpr_coefs
/linux-4.1.27/arch/powerpc/lib/
H A Drheap.c8 * Author: Pantelis Antoniou <panto@intracom.gr>
/linux-4.1.27/arch/ia64/include/asm/
H A Dsal.h881 u64 gr[4]; member in struct:sal_to_os_boot
H A Dpal.h466 gr : 1, /* General registers member in struct:pal_process_state_info_s
683 #define pmci_proc_gpr_valid pme_processor.gr
/linux-4.1.27/drivers/media/platform/davinci/
H A Ddm355_ccdc.c452 val = ((bcomp->gr & CCDC_BLK_COMP_MASK) << ccdc_config_black_compense()
H A Ddm644x_ccdc.c489 ((bcomp->gr & CCDC_BLK_COMP_MASK) << ccdc_config_black_compense()
/linux-4.1.27/drivers/scsi/
H A DBusLogic.h343 } gr; member in union:blogic_geo_reg
H A DBusLogic.c1560 adapter->ext_trans_enable = georeg.gr.ext_trans_enable; blogic_rdconfig()
/linux-4.1.27/drivers/media/usb/gspca/
H A Dov534_9.c437 {0x29, 0x15}, /* gr com */
H A Dzc3xx.c5733 u8 gr[16]; setcontrast() local
5774 gr[i - 1] = (g - gp2) / 2; setcontrast()
5776 gr[0] = gp1 == 0 ? 0 : (g - gp1); setcontrast()
5780 gr[15] = (0xff - gp2) / 2; setcontrast()
5782 reg_w(gspca_dev, gr[i], 0x0130 + i); /* gradient */ setcontrast()
/linux-4.1.27/arch/powerpc/kernel/
H A Dcputable.c248 .cpu_name = "POWER5 (gr)",
/linux-4.1.27/drivers/media/tuners/
H A Dr820t.c9 * https://github.com/n1gp/gr-baz
/linux-4.1.27/drivers/usb/storage/
H A Dunusual_devs.h1551 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
/linux-4.1.27/fs/udf/
H A Dsuper.c34 * 11/11/98 gr added novrs option
/linux-4.1.27/drivers/media/platform/am437x/
H A Dam437x-vpfe.c641 ((bcomp->gr & VPFE_BLK_COMP_MASK) << vpfe_ccdc_config_black_compense()
/linux-4.1.27/arch/m68k/ifpsp060/src/
H A Dpfpsp.S6371 # gr new sticky
6396 # gr new sticky
H A Dfpsp.S22249 # gr new sticky
22274 # gr new sticky

Completed in 8347 milliseconds