/linux-5.19.10/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 209 get_reg(vm, vcpuid, RISCV_CORE_REG(mode), &core.mode); in vcpu_dump() 210 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.pc), &core.regs.pc); in vcpu_dump() 211 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.ra), &core.regs.ra); in vcpu_dump() 212 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.sp), &core.regs.sp); in vcpu_dump() 213 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.gp), &core.regs.gp); in vcpu_dump() 214 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.tp), &core.regs.tp); in vcpu_dump() 215 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.t0), &core.regs.t0); in vcpu_dump() 216 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.t1), &core.regs.t1); in vcpu_dump() 217 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.t2), &core.regs.t2); in vcpu_dump() 218 get_reg(vm, vcpuid, RISCV_CORE_REG(regs.s0), &core.regs.s0); in vcpu_dump() [all …]
|
/linux-5.19.10/arch/arc/kernel/ |
D | disasm.c | 115 state->src1 = get_reg(state->wb_reg, regs, cregs); in disasm_instr() 134 state->src1 = get_reg(state->src1, regs, cregs); in disasm_instr() 142 state->src2 = get_reg(state->wb_reg, regs, cregs); in disasm_instr() 187 state->target = get_reg(fieldC, regs, cregs); in disasm_instr() 221 state->src1 = get_reg(state->wb_reg, regs, in disasm_instr() 229 state->src2 = get_reg(state->src2, regs, in disasm_instr() 285 state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs); in disasm_instr() 286 state->src2 = get_reg(FIELD_S_C(state->words[0]), regs, cregs); in disasm_instr() 304 state->target = get_reg(FIELD_S_B(state->words[0]), in disasm_instr() 318 state->target = get_reg(31, regs, cregs); in disasm_instr() [all …]
|
D | kgdb.c | 20 gdb_regs[_R0 + regno] = get_reg(regno, kernel_regs, cregs); in to_gdb_regs()
|
/linux-5.19.10/arch/m68k/kernel/ |
D | ptrace.c | 75 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function 129 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in singlestep_disable() 144 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_single_step() 152 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_block_step() 177 tmp = get_reg(child, regno); in arch_ptrace() 206 data |= get_reg(child, PT_SR) & ~SR_MASK; in arch_ptrace() 227 tmp = get_reg(child, i); in arch_ptrace() 242 tmp |= get_reg(child, PT_SR) & ~SR_MASK; in arch_ptrace()
|
/linux-5.19.10/drivers/pinctrl/ |
D | pinctrl-stmfx.c | 45 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) macro 106 u32 reg = STMFX_REG_GPIO_STATE + get_reg(offset); in stmfx_gpio_get() 122 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set() 129 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_get_direction() 150 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_input() 160 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_output() 171 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_get_pupd() 185 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_set_pupd() 194 u32 reg = STMFX_REG_GPIO_TYPE + get_reg(offset); in stmfx_pinconf_get_type() 208 u32 reg = STMFX_REG_GPIO_TYPE + get_reg(offset); in stmfx_pinconf_set_type() [all …]
|
/linux-5.19.10/tools/testing/selftests/kvm/aarch64/ |
D | psci_test.c | 108 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pc), &obs_pc); in assert_vcpu_reset() 109 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.regs[0]), &obs_x0); in assert_vcpu_reset() 148 get_reg(vm, VCPU_ID_TARGET, KVM_ARM64_SYS_REG(SYS_MPIDR_EL1), &target_mpidr); in host_test_cpu_on()
|
D | debug-exceptions.c | 247 get_reg(vm, VCPU_ID, KVM_ARM64_SYS_REG(SYS_ID_AA64DFR0_EL1), &id_aa64dfr0); in debug_version()
|
/linux-5.19.10/arch/alpha/kernel/ |
D | ptrace.c | 128 get_reg(struct task_struct * task, unsigned long regno) in get_reg() function 183 pc = get_reg(child, REG_PC); in ptrace_set_bpt() 206 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt() 299 ret = get_reg(child, addr); in arch_ptrace()
|
/linux-5.19.10/arch/x86/kernel/ |
D | unwind_orc.c | 401 static bool get_reg(struct unwind_state *state, unsigned int reg_off, in get_reg() function 489 if (!get_reg(state, offsetof(struct pt_regs, r10), &sp)) { in unwind_next_frame() 497 if (!get_reg(state, offsetof(struct pt_regs, r13), &sp)) { in unwind_next_frame() 505 if (!get_reg(state, offsetof(struct pt_regs, di), &sp)) { in unwind_next_frame() 513 if (!get_reg(state, offsetof(struct pt_regs, dx), &sp)) { in unwind_next_frame() 600 if (get_reg(state, offsetof(struct pt_regs, bp), &tmp)) in unwind_next_frame()
|
/linux-5.19.10/drivers/usb/serial/ |
D | xr_serial.c | 113 u8 get_reg; member 153 .get_reg = 0x01, 175 .get_reg = 0x00, 198 .get_reg = 0x01, 218 .get_reg = 0x05, 279 type->get_reg, in xr_get_reg()
|
/linux-5.19.10/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 238 get_reg(vm, vcpuid, KVM_ARM64_SYS_REG(SYS_SCTLR_EL1), &sctlr_el1); in aarch64_vcpu_setup() 239 get_reg(vm, vcpuid, KVM_ARM64_SYS_REG(SYS_TCR_EL1), &tcr_el1); in aarch64_vcpu_setup() 311 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pstate), &pstate); in vcpu_dump() 312 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pc), &pc); in vcpu_dump()
|
/linux-5.19.10/tools/testing/selftests/kvm/include/riscv/ |
D | processor.h | 41 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, in get_reg() function
|
/linux-5.19.10/arch/parisc/kernel/ |
D | ptrace.c | 433 static unsigned long get_reg(struct pt_regs *regs, int num) in get_reg() function 515 membuf_store(&to, get_reg(regs, pos)); in gpr_get() 577 membuf_store(&to, (compat_ulong_t)get_reg(regs, pos)); in gpr32_get()
|
/linux-5.19.10/arch/arc/include/asm/ |
D | disasm.h | 109 long get_reg(int reg, struct pt_regs *regs, struct callee_regs *cregs);
|
/linux-5.19.10/tools/testing/selftests/kvm/include/aarch64/ |
D | processor.h | 50 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t *addr) in get_reg() function
|