Home
last modified time | relevance | path

Searched refs:getreg (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/tools/lguest/
Dlguest.c1514 #define getreg(name) getreg_off(offsetof(struct user_regs_struct, name)) macro
1547 case 0: return getreg(eax) & mask; in getreg_num()
1548 case 1: return getreg(ecx) & mask; in getreg_num()
1549 case 2: return getreg(edx) & mask; in getreg_num()
1550 case 3: return getreg(ebx) & mask; in getreg_num()
1551 case 4: return getreg(esp) & mask; in getreg_num()
1552 case 5: return getreg(ebp) & mask; in getreg_num()
1553 case 6: return getreg(esi) & mask; in getreg_num()
1554 case 7: return getreg(edi) & mask; in getreg_num()
1574 case 0: setreg(eax, val | (getreg(eax) & ~mask)); return; in setreg_num()
[all …]
/linux-4.1.27/drivers/i2c/busses/
Di2c-ocores.c43 u8 (*getreg)(struct ocores_i2c *i2c, int reg); member
117 return i2c->getreg(i2c, reg); in oc_getreg()
384 i2c->getreg = oc_getreg_grlib; in ocores_i2c_of_probe()
430 if (!i2c->setreg || !i2c->getreg) { in ocores_i2c_probe()
434 i2c->getreg = oc_getreg_8; in ocores_i2c_probe()
439 i2c->getreg = oc_getreg_16; in ocores_i2c_probe()
444 i2c->getreg = oc_getreg_32; in ocores_i2c_probe()
/linux-4.1.27/arch/ia64/include/asm/
Dparavirt_privop.h40 unsigned long (*getreg)(int reg); member
66 #define __paravirt_getreg() pv_cpu_ops.getreg()
452 : PARAVIRT_OP(getreg), "0"(__reg) \
/linux-4.1.27/arch/um/include/asm/
Dptrace-generic.h35 extern unsigned long getreg(struct task_struct *child, int regno);
/linux-4.1.27/arch/x86/um/
Dptrace_64.c132 unsigned long getreg(struct task_struct *child, int regno) in getreg() function
186 tmp = getreg(child, addr); in peek_user()
Dptrace_32.c139 unsigned long getreg(struct task_struct *child, int regno) in getreg() function
182 tmp = getreg(child, addr); in peek_user()
/linux-4.1.27/arch/ia64/include/uapi/asm/
Dintrinsics.h112 #define ia64_getreg IA64_INTRINSIC_MACRO(getreg)
/linux-4.1.27/arch/um/kernel/
Dptrace.c73 __put_user(getreg(child, i), p); in arch_ptrace()
/linux-4.1.27/arch/x86/kernel/
Dptrace.c456 static unsigned long getreg(struct task_struct *task, unsigned long offset) in getreg() function
513 *k++ = getreg(target, pos); in genregs_get()
520 if (__put_user(getreg(target, pos), u++)) in genregs_get()
832 tmp = getreg(child, addr); in arch_ptrace()
1149 tmp = getreg(child, addr); in x32_arch_ptrace()
/linux-4.1.27/arch/ia64/kernel/
Dunaligned.c625 getreg (unsigned long regnum, unsigned long *val, int *nat, struct pt_regs *regs) in getreg() function
736 getreg(ld.imm, &r2, &nat_r2, regs); in emulate_load_updates()
883 getreg(ld.imm, &r2, NULL, regs); in emulate_store_int()
Dparavirt.c408 __DEFINE_FUNC(getreg,
565 .getreg = ia64_native_getreg_func,
/linux-4.1.27/drivers/input/mouse/
Dsentelic.c497 PSMOUSE_DEFINE_ATTR(getreg, S_IWUSR | S_IRUGO, NULL,