Lines Matching full:ri

443 #define RI(reg) (offsetof(struct user_regs_struct,reg) / sizeof(long))  macro
448 case RI(gr[0]) ... RI(gr[31]): return regs->gr[num - RI(gr[0])]; in get_reg()
449 case RI(sr[0]) ... RI(sr[7]): return regs->sr[num - RI(sr[0])]; in get_reg()
450 case RI(iasq[0]): return regs->iasq[0]; in get_reg()
451 case RI(iasq[1]): return regs->iasq[1]; in get_reg()
452 case RI(iaoq[0]): return regs->iaoq[0]; in get_reg()
453 case RI(iaoq[1]): return regs->iaoq[1]; in get_reg()
454 case RI(sar): return regs->sar; in get_reg()
455 case RI(iir): return regs->iir; in get_reg()
456 case RI(isr): return regs->isr; in get_reg()
457 case RI(ior): return regs->ior; in get_reg()
458 case RI(ipsw): return regs->ipsw; in get_reg()
459 case RI(cr27): return regs->cr27; in get_reg()
460 case RI(cr0): return mfctl(0); in get_reg()
461 case RI(cr24): return mfctl(24); in get_reg()
462 case RI(cr25): return mfctl(25); in get_reg()
463 case RI(cr26): return mfctl(26); in get_reg()
464 case RI(cr28): return mfctl(28); in get_reg()
465 case RI(cr29): return mfctl(29); in get_reg()
466 case RI(cr30): return mfctl(30); in get_reg()
467 case RI(cr31): return mfctl(31); in get_reg()
468 case RI(cr8): return mfctl(8); in get_reg()
469 case RI(cr9): return mfctl(9); in get_reg()
470 case RI(cr12): return mfctl(12); in get_reg()
471 case RI(cr13): return mfctl(13); in get_reg()
472 case RI(cr10): return mfctl(10); in get_reg()
473 case RI(cr15): return mfctl(15); in get_reg()
481 case RI(gr[0]): /* in set_reg()
492 case RI(gr[1]) ... RI(gr[31]): in set_reg()
493 regs->gr[num - RI(gr[0])] = val; in set_reg()
495 case RI(iaoq[0]): in set_reg()
496 case RI(iaoq[1]): in set_reg()
498 regs->iaoq[num - RI(iaoq[0])] = val | PRIV_USER; in set_reg()
500 case RI(sar): regs->sar = val; in set_reg()
505 case RI(sr[0]) ... RI(sr[7]): return regs->sr[num - RI(sr[0])]; in set_reg()
506 case RI(iasq[0]): return regs->iasq[0]; in set_reg()
507 case RI(iasq[1]): return regs->iasq[1]; in set_reg()
508 case RI(iir): return regs->iir; in set_reg()
509 case RI(isr): return regs->isr; in set_reg()
510 case RI(ior): return regs->ior; in set_reg()
511 case RI(ipsw): return regs->ipsw; in set_reg()
512 case RI(cr27): return regs->cr27; in set_reg()