Lines Matching refs:cppr

279 	new.out_ee = (new.xisr && (new.pending_pri < new.cppr));  in icp_try_update()
288 old.cppr, old.mfrr, old.pending_pri, old.xisr, in icp_try_update()
291 new.cppr, new.mfrr, new.pending_pri, new.xisr, in icp_try_update()
351 success = new_state.cppr > priority && in icp_try_to_deliver()
552 new_state.cppr = new_cppr; in icp_down_cppr()
605 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
608 new_state.cppr = new_state.pending_pri; in kvmppc_h_xirr()
678 if (mfrr < new_state.cppr) { in kvmppc_h_ipi()
716 kvmppc_set_gpr(vcpu, 4, ((u32)state.cppr << 24) | state.xisr); in kvmppc_h_ipoll()
721 static noinline void kvmppc_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr) in kvmppc_h_cppr() argument
728 XICS_DBG("h_cppr vcpu %d cppr %#lx\n", vcpu->vcpu_id, cppr); in kvmppc_h_cppr()
737 if (cppr > icp->state.cppr) in kvmppc_h_cppr()
738 icp_down_cppr(xics, icp, cppr); in kvmppc_h_cppr()
739 else if (cppr == icp->state.cppr) in kvmppc_h_cppr()
759 new_state.cppr = cppr; in kvmppc_h_cppr()
761 if (cppr <= new_state.pending_pri) { in kvmppc_h_cppr()
974 state.pending_pri, state.cppr, state.mfrr, in xics_debug_show()
1095 return ((u64)state.cppr << KVM_REG_PPC_ICP_CPPR_SHIFT) | in kvmppc_xics_get_icp()
1107 u8 cppr, mfrr, pending_pri; in kvmppc_xics_set_icp() local
1115 cppr = icpval >> KVM_REG_PPC_ICP_CPPR_SHIFT; in kvmppc_xics_set_icp()
1126 if (pending_pri != mfrr || pending_pri >= cppr) in kvmppc_xics_set_icp()
1129 if (pending_pri >= mfrr || pending_pri >= cppr) in kvmppc_xics_set_icp()
1137 new_state.cppr = cppr; in kvmppc_xics_set_icp()