/Linux-v6.1/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() 510 int gpr; in snd_emu10k1_gpr_poke() local 513 for (gpr = 0; gpr < (emu->audigy ? 0x200 : 0x100); gpr++) { in snd_emu10k1_gpr_poke() 514 if (!test_bit(gpr, icode->gpr_valid)) in snd_emu10k1_gpr_poke() 517 val = icode->gpr_map[gpr]; in snd_emu10k1_gpr_poke() [all …]
|
/Linux-v6.1/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-v6.1/arch/openrisc/kernel/ |
D | traps.c | 81 0L, regs->gpr[1], regs->gpr[2], regs->gpr[3]); in show_registers() 83 regs->gpr[4], regs->gpr[5], regs->gpr[6], regs->gpr[7]); in show_registers() 85 regs->gpr[8], regs->gpr[9], regs->gpr[10], regs->gpr[11]); in show_registers() 87 regs->gpr[12], regs->gpr[13], regs->gpr[14], regs->gpr[15]); in show_registers() 89 regs->gpr[16], regs->gpr[17], regs->gpr[18], regs->gpr[19]); in show_registers() 91 regs->gpr[20], regs->gpr[21], regs->gpr[22], regs->gpr[23]); in show_registers() 93 regs->gpr[24], regs->gpr[25], regs->gpr[26], regs->gpr[27]); in show_registers() 95 regs->gpr[28], regs->gpr[29], regs->gpr[30], regs->gpr[31]); in show_registers() 97 regs->gpr[11], regs->orig_gpr11); in show_registers() 157 0L, regs->gpr[1], regs->gpr[2], regs->gpr[3]); in nommu_dump_state() [all …]
|
D | ptrace.c | 52 membuf_write(&to, regs->gpr + 1, 31 * 4); in genregs_get() 73 regs->gpr+1, 4, 4*32); in genregs_set() 169 audit_syscall_entry(regs->gpr[11], regs->gpr[3], regs->gpr[4], in do_syscall_trace_enter() 170 regs->gpr[5], regs->gpr[6]); in do_syscall_trace_enter() 172 return ret ? : regs->gpr[11]; in do_syscall_trace_enter()
|
/Linux-v6.1/arch/powerpc/lib/ |
D | test_emulate_step.c | 96 regs.gpr[3] = (unsigned long) &a; in test_ld() 101 if (stepped == 1 && regs.gpr[5] == a) in test_ld() 119 regs.gpr[3] = (unsigned long)&a; in test_pld() 124 if (stepped == 1 && regs.gpr[5] == a) in test_pld() 137 regs.gpr[3] = (unsigned long) &a; in test_lwz() 142 if (stepped == 1 && regs.gpr[5] == a) in test_lwz() 160 regs.gpr[3] = (unsigned long)&a; in test_plwz() 166 if (stepped == 1 && regs.gpr[5] == a) in test_plwz() 179 regs.gpr[3] = (unsigned long) a; in test_lwzx() 180 regs.gpr[4] = 8; in test_lwzx() [all …]
|
D | sstep.c | 132 ea += regs->gpr[ra]; in dform_ea() 150 ea += regs->gpr[ra]; in dsform_ea() 167 ea += regs->gpr[ra]; in dqform_ea() 184 ea = regs->gpr[rb]; in xform_ea() 186 ea += regs->gpr[ra]; in xform_ea() 218 ea += regs->gpr[ra]; in mlsd_8lsd_ea() 737 err = do_lq(ea, ®s->gpr[reg]); in emulate_lq() 739 err = read_mem(®s->gpr[reg + IS_LE], ea, 8, regs); in emulate_lq() 741 err = read_mem(®s->gpr[reg + IS_BE], ea + 8, 8, regs); in emulate_lq() 744 do_byte_reverse(®s->gpr[reg], 16); in emulate_lq() [all …]
|
/Linux-v6.1/arch/powerpc/kernel/ptrace/ |
D | ptrace.c | 213 regs->gpr[3] = -ENOSYS; in do_seccomp() 231 regs->gpr[3] = regs->orig_gpr3; in do_seccomp() 284 * the tracer may also just change regs->gpr[0] to an in do_syscall_trace_enter() 292 /* Run seccomp after ptrace; allow it to set gpr[3]. */ in do_syscall_trace_enter() 297 if (regs->gpr[0] >= NR_syscalls) in do_syscall_trace_enter() 301 trace_sys_enter(regs, regs->gpr[0]); in do_syscall_trace_enter() 304 audit_syscall_entry(regs->gpr[0], regs->gpr[3], regs->gpr[4], in do_syscall_trace_enter() 305 regs->gpr[5], regs->gpr[6]); in do_syscall_trace_enter() 307 audit_syscall_entry(regs->gpr[0], in do_syscall_trace_enter() 308 regs->gpr[3] & 0xffffffff, in do_syscall_trace_enter() [all …]
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | kgdb.c | 202 PACK64(ptr, regs->gpr[reg]); in sleeping_thread_to_gdb_regs() 204 /* Regs GPR3-13 are caller saved, not in regs->gpr[] */ in sleeping_thread_to_gdb_regs() 209 PACK64(ptr, regs->gpr[reg]); in sleeping_thread_to_gdb_regs() 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[6]) }, [all …]
|
D | syscall.c | 125 return regs->gpr[3]; in system_call_exception() 132 * value to be used is in regs->gpr[3]. in system_call_exception() 136 return regs->gpr[3]; in system_call_exception() 142 return regs->gpr[3]; in system_call_exception() 160 r3 = regs->gpr[3] & 0x00000000ffffffffULL; in system_call_exception() 161 r4 = regs->gpr[4] & 0x00000000ffffffffULL; in system_call_exception() 162 r5 = regs->gpr[5] & 0x00000000ffffffffULL; in system_call_exception() 163 r6 = regs->gpr[6] & 0x00000000ffffffffULL; in system_call_exception() 164 r7 = regs->gpr[7] & 0x00000000ffffffffULL; in system_call_exception() 165 r8 = regs->gpr[8] & 0x00000000ffffffffULL; in system_call_exception() [all …]
|
D | asm-offsets.c | 265 STACK_PT_REGS_OFFSET(GPR0, gpr[0]); in main() 266 STACK_PT_REGS_OFFSET(GPR1, gpr[1]); in main() 267 STACK_PT_REGS_OFFSET(GPR2, gpr[2]); in main() 268 STACK_PT_REGS_OFFSET(GPR3, gpr[3]); in main() 269 STACK_PT_REGS_OFFSET(GPR4, gpr[4]); in main() 270 STACK_PT_REGS_OFFSET(GPR5, gpr[5]); in main() 271 STACK_PT_REGS_OFFSET(GPR6, gpr[6]); in main() 272 STACK_PT_REGS_OFFSET(GPR7, gpr[7]); in main() 273 STACK_PT_REGS_OFFSET(GPR8, gpr[8]); in main() 274 STACK_PT_REGS_OFFSET(GPR9, gpr[9]); in main() [all …]
|
/Linux-v6.1/arch/arm/mach-imx/ |
D | mach-imx6q.c | 15 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 84 struct regmap *gpr; in imx6q_1588_init() local 113 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); in imx6q_1588_init() 114 if (!IS_ERR(gpr)) in imx6q_1588_init() 115 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6q_1588_init() 119 pr_err("failed to find fsl,imx6q-iomuxc-gpr regmap\n"); in imx6q_1588_init() 130 struct regmap *gpr; in imx6q_axi_init() local 133 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); in imx6q_axi_init() 134 if (!IS_ERR(gpr)) { in imx6q_axi_init() 145 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> 20 struct regmap *gpr; in imx6sx_enet_clk_sel() local 22 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6sx-iomuxc-gpr"); in imx6sx_enet_clk_sel() 23 if (!IS_ERR(gpr)) { in imx6sx_enet_clk_sel() 24 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel() 26 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel() 29 pr_err("failed to find fsl,imx6sx-iomux-gpr regmap\n"); in imx6sx_enet_clk_sel()
|
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-imx7d.c | 7 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> 40 struct regmap *gpr; in imx7d_enet_clk_sel() local 42 gpr = syscon_regmap_lookup_by_compatible("fsl,imx7d-iomuxc-gpr"); in imx7d_enet_clk_sel() 43 if (!IS_ERR(gpr)) { in imx7d_enet_clk_sel() 44 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_TX_CLK_SEL_MASK, 0); in imx7d_enet_clk_sel() 45 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_CLK_DIR_MASK, 0); in imx7d_enet_clk_sel() 47 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> 21 struct regmap *gpr; in imx6ul_enet_clk_init() local 23 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6ul-iomuxc-gpr"); in imx6ul_enet_clk_init() 24 if (!IS_ERR(gpr)) in imx6ul_enet_clk_init() 25 regmap_update_bits(gpr, IOMUXC_GPR1, IMX6UL_GPR1_ENET_CLK_DIR, in imx6ul_enet_clk_init() 28 pr_err("failed to find fsl,imx6ul-iomux-gpr regmap\n"); in imx6ul_enet_clk_init()
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | syscall.h | 37 return regs->gpr[0]; in syscall_get_nr() 45 regs->gpr[3] = regs->orig_gpr3; in syscall_rollback() 52 unsigned long error = regs->gpr[3]; in syscall_get_error() 58 * regs->gpr[3] contains a positive ERRORCODE. in syscall_get_error() 60 return (regs->ccr & 0x10000000UL) ? -regs->gpr[3] : 0; in syscall_get_error() 67 return regs->gpr[3]; in syscall_get_return_value() 75 regs->gpr[3] = (long) error ?: val; in syscall_set_return_value() 85 regs->gpr[3] = error; in syscall_set_return_value() 88 regs->gpr[3] = val; in syscall_set_return_value() 107 val = regs->gpr[3 + n]; in syscall_get_arguments()
|
D | syscall_wrapper.h | 15 ,,regs->gpr[3],,regs->gpr[4],,regs->gpr[5] \ 16 ,,regs->gpr[6],,regs->gpr[7],,regs->gpr[8])
|
/Linux-v6.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,apr.yaml | 7 title: Qualcomm APR/GPR (Asynchronous/Generic Packet Router) binding 13 This binding describes the Qualcomm APR/GPR, APR/GPR is a IPC protocol for 14 communication between Application processor and QDSP. APR/GPR is mainly 21 - qcom,gpr 53 Selects the processor domain for gpr 84 #APR/GPR Services 89 APR/GPR node's client devices use subnodes for desired static port services. 117 GPR Service ID 203 - qcom,gpr 259 #include <dt-bindings/soc/qcom,gpr.h> [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | nxp,imx8mq-mipi-csi2.yaml | 50 fsl,mipi-phy-gpr: 52 The phandle to the imx8mq syscon iomux-gpr with the register 56 <gpr req_gpr> 57 gpr is the phandle to general purpose register node. 58 req_gpr is the gpr register offset of RX_ENABLE for the mipi phy. 62 - description: The 'gpr' is the phandle to general purpose register node. 63 - description: The 'req_gpr' is the gpr register offset containing 116 - fsl,mipi-phy-gpr 145 fsl,mipi-phy-gpr = <&iomuxc_gpr 0x88>;
|
/Linux-v6.1/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() 484 regmap_read(imxpriv->gpr, IMX8QM_CSR_PCIEA_OFFSET + in imx8_sata_enable() 488 regmap_update_bits(imxpriv->gpr, in imx8_sata_enable() 495 regmap_read(imxpriv->gpr, IMX8QM_CSR_PCIEB_OFFSET + in imx8_sata_enable() 499 regmap_update_bits(imxpriv->gpr, in imx8_sata_enable() 508 regmap_update_bits(imxpriv->gpr, in imx8_sata_enable() [all …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/arch/powerpc/kvm/ |
D | book3s_pr.c | 196 svcpu->gpr[0] = vcpu->arch.regs.gpr[0]; in kvmppc_copy_to_svcpu() 197 svcpu->gpr[1] = vcpu->arch.regs.gpr[1]; in kvmppc_copy_to_svcpu() 198 svcpu->gpr[2] = vcpu->arch.regs.gpr[2]; in kvmppc_copy_to_svcpu() 199 svcpu->gpr[3] = vcpu->arch.regs.gpr[3]; in kvmppc_copy_to_svcpu() 200 svcpu->gpr[4] = vcpu->arch.regs.gpr[4]; in kvmppc_copy_to_svcpu() 201 svcpu->gpr[5] = vcpu->arch.regs.gpr[5]; in kvmppc_copy_to_svcpu() 202 svcpu->gpr[6] = vcpu->arch.regs.gpr[6]; in kvmppc_copy_to_svcpu() 203 svcpu->gpr[7] = vcpu->arch.regs.gpr[7]; in kvmppc_copy_to_svcpu() 204 svcpu->gpr[8] = vcpu->arch.regs.gpr[8]; in kvmppc_copy_to_svcpu() 205 svcpu->gpr[9] = vcpu->arch.regs.gpr[9]; in kvmppc_copy_to_svcpu() [all …]
|
/Linux-v6.1/arch/mips/kvm/ |
D | emulate.c | 1002 kvm_debug("[%#lx] OP_SD: eaddr: %#lx, gpr: %#lx, data: %#llx\n", in kvm_mips_emulate_store() 1012 kvm_debug("[%#lx] OP_SW: eaddr: %#lx, gpr: %#lx, data: %#x\n", in kvm_mips_emulate_store() 1021 kvm_debug("[%#lx] OP_SH: eaddr: %#lx, gpr: %#lx, data: %#x\n", in kvm_mips_emulate_store() 1030 kvm_debug("[%#lx] OP_SB: eaddr: %#lx, gpr: %#lx, data: %#x\n", in kvm_mips_emulate_store() 1060 kvm_debug("[%#lx] OP_SWL: eaddr: %#lx, gpr: %#lx, data: %#x\n", in kvm_mips_emulate_store() 1090 kvm_debug("[%#lx] OP_SWR: eaddr: %#lx, gpr: %#lx, data: %#x\n", in kvm_mips_emulate_store() 1138 kvm_debug("[%#lx] OP_SDL: eaddr: %#lx, gpr: %#lx, data: %llx\n", in kvm_mips_emulate_store() 1185 kvm_debug("[%#lx] OP_SDR: eaddr: %#lx, gpr: %#lx, data: %llx\n", in kvm_mips_emulate_store() 1198 * 0x0 gssbx: store 1 bytes from GPR in kvm_mips_emulate_store() 1199 * 0x1 gsshx: store 2 bytes from GPR in kvm_mips_emulate_store() [all …]
|
/Linux-v6.1/include/uapi/sound/ |
D | emu10k1.h | 84 #define GPR(x) (FXGPREGBASE + (x)) /* free GPRs: x = 0x00 - 0xff */ macro 261 unsigned int gpr_controls; /* count of GPR controls */ 287 unsigned int count; /* count of GPR (1..16) */ 288 unsigned short gpr[32]; /* GPR number(s) */ member 301 unsigned short gpr[32]; member 314 unsigned int gpr_add_control_count; /* count of GPR controls to add/replace */ 315 struct snd_emu10k1_fx8010_control_gpr *gpr_add_controls; /* GPR controls to add/replace */ 317 unsigned int gpr_del_control_count; /* count of GPR controls to remove */ 318 struct emu10k1_ctl_elem_id *gpr_del_controls; /* IDs of GPR controls to remove */ 320 unsigned int gpr_list_control_count; /* count of GPR controls to list */ [all …]
|
/Linux-v6.1/tools/testing/selftests/powerpc/ptrace/ |
D | Makefile | 3 TM_TESTS := ptrace-tm-gpr 4 TM_TESTS += ptrace-tm-spd-gpr 21 TESTS += ptrace-gpr 38 $(OUTPUT)/ptrace-gpr: ptrace-gpr.S
|