Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/include/asm/
H A 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()
H A Dstackframe.h400 li v1, ST0_CU1 | ST0_FR | ST0_IM
H A Dmipsregs.h369 #define ST0_FR 0x04000000 macro
/openbmc/linux/arch/mips/kvm/
H A Dmips.c682 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_get_reg()
692 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
712 if (!(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
816 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_set_reg()
1387 if (cpu_has_msa && sr & ST0_CU1 && !(sr & ST0_FR) && in kvm_own_fpu()
1395 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_fpu()
1434 if (!(sr & ST0_FR) && in kvm_own_msa()
1439 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1487 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
1512 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
[all …]
H A 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()
/openbmc/linux/arch/mips/loongson64/
H A 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()
/openbmc/u-boot/arch/mips/lib/
H A Dgenex.S141 li v1, ST0_CU1 | ST0_FR | ST0_IM
/openbmc/linux/arch/mips/kernel/
H A Dprocess.c57 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread()
H A 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()
/openbmc/u-boot/arch/mips/include/asm/
H A Dmipsregs.h308 #define ST0_FR 0x04000000 macro