Home
last modified time | relevance | path

Searched refs:SR_FS (Results 1 – 6 of 6) sorted by relevance

/linux/arch/riscv/include/asm/
H A Dswitch_to.h24 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()
H A Dcsr.h21 #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/arch/riscv/kvm/
H A Dvcpu_fp.c21 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()
/linux/arch/riscv/kernel/
H A Dfpu.S25 li t1, SR_FS
68 li t1, SR_FS
126 li t1, SR_FS
H A Dhead.S400 li t1, SR_FS
/linux/tools/arch/riscv/include/asm/
H A Dcsr.h20 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */ macro
38 #define SR_FS_VS (SR_FS | SR_VS) /* Vector and Floating-Point Unit */