Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/include/asm/
Dfpu.h53 clear_c0_status(ST0_CU1); \
64 set_c0_status(ST0_CU1); in __enable_fpu()
91 change_c0_status(ST0_CU1 | ST0_FR, ST0_CU1 | (fr ? ST0_FR : 0)); in __enable_fpu()
135 KSTK_STATUS(current) |= ST0_CU1; in __own_fpu()
184 KSTK_STATUS(current) &= ~ST0_CU1; in lose_fpu()
Dswitch_to.h66 (!(KSTK_STATUS(prev) & ST0_CU1))) { \
Dmipsregs.h324 #define ST0_CU1 0x20000000 macro
/linux-4.1.27/arch/mips/loongson/loongson-3/
Dcop2-ex.c33 set_c0_status(ST0_CU1 | ST0_CU2); in loongson_cu2_call()
35 set_c0_status(ST0_CU1 | ST0_CU2 | ST0_FR); in loongson_cu2_call()
37 KSTK_STATUS(current) |= (ST0_CU1 | ST0_CU2); in loongson_cu2_call()
/linux-4.1.27/arch/mips/kernel/
Dr2300_switch.S61 li t1, ~ST0_CU1
126 li t1, ST0_CU1
Dprocess.c65 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_FR|KU_MASK); in start_thread()
127 p->thread.cp0_status = read_c0_status() & ~(ST0_CU2|ST0_CU1); in copy_thread()
162 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
Dr4k_switch.S63 li t1, ~ST0_CU1
176 li t1, ST0_CU1
Dkgdb.c142 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg()
176 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
Dcps-vec.S73 li t0, ST0_CU1 | ST0_CU0
Docteon_switch.S44 li t1, ~ST0_CU1
/linux-4.1.27/arch/mips/kvm/
Dmips.c1403 read_c0_status() & ST0_CU1) in kvm_mips_handle_exit()
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()
1486 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1487 if (sr & ST0_CU1 && cpu_has_fre) { in kvm_own_msa()
1529 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
1555 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
1558 set_c0_status(ST0_CU1); in kvm_lose_fpu()
1565 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
Dtrap_emul.c52 (kvm_read_c0_guest_status(cop0) & ST0_CU1) == 0) { in kvm_trap_emul_handle_cop_unusable()
417 (kvm_read_c0_guest_status(cop0) & (ST0_CU1 | ST0_FR)) == ST0_CU1) { in kvm_trap_emul_handle_msa_disabled()
Demulate.c1128 val &= ~(ST0_CU1 | ST0_FR); in kvm_mips_emulate_CP0()
1157 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_mips_emulate_CP0()
1168 if (change & ST0_CU1 && in kvm_mips_emulate_CP0()
1170 change_c0_status(ST0_CU1, val); in kvm_mips_emulate_CP0()
Dlocore.S365 and v1, v0, ST0_CU1