Lines Matching refs:cregs

55 static inline void regs_to_cregs(struct compat_user_regs_struct *cregs,  in regs_to_cregs()  argument
58 cregs->pc = (compat_ulong_t) regs->epc; in regs_to_cregs()
59 cregs->ra = (compat_ulong_t) regs->ra; in regs_to_cregs()
60 cregs->sp = (compat_ulong_t) regs->sp; in regs_to_cregs()
61 cregs->gp = (compat_ulong_t) regs->gp; in regs_to_cregs()
62 cregs->tp = (compat_ulong_t) regs->tp; in regs_to_cregs()
63 cregs->t0 = (compat_ulong_t) regs->t0; in regs_to_cregs()
64 cregs->t1 = (compat_ulong_t) regs->t1; in regs_to_cregs()
65 cregs->t2 = (compat_ulong_t) regs->t2; in regs_to_cregs()
66 cregs->s0 = (compat_ulong_t) regs->s0; in regs_to_cregs()
67 cregs->s1 = (compat_ulong_t) regs->s1; in regs_to_cregs()
68 cregs->a0 = (compat_ulong_t) regs->a0; in regs_to_cregs()
69 cregs->a1 = (compat_ulong_t) regs->a1; in regs_to_cregs()
70 cregs->a2 = (compat_ulong_t) regs->a2; in regs_to_cregs()
71 cregs->a3 = (compat_ulong_t) regs->a3; in regs_to_cregs()
72 cregs->a4 = (compat_ulong_t) regs->a4; in regs_to_cregs()
73 cregs->a5 = (compat_ulong_t) regs->a5; in regs_to_cregs()
74 cregs->a6 = (compat_ulong_t) regs->a6; in regs_to_cregs()
75 cregs->a7 = (compat_ulong_t) regs->a7; in regs_to_cregs()
76 cregs->s2 = (compat_ulong_t) regs->s2; in regs_to_cregs()
77 cregs->s3 = (compat_ulong_t) regs->s3; in regs_to_cregs()
78 cregs->s4 = (compat_ulong_t) regs->s4; in regs_to_cregs()
79 cregs->s5 = (compat_ulong_t) regs->s5; in regs_to_cregs()
80 cregs->s6 = (compat_ulong_t) regs->s6; in regs_to_cregs()
81 cregs->s7 = (compat_ulong_t) regs->s7; in regs_to_cregs()
82 cregs->s8 = (compat_ulong_t) regs->s8; in regs_to_cregs()
83 cregs->s9 = (compat_ulong_t) regs->s9; in regs_to_cregs()
84 cregs->s10 = (compat_ulong_t) regs->s10; in regs_to_cregs()
85 cregs->s11 = (compat_ulong_t) regs->s11; in regs_to_cregs()
86 cregs->t3 = (compat_ulong_t) regs->t3; in regs_to_cregs()
87 cregs->t4 = (compat_ulong_t) regs->t4; in regs_to_cregs()
88 cregs->t5 = (compat_ulong_t) regs->t5; in regs_to_cregs()
89 cregs->t6 = (compat_ulong_t) regs->t6; in regs_to_cregs()
92 static inline void cregs_to_regs(struct compat_user_regs_struct *cregs, in cregs_to_regs() argument
95 regs->epc = (unsigned long) cregs->pc; in cregs_to_regs()
96 regs->ra = (unsigned long) cregs->ra; in cregs_to_regs()
97 regs->sp = (unsigned long) cregs->sp; in cregs_to_regs()
98 regs->gp = (unsigned long) cregs->gp; in cregs_to_regs()
99 regs->tp = (unsigned long) cregs->tp; in cregs_to_regs()
100 regs->t0 = (unsigned long) cregs->t0; in cregs_to_regs()
101 regs->t1 = (unsigned long) cregs->t1; in cregs_to_regs()
102 regs->t2 = (unsigned long) cregs->t2; in cregs_to_regs()
103 regs->s0 = (unsigned long) cregs->s0; in cregs_to_regs()
104 regs->s1 = (unsigned long) cregs->s1; in cregs_to_regs()
105 regs->a0 = (unsigned long) cregs->a0; in cregs_to_regs()
106 regs->a1 = (unsigned long) cregs->a1; in cregs_to_regs()
107 regs->a2 = (unsigned long) cregs->a2; in cregs_to_regs()
108 regs->a3 = (unsigned long) cregs->a3; in cregs_to_regs()
109 regs->a4 = (unsigned long) cregs->a4; in cregs_to_regs()
110 regs->a5 = (unsigned long) cregs->a5; in cregs_to_regs()
111 regs->a6 = (unsigned long) cregs->a6; in cregs_to_regs()
112 regs->a7 = (unsigned long) cregs->a7; in cregs_to_regs()
113 regs->s2 = (unsigned long) cregs->s2; in cregs_to_regs()
114 regs->s3 = (unsigned long) cregs->s3; in cregs_to_regs()
115 regs->s4 = (unsigned long) cregs->s4; in cregs_to_regs()
116 regs->s5 = (unsigned long) cregs->s5; in cregs_to_regs()
117 regs->s6 = (unsigned long) cregs->s6; in cregs_to_regs()
118 regs->s7 = (unsigned long) cregs->s7; in cregs_to_regs()
119 regs->s8 = (unsigned long) cregs->s8; in cregs_to_regs()
120 regs->s9 = (unsigned long) cregs->s9; in cregs_to_regs()
121 regs->s10 = (unsigned long) cregs->s10; in cregs_to_regs()
122 regs->s11 = (unsigned long) cregs->s11; in cregs_to_regs()
123 regs->t3 = (unsigned long) cregs->t3; in cregs_to_regs()
124 regs->t4 = (unsigned long) cregs->t4; in cregs_to_regs()
125 regs->t5 = (unsigned long) cregs->t5; in cregs_to_regs()
126 regs->t6 = (unsigned long) cregs->t6; in cregs_to_regs()