Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c152 q->cons = Q_OVF(q->cons) | Q_WRP(q, cons) | Q_IDX(q, cons); in queue_inc_cons()
159 if (likely(Q_OVF(llq->prod) == Q_OVF(llq->cons))) in queue_sync_cons_ovf()
162 llq->cons = Q_OVF(llq->prod) | Q_WRP(llq, llq->cons) | in queue_sync_cons_ovf()
179 if (Q_OVF(prod) != Q_OVF(q->llq.prod)) in queue_sync_prod_in()
189 return Q_OVF(q->prod) | Q_WRP(q, prod) | Q_IDX(q, prod); in queue_inc_prod_n()
H A Darm-smmu-v3.h178 #define Q_OVF(p) ((p) & Q_OVERFLOW_FLAG) macro