Home
last modified time | relevance | path

Searched refs:CSR_STATUS (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/riscv/include/asm/
Dirqflags.h16 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()
Dcsr.h301 # define CSR_STATUS CSR_MSTATUS macro
318 # define CSR_STATUS CSR_SSTATUS macro
/linux-6.1.9/arch/riscv/lib/
Duaccess.S18 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/
Dfpu.S26 csrs CSR_STATUS, t1
61 csrc CSR_STATUS, t1
70 csrs CSR_STATUS, t1
104 csrc CSR_STATUS, t1
Dprocess.c99 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()
Dentry.S86 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
Dsuspend_entry.S46 csrr t0, CSR_STATUS
89 csrw CSR_STATUS, t0
Dhead.S147 csrc CSR_STATUS, t0
241 csrc CSR_STATUS, t0
398 csrs CSR_STATUS, t1
Dcrash_save_regs.S46 csrr t1, CSR_STATUS