Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/include/asm/
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()
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-6.12.1/arch/riscv/kernel/
Dkernel_mode_fpu.c18 csr_set(CSR_SSTATUS, SR_FS); in kernel_fpu_begin()
24 csr_clear(CSR_SSTATUS, SR_FS); in kernel_fpu_end()
Dfpu.S25 li t1, SR_FS
68 li t1, SR_FS
126 li t1, SR_FS
Dhead.S400 li t1, SR_FS
/linux-6.12.1/arch/riscv/kvm/
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()
Dvcpu_switch.S239 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/
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 */