/linux/arch/mips/kernel/ |
A D | asm-offsets.c | 350 OFFSET(VCPU_FPR0, kvm_vcpu_arch, fpu.fpr[0]); in output_kvm_defines() 351 OFFSET(VCPU_FPR1, kvm_vcpu_arch, fpu.fpr[1]); in output_kvm_defines() 352 OFFSET(VCPU_FPR2, kvm_vcpu_arch, fpu.fpr[2]); in output_kvm_defines() 353 OFFSET(VCPU_FPR3, kvm_vcpu_arch, fpu.fpr[3]); in output_kvm_defines() 354 OFFSET(VCPU_FPR4, kvm_vcpu_arch, fpu.fpr[4]); in output_kvm_defines() 355 OFFSET(VCPU_FPR5, kvm_vcpu_arch, fpu.fpr[5]); in output_kvm_defines() 356 OFFSET(VCPU_FPR6, kvm_vcpu_arch, fpu.fpr[6]); in output_kvm_defines() 357 OFFSET(VCPU_FPR7, kvm_vcpu_arch, fpu.fpr[7]); in output_kvm_defines() 358 OFFSET(VCPU_FPR8, kvm_vcpu_arch, fpu.fpr[8]); in output_kvm_defines() 359 OFFSET(VCPU_FPR9, kvm_vcpu_arch, fpu.fpr[9]); in output_kvm_defines() [all …]
|
A D | ptrace.c | 426 membuf_store(to, get_fpr64(&target->thread.fpu.fpr[i], 0)); in fpr_get_msa() 438 if (sizeof(target->thread.fpu.fpr[0]) == sizeof(elf_fpreg_t)) in fpr_get() 483 set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val); in fpr_set_msa() 518 if (sizeof(target->thread.fpu.fpr[0]) == sizeof(elf_fpreg_t)) in fpr_set() 609 membuf_write(to, &target->thread.fpu.fpr[i], cp_sz); in copy_pad_fprs() 635 membuf_write(&to, &target->thread.fpu.fpr, wr_size); in msa_get() 639 sizeof(target->thread.fpu.fpr[0])); in msa_get() 657 if (sizeof(target->thread.fpu.fpr[0]) == regset->size) { in msa_set() 660 &target->thread.fpu.fpr, in msa_set() 665 sizeof(target->thread.fpu.fpr[0])); in msa_set() [all …]
|
A D | unaligned.c | 423 union fpureg *fpr; in emulate_load_store_insn() local 437 fpr = ¤t->thread.fpu.fpr[wd]; in emulate_load_store_insn() 441 if (!access_ok(addr, sizeof(*fpr))) in emulate_load_store_insn() 456 res = __copy_from_user_inatomic(fpr, addr, in emulate_load_store_insn() 457 sizeof(*fpr)); in emulate_load_store_insn() 469 write_msa_wr(wd, fpr, df); in emulate_load_store_insn() 477 if (!access_ok(addr, sizeof(*fpr))) in emulate_load_store_insn() 487 read_msa_wr(wd, fpr, df); in emulate_load_store_insn() 490 res = __copy_to_user_inatomic(addr, fpr, sizeof(*fpr)); in emulate_load_store_insn()
|
A D | signal.c | 82 __put_user(get_fpr64(¤t->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext() 102 set_fpr64(¤t->thread.fpu.fpr[i], 0, fpr_val); in copy_fp_from_sigcontext() 198 val = get_fpr64(¤t->thread.fpu.fpr[i], 1); in save_msa_extcontext() 245 set_fpr64(¤t->thread.fpu.fpr[i], 1, val); in restore_msa_extcontext()
|
A D | kgdb.c | 154 memcpy((void *)¤t->thread.fpu.fpr[fp_reg], mem, in dbg_set_reg() 190 memcpy(mem, (void *)¤t->thread.fpu.fpr[fp_reg], in dbg_get_reg()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
A D | ptrace-gpr.h | 39 int validate_fpr(unsigned long *fpr, unsigned long val) in validate_fpr() argument 44 if (fpr[i] != val) { in validate_fpr() 45 printf("FPR[%d]: %lx Expected: %lx\n", i, fpr[i], val); in validate_fpr() 56 int validate_fpr_float(float *fpr, float val) in validate_fpr_float() argument 61 if (fpr[i] != val) { in validate_fpr_float() 62 printf("FPR[%d]: %f Expected: %f\n", i, fpr[i], val); in validate_fpr_float()
|
A D | ptrace-tm-gpr.c | 90 unsigned long fpr[32]; in trace_tm_gpr() local 95 FAIL_IF(show_fpr(child, fpr)); in trace_tm_gpr() 96 FAIL_IF(validate_fpr(fpr, FPR_2_REP)); in trace_tm_gpr() 97 FAIL_IF(show_ckpt_fpr(child, fpr)); in trace_tm_gpr() 98 FAIL_IF(validate_fpr(fpr, FPR_1_REP)); in trace_tm_gpr()
|
A D | ptrace-tm-spd-gpr.c | 96 unsigned long fpr[32]; in trace_tm_spd_gpr() local 101 FAIL_IF(show_fpr(child, fpr)); in trace_tm_spd_gpr() 102 FAIL_IF(validate_fpr(fpr, FPR_4_REP)); in trace_tm_spd_gpr() 103 FAIL_IF(show_ckpt_fpr(child, fpr)); in trace_tm_spd_gpr() 104 FAIL_IF(validate_fpr(fpr, FPR_1_REP)); in trace_tm_spd_gpr()
|
A D | ptrace.h | 33 unsigned long fpr[32]; member 321 int show_fpr(pid_t child, unsigned long *fpr) in show_fpr() argument 333 if (fpr) { in show_fpr() 335 fpr[i] = regs->fpr[i]; in show_fpr() 353 regs->fpr[i] = val; in write_fpr() 363 int show_ckpt_fpr(pid_t child, unsigned long *fpr) in show_ckpt_fpr() argument 379 if (fpr) { in show_ckpt_fpr() 381 fpr[i] = regs->fpr[i]; in show_ckpt_fpr() 404 regs->fpr[i] = val; in write_ckpt_fpr()
|
A D | ptrace-gpr.c | 58 unsigned long fpr[32]; in trace_gpr() local 63 FAIL_IF(show_fpr(child, fpr)); in trace_gpr() 64 FAIL_IF(validate_fpr(fpr, FPR_1_REP)); in trace_gpr()
|
/linux/arch/powerpc/kernel/ |
A D | signal.h | 67 unsafe_put_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \ 87 unsafe_get_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \ 108 unsafe_put_user(__t->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET], \ 128 unsafe_get_user(__t->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET], \ 135 unsafe_copy_to_user(to, (task)->thread.fp_state.fpr, \ 139 unsafe_copy_from_user((task)->thread.fp_state.fpr, from, \ 145 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user() 152 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user() 158 unsafe_copy_to_user(to, (task)->thread.ckfp_state.fpr, \ 163 return __copy_to_user(to, task->thread.ckfp_state.fpr, in copy_ckfpr_to_user() [all …]
|
A D | signal.c | 65 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user() 78 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user() 119 buf[i] = task->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_ckvsx_to_user() 132 task->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_ckvsx_from_user()
|
/linux/arch/mips/loongson64/ |
A D | cop2-ex.c | 98 set_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lswc2_format.rt], 0, value); in loongson_cu2_call() 99 set_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lswc2_format.rq], 0, value_next); in loongson_cu2_call() 131 value_next = get_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lswc2_format.rq], 0); in loongson_cu2_call() 137 value = get_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lswc2_format.rt], 0); in loongson_cu2_call() 203 set_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0, value); in loongson_cu2_call() 219 set_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0, value); in loongson_cu2_call() 283 value = get_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0); in loongson_cu2_call() 301 value = get_fpr64(¤t->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0); in loongson_cu2_call()
|
/linux/arch/mips/include/asm/ |
A D | processor.h | 103 static inline u##width get_fpr##width(union fpureg *fpr, unsigned idx) \ 105 return fpr->val##width[FPR_IDX(width, idx)]; \ 108 static inline void set_fpr##width(union fpureg *fpr, unsigned idx, \ 111 fpr->val##width[FPR_IDX(width, idx)] = val; \ 124 union fpureg fpr[NUM_FPU_REGS]; member 282 .fpr = {{{0,},},}, \
|
A D | fpu.h | 213 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx() 248 return tsk->thread.fpu.fpr; in get_fpu_regs()
|
/linux/arch/powerpc/kernel/ptrace/ |
A D | ptrace32.c | 97 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace() 138 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace() 197 ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace() 240 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
|
A D | ptrace-vsx.c | 109 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_get() 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()
|
A D | ptrace-novsx.c | 26 offsetof(struct thread_fp_state, fpr[32])); in fpr_get() 55 offsetof(struct thread_fp_state, fpr[32])); in fpr_set()
|
A D | ptrace-tm.c | 488 buf[i] = target->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET]; in tm_cvsx_get() 532 buf[i] = target->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET]; in tm_cvsx_set() 538 target->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in tm_cvsx_set()
|
/linux/drivers/net/ethernet/freescale/ |
A D | gianfar_ethtool.c | 601 u32 fcr = 0x0, fpr = FPR_FILER_MASK; in ethflow_to_filer_rules() local 606 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules() 608 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules() 613 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules() 615 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules() 623 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules() 631 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules() 640 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules() 649 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules() 658 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules() [all …]
|
/linux/arch/mips/kvm/ |
A D | mips.c | 686 v = get_fpr32(&fpu->fpr[idx], 0); in kvm_mips_get_reg() 697 v = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg() 720 vs[0] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg() 721 vs[1] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg() 724 vs[0] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg() 820 set_fpr32(&fpu->fpr[idx], 0, v); in kvm_mips_set_reg() 831 set_fpr64(&fpu->fpr[idx], 0, v); in kvm_mips_set_reg() 851 set_fpr64(&fpu->fpr[idx], 0, vs[0]); in kvm_mips_set_reg() 852 set_fpr64(&fpu->fpr[idx], 1, vs[1]); in kvm_mips_set_reg() 855 set_fpr64(&fpu->fpr[idx], 1, vs[0]); in kvm_mips_set_reg() [all …]
|
/linux/arch/mips/math-emu/ |
A D | cp1emu.c | 431 union fpureg *fpr; in isBranchInstr() local 706 fpr = ¤t->thread.fpu.fpr[insn.i_format.rt]; in isBranchInstr() 707 bit0 = get_fpr32(fpr, 0) & 0x1; in isBranchInstr() 812 set_fpr32(&ctx->fpr[x], i, 0); \ 825 set_fpr32(&ctx->fpr[x], i, 0); \ 833 unsigned int fpr, i; \ 835 set_fpr64(&ctx->fpr[fpr], 0, di); \ 837 set_fpr64(&ctx->fpr[fpr], i, 0); \ 978 union fpureg *fpr; in cop1Emulate() local 1191 fpr = ¤t->thread.fpu.fpr[MIPSInst_RT(ir)]; in cop1Emulate() [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | processor.h | 80 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET] 81 #define TS_CKFPR(i) ckfp_state.fpr[i][TS_FPROFFSET] 85 u64 fpr[32][TS_FPRWIDTH] __attribute__((aligned(16))); member
|
/linux/Documentation/translations/it_IT/process/ |
A D | maintainer-pgp-guide.rst | 224 $ gpg --change-passphrase [fpr] 233 $ gpg --quick-add-key [fpr] ed25519 sign 238 $ gpg --send-key [fpr] 272 $ gpg --export-secret-key [fpr] | paperkey -o /tmp/key-backup.txt 323 $ gpg --homedir=/media/disk/foo/gnupg-backup --list-key [fpr] 361 $ gpg --with-keygrip --list-key [fpr] 526 $ gpg --edit-key [fpr] 661 $ gpg --quick-set-expire [fpr] 1y 666 $ gpg --quick-set-expire [fpr] 2020-07-01 670 $ gpg --send-key [fpr] [all …]
|
/linux/Documentation/process/ |
A D | maintainer-pgp-guide.rst | 213 $ gpg --change-passphrase [fpr] 222 $ gpg --quick-addkey [fpr] ed25519 sign 227 $ gpg --send-key [fpr] 313 $ gpg --homedir=/media/disk/foo/gnupg-backup --list-key [fpr] 348 $ gpg --with-keygrip --list-key [fpr] 520 $ gpg --edit-key [fpr] 654 $ gpg --quick-set-expire [fpr] 1y 659 $ gpg --quick-set-expire [fpr] 2020-07-01 663 $ gpg --send-key [fpr] 717 should be used (``[fpr]`` is the fingerprint of your key):: [all …]
|