Lines Matching refs:target

21 int fpr_get(struct task_struct *target, const struct user_regset *regset,  in fpr_get()  argument
27 flush_fp_to_thread(target); in fpr_get()
31 buf[i] = target->thread.TS_FPR(i); in fpr_get()
32 buf[32] = target->thread.fp_state.fpscr; in fpr_get()
49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument
56 flush_fp_to_thread(target); in fpr_set()
59 buf[i] = target->thread.TS_FPR(i); in fpr_set()
60 buf[32] = target->thread.fp_state.fpscr; in fpr_set()
68 target->thread.TS_FPR(i) = buf[i]; in fpr_set()
69 target->thread.fp_state.fpscr = buf[32]; in fpr_set()
79 int vsr_active(struct task_struct *target, const struct user_regset *regset) in vsr_active() argument
81 flush_vsx_to_thread(target); in vsr_active()
82 return target->thread.used_vsr ? regset->n : 0; in vsr_active()
97 int vsr_get(struct task_struct *target, const struct user_regset *regset, in vsr_get() argument
103 flush_tmregs_to_thread(target); in vsr_get()
104 flush_fp_to_thread(target); in vsr_get()
105 flush_altivec_to_thread(target); in vsr_get()
106 flush_vsx_to_thread(target); in vsr_get()
109 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_get()
126 int vsr_set(struct task_struct *target, const struct user_regset *regset, in vsr_set() argument
133 flush_tmregs_to_thread(target); in vsr_set()
134 flush_fp_to_thread(target); in vsr_set()
135 flush_altivec_to_thread(target); in vsr_set()
136 flush_vsx_to_thread(target); in vsr_set()
139 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_set()
145 target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in vsr_set()