Lines Matching defs:txq
274 struct il_tx_queue *txq = &il->txq[txq_id];
275 struct il_queue *q = &txq->q;
283 skb = txq->skbs[txq->q.read_ptr];
285 txq->skbs[txq->q.read_ptr] = NULL;
286 il->ops->txq_free_tfd(il, txq);
291 il_wake_queue(il, txq);
304 struct il_tx_queue *txq = &il->txq[txq_id];
311 if (idx >= txq->q.n_bd || il_queue_used(&txq->q, idx) == 0) {
314 txq->q.n_bd, txq->q.write_ptr, txq->q.read_ptr);
331 txq->time_stamp = jiffies;
332 info = IEEE80211_SKB_CB(txq->skbs[txq->q.read_ptr]);
597 il3945_hw_txq_attach_buf_to_tfd(struct il_priv *il, struct il_tx_queue *txq,
604 q = &txq->q;
605 tfd_tmp = (struct il3945_tfd *)txq->tfds;
631 * il3945_hw_txq_free_tfd - Free one TFD, those at idx [txq->q.read_ptr]
636 il3945_hw_txq_free_tfd(struct il_priv *il, struct il_tx_queue *txq)
638 struct il3945_tfd *tfd_tmp = (struct il3945_tfd *)txq->tfds;
639 int idx = txq->q.read_ptr;
656 dma_unmap_addr(&txq->meta[idx], mapping),
657 dma_unmap_len(&txq->meta[idx], len),
667 if (txq->skbs) {
668 struct sk_buff *skb = txq->skbs[txq->q.read_ptr];
673 txq->skbs[txq->q.read_ptr] = NULL;
1007 if (il->txq) {
1868 if (test_bit(S_EXIT_PENDING, &il->status) || il->txq == NULL)
2197 il3945_hw_tx_queue_init(struct il_priv *il, struct il_tx_queue *txq)
2199 int txq_id = txq->q.id;
2203 shared_data->tx_base_ptr[txq_id] = cpu_to_le32((u32) txq->q.dma_addr);