/Linux-v5.10/sound/pci/emu10k1/ |
D | emufx.c | 43 MODULE_PARM_DESC(high_res_gpr_volume, "GPR mixer controls use 31-bit range."); 356 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, val); in snd_emu10k1_gpr_ctl_put() 359 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, db_table[val]); in snd_emu10k1_gpr_ctl_put() 367 … snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]); in snd_emu10k1_gpr_ctl_put() 375 …snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]); in snd_emu10k1_gpr_ctl_put() 378 snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, onoff_table[val]); in snd_emu10k1_gpr_ctl_put() 509 int gpr; in snd_emu10k1_gpr_poke() local 512 for (gpr = 0; gpr < (emu->audigy ? 0x200 : 0x100); gpr++) { in snd_emu10k1_gpr_poke() 513 if (!test_bit(gpr, icode->gpr_valid)) in snd_emu10k1_gpr_poke() 516 val = icode->gpr_map[gpr]; in snd_emu10k1_gpr_poke() [all …]
|
/Linux-v5.10/arch/powerpc/lib/ |
D | test_emulate_step.c | 97 regs.gpr[3] = (unsigned long) &a; in test_ld() 102 if (stepped == 1 && regs.gpr[5] == a) in test_ld() 120 regs.gpr[3] = (unsigned long)&a; in test_pld() 125 if (stepped == 1 && regs.gpr[5] == a) in test_pld() 138 regs.gpr[3] = (unsigned long) &a; in test_lwz() 143 if (stepped == 1 && regs.gpr[5] == a) in test_lwz() 161 regs.gpr[3] = (unsigned long)&a; in test_plwz() 167 if (stepped == 1 && regs.gpr[5] == a) in test_plwz() 180 regs.gpr[3] = (unsigned long) a; in test_lwzx() 181 regs.gpr[4] = 8; in test_lwzx() [all …]
|
D | sstep.c | 133 ea += regs->gpr[ra]; in dform_ea() 151 ea += regs->gpr[ra]; in dsform_ea() 168 ea += regs->gpr[ra]; in dqform_ea() 185 ea = regs->gpr[rb]; in xform_ea() 187 ea += regs->gpr[ra]; in xform_ea() 219 ea += regs->gpr[ra]; in mlsd_8lsd_ea() 663 err = do_lq(ea, ®s->gpr[reg]); in emulate_lq() 665 err = read_mem(®s->gpr[reg + IS_LE], ea, 8, regs); in emulate_lq() 667 err = read_mem(®s->gpr[reg + IS_BE], ea + 8, 8, regs); in emulate_lq() 670 do_byte_reverse(®s->gpr[reg], 16); in emulate_lq() [all …]
|
/Linux-v5.10/arch/powerpc/perf/ |
D | perf_regs.c | 23 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[9]), [all …]
|
/Linux-v5.10/arch/openrisc/kernel/ |
D | traps.c | 73 0L, regs->gpr[1], regs->gpr[2], regs->gpr[3]); in show_registers() 75 regs->gpr[4], regs->gpr[5], regs->gpr[6], regs->gpr[7]); in show_registers() 77 regs->gpr[8], regs->gpr[9], regs->gpr[10], regs->gpr[11]); in show_registers() 79 regs->gpr[12], regs->gpr[13], regs->gpr[14], regs->gpr[15]); in show_registers() 81 regs->gpr[16], regs->gpr[17], regs->gpr[18], regs->gpr[19]); in show_registers() 83 regs->gpr[20], regs->gpr[21], regs->gpr[22], regs->gpr[23]); in show_registers() 85 regs->gpr[24], regs->gpr[25], regs->gpr[26], regs->gpr[27]); in show_registers() 87 regs->gpr[28], regs->gpr[29], regs->gpr[30], regs->gpr[31]); in show_registers() 89 regs->gpr[11], regs->orig_gpr11); in show_registers() 135 0L, regs->gpr[1], regs->gpr[2], regs->gpr[3]); in nommu_dump_state() [all …]
|
D | ptrace.c | 53 membuf_write(&to, regs->gpr + 1, 31 * 4); in genregs_get() 74 regs->gpr+1, 4, 4*32); in genregs_set() 170 audit_syscall_entry(regs->gpr[11], regs->gpr[3], regs->gpr[4], in do_syscall_trace_enter() 171 regs->gpr[5], regs->gpr[6]); in do_syscall_trace_enter() 173 return ret ? : regs->gpr[11]; in do_syscall_trace_enter()
|
/Linux-v5.10/arch/powerpc/kernel/ptrace/ |
D | ptrace.c | 244 regs->gpr[3] = -ENOSYS; in do_seccomp() 262 regs->gpr[3] = regs->orig_gpr3; in do_seccomp() 318 * the tracer may also just change regs->gpr[0] to an in do_syscall_trace_enter() 326 /* Run seccomp after ptrace; allow it to set gpr[3]. */ in do_syscall_trace_enter() 331 if (regs->gpr[0] >= NR_syscalls) in do_syscall_trace_enter() 335 trace_sys_enter(regs, regs->gpr[0]); in do_syscall_trace_enter() 338 audit_syscall_entry(regs->gpr[0], regs->gpr[3], regs->gpr[4], in do_syscall_trace_enter() 339 regs->gpr[5], regs->gpr[6]); in do_syscall_trace_enter() 341 audit_syscall_entry(regs->gpr[0], in do_syscall_trace_enter() 342 regs->gpr[3] & 0xffffffff, in do_syscall_trace_enter() [all …]
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | kgdb.c | 205 PACK64(ptr, regs->gpr[reg]); in sleeping_thread_to_gdb_regs() 207 /* Regs GPR3-13 are caller saved, not in regs->gpr[] */ in sleeping_thread_to_gdb_regs() 212 PACK64(ptr, regs->gpr[reg]); in sleeping_thread_to_gdb_regs() 248 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) }, 249 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) }, 250 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[2]) }, 251 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[3]) }, 252 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[4]) }, 253 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[5]) }, 254 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[6]) }, [all …]
|
D | asm-offsets.c | 311 STACK_PT_REGS_OFFSET(GPR0, gpr[0]); in main() 312 STACK_PT_REGS_OFFSET(GPR1, gpr[1]); in main() 313 STACK_PT_REGS_OFFSET(GPR2, gpr[2]); in main() 314 STACK_PT_REGS_OFFSET(GPR3, gpr[3]); in main() 315 STACK_PT_REGS_OFFSET(GPR4, gpr[4]); in main() 316 STACK_PT_REGS_OFFSET(GPR5, gpr[5]); in main() 317 STACK_PT_REGS_OFFSET(GPR6, gpr[6]); in main() 318 STACK_PT_REGS_OFFSET(GPR7, gpr[7]); in main() 319 STACK_PT_REGS_OFFSET(GPR8, gpr[8]); in main() 320 STACK_PT_REGS_OFFSET(GPR9, gpr[9]); in main() [all …]
|
D | syscall_64.c | 66 return regs->gpr[3]; in system_call_exception() 73 * value to be used is in regs->gpr[3]. in system_call_exception() 77 return regs->gpr[3]; in system_call_exception() 78 r3 = regs->gpr[3]; in system_call_exception() 79 r4 = regs->gpr[4]; in system_call_exception() 80 r5 = regs->gpr[5]; in system_call_exception() 81 r6 = regs->gpr[6]; in system_call_exception() 82 r7 = regs->gpr[7]; in system_call_exception() 83 r8 = regs->gpr[8]; in system_call_exception() 89 return regs->gpr[3]; in system_call_exception() [all …]
|
/Linux-v5.10/arch/arm/mach-imx/ |
D | mach-imx6sl.c | 9 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 20 struct regmap *gpr; in imx6sl_fec_init() local 23 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6sl-iomuxc-gpr"); in imx6sl_fec_init() 24 if (!IS_ERR(gpr)) { in imx6sl_fec_init() 25 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sl_fec_init() 27 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sl_fec_init() 30 pr_err("failed to find fsl,imx6sl-iomux-gpr regmap\n"); in imx6sl_fec_init()
|
D | mach-imx6q.c | 15 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 169 struct regmap *gpr; in imx6q_1588_init() local 198 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); in imx6q_1588_init() 199 if (!IS_ERR(gpr)) in imx6q_1588_init() 200 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6q_1588_init() 204 pr_err("failed to find fsl,imx6q-iomuxc-gpr regmap\n"); in imx6q_1588_init() 215 struct regmap *gpr; in imx6q_axi_init() local 218 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); in imx6q_axi_init() 219 if (!IS_ERR(gpr)) { in imx6q_axi_init() 230 regmap_update_bits(gpr, IOMUXC_GPR4, mask, mask); in imx6q_axi_init() [all …]
|
D | mach-imx6sx.c | 11 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 45 struct regmap *gpr; in imx6sx_enet_clk_sel() local 47 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6sx-iomuxc-gpr"); in imx6sx_enet_clk_sel() 48 if (!IS_ERR(gpr)) { in imx6sx_enet_clk_sel() 49 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel() 51 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel() 54 pr_err("failed to find fsl,imx6sx-iomux-gpr regmap\n"); in imx6sx_enet_clk_sel()
|
D | mach-imx7d.c | 7 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> 62 struct regmap *gpr; in imx7d_enet_clk_sel() local 64 gpr = syscon_regmap_lookup_by_compatible("fsl,imx7d-iomuxc-gpr"); in imx7d_enet_clk_sel() 65 if (!IS_ERR(gpr)) { in imx7d_enet_clk_sel() 66 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_TX_CLK_SEL_MASK, 0); in imx7d_enet_clk_sel() 67 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_CLK_DIR_MASK, 0); in imx7d_enet_clk_sel() 69 pr_err("failed to find fsl,imx7d-iomux-gpr regmap\n"); in imx7d_enet_clk_sel()
|
D | mach-imx6ul.c | 7 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 20 struct regmap *gpr; in imx6ul_enet_clk_init() local 22 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6ul-iomuxc-gpr"); in imx6ul_enet_clk_init() 23 if (!IS_ERR(gpr)) in imx6ul_enet_clk_init() 24 regmap_update_bits(gpr, IOMUXC_GPR1, IMX6UL_GPR1_ENET_CLK_DIR, in imx6ul_enet_clk_init() 27 pr_err("failed to find fsl,imx6ul-iomux-gpr regmap\n"); in imx6ul_enet_clk_init()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | syscall.h | 30 return regs->gpr[0]; in syscall_get_nr() 38 regs->gpr[3] = regs->orig_gpr3; in syscall_rollback() 46 * regs->gpr[3] contains a positive ERRORCODE. in syscall_get_error() 48 return (regs->ccr & 0x10000000UL) ? -regs->gpr[3] : 0; in syscall_get_error() 54 return regs->gpr[3]; in syscall_get_return_value() 69 regs->gpr[3] = error; in syscall_set_return_value() 72 regs->gpr[3] = val; in syscall_set_return_value() 91 val = regs->gpr[3 + n]; in syscall_get_arguments() 101 memcpy(®s->gpr[3], args, 6 * sizeof(args[0])); in syscall_set_arguments()
|
/Linux-v5.10/arch/openrisc/include/asm/ |
D | syscall.h | 31 regs->gpr[11] = regs->orig_gpr11; in syscall_rollback() 37 return IS_ERR_VALUE(regs->gpr[11]) ? regs->gpr[11] : 0; in syscall_get_error() 43 return regs->gpr[11]; in syscall_get_return_value() 50 regs->gpr[11] = (long) error ?: val; in syscall_set_return_value() 57 memcpy(args, ®s->gpr[3], 6 * sizeof(args[0])); in syscall_get_arguments() 64 memcpy(®s->gpr[3], args, 6 * sizeof(args[0])); in syscall_set_arguments()
|
/Linux-v5.10/drivers/ata/ |
D | ahci_imx.c | 17 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 104 struct regmap *gpr; member 235 regmap_update_bits(imxpriv->gpr, IOMUXC_GPR5, in imx_sata_phy_reset() 238 regmap_update_bits(imxpriv->gpr, IOMUXC_GPR5, in imx_sata_phy_reset() 241 regmap_update_bits(imxpriv->gpr, IOMUXC_GPR5, in imx_sata_phy_reset() 479 regmap_read(imxpriv->gpr, IMX8QM_CSR_PCIEA_OFFSET + in imx8_sata_enable() 483 regmap_update_bits(imxpriv->gpr, in imx8_sata_enable() 490 regmap_read(imxpriv->gpr, IMX8QM_CSR_PCIEB_OFFSET + in imx8_sata_enable() 494 regmap_update_bits(imxpriv->gpr, in imx8_sata_enable() 503 regmap_update_bits(imxpriv->gpr, in imx8_sata_enable() [all …]
|
/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-gpr.c | 3 * Ptrace test for GPR/FPR registers 8 #include "ptrace-gpr.h" 19 void gpr(void) in gpr() function 57 unsigned long gpr[18]; in trace_gpr() local 61 FAIL_IF(show_gpr(child, gpr)); in trace_gpr() 62 FAIL_IF(validate_gpr(gpr, GPR_1)); in trace_gpr() 84 gpr(); in ptrace_gpr()
|
D | ptrace-tm-gpr.c | 3 * Ptrace test for GPR/FPR registers in TM context 8 #include "ptrace-gpr.h" 89 unsigned long gpr[18]; in trace_tm_gpr() local 93 FAIL_IF(show_gpr(child, gpr)); in trace_tm_gpr() 94 FAIL_IF(validate_gpr(gpr, GPR_2)); in trace_tm_gpr() 99 FAIL_IF(show_ckpt_gpr(child, gpr)); in trace_tm_gpr() 100 FAIL_IF(validate_gpr(gpr, GPR_1)); in trace_tm_gpr()
|
D | ptrace-tm-spd-gpr.c | 3 * Ptrace test for GPR/FPR registers in TM Suspend context 8 #include "ptrace-gpr.h" 95 unsigned long gpr[18]; in trace_tm_spd_gpr() local 99 FAIL_IF(show_gpr(child, gpr)); in trace_tm_spd_gpr() 100 FAIL_IF(validate_gpr(gpr, GPR_4)); in trace_tm_spd_gpr() 105 FAIL_IF(show_ckpt_gpr(child, gpr)); in trace_tm_spd_gpr() 106 FAIL_IF(validate_gpr(gpr, GPR_1)); in trace_tm_spd_gpr()
|
/Linux-v5.10/Documentation/devicetree/bindings/display/imx/ |
D | hdmi.txt | 22 - gpr : Shall contain a phandle to the iomuxc-gpr region containing the HDMI 35 gpr: iomuxc-gpr@20e0000 { 45 gpr = <&gpr>;
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_pr.c | 189 svcpu->gpr[0] = vcpu->arch.regs.gpr[0]; in kvmppc_copy_to_svcpu() 190 svcpu->gpr[1] = vcpu->arch.regs.gpr[1]; in kvmppc_copy_to_svcpu() 191 svcpu->gpr[2] = vcpu->arch.regs.gpr[2]; in kvmppc_copy_to_svcpu() 192 svcpu->gpr[3] = vcpu->arch.regs.gpr[3]; in kvmppc_copy_to_svcpu() 193 svcpu->gpr[4] = vcpu->arch.regs.gpr[4]; in kvmppc_copy_to_svcpu() 194 svcpu->gpr[5] = vcpu->arch.regs.gpr[5]; in kvmppc_copy_to_svcpu() 195 svcpu->gpr[6] = vcpu->arch.regs.gpr[6]; in kvmppc_copy_to_svcpu() 196 svcpu->gpr[7] = vcpu->arch.regs.gpr[7]; in kvmppc_copy_to_svcpu() 197 svcpu->gpr[8] = vcpu->arch.regs.gpr[8]; in kvmppc_copy_to_svcpu() 198 svcpu->gpr[9] = vcpu->arch.regs.gpr[9]; in kvmppc_copy_to_svcpu() [all …]
|
/Linux-v5.10/arch/powerpc/include/asm/nohash/32/ |
D | kup-8xx.h | 24 .macro kuap_check current, gpr 26 mfspr \gpr, SPRN_MD_AP 27 rlwinm \gpr, \gpr, 16, 0xffff 28 999: twnei \gpr, MD_APG_KUAP@h
|
/Linux-v5.10/include/uapi/sound/ |
D | emu10k1.h | 100 #define GPR(x) (FXGPREGBASE + (x)) /* free GPRs: x = 0x00 - 0xff */ macro 277 unsigned int gpr_controls; /* count of GPR controls */ 303 unsigned int count; /* count of GPR (1..16) */ 304 unsigned short gpr[32]; /* GPR number(s) */ member 317 unsigned short gpr[32]; member 330 unsigned int gpr_add_control_count; /* count of GPR controls to add/replace */ 331 struct snd_emu10k1_fx8010_control_gpr *gpr_add_controls; /* GPR controls to add/replace */ 333 unsigned int gpr_del_control_count; /* count of GPR controls to remove */ 334 struct emu10k1_ctl_elem_id *gpr_del_controls; /* IDs of GPR controls to remove */ 336 unsigned int gpr_list_control_count; /* count of GPR controls to list */ [all …]
|