Home
last modified time | relevance | path

Searched refs:ST0_FR (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/include/asm/
Dfpu.h88 change_c0_status(ST0_CU1 | ST0_FR, ST0_CU1 | (fr ? ST0_FR : 0)); in __enable_fpu()
92 if (!!(read_c0_status() & ST0_FR) == !!fr) in __enable_fpu()
134 KSTK_STATUS(current) |= ST0_FR; in __own_fpu()
136 KSTK_STATUS(current) &= ~ST0_FR; in __own_fpu()
Dstackframe.h400 li v1, ST0_CU1 | ST0_FR | ST0_IM
Dmipsregs.h384 #define ST0_FR 0x04000000 macro
/kernel/linux/linux-5.10/arch/mips/kvm/
Dmips.c697 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_get_reg()
707 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
727 if (!(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
831 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_set_reg()
841 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_set_reg()
1437 if (cpu_has_msa && sr & ST0_CU1 && !(sr & ST0_FR) && in kvm_own_fpu()
1445 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_fpu()
1484 if (!(sr & ST0_FR) && in kvm_own_msa()
1489 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1537 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
[all …]
Dvz.c1329 val &= ~(ST0_CU1 | ST0_FR); in kvm_trap_vz_handle_gsfc()
1336 val &= ~ST0_FR; in kvm_trap_vz_handle_gsfc()
1341 if (change & ST0_FR) { in kvm_trap_vz_handle_gsfc()
1357 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_trap_vz_handle_gsfc()
1607 (read_gc0_status() & (ST0_CU1 | ST0_FR)) == ST0_CU1 || in kvm_trap_vz_handle_msa_disabled()
3100 kvm_change_sw_gc0_status(cop0, ST0_FR, read_gc0_status()); in kvm_vz_vcpu_setup()
Demulate.c1401 val &= ~(ST0_CU1 | ST0_FR); in kvm_mips_emulate_CP0()
1408 val &= ~ST0_FR; in kvm_mips_emulate_CP0()
1419 if (change & ST0_FR) in kvm_mips_emulate_CP0()
1430 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_mips_emulate_CP0()
Dtrap_emul.c471 (kvm_read_c0_guest_status(cop0) & (ST0_CU1 | ST0_FR)) == ST0_CU1) { in kvm_trap_emul_handle_msa_disabled()
/kernel/linux/linux-5.10/arch/mips/loongson64/
Dcop2-ex.c49 set_c0_status(ST0_CU1 | ST0_CU2 | ST0_FR); in loongson_cu2_call()
53 KSTK_STATUS(current) |= ST0_FR; in loongson_cu2_call()
55 KSTK_STATUS(current) &= ~ST0_FR; in loongson_cu2_call()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dprocess.c72 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread()
Dtraps.c2209 status_set |= ST0_FR|ST0_KX|ST0_SX|ST0_UX; in configure_status()
2216 change_c0_status(ST0_CU|ST0_MX|ST0_RE|ST0_FR|ST0_BEV|ST0_TS|ST0_KX|ST0_SX|ST0_UX, in configure_status()