/arch/ia64/include/uapi/asm/ |
D | gcc_intrin.h | 22 #define ia64_invala_gr(regnum) asm volatile ("invala.e r%0" :: "i"(regnum)) argument 24 #define ia64_invala_fr(regnum) asm volatile ("invala.e f%0" :: "i"(regnum)) argument 34 #define ia64_setreg(regnum, val) \ argument 36 switch (regnum) { \ 42 "i" (regnum - _IA64_REG_AR_KR0), \ 47 "i" (regnum - _IA64_REG_CR_DCR), \ 63 #define ia64_getreg(regnum) \ argument 67 switch (regnum) { \ 82 : "i"(regnum - _IA64_REG_AR_KR0)); \ 86 : "i" (regnum - _IA64_REG_CR_DCR)); \ [all …]
|
/arch/arm/include/asm/ |
D | opcodes-virt.h | 21 #define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \ argument 22 0xE12EF300 | regnum, \ 23 0xF3808E30 | (regnum << 16) \
|
/arch/ia64/kernel/ |
D | unaligned.c | 454 setreg (unsigned long regnum, unsigned long val, int nat, struct pt_regs *regs) in setreg() argument 464 if (regnum >= IA64_FIRST_STACKED_GR) { in setreg() 465 set_rse_reg(regs, regnum, val, nat); in setreg() 477 if (GR_IN_SW(regnum)) { in setreg() 485 addr, unat==&sw->ar_unat ? "yes":"no", GR_OFFS(regnum)); in setreg() 490 addr += GR_OFFS(regnum); in setreg() 513 fph_index (struct pt_regs *regs, long regnum) in fph_index() argument 516 return rotate_reg(96, rrb_fr, (regnum - IA64_FIRST_ROTATING_FR)); in fph_index() 520 setfpreg (unsigned long regnum, struct ia64_fpreg *fpval, struct pt_regs *regs) in setfpreg() argument 536 if (regnum >= IA64_FIRST_ROTATING_FR) { in setfpreg() [all …]
|
D | unwind.c | 284 unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char *nat, int write) in unw_access_gr() argument 290 if ((unsigned) regnum - 1 >= 127) { in unw_access_gr() 291 if (regnum == 0 && !write) { in unw_access_gr() 297 __func__, regnum); in unw_access_gr() 301 if (regnum < 32) { in unw_access_gr() 302 if (regnum >= 4 && regnum <= 7) { in unw_access_gr() 304 ireg = &info->r4 + (regnum - 4); in unw_access_gr() 355 addr = &info->sw->r4 + (regnum - 4); in unw_access_gr() 362 addr = (unsigned long *) ((unsigned long)pt + pt_regs_off(regnum)); in unw_access_gr() 371 addr = ia64_rse_skip_regs((unsigned long *) info->bsp, regnum - 32); in unw_access_gr() [all …]
|
D | ptrace.c | 404 unsigned long *bspstore, *krbs, regnum, *laddr, *urbs_end, *rnat_addr; in ia64_peek() local 450 regnum = ia64_rse_num_regs(bspstore, laddr); in ia64_peek() 451 *val = *ia64_rse_skip_regs(krbs, regnum); in ia64_peek() 466 unsigned long *bspstore, *krbs, regnum, *laddr; in ia64_poke() local 487 regnum = ia64_rse_num_regs(bspstore, laddr); in ia64_poke() 488 *ia64_rse_skip_regs(krbs, regnum) = val; in ia64_poke() 732 unsigned long regnum, nat_bits, scratch_unat, dummy = 0; in access_nat_bits() local 742 for (regnum = 4; regnum <= 7; ++regnum) { in access_nat_bits() 743 unw_get_gr(info, regnum, &dummy, &nat); in access_nat_bits() 744 unw_set_gr(info, regnum, dummy, in access_nat_bits() [all …]
|
/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 208 err = get_user(gentry.regnum, &g32->regnum); in mtrr_ioctl() 252 if (gentry.regnum >= num_var_ranges) in mtrr_ioctl() 254 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 298 if (gentry.regnum >= num_var_ranges) in mtrr_ioctl() 300 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 329 err |= put_user(gentry.regnum, &g32->regnum); in mtrr_ioctl()
|
/arch/microblaze/kernel/ |
D | hw_exception_handler.S | 104 #define R3_TO_LWREG_V(regnum) \ argument 105 swi r3, r1, 4 * regnum; \ 109 #define R3_TO_LWREG(regnum) \ argument 110 or NUM_TO_REG (regnum), r0, r3; \ 114 #define SWREG_TO_R3_V(regnum) \ argument 115 lwi r3, r1, 4 * regnum; \ 119 #define SWREG_TO_R3(regnum) \ argument 120 or r3, r0, NUM_TO_REG (regnum); \ 123 #define R3_TO_LWREG_VM_V(regnum) \ argument 125 swi r3, r7, 4 * regnum; [all …]
|
/arch/ia64/include/asm/ |
D | processor.h | 337 #define ia64_get_kr(regnum) \ argument 341 switch (regnum) { \ 355 #define ia64_set_kr(regnum, r) \ argument 357 switch (regnum) { \ 595 ia64_set_dbr (__u64 regnum, __u64 value) in ia64_set_dbr() argument 597 __ia64_set_dbr(regnum, value); in ia64_set_dbr() 604 ia64_get_dbr (__u64 regnum) in ia64_get_dbr() argument 608 retval = __ia64_get_dbr(regnum); in ia64_get_dbr()
|
D | sal.h | 201 u8 regnum; /* translation register number */ member
|
/arch/x86/include/uapi/asm/ |
D | mtrr.h | 46 unsigned int regnum; /* Register number */ member 63 __u32 regnum; /* Register number */ member
|
/arch/x86/include/asm/ |
D | mtrr.h | 136 compat_ulong_t regnum; /* Register number */ member
|