Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 59) 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,
/include/linux/
Delfcore.h9 static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_regs() argument
12 ELF_CORE_COPY_REGS((*elfregs), regs) in elf_core_copy_regs()
14 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
15 *(struct pt_regs *)elfregs = *regs; in elf_core_copy_regs()
19 static inline void elf_core_copy_kernel_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_kernel_regs() argument
22 ELF_CORE_COPY_KERNEL_REGS((*elfregs), regs); in elf_core_copy_kernel_regs()
24 elf_core_copy_regs(elfregs, regs); in elf_core_copy_kernel_regs()
40 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
45 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()
151 struct pt_regs *regs, int stepping) in tracehook_signal_handler() argument
187 static inline void tracehook_notify_resume(struct pt_regs *regs) in tracehook_notify_resume() argument
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 __weak kgdb_arch_pc(int exception, struct pt_regs *regs);
311 struct pt_regs *regs);
[all …]
Duprobes.h50 int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs);
53 struct pt_regs *regs);
121 extern unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs);
122 extern int uprobe_post_sstep_notifier(struct pt_regs *regs);
123 extern int uprobe_pre_sstep_notifier(struct pt_regs *regs);
124 extern void uprobe_notify_resume(struct pt_regs *regs);
126 extern bool __weak arch_uprobe_skip_sstep(struct arch_uprobe *aup, struct pt_regs *regs);
163 static inline void uprobe_notify_resume(struct pt_regs *regs) in uprobe_notify_resume() argument
170 static inline unsigned long uprobe_get_swbp_addr(struct pt_regs *regs) in uprobe_get_swbp_addr() argument
Dkdebug.h9 struct pt_regs *regs; member
20 struct pt_regs *regs, long err, int trap, int sig);
Datmel_pwm.h26 void __iomem *regs; member
62 __raw_writel(val, pwmc->regs + offset); in pwm_channel_writel()
67 return __raw_readl(pwmc->regs + offset); in pwm_channel_readl()
Dperf_event.h101 struct pt_regs *regs; member
284 struct pt_regs *regs);
582 data->regs_user.regs = NULL; in perf_sample_data_init()
595 struct pt_regs *regs);
599 struct pt_regs *regs);
619 static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip) { } in perf_arch_fetch_caller_regs() argument
630 static inline void perf_fetch_caller_regs(struct pt_regs *regs) in perf_fetch_caller_regs() argument
632 memset(regs, 0, sizeof(*regs)); in perf_fetch_caller_regs()
634 perf_arch_fetch_caller_regs(regs, CALLER_ADDR0); in perf_fetch_caller_regs()
638 perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) in perf_sw_event() argument
[all …]
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.h72 void (*backtrace)(struct pt_regs * const regs, unsigned int depth);
97 void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);
106 void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
112 void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs,
192 struct pt_regs * const regs,
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
Dregmap.h319 void __iomem *regs,
331 void __iomem *regs,
345 void __iomem *regs, in regmap_init_mmio() argument
348 return regmap_init_mmio_clk(dev, NULL, regs, config); in regmap_init_mmio()
363 void __iomem *regs, in devm_regmap_init_mmio() argument
366 return devm_regmap_init_mmio_clk(dev, NULL, regs, config); in devm_regmap_init_mmio()
401 int regmap_register_patch(struct regmap *map, const struct reg_default *regs,
586 const struct reg_default *regs, in regmap_register_patch() 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
/include/trace/events/
Dsyscalls.h21 TP_PROTO(struct pt_regs *regs, long id),
23 TP_ARGS(regs, id),
32 syscall_get_arguments(current, regs, 0, 6, __entry->args);
47 TP_PROTO(struct pt_regs *regs, long ret),
49 TP_ARGS(regs, ret),
57 __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/
Dbcm2835.h27 struct pt_regs *regs);
Dversatile-fpga.h7 void fpga_handle_irq(struct pt_regs *regs);
/include/linux/platform_data/
Dtegra_emc.h26 u32 regs[TEGRA_EMC_NUM_REGS]; member
/include/linux/usb/
Dtegra_usb_phy.h52 void __iomem *regs; member
69 void __iomem *regs, void *config, enum tegra_usb_phy_mode phy_mode,
/include/sound/
Dwm8904.h136 u16 regs[WM8904_DRC_REGS]; member
149 u16 regs[WM8904_EQ_REGS]; member

123