/arch/ia64/include/uapi/asm/ |
D | gcc_intrin.h | 21 #define ia64_invala_gr(regnum) asm volatile ("invala.e r%0" :: "i"(regnum)) argument 23 #define ia64_invala_fr(regnum) asm volatile ("invala.e f%0" :: "i"(regnum)) argument 33 #define ia64_native_setreg(regnum, val) \ argument 35 switch (regnum) { \ 41 "i" (regnum - _IA64_REG_AR_KR0), \ 46 "i" (regnum - _IA64_REG_CR_DCR), \ 62 #define ia64_native_getreg(regnum) \ argument 66 switch (regnum) { \ 81 : "i"(regnum - _IA64_REG_AR_KR0)); \ 85 : "i" (regnum - _IA64_REG_CR_DCR)); \ [all …]
|
/arch/arm/include/asm/ |
D | opcodes-virt.h | 34 #define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \ argument 35 0xE12EF300 | regnum, \ 36 0xF3808E30 | (regnum << 16) \
|
/arch/ia64/kernel/ |
D | unaligned.c | 451 setreg (unsigned long regnum, unsigned long val, int nat, struct pt_regs *regs) in setreg() argument 461 if (regnum >= IA64_FIRST_STACKED_GR) { in setreg() 462 set_rse_reg(regs, regnum, val, nat); in setreg() 474 if (GR_IN_SW(regnum)) { in setreg() 482 addr, unat==&sw->ar_unat ? "yes":"no", GR_OFFS(regnum)); in setreg() 487 addr += GR_OFFS(regnum); in setreg() 510 fph_index (struct pt_regs *regs, long regnum) in fph_index() argument 513 return rotate_reg(96, rrb_fr, (regnum - IA64_FIRST_ROTATING_FR)); in fph_index() 517 setfpreg (unsigned long regnum, struct ia64_fpreg *fpval, struct pt_regs *regs) in setfpreg() argument 533 if (regnum >= IA64_FIRST_ROTATING_FR) { in setfpreg() [all …]
|
D | unwind.c | 283 unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char *nat, int write) in unw_access_gr() argument 289 if ((unsigned) regnum - 1 >= 127) { in unw_access_gr() 290 if (regnum == 0 && !write) { in unw_access_gr() 296 __func__, regnum); in unw_access_gr() 300 if (regnum < 32) { in unw_access_gr() 301 if (regnum >= 4 && regnum <= 7) { in unw_access_gr() 303 ireg = &info->r4 + (regnum - 4); in unw_access_gr() 354 addr = &info->sw->r4 + (regnum - 4); in unw_access_gr() 361 addr = (unsigned long *) ((unsigned long)pt + pt_regs_off(regnum)); in unw_access_gr() 370 addr = ia64_rse_skip_regs((unsigned long *) info->bsp, regnum - 32); in unw_access_gr() [all …]
|
D | ptrace.c | 405 unsigned long *bspstore, *krbs, regnum, *laddr, *urbs_end, *rnat_addr; in ia64_peek() local 451 regnum = ia64_rse_num_regs(bspstore, laddr); in ia64_peek() 452 *val = *ia64_rse_skip_regs(krbs, regnum); in ia64_peek() 467 unsigned long *bspstore, *krbs, regnum, *laddr; in ia64_poke() local 488 regnum = ia64_rse_num_regs(bspstore, laddr); in ia64_poke() 489 *ia64_rse_skip_regs(krbs, regnum) = val; in ia64_poke() 787 unsigned long regnum, nat_bits, scratch_unat, dummy = 0; in access_nat_bits() local 797 for (regnum = 4; regnum <= 7; ++regnum) { in access_nat_bits() 798 unw_get_gr(info, regnum, &dummy, &nat); in access_nat_bits() 799 unw_set_gr(info, regnum, dummy, in access_nat_bits() [all …]
|
D | paravirt.c | 145 ia64_native_getreg_func(int regnum) in ia64_native_getreg_func() argument 148 switch (regnum) { in ia64_native_getreg_func() 211 printk(KERN_CRIT "wrong_getreg %d\n", regnum); in ia64_native_getreg_func() 225 ia64_native_setreg_func(int regnum, unsigned long val) in ia64_native_setreg_func() argument 227 switch (regnum) { in ia64_native_setreg_func() 290 printk(KERN_CRIT "wrong setreg %d\n", regnum); in ia64_native_setreg_func() 395 extern unsigned long ia64_native_getreg_func(int regnum); 473 extern void ia64_native_setreg_func(int regnum, unsigned long val);
|
/arch/metag/include/asm/ |
D | hwthread.h | 26 void __iomem *__CU_addr(unsigned int thread, unsigned int regnum) in __CU_addr() argument 35 thread_regnum = TXUCTREGn_STRIDE * regnum; in __CU_addr()
|
/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 217 err = get_user(gentry.regnum, &g32->regnum); in mtrr_ioctl() 269 if (gentry.regnum >= num_var_ranges) in mtrr_ioctl() 271 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 323 if (gentry.regnum >= num_var_ranges) in mtrr_ioctl() 325 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 354 err |= put_user(gentry.regnum, &g32->regnum); in mtrr_ioctl()
|
/arch/x86/include/uapi/asm/ |
D | mtrr.h | 45 unsigned int regnum; /* Register number */ member 62 __u32 regnum; /* Register number */ member
|
/arch/ia64/include/asm/ |
D | processor.h | 359 #define ia64_get_kr(regnum) \ argument 363 switch (regnum) { \ 377 #define ia64_set_kr(regnum, r) \ argument 379 switch (regnum) { \ 641 ia64_set_dbr (__u64 regnum, __u64 value) in ia64_set_dbr() argument 643 __ia64_set_dbr(regnum, value); in ia64_set_dbr() 650 ia64_get_dbr (__u64 regnum) in ia64_get_dbr() argument 654 retval = __ia64_get_dbr(regnum); in ia64_get_dbr()
|
D | paravirt_privop.h | 56 extern void ia64_native_setreg_func(int regnum, unsigned long val); 57 extern unsigned long ia64_native_getreg_func(int regnum);
|
D | sal.h | 199 u8 regnum; /* translation register number */ member
|
/arch/microblaze/kernel/ |
D | hw_exception_handler.S | 113 #define R3_TO_LWREG_V(regnum) \ argument 114 swi r3, r1, 4 * regnum; \ 118 #define R3_TO_LWREG(regnum) \ argument 119 or NUM_TO_REG (regnum), r0, r3; \ 123 #define SWREG_TO_R3_V(regnum) \ argument 124 lwi r3, r1, 4 * regnum; \ 128 #define SWREG_TO_R3(regnum) \ argument 129 or r3, r0, NUM_TO_REG (regnum); \ 133 #define R3_TO_LWREG_VM_V(regnum) \ argument 135 swi r3, r7, 4 * regnum; [all …]
|
/arch/ia64/kvm/ |
D | vcpu.c | 263 long regnum) in fph_index() argument 266 return rotate_reg(96, rrb_fr, (regnum - IA64_FIRST_ROTATING_FR)); in fph_index() 396 void getreg(unsigned long regnum, unsigned long *val, in getreg() argument 400 if (regnum >= IA64_FIRST_STACKED_GR) { in getreg() 401 get_rse_reg(regs, regnum, val, nat); in getreg() 411 addr += gr_info[regnum]; in getreg() 421 void setreg(unsigned long regnum, unsigned long val, in setreg() argument 431 if (regnum >= IA64_FIRST_STACKED_GR) { in setreg() 432 set_rse_reg(regs, regnum, val, nat); in setreg() 445 addr += gr_info[regnum]; in setreg() [all …]
|
/arch/x86/include/asm/ |
D | mtrr.h | 109 compat_ulong_t regnum; /* Register number */ member
|
/arch/sparc/kernel/ |
D | unaligned_32.c | 287 #define WINREG_ADDR(regnum) \ in ok_for_user() argument 288 ((void __user *)(((unsigned long *)regs->u_regs[UREG_FP])+(regnum))) in ok_for_user()
|