Lines Matching refs:RI
431 #define RI(reg) (offsetof(struct user_regs_struct,reg) / sizeof(long)) macro
436 case RI(gr[0]) ... RI(gr[31]): return regs->gr[num - RI(gr[0])]; in get_reg()
437 case RI(sr[0]) ... RI(sr[7]): return regs->sr[num - RI(sr[0])]; in get_reg()
438 case RI(iasq[0]): return regs->iasq[0]; in get_reg()
439 case RI(iasq[1]): return regs->iasq[1]; in get_reg()
440 case RI(iaoq[0]): return regs->iaoq[0]; in get_reg()
441 case RI(iaoq[1]): return regs->iaoq[1]; in get_reg()
442 case RI(sar): return regs->sar; in get_reg()
443 case RI(iir): return regs->iir; in get_reg()
444 case RI(isr): return regs->isr; in get_reg()
445 case RI(ior): return regs->ior; in get_reg()
446 case RI(ipsw): return regs->ipsw; in get_reg()
447 case RI(cr27): return regs->cr27; in get_reg()
448 case RI(cr0): return mfctl(0); in get_reg()
449 case RI(cr24): return mfctl(24); in get_reg()
450 case RI(cr25): return mfctl(25); in get_reg()
451 case RI(cr26): return mfctl(26); in get_reg()
452 case RI(cr28): return mfctl(28); in get_reg()
453 case RI(cr29): return mfctl(29); in get_reg()
454 case RI(cr30): return mfctl(30); in get_reg()
455 case RI(cr31): return mfctl(31); in get_reg()
456 case RI(cr8): return mfctl(8); in get_reg()
457 case RI(cr9): return mfctl(9); in get_reg()
458 case RI(cr12): return mfctl(12); in get_reg()
459 case RI(cr13): return mfctl(13); in get_reg()
460 case RI(cr10): return mfctl(10); in get_reg()
461 case RI(cr15): return mfctl(15); in get_reg()
469 case RI(gr[0]): /* in set_reg()
480 case RI(gr[1]) ... RI(gr[31]): in set_reg()
481 regs->gr[num - RI(gr[0])] = val; in set_reg()
483 case RI(iaoq[0]): in set_reg()
484 case RI(iaoq[1]): in set_reg()
486 regs->iaoq[num - RI(iaoq[0])] = val | 3; in set_reg()
488 case RI(sar): regs->sar = val; in set_reg()
493 case RI(sr[0]) ... RI(sr[7]): return regs->sr[num - RI(sr[0])]; in set_reg()
494 case RI(iasq[0]): return regs->iasq[0]; in set_reg()
495 case RI(iasq[1]): return regs->iasq[1]; in set_reg()
496 case RI(iir): return regs->iir; in set_reg()
497 case RI(isr): return regs->isr; in set_reg()
498 case RI(ior): return regs->ior; in set_reg()
499 case RI(ipsw): return regs->ipsw; in set_reg()
500 case RI(cr27): return regs->cr27; in set_reg()