Lines Matching refs:tpr
943 u32 tpr, isrv, ppr, old_ppr; in __apic_update_ppr() local
947 tpr = kvm_lapic_get_reg(apic, APIC_TASKPRI); in __apic_update_ppr()
951 if ((tpr & 0xf0) >= (isrv & 0xf0)) in __apic_update_ppr()
952 ppr = tpr & 0xff; in __apic_update_ppr()
978 static void apic_set_tpr(struct kvm_lapic *apic, u32 tpr) in apic_set_tpr() argument
980 kvm_lapic_set_reg(apic, APIC_TASKPRI, tpr); in apic_set_tpr()
2521 u64 tpr; in kvm_lapic_get_cr8() local
2523 tpr = (u64) kvm_lapic_get_reg(vcpu->arch.apic, APIC_TASKPRI); in kvm_lapic_get_cr8()
2525 return (tpr & 0xf0) >> 4; in kvm_lapic_get_cr8()
3114 u32 data, tpr; in kvm_lapic_sync_to_vapic() local
3123 tpr = kvm_lapic_get_reg(apic, APIC_TASKPRI) & 0xff; in kvm_lapic_sync_to_vapic()
3130 data = (tpr & 0xff) | ((max_isr & 0xf0) << 8) | (max_irr << 24); in kvm_lapic_sync_to_vapic()