Searched refs:CSR_STATUS (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/arch/riscv/include/asm/ |
D | irqflags.h | 16 return csr_read(CSR_STATUS); in arch_local_save_flags() 22 csr_set(CSR_STATUS, SR_IE); in arch_local_irq_enable() 28 csr_clear(CSR_STATUS, SR_IE); in arch_local_irq_disable() 34 return csr_read_clear(CSR_STATUS, SR_IE); in arch_local_irq_save() 52 csr_set(CSR_STATUS, flags & SR_IE); in arch_local_irq_restore()
|
D | assembler.h | 26 csrw CSR_STATUS, t0
|
D | csr.h | 397 # define CSR_STATUS CSR_MSTATUS macro 421 # define CSR_STATUS CSR_SSTATUS macro
|
/linux-6.6.21/arch/riscv/lib/ |
D | uaccess.S | 18 csrs CSR_STATUS, t6 174 csrc CSR_STATUS, t6 181 csrc CSR_STATUS, t6 194 csrs CSR_STATUS, t6 216 csrc CSR_STATUS, t6 233 csrc CSR_STATUS, t6
|
/linux-6.6.21/arch/riscv/kernel/ |
D | fpu.S | 26 csrs CSR_STATUS, t1 61 csrc CSR_STATUS, t1 70 csrs CSR_STATUS, t1 104 csrc CSR_STATUS, t1
|
D | process.c | 98 unsigned long tmp = csr_read(CSR_STATUS); in compat_mode_detect() 100 csr_write(CSR_STATUS, (tmp & ~SR_UXL) | SR_UXL_32); in compat_mode_detect() 102 (csr_read(CSR_STATUS) & SR_UXL) == SR_UXL_32; in compat_mode_detect() 104 csr_write(CSR_STATUS, tmp); in compat_mode_detect()
|
D | head.S | 148 csrc CSR_STATUS, t0 242 csrc CSR_STATUS, t0 397 csrs CSR_STATUS, t1 447 csrs CSR_STATUS, t1
|
D | entry.S | 61 csrrc s1, CSR_STATUS, t0 157 csrw CSR_STATUS, a0 195 csrr s1, CSR_STATUS
|
D | crash_save_regs.S | 46 csrr t1, CSR_STATUS
|
D | suspend_entry.S | 48 csrr t0, CSR_STATUS
|