Lines Matching refs:ppr
764 static int apic_has_interrupt_for_ppr(struct kvm_lapic *apic, u32 ppr) in apic_has_interrupt_for_ppr() argument
771 if (highest_irr == -1 || (highest_irr & 0xF0) <= ppr) in apic_has_interrupt_for_ppr()
778 u32 tpr, isrv, ppr, old_ppr; in __apic_update_ppr() local
787 ppr = tpr & 0xff; in __apic_update_ppr()
789 ppr = isrv & 0xf0; in __apic_update_ppr()
791 *new_ppr = ppr; in __apic_update_ppr()
792 if (old_ppr != ppr) in __apic_update_ppr()
793 kvm_lapic_set_reg(apic, APIC_PROCPRI, ppr); in __apic_update_ppr()
795 return ppr < old_ppr; in __apic_update_ppr()
800 u32 ppr; in apic_update_ppr() local
802 if (__apic_update_ppr(apic, &ppr) && in apic_update_ppr()
803 apic_has_interrupt_for_ppr(apic, ppr) != -1) in apic_update_ppr()
2622 u32 ppr; in kvm_apic_has_interrupt() local
2627 __apic_update_ppr(apic, &ppr); in kvm_apic_has_interrupt()
2628 return apic_has_interrupt_for_ppr(apic, ppr); in kvm_apic_has_interrupt()
2658 u32 ppr; in kvm_get_apic_interrupt() local
2686 __apic_update_ppr(apic, &ppr); in kvm_get_apic_interrupt()