Lines Matching defs:regs
57 #define user_mode(regs) (((regs)->sstatus & SR_PS) == 0) argument
60 #define GET_IP(regs) ((regs)->sepc) argument
61 #define SET_IP(regs, val) (GET_IP(regs) = (val)) argument
63 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer()
68 static inline void instruction_pointer_set(struct pt_regs *regs, ulong val) in instruction_pointer_set()
73 #define profile_pc(regs) instruction_pointer(regs) argument
76 #define GET_USP(regs) ((regs)->sp) argument
77 #define SET_USP(regs, val) (GET_USP(regs) = (val)) argument
79 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
84 static inline void user_stack_pointer_set(struct pt_regs *regs, ulong val) in user_stack_pointer_set()
90 #define GET_FP(regs) ((regs)->s0) argument
91 #define SET_FP(regs, val) (GET_FP(regs) = (val)) argument
93 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer()
98 static inline void frame_pointer_set(struct pt_regs *regs, ulong val) in frame_pointer_set()