Lines Matching refs:cop0

315 	struct mips_coproc *cop0 = vcpu->arch.cop0;  in kvm_mips_count_disabled()  local
318 (kvm_read_c0_guest_cause(cop0) & CAUSEF_DC); in kvm_mips_count_disabled()
387 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_read_count_running() local
394 compare = kvm_read_c0_guest_compare(cop0); in kvm_mips_read_count_running()
447 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_read_count() local
451 return kvm_read_c0_guest_count(cop0); in kvm_mips_read_count()
505 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_resume_hrtimer() local
511 compare = kvm_read_c0_guest_compare(cop0); in kvm_mips_resume_hrtimer()
606 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_write_count() local
615 kvm_write_c0_guest_count(cop0, count); in kvm_mips_write_count()
652 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_set_count_hz() local
668 count = kvm_read_c0_guest_count(cop0); in kvm_mips_set_count_hz()
699 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_write_compare() local
701 u32 old_compare = kvm_read_c0_guest_compare(cop0); in kvm_mips_write_compare()
712 kvm_write_c0_guest_compare(cop0, compare); in kvm_mips_write_compare()
743 cause = kvm_read_c0_guest_cause(cop0); in kvm_mips_write_compare()
745 kvm_write_c0_guest_compare(cop0, compare); in kvm_mips_write_compare()
753 kvm_write_c0_guest_cause(cop0, cause); in kvm_mips_write_compare()
782 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_count_disable() local
792 kvm_write_c0_guest_count(cop0, count); in kvm_mips_count_disable()
809 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_count_disable_cause() local
811 kvm_set_c0_guest_cause(cop0, CAUSEF_DC); in kvm_mips_count_disable_cause()
829 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_count_enable_cause() local
832 kvm_clear_c0_guest_cause(cop0, CAUSEF_DC); in kvm_mips_count_enable_cause()
839 count = kvm_read_c0_guest_count(cop0); in kvm_mips_count_enable_cause()
855 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_mips_set_count_ctl() local
871 if (kvm_read_c0_guest_cause(cop0) & CAUSEF_DC) { in kvm_mips_set_count_ctl()
883 count = kvm_read_c0_guest_count(cop0); in kvm_mips_set_count_ctl()
884 compare = kvm_read_c0_guest_compare(cop0); in kvm_mips_set_count_ctl()