Searched refs:hw_cidx (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c419 int hw_cidx = ntohs(q->stat->cidx); reclaimable() local
420 hw_cidx -= q->cidx; reclaimable()
421 return hw_cidx < 0 ? hw_cidx + q->size : hw_cidx; reclaimable()
1295 int hw_cidx = ntohs(q->stat->cidx); reclaim_completed_tx_imm() local
1296 int reclaim = hw_cidx - q->cidx; reclaim_completed_tx_imm()
1302 q->cidx = hw_cidx; reclaim_completed_tx_imm()
H A Dcxgb4_main.c2016 u16 hw_pidx, hw_cidx; cxgb4_sync_txq_pidx() local
2019 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); cxgb4_sync_txq_pidx()
2288 u16 hw_pidx, hw_cidx; sync_txq_pidx() local
2292 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); sync_txq_pidx()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c413 int hw_cidx = be16_to_cpu(tq->stat->cidx); reclaimable() local
414 int reclaimable = hw_cidx - tq->cidx; reclaimable()

Completed in 121 milliseconds