Home
last modified time | relevance | path

Searched defs:regs (Results 1 – 25 of 2009) sorted by relevance

12345678910>>...81

/Linux-v4.19/drivers/media/platform/s5p-jpeg/
Djpeg-hw-s5p.c20 void s5p_jpeg_reset(void __iomem *regs) in s5p_jpeg_reset()
33 void s5p_jpeg_poweron(void __iomem *regs) in s5p_jpeg_poweron()
38 void s5p_jpeg_input_raw_mode(void __iomem *regs, unsigned long mode) in s5p_jpeg_input_raw_mode()
54 void s5p_jpeg_proc_mode(void __iomem *regs, unsigned long mode) in s5p_jpeg_proc_mode()
69 void s5p_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode) in s5p_jpeg_subsampling_mode()
84 unsigned int s5p_jpeg_get_subsampling_mode(void __iomem *regs) in s5p_jpeg_get_subsampling_mode()
89 void s5p_jpeg_dri(void __iomem *regs, unsigned int dri) in s5p_jpeg_dri()
104 void s5p_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n) in s5p_jpeg_qtbl()
114 void s5p_jpeg_htbl_ac(void __iomem *regs, unsigned int t) in s5p_jpeg_htbl_ac()
125 void s5p_jpeg_htbl_dc(void __iomem *regs, unsigned int t) in s5p_jpeg_htbl_dc()
[all …]
Djpeg-hw-exynos3250.c21 void exynos3250_jpeg_reset(void __iomem *regs) in exynos3250_jpeg_reset()
47 void exynos3250_jpeg_poweron(void __iomem *regs) in exynos3250_jpeg_poweron()
52 void exynos3250_jpeg_set_dma_num(void __iomem *regs) in exynos3250_jpeg_set_dma_num()
72 void exynos3250_jpeg_input_raw_fmt(void __iomem *regs, unsigned int fmt) in exynos3250_jpeg_input_raw_fmt()
123 void exynos3250_jpeg_set_y16(void __iomem *regs, bool y16) in exynos3250_jpeg_set_y16()
135 void exynos3250_jpeg_proc_mode(void __iomem *regs, unsigned int mode) in exynos3250_jpeg_proc_mode()
149 void exynos3250_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode) in exynos3250_jpeg_subsampling_mode()
171 unsigned int exynos3250_jpeg_get_subsampling_mode(void __iomem *regs) in exynos3250_jpeg_get_subsampling_mode()
177 void exynos3250_jpeg_dri(void __iomem *regs, unsigned int dri) in exynos3250_jpeg_dri()
185 void exynos3250_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n) in exynos3250_jpeg_qtbl()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Dtraps.c184 static unsigned long oops_begin(struct pt_regs *regs) in oops_begin()
210 static void oops_end(unsigned long flags, struct pt_regs *regs, in oops_end()
258 static int __die(const char *str, struct pt_regs *regs, long err) in __die()
291 void die(const char *str, struct pt_regs *regs, long err) in die()
311 struct pt_regs *regs, siginfo_t *info) in user_single_step_siginfo()
318 static void show_signal_msg(int signr, struct pt_regs *regs, int code, in show_signal_msg()
344 void _exception_pkey(int signr, struct pt_regs *regs, int code, in _exception_pkey()
376 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception()
381 void system_reset_exception(struct pt_regs *regs) in system_reset_exception()
454 static inline int check_io_access(struct pt_regs *regs) in check_io_access()
[all …]
/Linux-v4.19/arch/arm/include/asm/
Dptrace.h23 struct pt_regs regs; member
30 #define user_mode(regs) \ argument
34 #define thumb_mode(regs) \ argument
37 #define thumb_mode(regs) (0) argument
41 #define isa_mode(regs) \ argument
45 #define isa_mode(regs) 1 /* Thumb */ argument
48 #define processor_mode(regs) \ argument
51 #define interrupts_enabled(regs) \ argument
54 #define fast_interrupts_enabled(regs) \ argument
60 static inline int valid_user_regs(struct pt_regs *regs) in valid_user_regs()
[all …]
/Linux-v4.19/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()
26 static inline void instruction_pointer_set(struct pt_regs *regs, 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()
48 static inline void user_stack_pointer_set(struct pt_regs *regs, in user_stack_pointer_set()
56 #define GET_FP(regs) ((regs)->fp) argument
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dptrace.h79 #define GET_IP(regs) ((regs)->nip) argument
80 #define GET_USP(regs) ((regs)->gpr[1]) argument
81 #define GET_FP(regs) (0) argument
82 #define SET_FP(regs, val) argument
91 #define kernel_stack_pointer(regs) ((regs)->gpr[1]) argument
92 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
97 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
106 #define user_mode(regs) ((((regs)->msr) >> MSR_PR_LG) & 0x1) argument
108 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0) argument
131 #define FULL_REGS(regs) (((regs)->trap & 1) == 0) argument
[all …]
/Linux-v4.19/arch/x86/kernel/
Dtraps.c77 static inline void cond_local_irq_enable(struct pt_regs *regs) in cond_local_irq_enable()
83 static inline void cond_local_irq_disable(struct pt_regs *regs) in cond_local_irq_disable()
95 void ist_enter(struct pt_regs *regs) in ist_enter()
115 void ist_exit(struct pt_regs *regs) in ist_exit()
136 void ist_begin_non_atomic(struct pt_regs *regs) in ist_begin_non_atomic()
173 int fixup_bug(struct pt_regs *regs, int trapnr) in fixup_bug()
193 struct pt_regs *regs, long error_code) in do_trap_no_signal()
220 static siginfo_t *fill_trap_info(struct pt_regs *regs, int signr, int trapnr, in fill_trap_info()
252 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap()
285 static void do_error_trap(struct pt_regs *regs, long error_code, char *str, in do_error_trap()
[all …]
/Linux-v4.19/arch/sparc/include/asm/
Dsyscall.h21 struct pt_regs *regs) in syscall_get_nr()
29 struct pt_regs *regs) in syscall_rollback()
41 static inline bool syscall_has_error(struct pt_regs *regs) in syscall_has_error()
45 static inline void syscall_set_error(struct pt_regs *regs) in syscall_set_error()
49 static inline void syscall_clear_error(struct pt_regs *regs) in syscall_clear_error()
54 static inline bool syscall_has_error(struct pt_regs *regs) in syscall_has_error()
58 static inline void syscall_set_error(struct pt_regs *regs) in syscall_set_error()
62 static inline void syscall_clear_error(struct pt_regs *regs) in syscall_clear_error()
69 struct pt_regs *regs) in syscall_get_error()
77 struct pt_regs *regs) in syscall_get_return_value()
[all …]
Dptrace.h14 static inline int pt_regs_trap_type(struct pt_regs *regs) in pt_regs_trap_type()
19 static inline bool pt_regs_is_syscall(struct pt_regs *regs) in pt_regs_is_syscall()
24 static inline bool pt_regs_clear_syscall(struct pt_regs *regs) in pt_regs_clear_syscall()
64 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV)) argument
65 #define instruction_pointer(regs) ((regs)->tpc) argument
66 #define instruction_pointer_set(regs, val) do { \ argument
70 #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP]) argument
71 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
76 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
83 #define profile_pc(regs) instruction_pointer(regs) argument
[all …]
/Linux-v4.19/arch/mips/include/asm/
Dptrace.h35 unsigned long regs[32]; member
54 static inline unsigned long kernel_stack_pointer(struct pt_regs *regs) in kernel_stack_pointer()
64 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
83 static inline unsigned long regs_get_register(struct pt_regs *regs, in regs_get_register()
100 static inline int regs_within_kernel_stack(struct pt_regs *regs, in regs_within_kernel_stack()
116 static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, in regs_get_kernel_stack_nth()
146 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) argument
148 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
153 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
161 #define instruction_pointer(regs) ((regs)->cp0_epc) argument
[all …]
Dbranch.h33 static inline int mm_isBranchInstr(struct pt_regs *regs, in mm_isBranchInstr()
42 static inline int delay_slot(struct pt_regs *regs) in delay_slot()
47 static inline void clear_delay_slot(struct pt_regs *regs) in clear_delay_slot()
52 static inline void set_delay_slot(struct pt_regs *regs) in set_delay_slot()
57 static inline unsigned long exception_epc(struct pt_regs *regs) in exception_epc()
70 static inline int compute_return_epc(struct pt_regs *regs) in compute_return_epc()
85 static inline int MIPS16e_compute_return_epc(struct pt_regs *regs, in MIPS16e_compute_return_epc()
/Linux-v4.19/arch/unicore32/include/asm/
Dptrace.h19 #define user_mode(regs) \ argument
22 #define processor_mode(regs) \ argument
25 #define interrupts_enabled(regs) \ argument
28 #define fast_interrupts_enabled(regs) \ argument
34 static inline int valid_user_regs(struct pt_regs *regs) in valid_user_regs()
56 #define instruction_pointer(regs) ((regs)->UCreg_pc) argument
57 #define user_stack_pointer(regs) ((regs)->UCreg_sp) argument
58 #define profile_pc(regs) instruction_pointer(regs) argument
/Linux-v4.19/arch/sh/include/asm/
Dfpu.h12 static inline void release_fpu(struct pt_regs *regs) in release_fpu()
17 static inline void grab_fpu(struct pt_regs *regs) in grab_fpu()
29 #define release_fpu(regs) do { } while (0) argument
30 #define grab_fpu(regs) do { } while (0) argument
31 #define fpu_state_restore(regs) do { } while (0) argument
32 #define __fpu_state_restore(regs) do { } while (0) argument
45 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
55 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
62 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
/Linux-v4.19/arch/s390/kernel/
Dtraps.c29 static inline void __user *get_trap_ip(struct pt_regs *regs) in get_trap_ip()
45 void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) in do_report_trap()
66 static void do_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) in do_trap()
75 void do_per_trap(struct pt_regs *regs) in do_per_trap()
86 void default_trap_handler(struct pt_regs *regs) in default_trap_handler()
128 static inline void do_fp_trap(struct pt_regs *regs, __u32 fpc) in do_fp_trap()
148 void translation_exception(struct pt_regs *regs) in translation_exception()
154 void illegal_op(struct pt_regs *regs) in illegal_op()
196 void vector_exception(struct pt_regs *regs) in vector_exception()
230 void data_exception(struct pt_regs *regs) in data_exception()
[all …]
/Linux-v4.19/arch/mips/kernel/
Dmips-r2-to-r6-emul.c78 static inline int mipsr6_emul(struct pt_regs *regs, u32 ir) in mipsr6_emul()
199 static int movf_func(struct pt_regs *regs, u32 ir) in movf_func()
222 static int movt_func(struct pt_regs *regs, u32 ir) in movt_func()
247 static int jr_func(struct pt_regs *regs, u32 ir) in jr_func()
304 static int movz_func(struct pt_regs *regs, u32 ir) in movz_func()
320 static int movn_func(struct pt_regs *regs, u32 ir) in movn_func()
336 static int mfhi_func(struct pt_regs *regs, u32 ir) in mfhi_func()
353 static int mthi_func(struct pt_regs *regs, u32 ir) in mthi_func()
369 static int mflo_func(struct pt_regs *regs, u32 ir) in mflo_func()
386 static int mtlo_func(struct pt_regs *regs, u32 ir) in mtlo_func()
[all …]
/Linux-v4.19/arch/hexagon/kernel/
Dtraps.c159 struct pt_regs *regs = (struct pt_regs *) (((void *)fp) in do_show_stack() local
200 int die(const char *str, struct pt_regs *regs, long err) in die()
241 int die_if_kernel(char *str, struct pt_regs *regs, long err) in die_if_kernel()
252 static void misaligned_instruction(struct pt_regs *regs) in misaligned_instruction()
263 static void misaligned_data_load(struct pt_regs *regs) in misaligned_data_load()
269 static void misaligned_data_store(struct pt_regs *regs) in misaligned_data_store()
275 static void illegal_instruction(struct pt_regs *regs) in illegal_instruction()
285 static void precise_bus_error(struct pt_regs *regs) in precise_bus_error()
296 static void cache_error(struct pt_regs *regs) in cache_error()
304 void do_genex(struct pt_regs *regs) in do_genex()
[all …]
/Linux-v4.19/arch/arm64/kernel/probes/
Dsimulate-insn.c39 static inline void set_x_reg(struct pt_regs *regs, int reg, u64 val) in set_x_reg()
44 static inline void set_w_reg(struct pt_regs *regs, int reg, u64 val) in set_w_reg()
49 static inline u64 get_x_reg(struct pt_regs *regs, int reg) in get_x_reg()
54 static inline u32 get_w_reg(struct pt_regs *regs, int reg) in get_w_reg()
59 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz()
67 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz()
75 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz()
83 static bool __kprobes check_tbnz(u32 opcode, struct pt_regs *regs) in check_tbnz()
95 simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs) in simulate_adr_adrp()
113 simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs) in simulate_b_bl()
[all …]
/Linux-v4.19/arch/arm/probes/kprobes/
Dactions-thumb.c28 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_table_branch()
48 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_mrs()
57 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_cond_branch()
82 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_branch()
110 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_ldr_literal()
162 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_ldrdstrd()
189 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_ldrstr()
215 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8rn16rm0_rwflags()
242 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8pc16_noflags()
262 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8rn16_noflags()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dtraps.c68 static void __dump_instr(const char *lvl, struct pt_regs *regs) in __dump_instr()
89 static void dump_instr(const char *lvl, struct pt_regs *regs) in dump_instr()
101 void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) in dump_backtrace()
163 static int __die(const char *str, int err, struct pt_regs *regs) in __die()
196 void die(const char *str, struct pt_regs *regs, int err) in die()
238 struct pt_regs *regs = task_pt_regs(tsk); in arm64_force_sig_info() local
259 void arm64_notify_die(const char *str, struct pt_regs *regs, in arm64_notify_die()
272 void arm64_skip_faulting_instruction(struct pt_regs *regs, unsigned long size) in arm64_skip_faulting_instruction()
305 static int call_undef_hook(struct pt_regs *regs) in call_undef_hook()
353 struct pt_regs *regs = current_pt_regs(); in force_signal_inject() local
[all …]
/Linux-v4.19/arch/x86/entry/
Dcommon.c49 static void do_audit_syscall_entry(struct pt_regs *regs, u32 arch) in do_audit_syscall_entry()
67 static long syscall_trace_enter(struct pt_regs *regs) in syscall_trace_enter()
138 static void exit_to_usermode_loop(struct pt_regs *regs, u32 cached_flags) in exit_to_usermode_loop()
184 __visible inline void prepare_exit_to_usermode(struct pt_regs *regs) in prepare_exit_to_usermode()
221 static void syscall_slow_exit_work(struct pt_regs *regs, u32 cached_flags) in syscall_slow_exit_work()
247 __visible inline void syscall_return_slowpath(struct pt_regs *regs) in syscall_return_slowpath()
272 __visible void do_syscall_64(unsigned long nr, struct pt_regs *regs) in do_syscall_64()
304 static __always_inline void do_syscall_32_irqs_on(struct pt_regs *regs) in do_syscall_32_irqs_on()
345 __visible void do_int80_syscall_32(struct pt_regs *regs) in do_int80_syscall_32()
353 __visible long do_fast_syscall_32(struct pt_regs *regs) in do_fast_syscall_32()
/Linux-v4.19/arch/microblaze/include/asm/
Dsyscall.h12 struct pt_regs *regs) in syscall_get_nr()
18 struct pt_regs *regs) in syscall_rollback()
24 struct pt_regs *regs) in syscall_get_error()
30 struct pt_regs *regs) in syscall_get_return_value()
36 struct pt_regs *regs, in syscall_set_return_value()
45 static inline microblaze_reg_t microblaze_get_syscall_arg(struct pt_regs *regs, in microblaze_get_syscall_arg()
61 static inline void microblaze_set_syscall_arg(struct pt_regs *regs, in microblaze_set_syscall_arg()
84 struct pt_regs *regs, in syscall_get_arguments()
93 struct pt_regs *regs, in syscall_set_arguments()
Dptrace.h14 #define kernel_mode(regs) ((regs)->pt_mode) argument
15 #define user_mode(regs) (!kernel_mode(regs)) argument
17 #define instruction_pointer(regs) ((regs)->pc) argument
18 #define profile_pc(regs) instruction_pointer(regs) argument
19 #define user_stack_pointer(regs) ((regs)->r1) argument
21 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
/Linux-v4.19/arch/x86/mm/
Dextable.c25 struct pt_regs *regs, int trapnr) in ex_handler_default()
33 struct pt_regs *regs, int trapnr) in ex_handler_fault()
46 struct pt_regs *regs, int trapnr) in ex_handler_refcount()
99 struct pt_regs *regs, int trapnr) in ex_handler_fprestore()
112 struct pt_regs *regs, int trapnr) in ex_handler_ext()
122 struct pt_regs *regs, int trapnr) in ex_handler_rdmsr_unsafe()
137 struct pt_regs *regs, int trapnr) in ex_handler_wrmsr_unsafe()
151 struct pt_regs *regs, int trapnr) in ex_handler_clear_fs()
173 int fixup_exception(struct pt_regs *regs, int trapnr) in fixup_exception()
203 void __init early_fixup_exception(struct pt_regs *regs, int trapnr) in early_fixup_exception()
/Linux-v4.19/arch/ia64/include/asm/
Dptrace.h53 # define instruction_pointer(regs) ((regs)->cr_iip + ia64_psr(regs)->ri) argument
55 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
61 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
66 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
77 #define profile_pc(regs) \ argument
90 # define ia64_psr(regs) ((struct ia64_psr *) &(regs)->cr_ipsr) argument
91 # define user_mode(regs) (((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0) argument
92 # define user_stack(task,regs) ((long) regs - (long) task == IA64_STK_OFFSET - sizeof(*regs)) argument
93 # define fsys_mode(task,regs) \ argument
/Linux-v4.19/arch/riscv/kernel/
Dsignal.c40 static long restore_d_state(struct pt_regs *regs, in restore_d_state()
50 static long save_d_state(struct pt_regs *regs, in save_d_state()
57 static long restore_sigcontext(struct pt_regs *regs, in restore_sigcontext()
84 struct pt_regs *regs = current_pt_regs(); in SYSCALL_DEFINE0() local
123 struct pt_regs *regs) in setup_sigcontext()
139 struct pt_regs *regs, size_t framesize) in get_sigframe()
163 struct pt_regs *regs) in setup_rt_frame()
209 static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal()
242 static void do_signal(struct pt_regs *regs) in do_signal()
281 asmlinkage void do_notify_resume(struct pt_regs *regs, in do_notify_resume()

12345678910>>...81