Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/openrisc/include/asm/
H A Dptrace.h70 #define user_mode(regs) (((regs)->sr & SPR_SR_SM) == 0)
H A Dprocessor.h26 | SPR_SR_DCE | SPR_SR_SM)
H A Dspr_defs.h215 #define SPR_SR_SM 0x00000001 /* Supervisor Mode */ macro
/kernel/linux/linux-6.6/arch/openrisc/include/asm/
H A Dptrace.h70 #define user_mode(regs) (((regs)->sr & SPR_SR_SM) == 0)
H A Dprocessor.h26 | SPR_SR_DCE | SPR_SR_SM)
H A Dspr_defs.h215 #define SPR_SR_SM 0x00000001 /* Supervisor Mode */ macro
/kernel/linux/linux-5.10/arch/openrisc/kernel/
H A Dprocess.c208 unsigned long sr = mfspr(SPR_SR) & ~SPR_SR_SM; in start_thread()
H A Dsignal.c57 regs->sr &= ~SPR_SR_SM; in restore_sigcontext()
H A Dhead.S43 #define EXCEPTION_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_SM)
44 #define SYSCALL_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_IEE | SPR_SR_TEE | SPR_SR_SM)
224 l.andi r30,r30,SPR_SR_SM ;\
980 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ?
1076 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ?
1716 l.ori r3,r0,SPR_SR_SM
H A Dentry.S977 l.andi r3,r4,SPR_SR_SM
/kernel/linux/linux-6.6/arch/openrisc/kernel/
H A Dprocess.c227 unsigned long sr = mfspr(SPR_SR) & ~SPR_SR_SM; in start_thread()
H A Dsignal.c61 regs->sr &= ~SPR_SR_SM; in restore_sigcontext()
H A Dhead.S43 #define EXCEPTION_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_SM)
44 #define SYSCALL_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_DCE | SPR_SR_ICE | SPR_SR_IEE | SPR_SR_TEE | SPR_SR_SM)
224 l.andi r30,r30,SPR_SR_SM ;\
984 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ?
1080 l.andi r6,r6,SPR_SR_SM // are we in kernel mode ?
1540 l.ori r3,r0,SPR_SR_SM
H A Dentry.S1000 l.andi r3,r4,SPR_SR_SM

Completed in 12 milliseconds