fprs 1081 arch/powerpc/kvm/powerpc.c static inline u64 sp_to_dp(u32 fprs) fprs 1087 arch/powerpc/kvm/powerpc.c asm ("lfs%U1%X1 0,%1; stfd%U0%X0 0,%0" : "=m" (fprd) : "m" (fprs) fprs 1095 arch/powerpc/kvm/powerpc.c u32 fprs; fprs 1099 arch/powerpc/kvm/powerpc.c asm ("lfd%U1%X1 0,%1; stfs%U0%X0 0,%0" : "=m" (fprs) : "m" (fprd) fprs 1102 arch/powerpc/kvm/powerpc.c return fprs; fprs 25 arch/s390/include/asm/fpu/internal.h static inline void convert_vx_to_fp(freg_t *fprs, __vector128 *vxrs) fprs 30 arch/s390/include/asm/fpu/internal.h fprs[i] = *(freg_t *)(vxrs + i); fprs 33 arch/s390/include/asm/fpu/internal.h static inline void convert_fp_to_vx(__vector128 *vxrs, freg_t *fprs) fprs 38 arch/s390/include/asm/fpu/internal.h *(freg_t *)(vxrs + i) = fprs[i]; fprs 46 arch/s390/include/asm/fpu/internal.h convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs); fprs 48 arch/s390/include/asm/fpu/internal.h memcpy((freg_t *)&fpregs->fprs, fpu->fprs, fprs 49 arch/s390/include/asm/fpu/internal.h sizeof(fpregs->fprs)); fprs 56 arch/s390/include/asm/fpu/internal.h convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs); fprs 58 arch/s390/include/asm/fpu/internal.h memcpy(fpu->fprs, (freg_t *)&fpregs->fprs, fprs 59 arch/s390/include/asm/fpu/internal.h sizeof(fpregs->fprs)); fprs 19 arch/s390/include/asm/fpu/types.h freg_t fprs[__NUM_FPRS]; fprs 33 arch/s390/include/asm/fpu/types.h freg_t fprs[__NUM_FPRS]; fprs 164 arch/s390/include/asm/processor.h .fpu.regs = (void *) init_task.thread.fpu.fprs, \ fprs 189 arch/s390/include/uapi/asm/kvm.h __u64 fprs[16]; fprs 259 arch/s390/include/uapi/asm/kvm.h __u64 fprs[16]; /* fp registers (KVM_SYNC_FPRS) */ fprs 202 arch/s390/include/uapi/asm/ptrace.h freg_t fprs[NUM_FPRS]; fprs 58 arch/s390/include/uapi/asm/sigcontext.h double fprs[__NUM_FPRS]; fprs 32 arch/s390/kernel/compat_linux.h freg_t32 fprs[__NUM_FPRS]; fprs 44 arch/s390/kernel/crash_dump.c u64 fprs[16]; fprs 94 arch/s390/kernel/crash_dump.c memcpy(&sa->fprs, &lc->floating_pt_save_area, sizeof(sa->fprs)); fprs 372 arch/s390/kernel/crash_dump.c memcpy(&nt_fpregset.fprs, &sa->fprs, sizeof(sa->fprs)); fprs 31 arch/s390/kernel/fpu.c asm volatile("std 0,%0" : "=Q" (state->fprs[0])); fprs 32 arch/s390/kernel/fpu.c asm volatile("std 1,%0" : "=Q" (state->fprs[1])); fprs 33 arch/s390/kernel/fpu.c asm volatile("std 2,%0" : "=Q" (state->fprs[2])); fprs 34 arch/s390/kernel/fpu.c asm volatile("std 3,%0" : "=Q" (state->fprs[3])); fprs 35 arch/s390/kernel/fpu.c asm volatile("std 4,%0" : "=Q" (state->fprs[4])); fprs 36 arch/s390/kernel/fpu.c asm volatile("std 5,%0" : "=Q" (state->fprs[5])); fprs 37 arch/s390/kernel/fpu.c asm volatile("std 6,%0" : "=Q" (state->fprs[6])); fprs 38 arch/s390/kernel/fpu.c asm volatile("std 7,%0" : "=Q" (state->fprs[7])); fprs 39 arch/s390/kernel/fpu.c asm volatile("std 8,%0" : "=Q" (state->fprs[8])); fprs 40 arch/s390/kernel/fpu.c asm volatile("std 9,%0" : "=Q" (state->fprs[9])); fprs 41 arch/s390/kernel/fpu.c asm volatile("std 10,%0" : "=Q" (state->fprs[10])); fprs 42 arch/s390/kernel/fpu.c asm volatile("std 11,%0" : "=Q" (state->fprs[11])); fprs 43 arch/s390/kernel/fpu.c asm volatile("std 12,%0" : "=Q" (state->fprs[12])); fprs 44 arch/s390/kernel/fpu.c asm volatile("std 13,%0" : "=Q" (state->fprs[13])); fprs 45 arch/s390/kernel/fpu.c asm volatile("std 14,%0" : "=Q" (state->fprs[14])); fprs 46 arch/s390/kernel/fpu.c asm volatile("std 15,%0" : "=Q" (state->fprs[15])); fprs 113 arch/s390/kernel/fpu.c asm volatile("ld 0,%0" : : "Q" (state->fprs[0])); fprs 114 arch/s390/kernel/fpu.c asm volatile("ld 1,%0" : : "Q" (state->fprs[1])); fprs 115 arch/s390/kernel/fpu.c asm volatile("ld 2,%0" : : "Q" (state->fprs[2])); fprs 116 arch/s390/kernel/fpu.c asm volatile("ld 3,%0" : : "Q" (state->fprs[3])); fprs 117 arch/s390/kernel/fpu.c asm volatile("ld 4,%0" : : "Q" (state->fprs[4])); fprs 118 arch/s390/kernel/fpu.c asm volatile("ld 5,%0" : : "Q" (state->fprs[5])); fprs 119 arch/s390/kernel/fpu.c asm volatile("ld 6,%0" : : "Q" (state->fprs[6])); fprs 120 arch/s390/kernel/fpu.c asm volatile("ld 7,%0" : : "Q" (state->fprs[7])); fprs 121 arch/s390/kernel/fpu.c asm volatile("ld 8,%0" : : "Q" (state->fprs[8])); fprs 122 arch/s390/kernel/fpu.c asm volatile("ld 9,%0" : : "Q" (state->fprs[9])); fprs 123 arch/s390/kernel/fpu.c asm volatile("ld 10,%0" : : "Q" (state->fprs[10])); fprs 124 arch/s390/kernel/fpu.c asm volatile("ld 11,%0" : : "Q" (state->fprs[11])); fprs 125 arch/s390/kernel/fpu.c asm volatile("ld 12,%0" : : "Q" (state->fprs[12])); fprs 126 arch/s390/kernel/fpu.c asm volatile("ld 13,%0" : : "Q" (state->fprs[13])); fprs 127 arch/s390/kernel/fpu.c asm volatile("ld 14,%0" : : "Q" (state->fprs[14])); fprs 128 arch/s390/kernel/fpu.c asm volatile("ld 15,%0" : : "Q" (state->fprs[15])); fprs 24 arch/s390/kernel/perf_regs.c : current->thread.fpu.fprs[idx]; fprs 78 arch/s390/kernel/process.c dst->thread.fpu.regs = dst->thread.fpu.fprs; fprs 171 arch/s390/kernel/process.c convert_vx_to_fp((freg_t *)&fpregs->fprs, fprs 174 arch/s390/kernel/process.c memcpy(&fpregs->fprs, current->thread.fpu.fprs, fprs 175 arch/s390/kernel/process.c sizeof(fpregs->fprs)); fprs 257 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy->regs.fp_regs.fprs; fprs 263 arch/s390/kernel/ptrace.c ((addr_t) child->thread.fpu.fprs + offset); fprs 401 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy->regs.fp_regs.fprs; fprs 407 arch/s390/kernel/ptrace.c child->thread.fpu.fprs + offset) = data; fprs 633 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs; fprs 639 arch/s390/kernel/ptrace.c ((addr_t) child->thread.fpu.fprs + offset); fprs 758 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs; fprs 764 arch/s390/kernel/ptrace.c child->thread.fpu.fprs + offset) = tmp; fprs 977 arch/s390/kernel/ptrace.c freg_t fprs[__NUM_FPRS]; fprs 983 arch/s390/kernel/ptrace.c convert_vx_to_fp(fprs, target->thread.fpu.vxrs); fprs 985 arch/s390/kernel/ptrace.c memcpy(&fprs, target->thread.fpu.fprs, sizeof(fprs)); fprs 988 arch/s390/kernel/ptrace.c if (count > 0 && pos < offsetof(s390_fp_regs, fprs)) { fprs 991 arch/s390/kernel/ptrace.c 0, offsetof(s390_fp_regs, fprs)); fprs 1001 arch/s390/kernel/ptrace.c fprs, offsetof(s390_fp_regs, fprs), -1); fprs 1006 arch/s390/kernel/ptrace.c convert_fp_to_vx(target->thread.fpu.vxrs, fprs); fprs 1008 arch/s390/kernel/ptrace.c memcpy(target->thread.fpu.fprs, &fprs, sizeof(fprs)); fprs 552 arch/s390/kvm/interrupt.c freg_t fprs[NUM_FPRS]; fprs 614 arch/s390/kvm/interrupt.c convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs); fprs 615 arch/s390/kvm/interrupt.c rc |= write_guest_lc(vcpu, __LC_FPREGS_SAVE_AREA, fprs, 128); fprs 618 arch/s390/kvm/interrupt.c vcpu->run->s.regs.fprs, 128); fprs 3353 arch/s390/kvm/kvm-s390.c (freg_t *) fpu->fprs); fprs 3355 arch/s390/kvm/kvm-s390.c memcpy(vcpu->run->s.regs.fprs, &fpu->fprs, sizeof(fpu->fprs)); fprs 3369 arch/s390/kvm/kvm-s390.c convert_vx_to_fp((freg_t *) fpu->fprs, fprs 3372 arch/s390/kvm/kvm-s390.c memcpy(fpu->fprs, vcpu->run->s.regs.fprs, sizeof(fpu->fprs)); fprs 3935 arch/s390/kvm/kvm-s390.c current->thread.fpu.regs = vcpu->run->s.regs.fprs; fprs 4068 arch/s390/kvm/kvm-s390.c freg_t fprs[NUM_FPRS]; fprs 4087 arch/s390/kvm/kvm-s390.c convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs); fprs 4089 arch/s390/kvm/kvm-s390.c fprs, 128); fprs 4092 arch/s390/kvm/kvm-s390.c vcpu->run->s.regs.fprs, 128); fprs 81 arch/sparc/include/asm/sigcontext.h unsigned int fprs; fprs 16 arch/sparc/include/asm/visasm.h rd %fprs, %o5; \ fprs 23 arch/sparc/include/asm/visasm.h 297: wr %g0, FPRS_FEF, %fprs; \ fprs 26 arch/sparc/include/asm/visasm.h wr %g0, 0, %fprs; fprs 38 arch/sparc/include/asm/visasm.h rd %fprs, %o5; \ fprs 43 arch/sparc/include/asm/visasm.h 297: wr %o5, FPRS_FEF, %fprs; fprs 46 arch/sparc/include/asm/visasm.h wr %o5, 0, %fprs; fprs 723 arch/sparc/kernel/process_64.c unsigned long fprs = current_thread_info()->fpsaved[0]; fprs 728 arch/sparc/kernel/process_64.c if (fprs & FPRS_DL) fprs 738 arch/sparc/kernel/process_64.c if (fprs & FPRS_FEF) { fprs 746 arch/sparc/kernel/process_64.c if(fprs & FPRS_DL) fprs 752 arch/sparc/kernel/process_64.c if(fprs & FPRS_DU) fprs 758 arch/sparc/kernel/process_64.c if(fprs & FPRS_FEF) { fprs 764 arch/sparc/kernel/process_64.c fpregs->pr_fprs = fprs; fprs 378 arch/sparc/kernel/ptrace_64.c unsigned long fprs, fsr, gsr; fprs 384 arch/sparc/kernel/ptrace_64.c fprs = task_thread_info(target)->fpsaved[0]; fprs 386 arch/sparc/kernel/ptrace_64.c if (fprs & FPRS_DL) fprs 396 arch/sparc/kernel/ptrace_64.c if (fprs & FPRS_DU) fprs 409 arch/sparc/kernel/ptrace_64.c if (fprs & FPRS_FEF) { fprs 428 arch/sparc/kernel/ptrace_64.c &fprs, fprs 445 arch/sparc/kernel/ptrace_64.c unsigned long fprs; fprs 465 arch/sparc/kernel/ptrace_64.c fprs = task_thread_info(target)->fpsaved[0]; fprs 468 arch/sparc/kernel/ptrace_64.c &fprs, fprs 473 arch/sparc/kernel/ptrace_64.c fprs |= (FPRS_FEF | FPRS_DL | FPRS_DU); fprs 474 arch/sparc/kernel/ptrace_64.c task_thread_info(target)->fpsaved[0] = fprs; fprs 757 arch/sparc/kernel/ptrace_64.c unsigned long fprs; fprs 764 arch/sparc/kernel/ptrace_64.c fprs = task_thread_info(target)->fpsaved[0]; fprs 765 arch/sparc/kernel/ptrace_64.c if (fprs & FPRS_FEF) { fprs 810 arch/sparc/kernel/ptrace_64.c unsigned long fprs; fprs 816 arch/sparc/kernel/ptrace_64.c fprs = task_thread_info(target)->fpsaved[0]; fprs 841 arch/sparc/kernel/ptrace_64.c fprs |= (FPRS_FEF | FPRS_DL); fprs 842 arch/sparc/kernel/ptrace_64.c task_thread_info(target)->fpsaved[0] = fprs; fprs 113 arch/sparc/kernel/signal_64.c unsigned long fprs; fprs 116 arch/sparc/kernel/signal_64.c err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); fprs 117 arch/sparc/kernel/signal_64.c if (fprs & FPRS_DL) fprs 121 arch/sparc/kernel/signal_64.c if (fprs & FPRS_DU) fprs 211 arch/sparc/kernel/signal_64.c unsigned long fprs; fprs 213 arch/sparc/kernel/signal_64.c fprs = current_thread_info()->fpsaved[0]; fprs 214 arch/sparc/kernel/signal_64.c if (fprs & FPRS_DL) fprs 217 arch/sparc/kernel/signal_64.c if (fprs & FPRS_DU) fprs 223 arch/sparc/kernel/signal_64.c err |= __put_user(fprs, &(mcp->mc_fpregs.mcfpu_fprs)); fprs 18 arch/sparc/kernel/sigutil_64.c unsigned long fprs; fprs 21 arch/sparc/kernel/sigutil_64.c fprs = current_thread_info()->fpsaved[0]; fprs 22 arch/sparc/kernel/sigutil_64.c if (fprs & FPRS_DL) fprs 25 arch/sparc/kernel/sigutil_64.c if (fprs & FPRS_DU) fprs 30 arch/sparc/kernel/sigutil_64.c err |= __put_user(fprs, &fpu->si_fprs); fprs 38 arch/sparc/kernel/sigutil_64.c unsigned long fprs; fprs 44 arch/sparc/kernel/sigutil_64.c err = get_user(fprs, &fpu->si_fprs); fprs 47 arch/sparc/kernel/sigutil_64.c if (fprs & FPRS_DL) fprs 50 arch/sparc/kernel/sigutil_64.c if (fprs & FPRS_DU) fprs 55 arch/sparc/kernel/sigutil_64.c current_thread_info()->fpsaved[0] |= fprs; fprs 189 tools/arch/s390/include/uapi/asm/kvm.h __u64 fprs[16]; fprs 259 tools/arch/s390/include/uapi/asm/kvm.h __u64 fprs[16]; /* fp registers (KVM_SYNC_FPRS) */ fprs 202 tools/arch/s390/include/uapi/asm/ptrace.h freg_t fprs[NUM_FPRS];