Home
last modified time | relevance | path

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

/linux/arch/mips/include/asm/
H A 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()
144 KSTK_STATUS(current) |= ST0_CU1; in __own_fpu()
196 WARN(read_c0_status() & ST0_CU1, in lose_fpu_inatomic()
199 KSTK_STATUS(tsk) &= ~ST0_CU1; in lose_fpu_inatomic()
H A Dmipsregs.h517 #define ST0_CU1 0x20000000 macro
/linux/arch/mips/loongson64/
H A Dcop2-ex.c47 set_c0_status(ST0_CU1 | ST0_CU2); in loongson_cu2_call()
49 set_c0_status(ST0_CU1 | ST0_CU2 | ST0_FR); in loongson_cu2_call()
51 KSTK_STATUS(current) |= (ST0_CU1 | ST0_CU2); in loongson_cu2_call()
/linux/arch/mips/kvm/
H A Dmips.c1348 read_c0_status() & ST0_CU1) in __kvm_mips_handle_exit()
1385 if (cpu_has_msa && sr & ST0_CU1 && !(sr & ST0_FR) && in kvm_own_fpu()
1393 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_fpu()
1437 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1438 if (sr & ST0_CU1 && cpu_has_fre) { in kvm_own_msa()
1485 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
1510 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
1520 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
H A Dvz.c1327 val &= ~(ST0_CU1 | 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()
H A Dentry.c606 uasm_i_lui(&p, GPR_AT, ST0_CU1 >> 16); in kvm_mips_build_exit()
/linux/arch/mips/kernel/
H A Dkgdb.c142 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg()
176 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
H A Dprocess.c57 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread()
123 p->thread.cp0_status = (read_c0_status() & ~(ST0_CU2|ST0_CU1)) | ST0_KERNEL_CUMASK; in copy_thread()
165 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()