Lines Matching refs:cop0
662 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_get_reg() local
692 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_get_reg()
702 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
722 if (!(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_get_reg()
774 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_set_reg() local
826 if (kvm_read_c0_guest_status(cop0) & ST0_FR) in kvm_mips_set_reg()
836 if (idx & 1 && !(kvm_read_c0_guest_status(cop0) & ST0_FR)) in kvm_mips_set_reg()
1114 kvm_read_c0_guest_cause(vcpu->arch.cop0) & C_TI; in kvm_cpu_has_pending_timer()
1120 struct mips_coproc *cop0; in kvm_arch_vcpu_dump_regs() local
1138 cop0 = vcpu->arch.cop0; in kvm_arch_vcpu_dump_regs()
1140 kvm_read_c0_guest_status(cop0), in kvm_arch_vcpu_dump_regs()
1141 kvm_read_c0_guest_cause(cop0)); in kvm_arch_vcpu_dump_regs()
1143 kvm_debug("\tEPC: 0x%08lx\n", kvm_read_c0_guest_epc(cop0)); in kvm_arch_vcpu_dump_regs()
1260 cause, kvm_read_c0_guest_status(vcpu->arch.cop0), opc, in __kvm_mips_handle_exit()
1332 kvm_read_c0_guest_status(vcpu->arch.cop0)); in __kvm_mips_handle_exit()
1405 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_own_fpu() local
1410 sr = kvm_read_c0_guest_status(cop0); in kvm_own_fpu()
1428 cfg5 = kvm_read_c0_guest_config5(cop0); in kvm_own_fpu()
1449 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_own_msa() local
1459 sr = kvm_read_c0_guest_status(cop0); in kvm_own_msa()
1472 cfg5 = kvm_read_c0_guest_config5(cop0); in kvm_own_msa()