Searched refs:Q_WRP (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 121 if (Q_WRP(q, q->prod) == Q_WRP(q, q->cons)) in queue_has_space() 132 Q_WRP(q, q->prod) != Q_WRP(q, q->cons); in queue_full() 138 Q_WRP(q, q->prod) == Q_WRP(q, q->cons); in queue_empty() 143 return ((Q_WRP(q, q->cons) == Q_WRP(q, prod)) && in queue_consumed() 145 ((Q_WRP(q, q->cons) != Q_WRP( in queue_consumed() [all...] |
H A D | arm-smmu-v3.h | 170 #define Q_WRP(llq, p) ((p) & (1 << (llq)->max_n_shift)) macro
|
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 111 if (Q_WRP(q, q->prod) == Q_WRP(q, q->cons)) in queue_has_space() 122 Q_WRP(q, q->prod) != Q_WRP(q, q->cons); in queue_full() 128 Q_WRP(q, q->prod) == Q_WRP(q, q->cons); in queue_empty() 133 return ((Q_WRP(q, q->cons) == Q_WRP(q, prod)) && in queue_consumed() 135 ((Q_WRP(q, q->cons) != Q_WRP( in queue_consumed() [all...] |
H A D | arm-smmu-v3.h | 176 #define Q_WRP(llq, p) ((p) & (1 << (llq)->max_n_shift)) macro
|
Completed in 9 milliseconds