Home
last modified time | relevance | path

Searched refs:_regs (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/um/asm/
Delf.h149 #define ELF_CORE_COPY_REGS(pr_reg, _regs) \ argument
150 (pr_reg)[0] = (_regs)->regs.gp[0]; \
151 (pr_reg)[1] = (_regs)->regs.gp[1]; \
152 (pr_reg)[2] = (_regs)->regs.gp[2]; \
153 (pr_reg)[3] = (_regs)->regs.gp[3]; \
154 (pr_reg)[4] = (_regs)->regs.gp[4]; \
155 (pr_reg)[5] = (_regs)->regs.gp[5]; \
156 (pr_reg)[6] = (_regs)->regs.gp[6]; \
157 (pr_reg)[7] = (_regs)->regs.gp[7]; \
158 (pr_reg)[8] = (_regs)->regs.gp[8]; \
[all …]
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dprocessor.h80 #define start_thread(_regs, _pc, _usp) \ argument
82 (_regs)->pc = (_pc); \
83 (_regs)->ccr = 0x00; /* clear all flags */ \
84 (_regs)->er5 = current->mm->start_data; /* GOT base */ \
85 (_regs)->sp = ((unsigned long)(_usp)) - sizeof(unsigned long) * 3; \
89 #define start_thread(_regs, _pc, _usp) \ argument
91 (_regs)->pc = (_pc); \
92 (_regs)->ccr = 0x00; /* clear kernel flag */ \
93 (_regs)->exr = 0x78; /* enable all interrupts */ \
94 (_regs)->er5 = current->mm->start_data; /* GOT base */ \
[all …]
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dprocessor.h61 #define start_thread(_regs, _pc, _usp) \ argument
64 (_regs)->pc = (_pc); \
65 (_regs)->regs[1] = 0; /* ABIV1 is R7, uClibc_main rtdl arg */ \
66 (_regs)->regs[2] = 0; \
67 (_regs)->regs[3] = 0; /* ABIV2 is R7, use it? */ \
68 (_regs)->sr &= ~PS_S; \
69 (_regs)->usp = (_usp); \
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Delf.h33 #define ELF_FDPIC_PLAT_INIT(_regs, _exec_map, _interp_map, _dynamic_addr) \ argument
35 _regs->b4 = (_exec_map); \
36 _regs->a6 = (_interp_map); \
37 _regs->b6 = (_dynamic_addr); \
62 #define ELF_CORE_COPY_REGS(_dest, _regs) \ argument
63 memcpy((char *) &_dest, (char *) _regs, \
/kernel/linux/linux-5.10/drivers/clk/mediatek/
Dclk-gate.h46 #define GATE_MTK_FLAGS(_id, _name, _parent, _regs, _shift, \ argument
51 .regs = _regs, \
57 #define GATE_MTK(_id, _name, _parent, _regs, _shift, _ops) \ argument
58 GATE_MTK_FLAGS(_id, _name, _parent, _regs, _shift, _ops, 0)
/kernel/linux/linux-5.10/arch/arm/probes/
Ddecode.h328 #define DECODE_HEADER(_type, _mask, _value, _regs) \ argument
329 {.bits = (_type) | ((_regs) << DECODE_TYPE_BITS)}, \
359 #define DECODE_SIMULATEX(_mask, _value, _handler, _regs) \ argument
360 DECODE_HEADER(DECODE_TYPE_SIMULATE, _mask, _value, _regs), \
372 #define DECODE_EMULATEX(_mask, _value, _handler, _regs) \ argument
373 DECODE_HEADER(DECODE_TYPE_EMULATE, _mask, _value, _regs), \
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1702 # define SYSCALL_NUM(_regs) (_regs).orig_rax argument
1703 # define SYSCALL_RET(_regs) (_regs).rax argument
1706 # define SYSCALL_NUM(_regs) (_regs).orig_eax argument
1707 # define SYSCALL_RET(_regs) (_regs).eax argument
1710 # define SYSCALL_NUM(_regs) (_regs).ARM_r7 argument
1714 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1716 # define SYSCALL_RET(_regs) (_regs).ARM_r0 argument
1719 # define SYSCALL_NUM(_regs) (_regs).regs[8] argument
1723 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1732 # define SYSCALL_RET(_regs) (_regs).regs[0] argument
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dprocessor.h103 #define setframeformat(_regs) do { (_regs)->format = 0x4; } while(0) argument
105 #define setframeformat(_regs) do { } while (0) argument
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dptrace.h90 struct pt_regs *_regs = (regs); \
91 !user_mode(_regs) && user_stack(_task, _regs); \
Delf.h192 #define ELF_CORE_COPY_REGS(_dest,_regs) ia64_elf_core_copy_regs(_regs, _dest); argument
Dprocessor.h338 struct pt_regs *_regs = task_pt_regs(tsk); \
339 _regs->cr_iip + ia64_psr(_regs)->ri; \
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Ddebug.h100 u32 name##_sum[ARRAY_SIZE(name##_regs)], \
101 name##_counter[ARRAY_SIZE(name##_regs)] \
104 u32 name##_counter[ARRAY_SIZE(name##_regs)] \
Ddebug.c464 u32 __tmp[ARRAY_SIZE(name##_regs)]; \
467 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \
468 __tmp[__i] = name##_regs[__i].reg; \
473 __err = carl9170_read_mreg(ar, ARRAY_SIZE(name##_regs), \
480 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \
493 max_len = ARRAY_SIZE(name##_regs) * 80; \
506 for (i = 0; i < ARRAY_SIZE(name##_regs); i++) { \
508 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\
523 max_len = ARRAY_SIZE(name##_regs) * 80; \
534 for (i = 0; i < ARRAY_SIZE(name##_regs); i++) { \
[all …]
/kernel/linux/linux-5.10/arch/microblaze/include/uapi/asm/
Delf.h87 #define ELF_CORE_COPY_REGS(_dest, _regs) \ argument
88 memcpy((char *) &_dest, (char *) _regs, \
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dptrace.h17 #define kernel_stack_pointer(_regs) ((unsigned long)(_regs)->regs[15]) argument
Delf.h116 #define ELF_CORE_COPY_REGS(_dest,_regs) \ argument
117 memcpy((char *) &_dest, (char *) _regs, \
/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dcheck_bq27xxx_data.cocci47 i1regs := make_ident (i1 ^ "_regs");
48 i2regs := make_ident (i2 ^ "_regs");
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dtraps.c433 #define una_reg(r) (_regs[(r) >= 16 && (r) <= 18 ? (r)+19 : (r)])
442 unsigned long *_regs = regs->regs; in do_entUna() local
/kernel/linux/linux-5.10/arch/x86/kvm/
Dkvm_emulate.h370 unsigned long _regs[NR_VCPU_REGS]; member
Demulate.c247 ctxt->_regs[nr] = ctxt->ops->read_gpr(ctxt, nr); in reg_read()
249 return ctxt->_regs[nr]; in reg_read()
256 return &ctxt->_regs[nr]; in reg_write()
270 ctxt->ops->write_gpr(ctxt, reg, ctxt->_regs[reg]); in writeback_registers()
/kernel/linux/linux-5.10/drivers/power/supply/
Dbq27xxx_battery.c907 .regs = ref##_regs, \