Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/arch/m68k/kernel/
Dptrace.c75 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-v5.4/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()
146 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_input()
156 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_output()
167 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_get_pupd()
181 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_set_pupd()
190 u32 reg = STMFX_REG_GPIO_TYPE + get_reg(offset); in stmfx_pinconf_get_type()
204 u32 reg = STMFX_REG_GPIO_TYPE + get_reg(offset); in stmfx_pinconf_set_type()
[all …]
/Linux-v5.4/arch/alpha/kernel/
Dptrace.c130 get_reg(struct task_struct * task, unsigned long regno) in get_reg() function
185 pc = get_reg(child, REG_PC); in ptrace_set_bpt()
208 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
301 ret = get_reg(child, addr); in arch_ptrace()
/Linux-v5.4/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c260 get_reg(vm, vcpuid, ARM64_SYS_REG(SCTLR_EL1), &sctlr_el1); in aarch64_vcpu_setup()
261 get_reg(vm, vcpuid, ARM64_SYS_REG(TCR_EL1), &tcr_el1); in aarch64_vcpu_setup()
309 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pstate), &pstate); in vcpu_dump()
310 get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pc), &pc); in vcpu_dump()
/Linux-v5.4/arch/parisc/kernel/
Dptrace.c455 static unsigned long get_reg(struct pt_regs *regs, int num) in get_reg() function
544 *k++ = get_reg(regs, pos++); in gpr_get()
547 if (__put_user(get_reg(regs, pos++), u++)) in gpr_get()
624 *k++ = get_reg(regs, pos++); in gpr32_get()
627 if (__put_user((compat_ulong_t) get_reg(regs, pos++), u++)) in gpr32_get()
/Linux-v5.4/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
/Linux-v5.4/arch/c6x/kernel/
Dptrace.c31 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function
/Linux-v5.4/arch/arc/include/asm/
Ddisasm.h109 long get_reg(int reg, struct pt_regs *regs, struct callee_regs *cregs);
/Linux-v5.4/drivers/char/
Drandom.c1293 static __u32 get_reg(struct fast_pool *f, struct pt_regs *regs) in get_reg() function
1321 cycles = get_reg(fast_pool, regs); in add_interrupt_randomness()
1329 get_reg(fast_pool, regs); in add_interrupt_randomness()