Searched refs:hw_cidx (Results 1 – 3 of 3) sorted by relevance
343 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaimable() local344 hw_cidx -= q->cidx; in reclaimable()345 return hw_cidx < 0 ? hw_cidx + q->size : hw_cidx; in reclaimable()1421 unsigned int reclaimed, hw_cidx; in t4_sge_eth_txq_egress_update() local1431 hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in t4_sge_eth_txq_egress_update()1432 hw_in_use = q->pidx - hw_cidx; in t4_sge_eth_txq_egress_update()2110 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaim_completed_tx_imm() local2111 int reclaim = hw_cidx - q->cidx; in reclaim_completed_tx_imm()2117 q->cidx = hw_cidx; in reclaim_completed_tx_imm()
2234 u16 hw_pidx, hw_cidx; in cxgb4_sync_txq_pidx() local2237 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); in cxgb4_sync_txq_pidx()2522 u16 hw_pidx, hw_cidx; in sync_txq_pidx() local2526 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()