Searched refs:pq_old (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_hv_rm_xics.c | 681 u32 pq_old, pq_new; in ics_rm_eoi() local 701 pq_old = state->pq_state; in ics_rm_eoi() 702 pq_new = pq_old >> 1; in ics_rm_eoi() 703 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_rm_eoi() 854 u32 pq_old, pq_new; in kvmppc_deliver_irq_passthru() local 870 pq_old = state->pq_state; in kvmppc_deliver_irq_passthru() 871 pq_new = ((pq_old << 1) & 3) | PQ_PRESENTED; in kvmppc_deliver_irq_passthru() 872 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in kvmppc_deliver_irq_passthru()
|
D | book3s_xics.c | 77 u32 pq_old, pq_new; in ics_deliver_irq() local 103 pq_old = state->pq_state; in ics_deliver_irq() 106 if (pq_old & PQ_PRESENTED) in ics_deliver_irq() 114 pq_new = ((pq_old << 1) & 3) | PQ_PRESENTED; in ics_deliver_irq() 115 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_deliver_irq() 789 u32 pq_old, pq_new; in ics_eoi() local 810 pq_old = state->pq_state; in ics_eoi() 811 pq_new = pq_old >> 1; in ics_eoi() 812 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_eoi()
|