Lines Matching refs:tsr
584 if ((vcpu->arch.tsr & (TSR_ENW | TSR_WIS)) != (TSR_ENW | TSR_WIS)) in arm_next_watchdog()
603 u32 tsr, new_tsr; in kvmppc_watchdog_func() local
607 new_tsr = tsr = vcpu->arch.tsr; in kvmppc_watchdog_func()
611 if (tsr & TSR_ENW) { in kvmppc_watchdog_func()
612 if (tsr & TSR_WIS) in kvmppc_watchdog_func()
615 new_tsr = tsr | TSR_WIS; in kvmppc_watchdog_func()
617 new_tsr = tsr | TSR_ENW; in kvmppc_watchdog_func()
619 } while (cmpxchg(&vcpu->arch.tsr, tsr, new_tsr) != tsr); in kvmppc_watchdog_func()
650 if ((vcpu->arch.tcr & TCR_DIE) && (vcpu->arch.tsr & TSR_DIS)) in update_timer_ints()
655 if ((vcpu->arch.tcr & TCR_WIE) && (vcpu->arch.tsr & TSR_WIS)) in update_timer_ints()
1384 u32 old_tsr = vcpu->arch.tsr; in kvmppc_set_tsr()
1386 vcpu->arch.tsr = new_tsr; in kvmppc_set_tsr()
1388 if ((old_tsr ^ vcpu->arch.tsr) & (TSR_ENW | TSR_WIS)) in kvmppc_set_tsr()
1487 sregs->u.e.tsr = vcpu->arch.tsr; in get_sregs_base()
1514 kvmppc_set_tsr(vcpu, sregs->u.e.tsr); in set_sregs_base()
1677 *val = get_reg_val(id, vcpu->arch.tsr); in kvmppc_get_one_reg()
1742 u32 tsr = set_reg_val(id, *val); in kvmppc_set_one_reg() local
1743 kvmppc_set_tsr(vcpu, tsr); in kvmppc_set_one_reg()
1838 set_bits(tsr_bits, &vcpu->arch.tsr); in kvmppc_set_tsr_bits()
1846 clear_bits(tsr_bits, &vcpu->arch.tsr); in kvmppc_clr_tsr_bits()