Lines Matching refs:gctl0
446 u32 gctl0; in kvm_vz_acquire_htimer() local
448 gctl0 = read_c0_guestctl0(); in kvm_vz_acquire_htimer()
449 if (!(gctl0 & MIPS_GCTL0_GT) && kvm_vz_should_use_htimer(vcpu)) { in kvm_vz_acquire_htimer()
451 write_c0_guestctl0(gctl0 | MIPS_GCTL0_GT); in kvm_vz_acquire_htimer()
521 u32 gctl0, compare, cause; in kvm_vz_save_timer() local
523 gctl0 = read_c0_guestctl0(); in kvm_vz_save_timer()
524 if (gctl0 & MIPS_GCTL0_GT) { in kvm_vz_save_timer()
526 write_c0_guestctl0(gctl0 & ~MIPS_GCTL0_GT); in kvm_vz_save_timer()
549 u32 gctl0, compare, cause; in kvm_vz_lose_htimer() local
552 gctl0 = read_c0_guestctl0(); in kvm_vz_lose_htimer()
553 if (gctl0 & MIPS_GCTL0_GT) { in kvm_vz_lose_htimer()
555 write_c0_guestctl0(gctl0 & ~MIPS_GCTL0_GT); in kvm_vz_lose_htimer()