Searched refs:SPR_SR_SM (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/arch/openrisc/include/asm/
H A Dprocessor.h30 | SPR_SR_DCE | SPR_SR_SM)
H A Dptrace.h74 #define user_mode(regs) (((regs)->sr & SPR_SR_SM) == 0)
H A Dspr_defs.h205 #define SPR_SR_SM 0x00000001 /* Supervisor Mode */ macro
/linux-4.4.14/arch/openrisc/kernel/
H A Dprocess.c198 unsigned long sr = mfspr(SPR_SR) & ~SPR_SR_SM; start_thread()
H A Dhead.S46 #define EXCEPTION_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_SM)
47 #define SYSCALL_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_IEE | SPR_SR_TEE | SPR_SR_SM)
159 l.andi r30,r30,SPR_SR_SM ;\
795 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ?
891 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ?
H A Dsignal.c61 regs->sr &= ~SPR_SR_SM; restore_sigcontext()
H A Dentry.S903 l.andi r3,r4,SPR_SR_SM

Completed in 79 milliseconds