Home
last modified time | relevance | path

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

/Linux-v5.4/arch/xtensa/include/asm/
Delf.h156 do { _r->areg[0]=0; /*_r->areg[1]=0;*/ _r->areg[2]=0; _r->areg[3]=0; \
157 _r->areg[4]=0; _r->areg[5]=0; _r->areg[6]=0; _r->areg[7]=0; \
158 _r->areg[8]=0; _r->areg[9]=0; _r->areg[10]=0; _r->areg[11]=0; \
159 _r->areg[12]=0; _r->areg[13]=0; _r->areg[14]=0; _r->areg[15]=0; \
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[0] = (long) error ? error : val; in syscall_set_return_value()
68 args[i] = regs->areg[reg[i]]; in syscall_get_arguments()
79 regs->areg[reg[i]] = args[i]; in syscall_set_arguments()
Dptrace.h80 unsigned long areg[16]; member
90 # define return_pointer(regs) (MAKE_PC_FROM_RA((regs)->areg[0], \
91 (regs)->areg[1]))
103 #define user_stack_pointer(regs) ((regs)->areg[1])
107 return regs->areg[2]; in regs_return_value()
Dprocessor.h201 (regs)->areg[1] = (new_sp); \
202 (regs)->areg[0] = 0; \
220 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->areg[1])
/Linux-v5.4/arch/xtensa/kernel/
Dasm-offsets.c47 DEFINE(PT_AREG, offsetof (struct pt_regs, areg[0])); in main()
48 DEFINE(PT_AREG0, offsetof (struct pt_regs, areg[0])); in main()
49 DEFINE(PT_AREG1, offsetof (struct pt_regs, areg[1])); in main()
50 DEFINE(PT_AREG2, offsetof (struct pt_regs, areg[2])); in main()
51 DEFINE(PT_AREG3, offsetof (struct pt_regs, areg[3])); in main()
52 DEFINE(PT_AREG4, offsetof (struct pt_regs, areg[4])); in main()
53 DEFINE(PT_AREG5, offsetof (struct pt_regs, areg[5])); in main()
54 DEFINE(PT_AREG6, offsetof (struct pt_regs, areg[6])); in main()
55 DEFINE(PT_AREG7, offsetof (struct pt_regs, areg[7])); in main()
56 DEFINE(PT_AREG8, offsetof (struct pt_regs, areg[8])); in main()
[all …]
Dsignal.c76 if (__get_user(sp, (int*)(regs->areg[base * 4 + 1] - 12))) in flush_window_regs_user()
93 &regs->areg[(base + 1) * 4], 16)) in flush_window_regs_user()
99 &regs->areg[(base + 1) * 4], 32)) in flush_window_regs_user()
106 sp = regs->areg[((base + inc) * 4 + 1) % XCHAL_NUM_AREGS]; in flush_window_regs_user()
107 if (copy_to_user(&SPILL_SLOT(sp, 0), &regs->areg[base * 4], 16)) in flush_window_regs_user()
112 sp = regs->areg[base * 4 + 1]; in flush_window_regs_user()
150 err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4); in setup_sigcontext()
209 err |= __copy_from_user(regs->areg, sc->sc_a, 16 * 4); in restore_sigcontext()
252 frame = (struct rt_sigframe __user *) regs->areg[1]; in xtensa_rt_sigreturn()
265 ret = regs->areg[2]; in xtensa_rt_sigreturn()
[all …]
Dprocess.c223 usp_thread_fn : regs->areg[1]; in copy_thread()
233 childregs->areg[1] = usp; in copy_thread()
234 childregs->areg[2] = 0; in copy_thread()
252 if (regs->areg[1] == usp && len != 0) { in copy_thread()
253 int callinc = (regs->areg[0] >> 30) & 3; in copy_thread()
255 put_user(regs->areg[caller_ars+1], in copy_thread()
263 memcpy(&childregs->areg[XCHAL_NUM_AREGS - len/4], in copy_thread()
264 &regs->areg[XCHAL_NUM_AREGS - len/4], len); in copy_thread()
269 childregs->threadptr = childregs->areg[5]; in copy_thread()
Dstacktrace.c32 unsigned long a0 = regs->areg[0]; in xtensa_backtrace_user()
33 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_user()
76 a0 = regs->areg[index * 4]; in xtensa_backtrace_user()
77 a1 = regs->areg[index * 4 + 1]; in xtensa_backtrace_user()
123 unsigned long a0 = regs->areg[0]; in xtensa_backtrace_kernel()
124 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_kernel()
152 a0 = regs->areg[0]; in xtensa_backtrace_kernel()
153 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()
109 memcpy(regs->areg + XCHAL_NUM_AREGS - newregs.windowbase * 4, in gpr_set()
111 memcpy(regs->areg, newregs.a + newregs.windowbase * 4, in gpr_set()
280 tmp = regs->areg[regno - REG_AR_BASE]; in ptrace_peekusr()
284 tmp = regs->areg[regno - REG_A_BASE]; in ptrace_peekusr()
343 regs->areg[regno - REG_AR_BASE] = val; in ptrace_pokeusr()
347 regs->areg[regno - REG_A_BASE] = val; in ptrace_pokeusr()
Dtraps.c467 pr_cont(" %08lx", regs->areg[i]); in show_regs()
535 show_stack(NULL, (unsigned long*)regs->areg[1]); in die()
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_asm.h14 #define PPC_STD(sreg, offset, areg) std sreg, (offset)(areg) argument
15 #define PPC_LD(treg, offset, areg) ld treg, (offset)(areg) argument
17 #define PPC_STD(sreg, offset, areg) stw sreg, (offset+4)(areg) argument
18 #define PPC_LD(treg, offset, areg) lwz treg, (offset+4)(areg) argument
/Linux-v5.4/sound/pci/
Drme96.c223 u32 areg; /* cached additional register value */ member
505 rme96->areg |= RME96_AR_CDATA; in snd_rme96_write_SPI()
507 rme96->areg &= ~RME96_AR_CDATA; in snd_rme96_write_SPI()
509 rme96->areg &= ~(RME96_AR_CCLK | RME96_AR_CLATCH); in snd_rme96_write_SPI()
510 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI()
512 rme96->areg |= RME96_AR_CCLK; in snd_rme96_write_SPI()
513 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI()
517 rme96->areg &= ~(RME96_AR_CCLK | RME96_AR_CDATA); in snd_rme96_write_SPI()
518 rme96->areg |= RME96_AR_CLATCH; in snd_rme96_write_SPI()
519 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/arch/xtensa/mm/
Dfault.c252 address, regs->pc, regs->areg[0]); in bad_page_fault()
/Linux-v5.4/drivers/gpu/drm/radeon/
Devergreen_cs.c2620 uint32_t areg; in evergreen_packet3_check() local
2632 areg = idx_value >> 16; in evergreen_packet3_check()
2633 if (areg < allowed_reg_base || areg > (allowed_reg_base + 11)) { in evergreen_packet3_check()
2635 areg, idx); in evergreen_packet3_check()
3495 uint32_t areg; in evergreen_vm_packet3_check() local
3507 areg = idx_value >> 16; in evergreen_vm_packet3_check()
3508 if (areg < allowed_reg_base || areg > (allowed_reg_base + 11)) { in evergreen_vm_packet3_check()
3510 areg, idx); in evergreen_vm_packet3_check()
/Linux-v5.4/drivers/net/ethernet/ti/
Dtlan.c187 static void tlan_set_mac(struct net_device *, int areg, char *mac);
2376 static void tlan_set_mac(struct net_device *dev, int areg, char *mac) in tlan_set_mac() argument
2380 areg *= 6; in tlan_set_mac()
2385 TLAN_AREG_0 + areg + i, mac[i]); in tlan_set_mac()
2389 TLAN_AREG_0 + areg + i, 0); in tlan_set_mac()
/Linux-v5.4/arch/m68k/ifpsp060/src/
Dpfpsp.S4941 bsr.l fetch_dreg # fetch base areg
Dfpsp.S18892 bsr.l fetch_dreg # fetch base areg