Lines Matching refs:new_tb
597 u64 new_tb = *tb + vc->tb_offset; in kvmhv_vcpu_entry_p9() local
598 mtspr(SPRN_TBU40, new_tb); in kvmhv_vcpu_entry_p9()
599 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmhv_vcpu_entry_p9()
600 new_tb += 0x1000000; in kvmhv_vcpu_entry_p9()
601 mtspr(SPRN_TBU40, new_tb); in kvmhv_vcpu_entry_p9()
603 *tb = new_tb; in kvmhv_vcpu_entry_p9()
852 u64 new_tb = *tb - vc->tb_offset_applied; in kvmhv_vcpu_entry_p9() local
853 mtspr(SPRN_TBU40, new_tb); in kvmhv_vcpu_entry_p9()
854 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmhv_vcpu_entry_p9()
855 new_tb += 0x1000000; in kvmhv_vcpu_entry_p9()
856 mtspr(SPRN_TBU40, new_tb); in kvmhv_vcpu_entry_p9()
858 *tb = new_tb; in kvmhv_vcpu_entry_p9()