Home
last modified time | relevance | path

Searched refs:vxrs (Results 1 – 10 of 10) sorted by relevance

/arch/s390/include/asm/fpu/
Dinternal.h16 static inline void save_vx_regs(__vector128 *vxrs) in save_vx_regs() argument
22 : "=Q" (*(struct vx_array *) vxrs) : : "1"); in save_vx_regs()
25 static inline void convert_vx_to_fp(freg_t *fprs, __vector128 *vxrs) in convert_vx_to_fp() argument
30 fprs[i] = *(freg_t *)(vxrs + i); in convert_vx_to_fp()
33 static inline void convert_fp_to_vx(__vector128 *vxrs, freg_t *fprs) in convert_fp_to_vx() argument
38 *(freg_t *)(vxrs + i) = fprs[i]; in convert_fp_to_vx()
46 convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs); in fpregs_store()
56 convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs); in fpregs_load()
Dtypes.h21 __vector128 vxrs[__NUM_VXRS]; member
34 __vector128 vxrs[__NUM_VXRS]; member
/arch/s390/kernel/
Dfpu.c91 : [vxrs] "=Q" (*(struct vx_array *) &state->vxrs) in __kernel_fpu_begin()
173 : [vxrs] "=Q" (*(struct vx_array *) &state->vxrs) in __kernel_fpu_end()
Dsignal.c182 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local
188 vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1); in save_sigregs_ext()
189 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext()
192 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext()
202 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext() local
207 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext()
209 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext()
214 *((__u64 *)(current->thread.fpu.vxrs + i) + 1) = vxrs[i]; in restore_sigregs_ext()
Dcompat_signal.c129 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext32() local
142 vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1); in save_sigregs_ext32()
143 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext32()
146 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext32()
157 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext32() local
169 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext32()
171 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext32()
176 *((__u64 *)(current->thread.fpu.vxrs + i) + 1) = vxrs[i]; in restore_sigregs_ext32()
Dptrace.c256 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user()
409 child->thread.fpu.vxrs + 2*offset) = data; in __poke_user()
639 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user_compat()
771 child->thread.fpu.vxrs + 2*offset) = tmp; in __poke_user_compat()
924 convert_vx_to_fp(fprs, target->thread.fpu.vxrs); in s390_fpregs_set()
947 convert_fp_to_vx(target->thread.fpu.vxrs, fprs); in s390_fpregs_set()
994 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_get() local
1002 vxrs[i] = *((__u64 *)(target->thread.fpu.vxrs + i) + 1); in s390_vxrs_low_get()
1003 return membuf_write(&to, vxrs, sizeof(vxrs)); in s390_vxrs_low_get()
1011 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_set() local
[all …]
Dperf_regs.c23 fp = MACHINE_HAS_VX ? *(freg_t *)(current->thread.fpu.vxrs + idx) in perf_reg_value()
Dcrash_dump.c105 void __init save_area_add_vxrs(struct save_area *sa, __vector128 *vxrs) in save_area_add_vxrs() argument
111 memcpy(&sa->vxrs_low[i], &vxrs[i].u[2], 8); in save_area_add_vxrs()
113 memcpy(sa->vxrs_high, vxrs + 16, 16 * sizeof(__vector128)); in save_area_add_vxrs()
Dsmp.c658 __vector128 *vxrs = (__vector128 *) page; in smp_save_cpu_vxrs() local
661 vxrs = boot_cpu_vector_save_area; in smp_save_cpu_vxrs()
664 save_area_add_vxrs(sa, vxrs); in smp_save_cpu_vxrs()
/arch/s390/include/asm/
Dipl.h57 void __init save_area_add_vxrs(struct save_area *, __vector128 *vxrs);