Lines Matching refs:regnum
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()
484 void getfpreg(unsigned long regnum, struct ia64_fpreg *fpval, in getfpreg() argument
488 if (regnum >= IA64_FIRST_ROTATING_FR) in getfpreg()
489 regnum = IA64_FIRST_ROTATING_FR + fph_index(regs, regnum); in getfpreg()
495 switch (regnum) { in getfpreg()
630 void setfpreg(unsigned long regnum, struct ia64_fpreg *fpval, in setfpreg() argument
634 if (regnum >= IA64_FIRST_ROTATING_FR) in setfpreg()
635 regnum = IA64_FIRST_ROTATING_FR + fph_index(regs, regnum); in setfpreg()
642 switch (regnum) { in setfpreg()