Searched refs:gpr (Results 1 - 25 of 140) sorted by relevance

123456

/linux-master/arch/powerpc/perf/
H A Dperf_regs.c23 PT_REGS_OFFSET(PERF_REG_POWERPC_R0, gpr[0]),
24 PT_REGS_OFFSET(PERF_REG_POWERPC_R1, gpr[1]),
25 PT_REGS_OFFSET(PERF_REG_POWERPC_R2, gpr[2]),
26 PT_REGS_OFFSET(PERF_REG_POWERPC_R3, gpr[3]),
27 PT_REGS_OFFSET(PERF_REG_POWERPC_R4, gpr[4]),
28 PT_REGS_OFFSET(PERF_REG_POWERPC_R5, gpr[5]),
29 PT_REGS_OFFSET(PERF_REG_POWERPC_R6, gpr[6]),
30 PT_REGS_OFFSET(PERF_REG_POWERPC_R7, gpr[7]),
31 PT_REGS_OFFSET(PERF_REG_POWERPC_R8, gpr[8]),
32 PT_REGS_OFFSET(PERF_REG_POWERPC_R9, gpr[
[all...]
/linux-master/arch/openrisc/include/uapi/asm/
H A Dptrace.h29 unsigned long gpr[32]; member in struct:user_regs_struct
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace.c210 regs->gpr[3] = -ENOSYS;
228 regs->gpr[3] = regs->orig_gpr3;
281 * the tracer may also just change regs->gpr[0] to an
289 /* Run seccomp after ptrace; allow it to set gpr[3]. */
294 if (regs->gpr[0] >= NR_syscalls)
298 trace_sys_enter(regs, regs->gpr[0]);
301 audit_syscall_entry(regs->gpr[0], regs->gpr[3], regs->gpr[4],
302 regs->gpr[
[all...]
/linux-master/arch/openrisc/include/asm/
H A Dsyscall.h31 regs->gpr[11] = regs->orig_gpr11;
37 return IS_ERR_VALUE(regs->gpr[11]) ? regs->gpr[11] : 0;
43 return regs->gpr[11];
50 regs->gpr[11] = (long) error ?: val;
57 memcpy(args, &regs->gpr[3], 6 * sizeof(args[0]));
H A Dptrace.h53 long gpr[32]; member in struct:pt_regs::__anon56::__anon59
76 return regs->gpr[11];
/linux-master/tools/perf/arch/s390/util/
H A Ddwarf-regs.c32 unsigned long gpr; local
38 gpr = strtoul(name + 2, NULL, 10);
39 if (errno || gpr >= 16)
42 return offsetof(user_pt_regs, gprs) + 8 * gpr;
/linux-master/arch/powerpc/include/asm/
H A Dsyscall.h37 return regs->gpr[0];
45 regs->gpr[3] = regs->orig_gpr3;
52 unsigned long error = regs->gpr[3];
58 * regs->gpr[3] contains a positive ERRORCODE.
60 return (regs->ccr & 0x10000000UL) ? -regs->gpr[3] : 0;
67 return regs->gpr[3];
75 regs->gpr[3] = (long) error ?: val;
85 regs->gpr[3] = error;
88 regs->gpr[3] = val;
107 val = regs->gpr[
[all...]
H A Dsyscall_wrapper.h15 ,,regs->gpr[3],,regs->gpr[4],,regs->gpr[5] \
16 ,,regs->gpr[6],,regs->gpr[7],,regs->gpr[8])
H A Dperf_event.h38 (regs)->gpr[1] = current_stack_frame(); \
/linux-master/arch/powerpc/lib/
H A Dtest_emulate_step.c96 regs.gpr[3] = (unsigned long) &a;
101 if (stepped == 1 && regs.gpr[5] == a)
119 regs.gpr[3] = (unsigned long)&a;
124 if (stepped == 1 && regs.gpr[5] == a)
137 regs.gpr[3] = (unsigned long) &a;
142 if (stepped == 1 && regs.gpr[5] == a)
160 regs.gpr[3] = (unsigned long)&a;
166 if (stepped == 1 && regs.gpr[5] == a)
179 regs.gpr[3] = (unsigned long) a;
180 regs.gpr[
[all...]
H A Dsstep.c132 ea += regs->gpr[ra];
150 ea += regs->gpr[ra];
167 ea += regs->gpr[ra];
184 ea = regs->gpr[rb];
186 ea += regs->gpr[ra];
218 ea += regs->gpr[ra];
747 err = do_lq(ea, &regs->gpr[reg]);
749 err = read_mem(&regs->gpr[reg + IS_LE], ea, 8, regs);
751 err = read_mem(&regs->gpr[reg + IS_BE], ea + 8, 8, regs);
754 do_byte_reverse(&regs->gpr[re
[all...]
/linux-master/arch/powerpc/kernel/
H A Dsyscall.c125 return regs->gpr[3];
132 * value to be used is in regs->gpr[3].
136 return regs->gpr[3];
142 return regs->gpr[3];
160 r3 = regs->gpr[3] & 0x00000000ffffffffULL;
161 r4 = regs->gpr[4] & 0x00000000ffffffffULL;
162 r5 = regs->gpr[5] & 0x00000000ffffffffULL;
163 r6 = regs->gpr[6] & 0x00000000ffffffffULL;
164 r7 = regs->gpr[7] & 0x00000000ffffffffULL;
165 r8 = regs->gpr[
[all...]
H A Dkgdb.c202 PACK64(ptr, regs->gpr[reg]);
204 /* Regs GPR3-13 are caller saved, not in regs->gpr[] */
209 PACK64(ptr, regs->gpr[reg]);
245 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) },
246 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) },
247 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[2]) },
248 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[3]) },
249 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[4]) },
250 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[5]) },
251 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[
[all...]
/linux-master/arch/mips/alchemy/
H A DMakefile2 obj-$(CONFIG_MIPS_GPR) += board-gpr.o
/linux-master/arch/arm/mach-imx/
H A Dmach-imx6sl.c9 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
20 struct regmap *gpr; local
23 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6sl-iomuxc-gpr");
24 if (!IS_ERR(gpr)) {
25 regmap_update_bits(gpr, IOMUXC_GPR1,
27 regmap_update_bits(gpr, IOMUXC_GPR1,
30 pr_err("failed to find fsl,imx6sl-iomux-gpr regmap\n");
H A Dmach-imx6sx.c10 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
18 struct regmap *gpr; local
20 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6sx-iomuxc-gpr");
21 if (!IS_ERR(gpr)) {
22 regmap_update_bits(gpr, IOMUXC_GPR1,
24 regmap_update_bits(gpr, IOMUXC_GPR1,
27 pr_err("failed to find fsl,imx6sx-iomux-gpr regmap\n");
H A Dmach-imx7d.c7 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h>
40 struct regmap *gpr; local
42 gpr = syscon_regmap_lookup_by_compatible("fsl,imx7d-iomuxc-gpr");
43 if (!IS_ERR(gpr)) {
44 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_TX_CLK_SEL_MASK, 0);
45 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_CLK_DIR_MASK, 0);
47 pr_err("failed to find fsl,imx7d-iomux-gpr regmap\n");
H A Dmach-imx6q.c15 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
84 struct regmap *gpr; local
121 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr");
122 if (!IS_ERR(gpr))
123 regmap_update_bits(gpr, IOMUXC_GPR1,
127 pr_err("failed to find fsl,imx6q-iomuxc-gpr regmap\n");
138 struct regmap *gpr; local
141 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr");
[all...]
/linux-master/arch/openrisc/kernel/
H A Dtraps.c91 0L, regs->gpr[1], regs->gpr[2], regs->gpr[3]);
93 regs->gpr[4], regs->gpr[5], regs->gpr[6], regs->gpr[7]);
95 regs->gpr[8], regs->gpr[9], regs->gpr[1
[all...]
H A Dptrace.c56 membuf_write(&to, regs->gpr + 1, 31 * 4);
76 regs->gpr+1, 4, 4*32);
208 audit_syscall_entry(regs->gpr[11], regs->gpr[3], regs->gpr[4],
209 regs->gpr[5], regs->gpr[6]);
211 return ret ? : regs->gpr[11];
/linux-master/sound/pci/emu10k1/
H A Demufx.c379 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, val);
382 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, ~val);
385 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, db_table[val]);
388 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0,
397 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]);
405 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]);
408 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, onoff_table[val]);
539 int gpr; local
542 for (gpr = 0; gpr < (em
557 int gpr; local
1174 snd_emu10k1_init_mono_control2(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval, int defval_hr) argument
1198 snd_emu10k1_init_stereo_control2(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval, int defval_hr) argument
1223 snd_emu10k1_init_mono_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) argument
1236 snd_emu10k1_init_stereo_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) argument
1296 int gpr = num_static_gprs; local
1813 int err, i, z, gpr, tmp, playback, capture; local
[all...]
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A DMakefile3 TM_TESTS := ptrace-tm-gpr
4 TM_TESTS += ptrace-tm-spd-gpr
21 TESTS += ptrace-gpr
39 $(OUTPUT)/ptrace-gpr: ptrace-gpr.S
H A Dptrace-gpr.h21 int validate_gpr(unsigned long *gpr, unsigned long val) argument
26 if (gpr[i] != val) {
28 i+14, gpr[i], val);
/linux-master/arch/loongarch/include/asm/
H A Dasm-extable.h29 #include <asm/gpr-num.h>
48 #define EX_DATA_REG(reg, gpr) \
49 "((.L__gpr_num_" #gpr ") << " __stringify(EX_DATA_REG_##reg##_SHIFT) ")"
/linux-master/arch/riscv/include/asm/
H A Dasm-extable.h32 #include <asm/gpr-num.h>
56 #define EX_DATA_REG(reg, gpr) \
57 "((.L__gpr_num_" #gpr ") << " __stringify(EX_DATA_REG_##reg##_SHIFT) ")"

Completed in 263 milliseconds

123456