Home
last modified time | relevance | path

Searched refs:get_reg (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/arch/arc/kernel/
Ddisasm.c115 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 …]
Dkgdb.c20 gdb_regs[_R0 + regno] = get_reg(regno, kernel_regs, cregs); in to_gdb_regs()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dptrace.c74 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function
128 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in singlestep_disable()
143 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_single_step()
151 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_block_step()
176 tmp = get_reg(child, regno); in arch_ptrace()
205 data |= get_reg(child, PT_SR) & ~SR_MASK; in arch_ptrace()
226 tmp = get_reg(child, i); in arch_ptrace()
241 tmp |= get_reg(child, PT_SR) & ~SR_MASK; in arch_ptrace()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-stmfx.c45 #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 …]
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dptrace.c129 get_reg(struct task_struct * task, unsigned long regno) in get_reg() function
184 pc = get_reg(child, REG_PC); in ptrace_set_bpt()
207 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
300 ret = get_reg(child, addr); in arch_ptrace()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dunwind_orc.c396 static bool get_reg(struct unwind_state *state, unsigned int reg_off, in get_reg() function
484 if (!get_reg(state, offsetof(struct pt_regs, r10), &sp)) { in unwind_next_frame()
492 if (!get_reg(state, offsetof(struct pt_regs, r13), &sp)) { in unwind_next_frame()
500 if (!get_reg(state, offsetof(struct pt_regs, di), &sp)) { in unwind_next_frame()
508 if (!get_reg(state, offsetof(struct pt_regs, dx), &sp)) { in unwind_next_frame()
579 if (get_reg(state, offsetof(struct pt_regs, bp), &tmp)) in unwind_next_frame()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c259 get_reg(vm, vcpuid, ARM64_SYS_REG(SCTLR_EL1), &sctlr_el1); in aarch64_vcpu_setup()
260 get_reg(vm, vcpuid, ARM64_SYS_REG(TCR_EL1), &tcr_el1); in aarch64_vcpu_setup()
308 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pstate), &pstate); in vcpu_dump()
309 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pc), &pc); in vcpu_dump()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/aarch64/
Dprocessor.h39 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t *addr) in get_reg() function
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dptrace.c31 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dptrace.c434 static unsigned long get_reg(struct pt_regs *regs, int num) in get_reg() function
516 membuf_store(&to, get_reg(regs, pos)); in gpr_get()
580 membuf_store(&to, (compat_ulong_t)get_reg(regs, pos)); in gpr32_get()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Ddisasm.h109 long get_reg(int reg, struct pt_regs *regs, struct callee_regs *cregs);
/kernel/linux/linux-5.10/drivers/char/
Drandom.c1260 static __u32 get_reg(struct fast_pool *f, struct pt_regs *regs) in get_reg() function
1288 cycles = get_reg(fast_pool, regs); in add_interrupt_randomness()
1296 get_reg(fast_pool, regs); in add_interrupt_randomness()