Lines Matching refs:MSTATUS_FS
69 if ((status & MSTATUS_FS) != 0) { in z_riscv_fpu_disable()
70 csr_clear(mstatus, MSTATUS_FS); in z_riscv_fpu_disable()
73 _current_cpu->arch.fpu_state = (status & MSTATUS_FS); in z_riscv_fpu_disable()
81 __ASSERT((csr_read(mstatus) & MSTATUS_FS) == 0, in z_riscv_fpu_load()
105 __ASSERT((csr_read(mstatus) & MSTATUS_FS) == 0, in arch_flush_local_fpu()
124 csr_clear(mstatus, MSTATUS_FS); in arch_flush_local_fpu()
209 __ASSERT((esf->mstatus & MSTATUS_FS) == 0 && in z_riscv_fpu_trap()
210 (csr_read(mstatus) & MSTATUS_FS) == 0, in z_riscv_fpu_trap()
299 esf->mstatus &= ~MSTATUS_FS; in z_riscv_fpu_exit_exc()
302 esf->mstatus &= ~MSTATUS_FS; in z_riscv_fpu_exit_exc()
315 csr_clear(mstatus, MSTATUS_FS); in z_riscv_fpu_thread_context_switch()