Home
last modified time | relevance | path

Searched refs:get_reg (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/arch/arc/kernel/
H A 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(3 in disasm_instr()
432 long __kprobes get_reg(int reg, struct pt_regs *regs, get_reg() function
[all...]
H A Dkgdb.c20 gdb_regs[_R0 + regno] = get_reg(regno, kernel_regs, cregs); in to_gdb_regs()
/kernel/linux/linux-6.6/arch/arc/kernel/
H A 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(3 in disasm_instr()
432 long __kprobes get_reg(int reg, struct pt_regs *regs, get_reg() function
[all...]
H A Dkgdb.c20 gdb_regs[_R0 + regno] = get_reg(regno, kernel_regs, cregs); in to_gdb_regs()
/kernel/linux/linux-5.10/arch/m68k/kernel/
H A Dptrace.c48 specially (see get_reg/put_reg below). */
74 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-6.6/arch/m68k/kernel/
H A Dptrace.c49 specially (see get_reg/put_reg below). */
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()
/kernel/linux/linux-5.10/drivers/pinctrl/
H A 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(offse in stmfx_pinconf_set_type()
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-stmfx.c47 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) macro
107 u32 reg = STMFX_REG_GPIO_STATE + get_reg(offset); in stmfx_gpio_get()
123 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set()
130 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_get_direction()
151 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_input()
161 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_output()
172 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_get_pupd()
186 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_set_pupd()
195 u32 reg = STMFX_REG_GPIO_TYPE + get_reg(offset); in stmfx_pinconf_get_type()
209 u32 reg = STMFX_REG_GPIO_TYPE + get_reg(offse in stmfx_pinconf_set_type()
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dunwind_orc.c401 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()
584 if (get_reg(state, offsetof(struct pt_regs, bp), &tmp)) in unwind_next_frame()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dptrace.c69 * get_reg/put_reg below).
129 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-6.6/arch/alpha/kernel/
H A Dptrace.c68 * get_reg/put_reg below).
130 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()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dunwind_orc.c447 static bool get_reg(struct unwind_state *state, unsigned int reg_off, in get_reg() function
535 if (!get_reg(state, offsetof(struct pt_regs, r10), &sp)) { in unwind_next_frame()
543 if (!get_reg(state, offsetof(struct pt_regs, r13), &sp)) { in unwind_next_frame()
551 if (!get_reg(state, offsetof(struct pt_regs, di), &sp)) { in unwind_next_frame()
559 if (!get_reg(state, offsetof(struct pt_regs, dx), &sp)) { in unwind_next_frame()
643 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/
H A 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/
H A 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/
H A Dptrace.c31 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Dxr_serial.c115 u8 get_reg; member
155 .get_reg = 0x01,
177 .get_reg = 0x00,
200 .get_reg = 0x01,
220 .get_reg = 0x05,
282 type->get_reg, in xr_get_reg()
/kernel/linux/linux-5.10/arch/arc/include/asm/
H A Ddisasm.h109 long get_reg(int reg, struct pt_regs *regs, struct callee_regs *cregs);
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A Ddisasm.h109 long get_reg(int reg, struct pt_regs *regs, struct callee_regs *cregs);
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dptrace.c445 static unsigned long get_reg(struct pt_regs *regs, int num) in get_reg() function
527 membuf_store(&to, get_reg(regs, pos)); in gpr_get()
591 membuf_store(&to, (compat_ulong_t)get_reg(regs, pos)); in gpr32_get()
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dptrace.c445 static unsigned long get_reg(struct pt_regs *regs, int num) in get_reg() function
527 membuf_store(&to, get_reg(regs, pos)); in gpr_get()
590 membuf_store(&to, (compat_ulong_t)get_reg(regs, pos)); in gpr32_get()

Completed in 13 milliseconds