Home
last modified time | relevance | path

Searched refs:fpr (Results 1 – 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/kernel/
Dasm-offsets.c142 OFFSET(THREAD_FPR0, task_struct, thread.fpu.fpr[0]); in output_thread_fpu_defines()
143 OFFSET(THREAD_FPR1, task_struct, thread.fpu.fpr[1]); in output_thread_fpu_defines()
144 OFFSET(THREAD_FPR2, task_struct, thread.fpu.fpr[2]); in output_thread_fpu_defines()
145 OFFSET(THREAD_FPR3, task_struct, thread.fpu.fpr[3]); in output_thread_fpu_defines()
146 OFFSET(THREAD_FPR4, task_struct, thread.fpu.fpr[4]); in output_thread_fpu_defines()
147 OFFSET(THREAD_FPR5, task_struct, thread.fpu.fpr[5]); in output_thread_fpu_defines()
148 OFFSET(THREAD_FPR6, task_struct, thread.fpu.fpr[6]); in output_thread_fpu_defines()
149 OFFSET(THREAD_FPR7, task_struct, thread.fpu.fpr[7]); in output_thread_fpu_defines()
150 OFFSET(THREAD_FPR8, task_struct, thread.fpu.fpr[8]); in output_thread_fpu_defines()
151 OFFSET(THREAD_FPR9, task_struct, thread.fpu.fpr[9]); in output_thread_fpu_defines()
[all …]
Dptrace.c426 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()
633 } else if (sizeof(target->thread.fpu.fpr[0]) == regset->size) { in msa_get()
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()
[all …]
Dunaligned.c465 union fpureg *fpr; in emulate_load_store_insn() local
479 fpr = &current->thread.fpu.fpr[wd]; in emulate_load_store_insn()
483 if (!access_ok(addr, sizeof(*fpr))) in emulate_load_store_insn()
498 res = __copy_from_user_inatomic(fpr, addr, in emulate_load_store_insn()
499 sizeof(*fpr)); in emulate_load_store_insn()
511 write_msa_wr(wd, fpr, df); in emulate_load_store_insn()
519 if (!access_ok(addr, sizeof(*fpr))) in emulate_load_store_insn()
529 read_msa_wr(wd, fpr, df); in emulate_load_store_insn()
532 res = __copy_to_user_inatomic(addr, fpr, sizeof(*fpr)); in emulate_load_store_insn()
Dkgdb.c155 memcpy((void *)&current->thread.fpu.fpr[fp_reg], mem, in dbg_set_reg()
191 memcpy(mem, (void *)&current->thread.fpu.fpr[fp_reg], in dbg_get_reg()
Dsignal.c82 __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext()
102 set_fpr64(&current->thread.fpu.fpr[i], 0, fpr_val); in copy_fp_from_sigcontext()
198 val = get_fpr64(&current->thread.fpu.fpr[i], 1); in save_msa_extcontext()
245 set_fpr64(&current->thread.fpu.fpr[i], 1, val); in restore_msa_extcontext()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-gpr.h39 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()
Dptrace-tm-gpr.c90 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()
Dptrace-tm-spd-gpr.c96 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()
Dptrace.h33 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()
Dptrace-gpr.c58 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()
/kernel/linux/linux-5.10/arch/mips/loongson64/
Dcop2-ex.c98 set_fpr64(&current->thread.fpu.fpr[insn.loongson3_lswc2_format.rt], 0, value); in loongson_cu2_call()
99 set_fpr64(&current->thread.fpu.fpr[insn.loongson3_lswc2_format.rq], 0, value_next); in loongson_cu2_call()
131 value_next = get_fpr64(&current->thread.fpu.fpr[insn.loongson3_lswc2_format.rq], 0); in loongson_cu2_call()
137 value = get_fpr64(&current->thread.fpu.fpr[insn.loongson3_lswc2_format.rt], 0); in loongson_cu2_call()
203 set_fpr64(&current->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0, value); in loongson_cu2_call()
219 set_fpr64(&current->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0, value); in loongson_cu2_call()
283 value = get_fpr64(&current->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0); in loongson_cu2_call()
301 value = get_fpr64(&current->thread.fpu.fpr[insn.loongson3_lsdc2_format.rt], 0); in loongson_cu2_call()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dprocessor.h108 static inline u##width get_fpr##width(union fpureg *fpr, unsigned idx) \
110 return fpr->val##width[FPR_IDX(width, idx)]; \
113 static inline void set_fpr##width(union fpureg *fpr, unsigned idx, \
116 fpr->val##width[FPR_IDX(width, idx)] = val; \
129 union fpureg fpr[NUM_FPU_REGS]; member
304 .fpr = {{{0,},},}, \
Dfpu.h213 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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsignal.c65 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()
140 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user()
147 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
155 return __copy_to_user(to, task->thread.ckfp_state.fpr, in copy_ckfpr_to_user()
162 return __copy_from_user(task->thread.ckfp_state.fpr, from, in copy_ckfpr_from_user()
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace-vsx.c109 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()
Dptrace-novsx.c25 offsetof(struct thread_fp_state, fpr[32])); in fpr_get()
50 offsetof(struct thread_fp_state, fpr[32])); in fpr_set()
Dptrace32.c96 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()
198 ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace()
242 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
Dptrace-tm.c487 buf[i] = target->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET]; in tm_cvsx_get()
531 buf[i] = target->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET]; in tm_cvsx_set()
537 target->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in tm_cvsx_set()
Dptrace.c80 tmp = ((u32 *)child->thread.fp_state.fpr)[fpidx]; in arch_ptrace()
118 ((u32 *)child->thread.fp_state.fpr)[fpidx] = data; in arch_ptrace()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c597 u32 fcr = 0x0, fpr = FPR_FILER_MASK; in ethflow_to_filer_rules() local
602 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules()
604 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
609 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules()
611 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
618 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
619 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules()
627 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules()
629 gfar_write_filer(priv, priv->cur_filer_idx, fcr, fpr); in ethflow_to_filer_rules()
636 priv->ftp_rqfpr[priv->cur_filer_idx] = fpr; in ethflow_to_filer_rules()
[all …]
Dgianfar.h1192 unsigned int far, unsigned int fcr, unsigned int fpr) in gfar_write_filer() argument
1198 gfar_write(&regs->rqfpr, fpr); in gfar_write_filer()
1202 unsigned int far, unsigned int *fcr, unsigned int *fpr) in gfar_read_filer() argument
1208 *fpr = gfar_read(&regs->rqfpr); in gfar_read_filer()
/kernel/linux/linux-5.10/arch/mips/kvm/
Dmips.c698 v = get_fpr32(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
700 v = get_fpr32(&fpu->fpr[idx & ~1], idx & 1); in kvm_mips_get_reg()
709 v = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
732 vs[0] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
733 vs[1] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
736 vs[0] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
737 vs[1] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
832 set_fpr32(&fpu->fpr[idx], 0, v); in kvm_mips_set_reg()
834 set_fpr32(&fpu->fpr[idx & ~1], idx & 1, v); in kvm_mips_set_reg()
843 set_fpr64(&fpu->fpr[idx], 0, v); in kvm_mips_set_reg()
[all …]
/kernel/linux/linux-5.10/arch/mips/math-emu/
Dcp1emu.c431 union fpureg *fpr; in isBranchInstr() local
706 fpr = &current->thread.fpu.fpr[insn.i_format.rt]; in isBranchInstr()
707 bit0 = get_fpr32(fpr, 0) & 0x1; in isBranchInstr()
801 (si) = (int)get_fpr32(&ctx->fpr[x], 0); \
803 (si) = (int)get_fpr32(&ctx->fpr[(x) & ~1], (x) & 1); \
810 set_fpr32(&ctx->fpr[x], 0, si); \
811 for (i = 1; i < ARRAY_SIZE(ctx->fpr[x].val32); i++) \
812 set_fpr32(&ctx->fpr[x], i, 0); \
814 set_fpr32(&ctx->fpr[(x) & ~1], (x) & 1, si); \
818 #define SIFROMHREG(si, x) ((si) = (int)get_fpr32(&ctx->fpr[x], 1))
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprocessor.h86 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET]
87 #define TS_CKFPR(i) ckfp_state.fpr[i][TS_FPROFFSET]
91 u64 fpr[32][TS_FPRWIDTH] __attribute__((aligned(16))); member
/kernel/linux/linux-5.10/Documentation/translations/it_IT/process/
Dmaintainer-pgp-guide.rst209 negli esempi che seguono, quando vedere ``[fpr]`` ci si riferisce a questa
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
[all …]

12