Lines Matching refs:last_used
3667 int s = q->last_used - q->first_empty; in ipw_tx_queue_space()
3708 q->first_empty = q->last_used = 0; in ipw_queue_init()
3755 struct tfd_frame *bd = &txq->bd[txq->q.last_used]; in ipw_queue_tx_free_tfd()
3778 if (txq->txb[txq->q.last_used]) { in ipw_queue_tx_free_tfd()
3779 libipw_txb_free(txq->txb[txq->q.last_used]); in ipw_queue_tx_free_tfd()
3780 txq->txb[txq->q.last_used] = NULL; in ipw_queue_tx_free_tfd()
3803 for (; q->first_empty != q->last_used; in ipw_queue_tx_free()
3804 q->last_used = ipw_queue_inc_wrap(q->last_used, q->n_bd)) { in ipw_queue_tx_free()
4974 for (; q->last_used != hw_tail; in ipw_queue_tx_reclaim()
4975 q->last_used = ipw_queue_inc_wrap(q->last_used, q->n_bd)) { in ipw_queue_tx_reclaim()
4983 used = q->first_empty - q->last_used; in ipw_queue_tx_reclaim()