Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/loongson64/loongson-3/
Dcop2-ex.c36 set_c0_status(ST0_CU1 | ST0_CU2 | ST0_FR); in loongson_cu2_call()
40 KSTK_STATUS(current) |= ST0_FR; in loongson_cu2_call()
42 KSTK_STATUS(current) &= ~ST0_FR; in loongson_cu2_call()
/Linux-v5.4/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.h383 #define ST0_FR 0x04000000 macro
/Linux-v5.4/arch/mips/kvm/
Dmips.c677 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_get_reg()
687 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
707 if (!(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
811 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_set_reg()
821 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_set_reg()
1515 if (cpu_has_msa && sr & ST0_CU1 && !(sr & ST0_FR) && in kvm_own_fpu()
1523 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_fpu()
1562 if (!(sr & ST0_FR) && in kvm_own_msa()
1567 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1615 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
[all …]
Dvz.c1243 val &= ~(ST0_CU1 | ST0_FR); in kvm_trap_vz_handle_gsfc()
1250 val &= ~ST0_FR; in kvm_trap_vz_handle_gsfc()
1255 if (change & ST0_FR) { in kvm_trap_vz_handle_gsfc()
1271 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_trap_vz_handle_gsfc()
1524 (read_gc0_status() & (ST0_CU1 | ST0_FR)) == ST0_CU1 || in kvm_trap_vz_handle_msa_disabled()
2992 kvm_change_sw_gc0_status(cop0, ST0_FR, read_gc0_status()); in kvm_vz_vcpu_setup()
Demulate.c1402 val &= ~(ST0_CU1 | ST0_FR); in kvm_mips_emulate_CP0()
1409 val &= ~ST0_FR; in kvm_mips_emulate_CP0()
1420 if (change & ST0_FR) in kvm_mips_emulate_CP0()
1431 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_mips_emulate_CP0()
Dtrap_emul.c484 (kvm_read_c0_guest_status(cop0) & (ST0_CU1 | ST0_FR)) == ST0_CU1) { in kvm_trap_emul_handle_msa_disabled()
/Linux-v5.4/arch/mips/kernel/
Dprocess.c72 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_FR|KU_MASK); in start_thread()
Dtraps.c2120 status_set |= ST0_FR|ST0_KX|ST0_SX|ST0_UX; in configure_status()
2127 change_c0_status(ST0_CU|ST0_MX|ST0_RE|ST0_FR|ST0_BEV|ST0_TS|ST0_KX|ST0_SX|ST0_UX, in configure_status()