Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
Dcompat_signal.c128 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext32() local
141 vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1); in save_sigregs_ext32()
142 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext32()
145 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext32()
156 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext32() local
168 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext32()
170 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext32()
175 *((__u64 *)(current->thread.fpu.vxrs + i) + 1) = vxrs[i]; in restore_sigregs_ext32()
Dsignal.c180 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local
186 vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1); in save_sigregs_ext()
187 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext()
190 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext()
200 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext() local
205 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext()
207 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext()
212 *((__u64 *)(current->thread.fpu.vxrs + i) + 1) = vxrs[i]; in restore_sigregs_ext()
Dptrace.c258 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user()
427 child->thread.fpu.vxrs + 2*offset) = data; in __poke_user()
659 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user_compat()
788 child->thread.fpu.vxrs + 2*offset) = tmp; in __poke_user_compat()
1021 convert_vx_to_fp(fprs, target->thread.fpu.vxrs); in s390_fpregs_set()
1044 convert_fp_to_vx(target->thread.fpu.vxrs, fprs); in s390_fpregs_set()
1089 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_get() local
1097 vxrs[i] = *((__u64 *)(target->thread.fpu.vxrs + i) + 1); in s390_vxrs_low_get()
1098 return membuf_write(&to, vxrs, sizeof(vxrs)); in s390_vxrs_low_get()
1106 __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.c636 __vector128 *vxrs = (__vector128 *) page; in smp_save_cpu_vxrs() local
639 vxrs = boot_cpu_vector_save_area; in smp_save_cpu_vxrs()
642 save_area_add_vxrs(sa, vxrs); in smp_save_cpu_vxrs()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dipl.h56 void __init save_area_add_vxrs(struct save_area *, __vector128 *vxrs);