Home
last modified time | relevance | path

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

/linux-6.1.9/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.h369 #define ST0_FR 0x04000000 macro
/linux-6.1.9/arch/mips/kvm/
Dmips.c692 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_get_reg()
702 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
722 if (!(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
826 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_set_reg()
836 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_set_reg()
1418 if (cpu_has_msa && sr & ST0_CU1 && !(sr & ST0_FR) && in kvm_own_fpu()
1426 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_fpu()
1465 if (!(sr & ST0_FR) && in kvm_own_msa()
1470 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1518 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
[all …]
Dvz.c1327 val &= ~(ST0_CU1 | ST0_FR); in kvm_trap_vz_handle_gsfc()
1334 val &= ~ST0_FR; in kvm_trap_vz_handle_gsfc()
1339 if (change & ST0_FR) { in kvm_trap_vz_handle_gsfc()
1355 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_trap_vz_handle_gsfc()
1611 (read_gc0_status() & (ST0_CU1 | ST0_FR)) == ST0_CU1 || in kvm_trap_vz_handle_msa_disabled()
3104 kvm_change_sw_gc0_status(cop0, ST0_FR, read_gc0_status()); in kvm_vz_vcpu_setup()
/linux-6.1.9/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()
/linux-6.1.9/arch/mips/kernel/
Dprocess.c57 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread()
Dtraps.c2203 status_set |= ST0_FR|ST0_KX|ST0_SX|ST0_UX; in configure_status()
2210 change_c0_status(ST0_CU|ST0_MX|ST0_RE|ST0_FR|ST0_BEV|ST0_TS|ST0_KX|ST0_SX|ST0_UX, in configure_status()