Home
last modified time | relevance | path

Searched refs:ST0_CU1 (Results 1 – 13 of 13) sorted by relevance

/arch/mips/include/asm/
Dfpu.h50 clear_c0_status(ST0_CU1); \
61 set_c0_status(ST0_CU1); in __enable_fpu()
88 change_c0_status(ST0_CU1 | ST0_FR, ST0_CU1 | (fr ? ST0_FR : 0)); in __enable_fpu()
132 KSTK_STATUS(current) |= ST0_CU1; in __own_fpu()
181 WARN(read_c0_status() & ST0_CU1, in lose_fpu_inatomic()
184 KSTK_STATUS(tsk) &= ~ST0_CU1; in lose_fpu_inatomic()
Dswitch_to.h58 (!(KSTK_STATUS(prev) & ST0_CU1))) { \
Dstackframe.h359 li v1, ST0_CU1 | ST0_IM
400 li v1, ST0_CU1 | ST0_FR | ST0_IM
Dmipsregs.h386 #define ST0_CU1 0x20000000 macro
/arch/mips/loongson64/loongson-3/
Dcop2-ex.c34 set_c0_status(ST0_CU1 | ST0_CU2); in loongson_cu2_call()
36 set_c0_status(ST0_CU1 | ST0_CU2 | ST0_FR); in loongson_cu2_call()
38 KSTK_STATUS(current) |= (ST0_CU1 | ST0_CU2); in loongson_cu2_call()
/arch/mips/kvm/
Dmips.c1480 read_c0_status() & ST0_CU1) in kvm_mips_handle_exit()
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()
1567 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1568 if (sr & ST0_CU1 && cpu_has_fre) { in kvm_own_msa()
1615 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
1645 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
1651 set_c0_status(ST0_CU1); in kvm_lose_fpu()
1660 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
Dtrap_emul.c79 (kvm_read_c0_guest_status(cop0) & ST0_CU1) == 0) { in kvm_trap_emul_handle_cop_unusable()
484 (kvm_read_c0_guest_status(cop0) & (ST0_CU1 | ST0_FR)) == ST0_CU1) { in kvm_trap_emul_handle_msa_disabled()
Dvz.c1243 val &= ~(ST0_CU1 | 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()
Demulate.c1402 val &= ~(ST0_CU1 | ST0_FR); in kvm_mips_emulate_CP0()
1431 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_mips_emulate_CP0()
1442 if (change & ST0_CU1 && in kvm_mips_emulate_CP0()
1444 change_c0_status(ST0_CU1, val); in kvm_mips_emulate_CP0()
Dentry.c683 uasm_i_lui(&p, AT, ST0_CU1 >> 16); in kvm_mips_build_exit()
/arch/mips/kernel/
Dkgdb.c143 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg()
177 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
Dprocess.c72 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_FR|KU_MASK); in start_thread()
134 p->thread.cp0_status = read_c0_status() & ~(ST0_CU2|ST0_CU1); in copy_thread_tls()
169 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread_tls()
Dcps-vec.S121 li t0, ST0_CU1 | ST0_CU0 | ST0_BEV | STATUS_BITDEPS