Searched refs:CSR_STATUS (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/arch/riscv/include/asm/ |
D | irqflags.h | 15 return csr_read(CSR_STATUS); in arch_local_save_flags() 21 csr_set(CSR_STATUS, SR_IE); in arch_local_irq_enable() 27 csr_clear(CSR_STATUS, SR_IE); in arch_local_irq_disable() 33 return csr_read_clear(CSR_STATUS, SR_IE); in arch_local_irq_save() 51 csr_set(CSR_STATUS, flags & SR_IE); in arch_local_irq_restore()
|
D | assembler.h | 26 csrw CSR_STATUS, t0
|
D | csr.h | 425 # define CSR_STATUS CSR_MSTATUS macro 450 # define CSR_STATUS CSR_SSTATUS macro
|
/linux-6.12.1/arch/riscv/lib/ |
D | uaccess.S | 26 csrs CSR_STATUS, t6 182 csrc CSR_STATUS, t6 189 csrc CSR_STATUS, t6 203 csrs CSR_STATUS, t6 225 csrc CSR_STATUS, t6 242 csrc CSR_STATUS, t6
|
D | uaccess_vector.S | 26 csrs CSR_STATUS, t6 40 csrc CSR_STATUS, t6
|
/linux-6.12.1/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 127 csrs CSR_STATUS, t1 134 csrc CSR_STATUS, t1
|
D | process.c | 123 unsigned long tmp = csr_read(CSR_STATUS); in compat_mode_detect() 125 csr_write(CSR_STATUS, (tmp & ~SR_UXL) | SR_UXL_32); in compat_mode_detect() 127 (csr_read(CSR_STATUS) & SR_UXL) == SR_UXL_32; in compat_mode_detect() 129 csr_write(CSR_STATUS, tmp); in compat_mode_detect()
|
D | head.S | 142 csrc CSR_STATUS, t0 239 csrc CSR_STATUS, t0 401 csrs CSR_STATUS, t1 451 csrs CSR_STATUS, t1
|
D | entry.S | 149 csrrc s1, CSR_STATUS, t0 265 csrw CSR_STATUS, a0 304 csrr s1, CSR_STATUS
|
D | crash_save_regs.S | 46 csrr t1, CSR_STATUS
|
D | suspend_entry.S | 48 csrr t0, CSR_STATUS
|
/linux-6.12.1/tools/arch/riscv/include/asm/ |
D | csr.h | 414 # define CSR_STATUS CSR_MSTATUS macro 438 # define CSR_STATUS CSR_SSTATUS macro
|