/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 50 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, 53 int tx_flags, struct ath_txq *txq); 55 struct ath_txq *txq, struct list_head *bf_q, 57 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, 65 struct ath_txq *txq, 108 static void ath_txq_lock(struct ath_softc *sc, struct ath_txq *txq) 109 __acquires(&txq->axq_lock) 111 spin_lock_bh(&txq->axq_lock); 114 static void ath_txq_unlock(struct ath_softc *sc, struct ath_txq *txq) 115 __releases(&txq 134 ath_tx_queue_tid(struct ath_txq *txq, struct ath_atx_tid *tid) argument 156 struct ath_txq *txq = tid->ac->txq; local 188 struct ath_txq *txq = tid->ac->txq; local 266 ath_tid_drain(struct ath_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid) argument 301 ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, struct sk_buff *skb, int count) argument 397 ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf, struct list_head *bf_q, struct ath_tx_status *ts, int txok, bool retry) argument 793 ath_tx_form_aggr(struct ath_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid, struct list_head *bf_q, int *aggr_len) argument 1051 ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, int len) argument 1114 ath_tx_sched_aggr(struct ath_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid) argument 1190 struct ath_txq *txq = txtid->ac->txq; local 1223 struct ath_txq *txq; local 1258 struct ath_txq *txq; local 1297 ath_txq_drain_pending_buffers(struct ath_softc *sc, struct ath_txq *txq) argument 1366 struct ath_txq *txq = &sc->tx.txq[axq_qnum]; local 1452 ath_drain_txq_list(struct ath_softc *sc, struct ath_txq *txq, struct list_head *list, bool retry_tx) argument 1494 ath_draintxq(struct ath_softc *sc, struct ath_txq *txq, bool retry_tx) argument 1525 struct ath_txq *txq; local 1563 ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) argument 1572 ath_txq_schedule(struct ath_softc *sc, struct ath_txq *txq) argument 1631 ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, struct list_head *head, bool internal) argument 1738 ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid, struct sk_buff *skb) argument 1820 ath_tx_setup_buffer(struct ath_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid, struct sk_buff *skb, bool dequeue) argument 1927 struct ath_txq *txq = txctl->txq; local 1995 ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb, int tx_flags, struct ath_txq *txq) argument 2044 ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, struct list_head *bf_q, struct ath_tx_status *ts, int txok) argument 2141 ath_tx_process_buffer(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf, struct list_head *bf_head) argument 2163 ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq) argument 2243 struct ath_txq *txq; local 2296 struct ath_txq *txq; local 2480 struct ath_txq *txq; local [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-trans-pcie-tx.c | 85 struct iwl_tx_queue *txq, 91 int write_ptr = txq->q.write_ptr; 92 int txq_id = txq->q.id; 98 (struct iwl_tx_cmd *) txq->cmd[txq->q.write_ptr]->payload; 131 void iwl_txq_update_write_ptr(struct iwl_trans *trans, struct iwl_tx_queue *txq) argument 134 int txq_id = txq->q.id; 136 if (txq->need_update == 0) 142 txq->q.write_ptr | (txq_id << 8)); 161 txq 84 iwl_trans_txq_update_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_tx_queue *txq, u16 byte_cnt) argument 253 iwlagn_txq_free_tfd(struct iwl_trans *trans, struct iwl_tx_queue *txq, enum dma_data_direction dma_dir) argument 284 iwlagn_txq_attach_buf_to_tfd(struct iwl_trans *trans, struct iwl_tx_queue *txq, dma_addr_t addr, u16 len, u8 reset) argument 391 iwlagn_txq_inval_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_tx_queue *txq) argument 463 iwl_trans_tx_queue_set_status(struct iwl_trans *trans, struct iwl_tx_queue *txq, int tx_fifo_id, int scd_retry) argument 674 struct iwl_tx_queue *txq = &trans_pcie->txq[trans_pcie->cmd_queue]; local 845 struct iwl_tx_queue *txq = &trans_pcie->txq[txq_id]; local 891 struct iwl_tx_queue *txq = &trans_pcie->txq[trans_pcie->cmd_queue]; local 1006 struct iwl_tx_queue *txq = local 1069 struct iwl_tx_queue *txq = &trans_pcie->txq[txq_id]; local [all...] |
H A D | iwl-trans-pcie.c | 303 struct iwl_tx_queue *txq, int slots_num, 310 if (WARN_ON(txq->meta || txq->cmd || txq->skbs || txq->tfds)) 313 txq->q.n_window = slots_num; 315 txq->meta = kcalloc(slots_num, sizeof(txq->meta[0]), GFP_KERNEL); 316 txq->cmd = kcalloc(slots_num, sizeof(txq 302 iwl_trans_txq_alloc(struct iwl_trans *trans, struct iwl_tx_queue *txq, int slots_num, u32 txq_id) argument 372 iwl_trans_txq_init(struct iwl_trans *trans, struct iwl_tx_queue *txq, int slots_num, u32 txq_id) argument 416 struct iwl_tx_queue *txq = &trans_pcie->txq[txq_id]; local 450 struct iwl_tx_queue *txq = &trans_pcie->txq[txq_id]; local 1339 struct iwl_tx_queue *txq; local 1575 struct iwl_tx_queue *txq = &trans_pcie->txq[txq_id]; local 1695 struct iwl_tx_queue *txq; local 1727 struct iwl_tx_queue *txq = &trans_pcie->txq[cnt]; local 1936 struct iwl_tx_queue *txq; local [all...] |
H A D | iwl-trans-pcie-int.h | 242 * @txq: Tx DMA processing queues 280 struct iwl_tx_queue *txq; member in struct:iwl_trans_pcie 323 struct iwl_tx_queue *txq); 325 struct iwl_tx_queue *txq, 332 struct iwl_tx_queue *txq, 338 struct iwl_tx_queue *txq, 344 void iwlagn_txq_free_tfd(struct iwl_trans *trans, struct iwl_tx_queue *txq, 402 static inline void iwl_set_swq_id(struct iwl_tx_queue *txq, u8 ac, u8 hwq) argument 407 txq->swq_id = (hwq << 2) | ac; 410 static inline u8 iwl_get_queue_ac(struct iwl_tx_queue *txq) argument 415 iwl_wake_queue(struct iwl_trans *trans, struct iwl_tx_queue *txq) argument 438 iwl_stop_queue(struct iwl_trans *trans, struct iwl_tx_queue *txq) argument [all...] |
/drivers/net/wireless/iwmc3200wifi/ |
H A D | tx.c | 110 IWM_DBG_TX(iwm, DBG, "LINK: stop txq[%d], available credit: %d\n", 157 IWM_DBG_TX(iwm, DBG, "LINK: start txq[%d], available " 160 queue_work(iwm->txq[queue].wq, &iwm->txq[queue].worker); 337 struct iwm_tx_queue *txq) 341 if (!txq->concat_count) 345 txq->id, txq->concat_count); 348 iwm_udma_wifi_hdr_set_eop(iwm, txq->concat_ptr, 1); 350 trace_iwm_tx_packets(iwm, txq 336 iwm_tx_send_concat_packets(struct iwm_priv *iwm, struct iwm_tx_queue *txq) argument 364 struct iwm_tx_queue *txq; local 457 struct iwm_tx_queue *txq; local [all...] |
H A D | debugfs.c | 122 struct iwm_tx_queue *txq = &iwm->txq[i]; local 127 spin_lock_irqsave(&txq->queue.lock, flags); 129 skb = (struct sk_buff *)&txq->queue; 134 txq->id)); 136 txq->concat_count); 138 skb_queue_len(&txq->queue)); 139 for (j = 0; j < skb_queue_len(&txq->queue); j++) { 155 spin_unlock_irqrestore(&txq->queue.lock, flags); 157 spin_lock_irqsave(&txq [all...] |
H A D | main.c | 294 INIT_WORK(&iwm->txq[i].worker, iwm_tx_worker); 296 iwm->txq[i].id = i; 297 iwm->txq[i].wq = create_singlethread_workqueue(name); 298 if (!iwm->txq[i].wq) 301 skb_queue_head_init(&iwm->txq[i].queue); 302 skb_queue_head_init(&iwm->txq[i].stopped_queue); 303 spin_lock_init(&iwm->txq[i].lock); 335 destroy_workqueue(iwm->txq[i].wq); 589 skb_queue_purge(&iwm->txq[i].queue); 590 skb_queue_purge(&iwm->txq[ [all...] |
/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 433 struct tx_queue txq[8]; member in struct:mv643xx_eth_private 459 /* rxq/txq helper functions *************************************************/ 465 static struct mv643xx_eth_private *txq_to_mp(struct tx_queue *txq) argument 467 return container_of(txq, struct mv643xx_eth_private, txq[txq->index]); 486 static void txq_reset_hw_ptr(struct tx_queue *txq) argument 488 struct mv643xx_eth_private *mp = txq_to_mp(txq); 491 addr = (u32)txq->tx_desc_dma; 492 addr += txq 496 txq_enable(struct tx_queue *txq) argument 502 txq_disable(struct tx_queue *txq) argument 512 txq_maybe_wake(struct tx_queue *txq) argument 729 txq_submit_frag_skb(struct tx_queue *txq, struct sk_buff *skb) argument 772 txq_submit_skb(struct tx_queue *txq, struct sk_buff *skb) argument 870 struct tx_queue *txq; local 909 txq_kick(struct tx_queue *txq) argument 934 txq_reclaim(struct tx_queue *txq, int budget, int force) argument 1039 txq_set_rate(struct tx_queue *txq, int rate, int burst) argument 1057 txq_set_fixed_prio_mode(struct tx_queue *txq) argument 1187 struct tx_queue *txq = mp->txq + i; local 1960 struct tx_queue *txq = mp->txq + index; local 2013 txq_deinit(struct tx_queue *txq) argument 2097 struct tx_queue *txq = mp->txq + i; local 2254 struct tx_queue *txq = mp->txq + i; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1048 static void txq_stop(struct sge_eth_txq *txq) argument 1050 netif_tx_stop_queue(txq->txq); 1051 txq->q.stops++; 1079 struct sge_eth_txq *txq; local 1106 txq = &adapter->sge.ethtxq[pi->first_qset + qidx]; 1112 reclaim_completed_tx(adapter, &txq->q, true); 1121 credits = txq_avail(&txq->q) - ndesc; 1130 txq_stop(txq); 1144 txq 1993 struct sge_eth_txq *txq = &s->ethtxq[i]; local 2205 t4vf_sge_alloc_eth_txq(struct adapter *adapter, struct sge_eth_txq *txq, struct net_device *dev, struct netdev_queue *devq, unsigned int iqid) argument 2347 struct sge_eth_txq *txq = s->ethtxq; local [all...] |
/drivers/bluetooth/ |
H A D | hci_ath.c | 48 struct sk_buff_head txq; member in struct:ath_struct 119 skb_queue_head_init(&ath->txq); 136 skb_queue_purge(&ath->txq); 148 skb_queue_purge(&ath->txq); 186 skb_queue_tail(&ath->txq, skb); 198 return skb_dequeue(&ath->txq);
|
H A D | hci_h4.c | 55 struct sk_buff_head txq; member in struct:h4_struct 76 skb_queue_head_init(&h4->txq); 89 skb_queue_purge(&h4->txq); 103 skb_queue_purge(&h4->txq); 122 skb_queue_tail(&h4->txq, skb); 168 return skb_dequeue(&h4->txq);
|
H A D | hci_ll.c | 83 struct sk_buff_head txq; member in struct:ll_struct 116 skb_queue_tail(&ll->txq, skb); 132 skb_queue_head_init(&ll->txq); 151 skb_queue_purge(&ll->txq); 164 skb_queue_purge(&ll->txq); 177 * 1. places all pending packets (waiting in tx_wait_q list) in txq list. 187 skb_queue_tail(&ll->txq, skb); 320 skb_queue_tail(&ll->txq, skb); 507 return skb_dequeue(&ll->txq);
|
H A D | btsdio.c | 63 struct sk_buff_head txq; member in struct:btsdio_data 114 while ((skb = skb_dequeue(&data->txq))) { 118 skb_queue_head(&data->txq, skb); 253 skb_queue_purge(&data->txq); 285 skb_queue_tail(&data->txq, skb); 315 skb_queue_head_init(&data->txq);
|
H A D | btuart_cs.c | 72 struct sk_buff_head txq; member in struct:btuart_info_t 152 if (!(skb = skb_dequeue(&(info->txq)))) 163 skb_queue_head(&(info->txq), skb); 402 skb_queue_purge(&(info->txq)); 453 skb_queue_tail(&(info->txq), skb); 479 skb_queue_head_init(&(info->txq));
|
H A D | dtl1_cs.c | 75 struct sk_buff_head txq; member in struct:dtl1_info_t 156 if (!(skb = skb_dequeue(&(info->txq)))) 167 skb_queue_head(&(info->txq), skb); 369 skb_queue_purge(&(info->txq)); 431 skb_queue_tail(&(info->txq), s); 459 skb_queue_head_init(&(info->txq));
|
/drivers/net/wireless/ath/ath5k/ |
H A D | base.c | 664 struct ath5k_txq *txq, int padsize) 750 spin_lock_bh(&txq->lock); 751 list_add_tail(&bf->list, &txq->q); 752 txq->txq_len++; 753 if (txq->link == NULL) /* is this first packet? */ 754 ath5k_hw_set_txdp(ah, txq->qnum, bf->daddr); 756 *txq->link = bf->daddr; 758 txq->link = &ds->ds_link; 759 ath5k_hw_start_tx_dma(ah, txq->qnum); 761 spin_unlock_bh(&txq 663 ath5k_txbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf, struct ath5k_txq *txq, int padsize) argument 898 struct ath5k_txq *txq; local 1033 struct ath5k_txq *txq; local 1062 struct ath5k_txq *txq = ah->txqs; local 1521 ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb, struct ath5k_txq *txq) argument 1577 ath5k_tx_frame_completed(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_txq *txq, struct ath5k_tx_status *ts) argument 1638 ath5k_tx_processq(struct ath5k_hw *ah, struct ath5k_txq *txq) argument 2372 struct ath5k_txq *txq; local 2844 struct ath5k_txq *txq; local [all...] |
/drivers/atm/ |
H A D | ambassador.c | 628 amb_txq * txq = &dev->txq; local 636 spin_lock_irqsave (&txq->lock, flags); 638 if (txq->pending < txq->maximum) { 639 PRINTD (DBG_TX, "TX in slot %p", txq->in.ptr); 641 *txq->in.ptr = *tx; 642 txq->pending++; 643 txq->in.ptr = NEXTQ (txq 660 amb_txq * txq = &dev->txq; local 1564 amb_txq * txq = &dev->txq; local [all...] |
/drivers/net/ |
H A D | ifb.c | 67 struct netdev_queue *txq; local 70 txq = netdev_get_tx_queue(_dev, 0); 72 if (__netif_tx_trylock(txq)) { 74 __netif_tx_unlock(txq); 114 if (__netif_tx_trylock(txq)) { 120 __netif_tx_unlock(txq); 123 __netif_tx_unlock(txq);
|
/drivers/net/wireless/iwlegacy/ |
H A D | common.c | 383 il->txq[il->cmd_queue].meta[cmd_idx].flags &= ~CMD_WANT_SKB; 2673 il_txq_update_write_ptr(struct il_priv *il, struct il_tx_queue *txq) argument 2676 int txq_id = txq->q.id; 2678 if (txq->need_update == 0) 2696 il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); 2704 _il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); 2705 txq->need_update = 0; 2715 struct il_tx_queue *txq = &il->txq[txq_id]; local 2716 struct il_queue *q = &txq 2739 struct il_tx_queue *txq = &il->txq[txq_id]; local 2775 struct il_tx_queue *txq = &il->txq[il->cmd_queue]; local 2818 struct il_tx_queue *txq = &il->txq[il->cmd_queue]; local 2924 il_tx_queue_alloc(struct il_priv *il, struct il_tx_queue *txq, u32 id) argument 2968 struct il_tx_queue *txq = &il->txq[txq_id]; local 3042 struct il_tx_queue *txq = &il->txq[txq_id]; local 3077 struct il_tx_queue *txq = &il->txq[il->cmd_queue]; local 3197 struct il_tx_queue *txq = &il->txq[txq_id]; local 3239 struct il_tx_queue *txq = &il->txq[il->cmd_queue]; local 4717 struct il_tx_queue *txq = &il->txq[cnt]; local [all...] |
H A D | 3945.c | 290 struct il_tx_queue *txq = &il->txq[txq_id]; local 291 struct il_queue *q = &txq->q; 299 skb = txq->skbs[txq->q.read_ptr]; 301 txq->skbs[txq->q.read_ptr] = NULL; 302 il->ops->txq_free_tfd(il, txq); 307 il_wake_queue(il, txq); 320 struct il_tx_queue *txq local 588 il3945_hw_txq_attach_buf_to_tfd(struct il_priv *il, struct il_tx_queue *txq, dma_addr_t addr, u16 len, u8 reset, u8 pad) argument 627 il3945_hw_txq_free_tfd(struct il_priv *il, struct il_tx_queue *txq) argument 2189 il3945_hw_tx_queue_init(struct il_priv *il, struct il_tx_queue *txq) argument [all...] |
H A D | 4965-mac.c | 233 if (!il->txq) { 1639 struct il_tx_queue *txq; local 1740 txq = &il->txq[txq_id]; 1741 q = &txq->q; 1756 txq->skbs[q->write_ptr] = skb; 1759 out_cmd = txq->cmd[q->write_ptr]; 1760 out_meta = &txq->meta[q->write_ptr]; 1817 il->ops->txq_attach_buf_to_tfd(il, txq, txcmd_phys, firstlen, 1, 0); 1820 txq 2442 struct il_tx_queue *txq = &il->txq[txq_id]; local 2749 struct il_tx_queue *txq = &il->txq[txq_id]; local 2881 struct il_tx_queue *txq = NULL; local 3886 il4965_hw_txq_free_tfd(struct il_priv *il, struct il_tx_queue *txq) argument 3931 il4965_hw_txq_attach_buf_to_tfd(struct il_priv *il, struct il_tx_queue *txq, dma_addr_t addr, u16 len, u8 reset, u8 pad) argument 3971 il4965_hw_tx_queue_init(struct il_priv *il, struct il_tx_queue *txq) argument 6252 il4965_tx_queue_set_status(struct il_priv *il, struct il_tx_queue *txq, int tx_fifo_id, int scd_retry) argument [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 858 netif_tx_stop_queue(q->txq); 1941 struct sge_ofld_txq *txq = s->egr_map[id]; local 1944 tasklet_schedule(&txq->qresume_tsk); 1953 time_after_eq(jiffies, q->txq->trans_start + HZ / 100) && 1954 __netif_tx_trylock(q->txq)) { 1965 __netif_tx_unlock(q->txq); 2087 int t4_sge_alloc_eth_txq(struct adapter *adap, struct sge_eth_txq *txq, argument 2096 nentries = txq->q.size + STAT_LEN / sizeof(struct tx_desc); 2098 txq->q.desc = alloc_ring(adap->pdev_dev, txq 2140 t4_sge_alloc_ctrl_txq(struct adapter *adap, struct sge_ctrl_txq *txq, struct net_device *dev, unsigned int iqid, unsigned int cmplqid) argument 2192 t4_sge_alloc_ofld_txq(struct adapter *adap, struct sge_ofld_txq *txq, struct net_device *dev, unsigned int iqid) argument [all...] |
/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 2929 struct bna_txq *txq; local 2934 txq = (struct bna_txq *)qe; 2935 txq->tcb->priority = txq->priority; 2937 bna_ib_start(tx->bna, &txq->ib, is_regular); 3157 struct bna_txq *txq = NULL; local 3170 txq = (struct bna_txq *)qe; 3172 bfi_enet_datapath_q_init(&cfg_req->q_cfg[i].q.q, &txq->qpt); 3173 cfg_req->q_cfg[i].q.priority = txq->priority; 3176 txq 3222 struct bna_txq *txq; local 3235 bna_txq_qpt_setup(struct bna_txq *txq, int page_count, int page_size, struct bna_mem_descr *qpt_mem, struct bna_mem_descr *swqpt_mem, struct bna_mem_descr *page_mem) argument 3284 struct bna_txq *txq; local 3360 struct bna_txq *txq = NULL; local 3464 struct bna_txq *txq; local 3616 struct bna_txq *txq; local 3791 struct bna_txq *txq; local [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 179 return container_of(q, struct sge_qset, txq[qidx]); 654 memset(q->txq, 0, sizeof(struct sge_txq) * SGE_TXQ_PER_SET); 691 if (q->txq[i].desc) { 693 t3_sge_enable_ecntxt(adapter, q->txq[i].cntxt_id, 0); 695 if (q->txq[i].sdesc) { 696 free_tx_desc(adapter, &q->txq[i], 697 q->txq[i].in_use); 698 kfree(q->txq[i].sdesc); 701 q->txq[i].size * 703 q->txq[ 1206 t3_stop_tx_queue(struct netdev_queue *txq, struct sge_qset *qs, struct sge_txq *q) argument 1227 struct netdev_queue *txq; local 2187 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 2198 struct sge_txq *txq = &qs->txq[TXQ_OFLD]; local [all...] |
/drivers/net/usb/ |
H A D | usbnet.c | 667 temp = unlink_urbs(dev, &dev->txq) + 672 && !skb_queue_empty(&dev->txq) 931 unlink_urbs (dev, &dev->txq); 1067 (void) defer_bh(dev, skb, &dev->txq, tx_done); 1076 unlink_urbs (dev, &dev->txq); 1148 spin_lock_irqsave(&dev->txq.lock, flags); 1151 spin_unlock_irqrestore(&dev->txq.lock, flags); 1162 spin_unlock_irqrestore(&dev->txq.lock, flags); 1181 __usbnet_queue_skb(&dev->txq, skb, tx_start); 1182 if (dev->txq [all...] |