/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | mac80211-ops.c | 69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); ath5k_tx() 758 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; ath5k_get_ringparam() 778 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { ath5k_set_ringparam() 779 if (!ah->txqs[qnum].setup) ath5k_set_ringparam() 781 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || ath5k_set_ringparam() 782 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) ath5k_set_ringparam() 785 ah->txqs[qnum].txq_max = tx; ath5k_set_ringparam() 786 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) ath5k_set_ringparam() 787 ieee80211_stop_queue(hw, ah->txqs[qnum].qnum); ath5k_set_ringparam()
|
H A D | base.c | 1011 txq = &ah->txqs[qnum]; ath5k_txq_setup() 1023 return &ah->txqs[qnum]; ath5k_txq_setup() 1117 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { ath5k_drain_tx_buffs() 1118 if (ah->txqs[i].setup) { ath5k_drain_tx_buffs() 1119 txq = &ah->txqs[i]; ath5k_drain_tx_buffs() 1142 struct ath5k_txq *txq = ah->txqs; ath5k_txq_release() 1145 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++, txq++) ath5k_txq_release() 1794 if (ah->txqs[i].setup && (ah->ah_txq_isr_txok_all & BIT(i))) ath5k_tasklet_tx() 1795 ath5k_tx_processq(ah, &ah->txqs[i]); ath5k_tasklet_tx() 2010 trace_ath5k_tx(ah, bf->skb, &ah->txqs[ah->bhalq]); ath5k_beacon_send() 2476 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { ath5k_tx_complete_poll_work() 2477 if (ah->txqs[i].setup) { ath5k_tx_complete_poll_work() 2478 txq = &ah->txqs[i]; ath5k_tx_complete_poll_work()
|
H A D | debug.c | 843 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { read_file_queue() 844 txq = &ah->txqs[i]; read_file_queue()
|
H A D | ath5k.h | 1317 struct ath5k_txq txqs[AR5K_NUM_TX_QUEUES]; /* tx queues */ member in struct:ath5k_hw
|
/linux-4.1.27/net/ethernet/ |
H A D | eth.c | 369 * @txqs: The number of TX queues this device has. 380 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, alloc_etherdev_mqs() argument 384 ether_setup, txqs, rxqs); alloc_etherdev_mqs()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 293 struct mvneta_tx_queue *txqs; member in struct:mvneta_port 752 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_port_up() 1311 return &pp->txqs[queue]; mvneta_tx_done_policy() 1750 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; mvneta_tx() 2212 mvneta_txq_done_force(pp, &pp->txqs[queue]); mvneta_tx_reset() 2376 mvneta_txq_deinit(pp, &pp->txqs[queue]); mvneta_cleanup_txqs() 2413 int err = mvneta_txq_init(pp, &pp->txqs[queue]); mvneta_setup_txqs() 2537 netdev_err(dev, "unable to setup txqs after MTU change\n"); mvneta_change_mtu() 2805 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_ethtool_set_coalesce() 2822 c->tx_max_coalesced_frames = pp->txqs[0].done_pkts_coal; mvneta_ethtool_get_coalesce() 2912 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(struct mvneta_tx_queue), mvneta_init() 2914 if (!pp->txqs) mvneta_init() 2919 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_init()
|
H A D | mvpp2.c | 674 struct mvpp2_tx_queue **txqs; member in struct:mvpp2_port 4016 struct mvpp2_tx_queue *txq = port->txqs[queue]; mvpp2_egress_enable() 4303 int id = port->txqs[queue]->id; mvpp2_txq_sent_counter_clear() 4393 struct mvpp2_tx_queue *txq = port->txqs[queue]; mvpp2_tx_done_pkts_coal_set() 4438 return port->txqs[queue]; mvpp2_get_tx_queue() 4758 txq = port->txqs[queue]; mvpp2_cleanup_txqs() 4802 txq = port->txqs[queue]; mvpp2_setup_txqs() 5182 txq = port->txqs[txq_id]; mvpp2_tx() 5782 struct mvpp2_tx_queue *txq = port->txqs[queue]; mvpp2_ethtool_set_coalesce() 5799 c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal; mvpp2_ethtool_get_coalesce() 5934 port->txqs = devm_kcalloc(dev, txq_number, sizeof(*port->txqs), mvpp2_port_init() 5936 if (!port->txqs) mvpp2_port_init() 5964 port->txqs[queue] = txq; 6023 if (!port->txqs[queue]) 6025 free_percpu(port->txqs[queue]->pcpu); 6158 free_percpu(port->txqs[i]->pcpu); mvpp2_port_probe() 6176 free_percpu(port->txqs[i]->pcpu); mvpp2_port_remove()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
H A D | iwl-trans.h | 524 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs, 894 unsigned long txqs, iwl_trans_freeze_txq_timer() 901 trans->ops->freeze_txq_timer(trans, txqs, freeze); iwl_trans_freeze_txq_timer() 905 u32 txqs) iwl_trans_wait_tx_queue_empty() 910 return trans->ops->wait_tx_queue_empty(trans, txqs); iwl_trans_wait_tx_queue_empty() 893 iwl_trans_freeze_txq_timer(struct iwl_trans *trans, unsigned long txqs, bool freeze) iwl_trans_freeze_txq_timer() argument 904 iwl_trans_wait_tx_queue_empty(struct iwl_trans *trans, u32 txqs) iwl_trans_wait_tx_queue_empty() argument
|
/linux-4.1.27/drivers/net/wan/ |
H A D | farsync.c | 441 int txqs; /* index to get next buffer to tx */ member in struct:fst_port_info 1353 if ((txq_length = port->txqe - port->txqs) < 0) { do_bottom_half_tx() 1366 skb = port->txq[port->txqs]; do_bottom_half_tx() 1367 port->txqs++; do_bottom_half_tx() 1368 if (port->txqs == FST_TXQ_DEPTH) { do_bottom_half_tx() 1369 port->txqs = 0; do_bottom_half_tx() 2164 txq_length = port->txqe - port->txqs; fst_openport() 2166 port->txqs = 0; fst_openport() 2304 if ((txq_length = port->txqe - port->txqs) < 0) { fst_start_xmit()
|
/linux-4.1.27/net/mac80211/ |
H A D | iface.c | 1674 int txqs = 1; ieee80211_if_add() local 1701 txqs = IEEE80211_NUM_ACS; ieee80211_if_add() 1705 ieee80211_if_setup, txqs, 1); ieee80211_if_add()
|
/linux-4.1.27/include/linux/ |
H A D | etherdevice.h | 49 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
|
H A D | netdevice.h | 3341 unsigned int txqs, unsigned int rxqs);
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | mac80211.c | 2524 unsigned long txqs = 0, tids = 0; iwl_mvm_mac_sta_notify() local 2535 __set_bit(tid_data->txq_id, &txqs); iwl_mvm_mac_sta_notify() 2551 if (txqs) iwl_mvm_mac_sta_notify() 2552 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); iwl_mvm_mac_sta_notify() 2563 if (txqs) iwl_mvm_mac_sta_notify() 2564 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); iwl_mvm_mac_sta_notify()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/ |
H A D | trans.c | 1514 unsigned long txqs, iwl_trans_pcie_freeze_txq_timer() 1520 for_each_set_bit(queue, &txqs, BITS_PER_LONG) { iwl_trans_pcie_freeze_txq_timer() 1513 iwl_trans_pcie_freeze_txq_timer(struct iwl_trans *trans, unsigned long txqs, bool freeze) iwl_trans_pcie_freeze_txq_timer() argument
|
/linux-4.1.27/net/core/ |
H A D | dev.c | 6775 * @txqs: the number of TX subqueues to allocate 6785 unsigned int txqs, unsigned int rxqs) alloc_netdev_mqs() 6793 if (txqs < 1) { alloc_netdev_mqs() 6852 dev->num_tx_queues = txqs; alloc_netdev_mqs() 6853 dev->real_num_tx_queues = txqs; alloc_netdev_mqs() 6782 alloc_netdev_mqs(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *), unsigned int txqs, unsigned int rxqs) alloc_netdev_mqs() argument
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 3879 dev_info(dev, "Max: txqs %d, rxqs %d, rss %d, eqs %d, vfs %d\n", be_get_resources()
|