Searched refs:SR_FS (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/riscv/include/asm/ |
D | switch_to.h | 24 regs->status = (regs->status & ~SR_FS) | SR_FS_CLEAN; in __fstate_clean() 30 regs->status = (regs->status & ~SR_FS) | SR_FS_OFF; in fstate_off() 36 if ((regs->status & SR_FS) == SR_FS_DIRTY) { in fstate_save() 45 if ((regs->status & SR_FS) != SR_FS_OFF) { in fstate_restore()
|
D | csr.h | 21 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */ macro 39 #define SR_FS_VS (SR_FS | SR_VS) /* Vector and Floating-Point Unit */
|
/linux-6.12.1/arch/riscv/kernel/ |
D | kernel_mode_fpu.c | 18 csr_set(CSR_SSTATUS, SR_FS); in kernel_fpu_begin() 24 csr_clear(CSR_SSTATUS, SR_FS); in kernel_fpu_end()
|
D | fpu.S | 25 li t1, SR_FS 68 li t1, SR_FS 126 li t1, SR_FS
|
D | head.S | 400 li t1, SR_FS
|
/linux-6.12.1/arch/riscv/kvm/ |
D | vcpu_fp.c | 21 cntx->sstatus &= ~SR_FS; in kvm_riscv_vcpu_fp_reset() 31 cntx->sstatus &= ~SR_FS; in kvm_riscv_vcpu_fp_clean() 38 if ((cntx->sstatus & SR_FS) == SR_FS_DIRTY) { in kvm_riscv_vcpu_guest_fp_save() 50 if ((cntx->sstatus & SR_FS) != SR_FS_OFF) { in kvm_riscv_vcpu_guest_fp_restore()
|
D | vcpu_switch.S | 239 li t1, SR_FS 281 li t1, SR_FS 323 li t1, SR_FS 365 li t1, SR_FS
|
/linux-6.12.1/tools/arch/riscv/include/asm/ |
D | csr.h | 20 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */ macro 38 #define SR_FS_VS (SR_FS | SR_VS) /* Vector and Floating-Point Unit */
|