Searched refs:new_lpcr (Results 1 – 4 of 4) sorted by relevance
119 unsigned long new_lpcr; in fastsleep_loop() local124 new_lpcr = old_lpcr; in fastsleep_loop()128 new_lpcr &= ~LPCR_PECE1; in fastsleep_loop()130 mtspr(SPRN_LPCR, new_lpcr); in fastsleep_loop()
277 unsigned long new_lpcr = lpcr; in cpu_ready_for_interrupts() local283 new_lpcr |= LPCR_AIL_3; in cpu_ready_for_interrupts()285 new_lpcr |= LPCR_HAIL; in cpu_ready_for_interrupts()287 new_lpcr |= LPCR_AIL_3; in cpu_ready_for_interrupts()290 if (new_lpcr != lpcr) in cpu_ready_for_interrupts()291 mtspr(SPRN_LPCR, new_lpcr); in cpu_ready_for_interrupts()
2127 static void kvmppc_set_lpcr(struct kvm_vcpu *vcpu, u64 new_lpcr, in kvmppc_set_lpcr() argument2149 new_lpcr = kvmppc_filter_lpcr_hv(kvm, in kvmppc_set_lpcr()2150 (vc->lpcr & ~mask) | (new_lpcr & mask)); in kvmppc_set_lpcr()2156 if ((new_lpcr & LPCR_ILE) != (vc->lpcr & LPCR_ILE)) { in kvmppc_set_lpcr()2163 if (new_lpcr & LPCR_ILE) in kvmppc_set_lpcr()2170 vc->lpcr = new_lpcr; in kvmppc_set_lpcr()
1633 static void kvmppc_set_lpcr_pr(struct kvm_vcpu *vcpu, u64 new_lpcr) in kvmppc_set_lpcr_pr() argument1635 if (new_lpcr & LPCR_ILE) in kvmppc_set_lpcr_pr()