Home
last modified time | relevance | path

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

/linux-6.1.9/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
/linux-6.1.9/arch/s390/kernel/
Dsignal.c181 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local
187 vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1); in save_sigregs_ext()
188 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext()
191 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext()
201 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext() local
206 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext()
208 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext()
213 *((__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()
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()
Dptrace.c252 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user()
401 child->thread.fpu.vxrs + 2*offset) = data; in __poke_user()
630 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user_compat()
758 child->thread.fpu.vxrs + 2*offset) = tmp; in __poke_user_compat()
915 convert_vx_to_fp(fprs, target->thread.fpu.vxrs); in s390_fpregs_set()
938 convert_fp_to_vx(target->thread.fpu.vxrs, fprs); in s390_fpregs_set()
985 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_get() local
993 vxrs[i] = *((__u64 *)(target->thread.fpu.vxrs + i) + 1); in s390_vxrs_low_get()
994 return membuf_write(&to, vxrs, sizeof(vxrs)); in s390_vxrs_low_get()
1002 __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.c107 void __init save_area_add_vxrs(struct save_area *sa, __vector128 *vxrs) in save_area_add_vxrs() argument
113 memcpy(&sa->vxrs_low[i], &vxrs[i].u[2], 8); in save_area_add_vxrs()
115 memcpy(sa->vxrs_high, vxrs + 16, 16 * sizeof(__vector128)); in save_area_add_vxrs()
/linux-6.1.9/arch/s390/include/asm/
Dipl.h57 void __init save_area_add_vxrs(struct save_area *, __vector128 *vxrs);