Home
last modified time | relevance | path

Searched refs:txqs (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx()
758 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; in ath5k_get_ringparam()
778 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam()
779 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam()
781 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam()
782 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam()
785 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam()
786 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam()
787 ieee80211_stop_queue(hw, ah->txqs[qnum].qnum); in ath5k_set_ringparam()
Dbase.c1011 txq = &ah->txqs[qnum]; in ath5k_txq_setup()
1023 return &ah->txqs[qnum]; in ath5k_txq_setup()
1117 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in ath5k_drain_tx_buffs()
1118 if (ah->txqs[i].setup) { in ath5k_drain_tx_buffs()
1119 txq = &ah->txqs[i]; in ath5k_drain_tx_buffs()
1142 struct ath5k_txq *txq = ah->txqs; in ath5k_txq_release()
1145 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++, txq++) in ath5k_txq_release()
1794 if (ah->txqs[i].setup && (ah->ah_txq_isr_txok_all & BIT(i))) in ath5k_tasklet_tx()
1795 ath5k_tx_processq(ah, &ah->txqs[i]); in ath5k_tasklet_tx()
2010 trace_ath5k_tx(ah, bf->skb, &ah->txqs[ah->bhalq]); in ath5k_beacon_send()
[all …]
Ddebug.c843 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in read_file_queue()
844 txq = &ah->txqs[i]; in read_file_queue()
Dath5k.h1317 struct ath5k_txq txqs[AR5K_NUM_TX_QUEUES]; /* tx queues */ member
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-trans.h524 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
894 unsigned long txqs, in iwl_trans_freeze_txq_timer() argument
901 trans->ops->freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer()
905 u32 txqs) in iwl_trans_wait_tx_queue_empty() argument
910 return trans->ops->wait_tx_queue_empty(trans, txqs); in iwl_trans_wait_tx_queue_empty()
/linux-4.1.27/net/ethernet/
Deth.c380 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, in alloc_etherdev_mqs() argument
384 ether_setup, txqs, rxqs); in alloc_etherdev_mqs()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c293 struct mvneta_tx_queue *txqs; member
752 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_port_up()
1311 return &pp->txqs[queue]; in mvneta_tx_done_policy()
1750 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; in mvneta_tx()
2212 mvneta_txq_done_force(pp, &pp->txqs[queue]); in mvneta_tx_reset()
2376 mvneta_txq_deinit(pp, &pp->txqs[queue]); in mvneta_cleanup_txqs()
2413 int err = mvneta_txq_init(pp, &pp->txqs[queue]); in mvneta_setup_txqs()
2805 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_ethtool_set_coalesce()
2822 c->tx_max_coalesced_frames = pp->txqs[0].done_pkts_coal; in mvneta_ethtool_get_coalesce()
2912 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(struct mvneta_tx_queue), in mvneta_init()
[all …]
Dmvpp2.c674 struct mvpp2_tx_queue **txqs; member
4016 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_egress_enable()
4303 int id = port->txqs[queue]->id; in mvpp2_txq_sent_counter_clear()
4393 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_tx_done_pkts_coal_set()
4438 return port->txqs[queue]; in mvpp2_get_tx_queue()
4758 txq = port->txqs[queue]; in mvpp2_cleanup_txqs()
4802 txq = port->txqs[queue]; in mvpp2_setup_txqs()
5182 txq = port->txqs[txq_id]; in mvpp2_tx()
5782 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_ethtool_set_coalesce()
5799 c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal; in mvpp2_ethtool_get_coalesce()
[all …]
/linux-4.1.27/drivers/net/wan/
Dfarsync.c441 int txqs; /* index to get next buffer to tx */ member
1353 if ((txq_length = port->txqe - port->txqs) < 0) { in do_bottom_half_tx()
1366 skb = port->txq[port->txqs]; in do_bottom_half_tx()
1367 port->txqs++; in do_bottom_half_tx()
1368 if (port->txqs == FST_TXQ_DEPTH) { in do_bottom_half_tx()
1369 port->txqs = 0; in do_bottom_half_tx()
2164 txq_length = port->txqe - port->txqs; in fst_openport()
2166 port->txqs = 0; in fst_openport()
2304 if ((txq_length = port->txqe - port->txqs) < 0) { in fst_start_xmit()
/linux-4.1.27/include/linux/
Detherdevice.h49 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
Dnetdevice.h3341 unsigned int txqs, unsigned int rxqs);
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c2524 unsigned long txqs = 0, tids = 0; in iwl_mvm_mac_sta_notify() local
2535 __set_bit(tid_data->txq_id, &txqs); in iwl_mvm_mac_sta_notify()
2551 if (txqs) in iwl_mvm_mac_sta_notify()
2552 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in iwl_mvm_mac_sta_notify()
2563 if (txqs) in iwl_mvm_mac_sta_notify()
2564 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in iwl_mvm_mac_sta_notify()
/linux-4.1.27/net/mac80211/
Diface.c1674 int txqs = 1; in ieee80211_if_add() local
1701 txqs = IEEE80211_NUM_ACS; in ieee80211_if_add()
1705 ieee80211_if_setup, txqs, 1); in ieee80211_if_add()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c1514 unsigned long txqs, in iwl_trans_pcie_freeze_txq_timer() argument
1520 for_each_set_bit(queue, &txqs, BITS_PER_LONG) { in iwl_trans_pcie_freeze_txq_timer()
/linux-4.1.27/net/core/
Ddev.c6785 unsigned int txqs, unsigned int rxqs) in alloc_netdev_mqs() argument
6793 if (txqs < 1) { in alloc_netdev_mqs()
6852 dev->num_tx_queues = txqs; in alloc_netdev_mqs()
6853 dev->real_num_tx_queues = txqs; in alloc_netdev_mqs()