Home
last modified time | relevance | path

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

/linux-6.1.9/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.h372 #define ST0_CU1 0x20000000 macro
/linux-6.1.9/arch/mips/loongson64/
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-6.1.9/arch/mips/kvm/
Dmips.c1381 read_c0_status() & ST0_CU1) in __kvm_mips_handle_exit()
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()
1470 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa()
1471 if (sr & ST0_CU1 && cpu_has_fre) { in kvm_own_msa()
1518 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu()
1543 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
1553 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
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()
Dentry.c659 uasm_i_lui(&p, AT, ST0_CU1 >> 16); in kvm_mips_build_exit()
/linux-6.1.9/arch/mips/kernel/
Dkgdb.c142 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg()
176 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
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()
156 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
Dcps-vec.S120 li t0, ST0_CU1 | ST0_CU0 | ST0_BEV | STATUS_BITDEPS