Lines Matching refs:pq_new
74 u32 pq_old, pq_new; in ics_deliver_irq() local
107 pq_new = PQ_PRESENTED; in ics_deliver_irq()
109 pq_new = 0; in ics_deliver_irq()
111 pq_new = ((pq_old << 1) & 3) | PQ_PRESENTED; in ics_deliver_irq()
112 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_deliver_irq()
115 if (pq_new == PQ_PRESENTED) in ics_deliver_irq()
784 u32 pq_old, pq_new; in ics_eoi() local
802 pq_new = state->pq_state; in ics_eoi()
806 pq_new = pq_old >> 1; in ics_eoi()
807 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_eoi()
809 if (pq_new & PQ_PRESENTED) in ics_eoi()