Searched refs:CSR_STATUS (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/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 | csr.h | 301 # define CSR_STATUS CSR_MSTATUS macro 318 # define CSR_STATUS CSR_SSTATUS macro
|
/linux-6.1.9/arch/riscv/lib/ |
D | uaccess.S | 18 csrs CSR_STATUS, t6 171 csrc CSR_STATUS, t6 178 csrc CSR_STATUS, t6 191 csrs CSR_STATUS, t6 213 csrc CSR_STATUS, t6 230 csrc CSR_STATUS, t6
|
/linux-6.1.9/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 | 99 unsigned long tmp = csr_read(CSR_STATUS); in compat_mode_detect() 101 csr_write(CSR_STATUS, (tmp & ~SR_UXL) | SR_UXL_32); in compat_mode_detect() 103 (csr_read(CSR_STATUS) & SR_UXL) == SR_UXL_32; in compat_mode_detect() 105 csr_write(CSR_STATUS, tmp); in compat_mode_detect()
|
D | entry.S | 86 csrrc s1, CSR_STATUS, t0 148 csrs CSR_STATUS, SR_IE 177 csrs CSR_STATUS, SR_IE 253 csrc CSR_STATUS, SR_IE 317 csrw CSR_STATUS, a0 494 csrr s1, CSR_STATUS
|
D | suspend_entry.S | 46 csrr t0, CSR_STATUS 89 csrw CSR_STATUS, t0
|
D | head.S | 147 csrc CSR_STATUS, t0 241 csrc CSR_STATUS, t0 398 csrs CSR_STATUS, t1
|
D | crash_save_regs.S | 46 csrr t1, CSR_STATUS
|