Home
last modified time | relevance | path

Searched refs:pq_old (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c682 u32 pq_old, pq_new; in ics_rm_eoi() local
702 pq_old = state->pq_state; in ics_rm_eoi()
703 pq_new = pq_old >> 1; in ics_rm_eoi()
704 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_rm_eoi()
856 u32 pq_old, pq_new; in kvmppc_deliver_irq_passthru() local
872 pq_old = state->pq_state; in kvmppc_deliver_irq_passthru()
873 pq_new = ((pq_old << 1) & 3) | PQ_PRESENTED; in kvmppc_deliver_irq_passthru()
874 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in kvmppc_deliver_irq_passthru()
Dbook3s_xics.c74 u32 pq_old, pq_new; in ics_deliver_irq() local
100 pq_old = state->pq_state; in ics_deliver_irq()
103 if (pq_old & PQ_PRESENTED) 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()
784 u32 pq_old, pq_new; in ics_eoi() local
805 pq_old = 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()