Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 58) sorted by relevance

123

/include/asm-generic/
Dptrace.h16 #define GET_IP(regs) ((regs)->pc) argument
19 #define SET_IP(regs, val) (GET_IP(regs) = (val)) argument
22 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() argument
24 return GET_IP(regs); in instruction_pointer()
26 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set() argument
29 SET_IP(regs, val); in instruction_pointer_set()
33 #define profile_pc(regs) instruction_pointer(regs) argument
38 #define GET_USP(regs) ((regs)->usp) argument
41 #define SET_USP(regs, val) (GET_USP(regs) = (val)) argument
44 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer() argument
[all …]
Dsyscall.h41 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
59 void syscall_rollback(struct task_struct *task, struct pt_regs *regs);
71 long syscall_get_error(struct task_struct *task, struct pt_regs *regs);
84 long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs);
101 void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
121 void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
141 void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
Dsyscalls.h25 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
/include/linux/
Delfcore.h11 static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_regs() argument
14 ELF_CORE_COPY_REGS((*elfregs), regs) in elf_core_copy_regs()
16 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
17 *(struct pt_regs *)elfregs = *regs; in elf_core_copy_regs()
21 static inline void elf_core_copy_kernel_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_kernel_regs() argument
24 ELF_CORE_COPY_KERNEL_REGS((*elfregs), regs); in elf_core_copy_kernel_regs()
26 elf_core_copy_regs(elfregs, regs); in elf_core_copy_kernel_regs()
42 static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregs… in elf_core_copy_task_fpregs() argument
47 return dump_fpu(regs, fpu); in elf_core_copy_task_fpregs()
Dtracehook.h58 static inline int ptrace_report_syscall(struct pt_regs *regs) in ptrace_report_syscall() argument
100 struct pt_regs *regs) in tracehook_report_syscall_entry() argument
102 return ptrace_report_syscall(regs); in tracehook_report_syscall_entry()
122 static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step) in tracehook_report_syscall_exit() argument
126 user_single_step_siginfo(current, regs, &info); in tracehook_report_syscall_exit()
131 ptrace_report_syscall(regs); in tracehook_report_syscall_exit()
181 static inline void tracehook_notify_resume(struct pt_regs *regs) in tracehook_notify_resume() argument
Duprobes.h49 int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs);
52 struct pt_regs *regs);
105 extern unsigned long uprobe_get_swbp_addr(struct pt_regs *regs);
106 extern unsigned long uprobe_get_trap_addr(struct pt_regs *regs);
118 extern int uprobe_post_sstep_notifier(struct pt_regs *regs);
119 extern int uprobe_pre_sstep_notifier(struct pt_regs *regs);
120 extern void uprobe_notify_resume(struct pt_regs *regs);
122 extern bool arch_uprobe_skip_sstep(struct arch_uprobe *aup, struct pt_regs *regs);
125 extern int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs);
126 extern int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs);
[all …]
Dkgdb.h35 extern int kgdb_skipexception(int exception, struct pt_regs *regs);
93 extern char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs);
94 extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs);
130 extern void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs);
155 extern void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs);
177 struct pt_regs *regs);
205 extern void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc);
252 void (*disable_hw_break)(struct pt_regs *regs);
286 extern unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs);
311 struct pt_regs *regs);
[all …]
Dkdebug.h9 struct pt_regs *regs; member
20 struct pt_regs *regs, long err, int trap, int sig);
Dperf_regs.h6 u64 perf_reg_value(struct pt_regs *regs, int idx);
10 static inline u64 perf_reg_value(struct pt_regs *regs, int idx) in perf_reg_value() argument
Doprofile.h71 void (*backtrace)(struct pt_regs * const regs, unsigned int depth);
96 void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);
105 void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
111 void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs,
190 struct pt_regs * const regs,
Dperf_event.h84 struct pt_regs *regs; member
284 struct pt_regs *regs);
622 data->regs_user.regs = NULL; in perf_sample_data_init()
636 struct pt_regs *regs);
640 struct pt_regs *regs);
661 static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip) { } in perf_arch_fetch_caller_regs() argument
672 static inline void perf_fetch_caller_regs(struct pt_regs *regs) in perf_fetch_caller_regs() argument
674 memset(regs, 0, sizeof(*regs)); in perf_fetch_caller_regs()
676 perf_arch_fetch_caller_regs(regs, CALLER_ADDR0); in perf_fetch_caller_regs()
680 perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) in perf_sw_event() argument
[all …]
Dtoshiba.h24 int tosh_smm(SMMRegisters *regs);
Dbug.h98 enum bug_trap_type report_bug(unsigned long bug_addr, struct pt_regs *regs);
106 struct pt_regs *regs) in report_bug() argument
Dmmiotrace.h44 extern int kmmio_handler(struct pt_regs *regs, unsigned long addr);
59 static inline int kmmio_handler(struct pt_regs *regs, unsigned long addr) in kmmio_handler() argument
Dregmap.h341 void __iomem *regs,
357 void __iomem *regs,
371 void __iomem *regs, in regmap_init_mmio() argument
374 return regmap_init_mmio_clk(dev, NULL, regs, config); in regmap_init_mmio()
389 void __iomem *regs, in devm_regmap_init_mmio() argument
392 return devm_regmap_init_mmio_clk(dev, NULL, regs, config); in devm_regmap_init_mmio()
406 int regmap_multi_reg_write(struct regmap *map, const struct reg_default *regs,
409 const struct reg_default *regs,
444 int regmap_register_patch(struct regmap *map, const struct reg_default *regs,
713 const struct reg_default *regs, in regmap_register_patch() argument
Dirqdesc.h141 bool lookup, struct pt_regs *regs);
144 unsigned int hwirq, struct pt_regs *regs) in handle_domain_irq() argument
146 return __handle_domain_irq(domain, hwirq, true, regs); in handle_domain_irq()
Dptrace.h250 #define is_syscall_success(regs) (!IS_ERR_VALUE((unsigned long)(regs_return_value(regs)))) argument
335 struct pt_regs *regs, siginfo_t *info);
338 struct pt_regs *regs, siginfo_t *info) in user_single_step_siginfo() argument
/include/trace/events/
Dsyscalls.h19 TP_PROTO(struct pt_regs *regs, long id),
21 TP_ARGS(regs, id),
30 syscall_get_arguments(current, regs, 0, 6, __entry->args);
45 TP_PROTO(struct pt_regs *regs, long ret),
47 TP_ARGS(regs, ret),
55 __entry->id = syscall_get_nr(current, regs);
/include/linux/mfd/wm8994/
Dpdata.h52 u16 regs[WM8994_DRC_REGS]; member
65 u16 regs[WM8994_EQ_REGS]; member
91 u16 regs[WM8958_VSS_HPF_REGS]; member
102 u16 regs[WM8958_VSS_REGS]; member
113 u16 regs[WM8958_ENH_EQ_REGS]; member
/include/video/
Dnewport.h385 static inline void newport_vc2_set(struct newport_regs *regs, in newport_vc2_set() argument
389 regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W3 | in newport_vc2_set()
391 regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8); in newport_vc2_set()
394 static inline unsigned short newport_vc2_get(struct newport_regs *regs, in newport_vc2_get() argument
397 regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W1 | in newport_vc2_get()
399 regs->set.dcbdata0.bybytes.b3 = vc2ireg; in newport_vc2_get()
400 regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_IREG | NPORT_DMODE_W2 | in newport_vc2_get()
402 return regs->set.dcbdata0.byshort.s1; in newport_vc2_get()
428 static __inline__ void newport_cmap_setaddr(struct newport_regs *regs, in newport_cmap_setaddr() argument
431 regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL | in newport_cmap_setaddr()
[all …]
/include/linux/fsl/bestcomm/
Dbestcomm_priv.h70 struct mpc52xx_sdma __iomem *regs; member
256 regval = in_be16(&bcom_eng->regs->PtdCntrl); in bcom_disable_prefetch()
257 out_be16(&bcom_eng->regs->PtdCntrl, regval | 1); in bcom_disable_prefetch()
264 reg = in_be16(&bcom_eng->regs->tcr[task]); in bcom_enable_task()
265 out_be16(&bcom_eng->regs->tcr[task], reg | TASK_ENABLE); in bcom_enable_task()
271 u16 reg = in_be16(&bcom_eng->regs->tcr[task]); in bcom_disable_task()
272 out_be16(&bcom_eng->regs->tcr[task], reg & ~TASK_ENABLE); in bcom_disable_task()
337 u16 __iomem *tcr = &bcom_eng->regs->tcr[task]; in bcom_set_task_auto_start()
344 u16 __iomem *tcr = &bcom_eng->regs->tcr[task]; in bcom_set_tcr_initiator()
/include/linux/amba/
Dclcd.h142 void (*decode)(struct clcd_fb *fb, struct clcd_regs *regs);
181 void __iomem *regs; member
189 static inline void clcdfb_decode(struct clcd_fb *fb, struct clcd_regs *regs) in clcdfb_decode() argument
201 regs->tim0 = val; in clcdfb_decode()
210 regs->tim1 = val; in clcdfb_decode()
226 regs->tim2 = val | ((cpl - 1) << 16); in clcdfb_decode()
228 regs->tim3 = fb->panel->tim3; in clcdfb_decode()
278 regs->cntl = val; in clcdfb_decode()
279 regs->pixclock = var->pixclock; in clcdfb_decode()
/include/linux/irqchip/
Dversatile-fpga.h7 void fpga_handle_irq(struct pt_regs *regs);
/include/sound/
Dwm8904.h136 u16 regs[WM8904_DRC_REGS]; member
149 u16 regs[WM8904_EQ_REGS]; member
Dwm8996.h31 u16 regs[20]; member

123