Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/include/asm/
Dirqflags.h15 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()
Dassembler.h26 csrw CSR_STATUS, t0
Dcsr.h425 # define CSR_STATUS CSR_MSTATUS macro
450 # define CSR_STATUS CSR_SSTATUS macro
/linux-6.12.1/arch/riscv/lib/
Duaccess.S26 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
Duaccess_vector.S26 csrs CSR_STATUS, t6
40 csrc CSR_STATUS, t6
/linux-6.12.1/arch/riscv/kernel/
Dfpu.S26 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
Dprocess.c123 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()
Dhead.S142 csrc CSR_STATUS, t0
239 csrc CSR_STATUS, t0
401 csrs CSR_STATUS, t1
451 csrs CSR_STATUS, t1
Dentry.S149 csrrc s1, CSR_STATUS, t0
265 csrw CSR_STATUS, a0
304 csrr s1, CSR_STATUS
Dcrash_save_regs.S46 csrr t1, CSR_STATUS
Dsuspend_entry.S48 csrr t0, CSR_STATUS
/linux-6.12.1/tools/arch/riscv/include/asm/
Dcsr.h414 # define CSR_STATUS CSR_MSTATUS macro
438 # define CSR_STATUS CSR_SSTATUS macro