Home
last modified time | relevance | path

Searched refs:areg (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/arch/xtensa/include/asm/
Delf.h161 (_r)->areg[0] = 0; /*(_r)->areg[1] = 0;*/ \
162 (_r)->areg[2] = 0; (_r)->areg[3] = 0; \
163 (_r)->areg[4] = 0; (_r)->areg[5] = 0; \
164 (_r)->areg[6] = 0; (_r)->areg[7] = 0; \
165 (_r)->areg[8] = 0; (_r)->areg[9] = 0; \
166 (_r)->areg[10] = 0; (_r)->areg[11] = 0; \
167 (_r)->areg[12] = 0; (_r)->areg[13] = 0; \
168 (_r)->areg[14] = 0; (_r)->areg[15] = 0; \
173 (_r)->areg[4] = _exec_map_addr; \
174 (_r)->areg[5] = _interp_map_addr; \
[all …]
Dsyscall.h41 return IS_ERR_VALUE(regs->areg[2]) ? regs->areg[2] : 0; in syscall_get_error()
47 return regs->areg[2]; in syscall_get_return_value()
54 regs->areg[2] = (long) error ? error : val; in syscall_set_return_value()
68 args[i] = regs->areg[reg[i]]; in syscall_get_arguments()
Dptrace.h81 unsigned long areg[XCHAL_NUM_AREGS]; member
89 # define return_pointer(regs) (MAKE_PC_FROM_RA((regs)->areg[0], \
102 #define user_stack_pointer(regs) ((regs)->areg[1])
106 return regs->areg[2]; in regs_return_value()
Dprocessor.h202 memcpy(current_aregs, (regs)->areg, sizeof(current_aregs)); \
206 memcpy((regs)->areg, current_aregs, sizeof(current_aregs)); \
207 (regs)->areg[1] = (new_sp); \
208 (regs)->areg[0] = 0; \
226 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->areg[1])
/linux-6.12.1/arch/xtensa/kernel/
Dasm-offsets.c48 DEFINE(PT_AREG, offsetof (struct pt_regs, areg[0])); in main()
49 DEFINE(PT_AREG0, offsetof (struct pt_regs, areg[0])); in main()
50 DEFINE(PT_AREG1, offsetof (struct pt_regs, areg[1])); in main()
51 DEFINE(PT_AREG2, offsetof (struct pt_regs, areg[2])); in main()
52 DEFINE(PT_AREG3, offsetof (struct pt_regs, areg[3])); in main()
53 DEFINE(PT_AREG4, offsetof (struct pt_regs, areg[4])); in main()
54 DEFINE(PT_AREG5, offsetof (struct pt_regs, areg[5])); in main()
55 DEFINE(PT_AREG6, offsetof (struct pt_regs, areg[6])); in main()
56 DEFINE(PT_AREG7, offsetof (struct pt_regs, areg[7])); in main()
57 DEFINE(PT_AREG8, offsetof (struct pt_regs, areg[8])); in main()
[all …]
Dsignal.c79 if (__get_user(sp, (int*)(regs->areg[base * 4 + 1] - 12))) in flush_window_regs_user()
96 &regs->areg[(base + 1) * 4], 16)) in flush_window_regs_user()
102 &regs->areg[(base + 1) * 4], 32)) in flush_window_regs_user()
109 sp = regs->areg[((base + inc) * 4 + 1) % XCHAL_NUM_AREGS]; in flush_window_regs_user()
110 if (copy_to_user(&SPILL_SLOT(sp, 0), &regs->areg[base * 4], 16)) in flush_window_regs_user()
115 sp = regs->areg[base * 4 + 1]; in flush_window_regs_user()
160 err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4); in setup_sigcontext()
218 err |= __copy_from_user(regs->areg, sc->sc_a, 16 * 4); in restore_sigcontext()
261 frame = (struct rt_sigframe __user *) regs->areg[1]; in xtensa_rt_sigreturn()
274 ret = regs->areg[2]; in xtensa_rt_sigreturn()
[all …]
Dstacktrace.c34 unsigned long a0 = regs->areg[0]; in xtensa_backtrace_user()
35 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_user()
78 a0 = regs->areg[index * 4]; in xtensa_backtrace_user()
79 a1 = regs->areg[index * 4 + 1]; in xtensa_backtrace_user()
125 unsigned long a0 = regs->areg[0]; in xtensa_backtrace_kernel()
126 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_kernel()
154 a0 = regs->areg[0]; in xtensa_backtrace_kernel()
155 a1 = regs->areg[1]; in xtensa_backtrace_kernel()
Dptrace.c58 regs->areg + XCHAL_NUM_AREGS - regs->windowbase * 4, in gpr_get()
61 regs->areg, in gpr_get()
111 memcpy(regs->areg + XCHAL_NUM_AREGS - newregs.windowbase * 4, in gpr_set()
113 memcpy(regs->areg, newregs.a + newregs.windowbase * 4, in gpr_set()
279 tmp = regs->areg[regno - REG_AR_BASE]; in ptrace_peekusr()
283 tmp = regs->areg[regno - REG_A_BASE]; in ptrace_peekusr()
342 regs->areg[regno - REG_AR_BASE] = val; in ptrace_pokeusr()
346 regs->areg[regno - REG_A_BASE] = val; in ptrace_pokeusr()
547 regs->areg[2] = -ENOSYS; in do_syscall_trace_enter()
551 regs->areg[2] = -ENOSYS; in do_syscall_trace_enter()
[all …]
Dprocess.c295 usp_thread_fn : regs->areg[1]; in copy_thread()
301 childregs->areg[1] = usp; in copy_thread()
302 childregs->areg[2] = 0; in copy_thread()
320 if (regs->areg[1] == usp && len != 0) { in copy_thread()
321 int callinc = (regs->areg[0] >> 30) & 3; in copy_thread()
323 put_user(regs->areg[caller_ars+1], in copy_thread()
Dtraps.c538 pr_cont(" %08lx", regs->areg[i]); in show_regs()
643 show_stack(NULL, (unsigned long *)regs->areg[1], KERN_INFO); in die()
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_asm.h14 #define PPC_STD(sreg, offset, areg) std sreg, (offset)(areg)
15 #define PPC_LD(treg, offset, areg) ld treg, (offset)(areg)
17 #define PPC_STD(sreg, offset, areg) stw sreg, (offset+4)(areg)
18 #define PPC_LD(treg, offset, areg) lwz treg, (offset+4)(areg)
/linux-6.12.1/sound/pci/
Drme96.c218 u32 areg; /* cached additional register value */ member
476 rme96->areg |= RME96_AR_CDATA; in snd_rme96_write_SPI()
478 rme96->areg &= ~RME96_AR_CDATA; in snd_rme96_write_SPI()
480 rme96->areg &= ~(RME96_AR_CCLK | RME96_AR_CLATCH); in snd_rme96_write_SPI()
481 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI()
483 rme96->areg |= RME96_AR_CCLK; in snd_rme96_write_SPI()
484 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI()
488 rme96->areg &= ~(RME96_AR_CCLK | RME96_AR_CDATA); in snd_rme96_write_SPI()
489 rme96->areg |= RME96_AR_CLATCH; in snd_rme96_write_SPI()
490 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c190 reg->areg = nfp_swreg_to_unreg(rreg, false); in swreg_to_unrestricted()
194 reg->areg = nfp_swreg_to_unreg(lreg, false); in swreg_to_unrestricted()
271 reg->areg = nfp_swreg_to_rereg(rreg, false, has_imm8, &reg->i8); in swreg_to_restricted()
275 reg->areg = nfp_swreg_to_rereg(lreg, false, has_imm8, &reg->i8); in swreg_to_restricted()
Dnfp_asm.h372 u16 areg, breg; member
382 u8 areg, breg; member
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c80 u8 mode, u8 xfer, u8 areg, u8 breg, u8 size, enum cmd_ctx_swap ctx, in __emit_cmd() argument
85 insn = FIELD_PREP(OP_CMD_A_SRC, areg) | in __emit_cmd()
122 __emit_cmd(nfp_prog, op, mode, xfer, reg.areg, reg.breg, size, ctx, in emit_cmd_any()
186 __emit_br_bit(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 addr, u8 defer, in __emit_br_bit() argument
196 FIELD_PREP(OP_BR_BIT_A_SRC, areg) | in __emit_br_bit()
226 __emit_br_bit(nfp_prog, reg.areg, reg.breg, addr, defer, set, in emit_br_bit_relo()
240 __emit_br_alu(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 imm_hi, in __emit_br_alu() argument
246 FIELD_PREP(OP_BR_ALU_A_SRC, areg) | in __emit_br_alu()
267 __emit_br_alu(nfp_prog, reg.areg, reg.breg, 0, defer, reg.dst_lmextn, in emit_rtn()
272 __emit_immed(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 imm_hi, in __emit_immed() argument
[all …]
/linux-6.12.1/arch/xtensa/mm/
Dfault.c254 address, regs->pc, regs->areg[0]); in bad_page_fault()
/linux-6.12.1/drivers/gpu/drm/radeon/
Devergreen_cs.c2621 uint32_t areg; in evergreen_packet3_check() local
2633 areg = idx_value >> 16; in evergreen_packet3_check()
2634 if (areg < allowed_reg_base || areg > (allowed_reg_base + 11)) { in evergreen_packet3_check()
2636 areg, idx); in evergreen_packet3_check()
3496 uint32_t areg; in evergreen_vm_packet3_check() local
3508 areg = idx_value >> 16; in evergreen_vm_packet3_check()
3509 if (areg < allowed_reg_base || areg > (allowed_reg_base + 11)) { in evergreen_vm_packet3_check()
3511 areg, idx); in evergreen_vm_packet3_check()
/linux-6.12.1/drivers/net/ethernet/ti/
Dtlan.c187 static void tlan_set_mac(struct net_device *, int areg, const char *mac);
2351 static void tlan_set_mac(struct net_device *dev, int areg, const char *mac) in tlan_set_mac() argument
2355 areg *= 6; in tlan_set_mac()
2360 TLAN_AREG_0 + areg + i, mac[i]); in tlan_set_mac()
2364 TLAN_AREG_0 + areg + i, 0); in tlan_set_mac()
/linux-6.12.1/arch/m68k/ifpsp060/src/
Dpfpsp.S4941 bsr.l fetch_dreg # fetch base areg
Dfpsp.S18892 bsr.l fetch_dreg # fetch base areg