Searched refs:hw_cidx (Results 1 – 3 of 3) sorted by relevance
399 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaimable() local400 hw_cidx -= q->cidx; in reclaimable()401 return hw_cidx < 0 ? hw_cidx + q->size : hw_cidx; in reclaimable()2014 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaim_completed_tx_imm() local2015 int reclaim = hw_cidx - q->cidx; in reclaim_completed_tx_imm()2021 q->cidx = hw_cidx; in reclaim_completed_tx_imm()
1836 u16 hw_pidx, hw_cidx; in cxgb4_sync_txq_pidx() local1839 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); in cxgb4_sync_txq_pidx()2124 u16 hw_pidx, hw_cidx; in sync_txq_pidx() local2128 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
413 int hw_cidx = be16_to_cpu(tq->stat->cidx); in reclaimable() local414 int reclaimable = hw_cidx - tq->cidx; in reclaimable()