Searched refs:ST0_CU1 (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | fpu.h | 50 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()
|
D | switch_to.h | 58 (!(KSTK_STATUS(prev) & ST0_CU1))) { \
|
D | stackframe.h | 359 li v1, ST0_CU1 | ST0_IM 400 li v1, ST0_CU1 | ST0_FR | ST0_IM
|
D | mipsregs.h | 387 #define ST0_CU1 0x20000000 macro
|
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
D | cop2-ex.c | 47 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()
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
D | mips.c | 1402 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() 1489 change_c0_status(ST0_CU1 | ST0_FR, sr); in kvm_own_msa() 1490 if (sr & ST0_CU1 && cpu_has_fre) { in kvm_own_msa() 1537 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_drop_fpu() 1567 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu() 1573 set_c0_status(ST0_CU1); in kvm_lose_fpu() 1582 clear_c0_status(ST0_CU1 | ST0_FR); in kvm_lose_fpu()
|
D | trap_emul.c | 78 (kvm_read_c0_guest_status(cop0) & ST0_CU1) == 0) { in kvm_trap_emul_handle_cop_unusable() 471 (kvm_read_c0_guest_status(cop0) & (ST0_CU1 | ST0_FR)) == ST0_CU1) { in kvm_trap_emul_handle_msa_disabled()
|
D | vz.c | 1329 val &= ~(ST0_CU1 | ST0_FR); in kvm_trap_vz_handle_gsfc() 1357 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_trap_vz_handle_gsfc() 1607 (read_gc0_status() & (ST0_CU1 | ST0_FR)) == ST0_CU1 || in kvm_trap_vz_handle_msa_disabled()
|
D | emulate.c | 1401 val &= ~(ST0_CU1 | ST0_FR); in kvm_mips_emulate_CP0() 1430 if (change & ST0_CU1 && !(val & ST0_FR) && in kvm_mips_emulate_CP0() 1441 if (change & ST0_CU1 && in kvm_mips_emulate_CP0() 1443 change_c0_status(ST0_CU1, val); in kvm_mips_emulate_CP0()
|
D | entry.c | 696 uasm_i_lui(&p, AT, ST0_CU1 >> 16); in kvm_mips_build_exit()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | kgdb.c | 143 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg() 177 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
|
D | process.c | 72 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread() 137 p->thread.cp0_status = (read_c0_status() & ~(ST0_CU2|ST0_CU1)) | ST0_KERNEL_CUMASK; in copy_thread() 172 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
|
D | cps-vec.S | 121 li t0, ST0_CU1 | ST0_CU0 | ST0_BEV | STATUS_BITDEPS
|