Lines Matching defs:index
33 /* Macros to workout the correct index for the FPR in the thread struct */
77 int index;
81 /* convert to index and check */
82 index = (unsigned long) addr >> 2;
83 if ((addr & 3) || (index > PT_FPSCR32))
86 if (index < PT_FPR0) {
87 ret = ptrace_get_reg(child, index, &tmp);
95 * index passed in is based on this assumption.
98 [FPRINDEX(index)];
113 u32 index;
121 index = (u64)addr >> 2;
122 numReg = index / 2;
124 if (index % 2)
180 unsigned long index;
183 /* convert to index and check */
184 index = (unsigned long) addr >> 2;
185 if ((addr & 3) || (index > PT_FPSCR32))
188 if (index < PT_FPR0) {
189 ret = ptrace_put_reg(child, index, data);
195 * index passed in is based on this assumption.
198 [FPRINDEX(index)] = data;
212 u32 index;
217 index = (u64)addr >> 2;
218 numReg = index / 2;
231 if (index % 2)
242 ((u32 *)tmp)[index % 2] = data;