Home
last modified time | relevance | path

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

/linux-6.6.21/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()
Dassembler.h26 csrw CSR_STATUS, t0
Dcsr.h397 # define CSR_STATUS CSR_MSTATUS macro
421 # define CSR_STATUS CSR_SSTATUS macro
/linux-6.6.21/arch/riscv/lib/
Duaccess.S18 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/
Dfpu.S26 csrs CSR_STATUS, t1
61 csrc CSR_STATUS, t1
70 csrs CSR_STATUS, t1
104 csrc CSR_STATUS, t1
Dprocess.c98 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()
Dhead.S148 csrc CSR_STATUS, t0
242 csrc CSR_STATUS, t0
397 csrs CSR_STATUS, t1
447 csrs CSR_STATUS, t1
Dentry.S61 csrrc s1, CSR_STATUS, t0
157 csrw CSR_STATUS, a0
195 csrr s1, CSR_STATUS
Dcrash_save_regs.S46 csrr t1, CSR_STATUS
Dsuspend_entry.S48 csrr t0, CSR_STATUS