/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | mac80211-ops.c | 69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx() 747 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; in ath5k_get_ringparam() 767 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam() 768 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam() 770 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam() 771 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam() 774 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam() 775 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam() 776 ieee80211_stop_queue(hw, ah->txqs[qnum].qnum); in ath5k_set_ringparam()
|
D | base.c | 1011 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 …]
|
D | debug.c | 843 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in read_file_queue() 844 txq = &ah->txqs[i]; in read_file_queue()
|
D | ath5k.h | 1318 struct ath5k_txq txqs[AR5K_NUM_TX_QUEUES]; /* tx queues */ member
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-trans.h | 588 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs, 990 unsigned long txqs, in iwl_trans_freeze_txq_timer() argument 997 trans->ops->freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer() 1001 u32 txqs) in iwl_trans_wait_tx_queue_empty() argument 1006 return trans->ops->wait_tx_queue_empty(trans, txqs); in iwl_trans_wait_tx_queue_empty()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qede/ |
D | qede.h | 127 (&(edev)->fp_array[QEDE_TSS_IDX((edev), (txqidx))].txqs[QEDE_TC_IDX( \ 239 struct qede_tx_queue *txqs; member
|
D | qede_main.c | 717 if (qede_txq_has_work(&fp->txqs[tc])) in qede_has_tx_work() 980 if (qede_txq_has_work(&fp->txqs[tc])) in qede_poll() 981 qede_tx_int(edev, &fp->txqs[tc]); in qede_poll() 1299 kfree(fp->txqs); in qede_free_fp_array() 1333 fp->txqs = kcalloc(edev->num_tc, sizeof(*fp->txqs), GFP_KERNEL); in qede_alloc_fp_array() 1334 if (!fp->txqs) { in qede_alloc_fp_array() 1754 qede_free_mem_txq(edev, &fp->txqs[tc]); in qede_free_mem_fp() 1774 rc = qede_alloc_mem_txq(edev, &fp->txqs[tc]); in qede_alloc_mem_fp() 1846 memset((void *)fp->txqs, 0, (edev->num_tc * sizeof(*fp->txqs))); in qede_init_fp() 1849 fp->txqs[tc].index = txq_index; in qede_init_fp() [all …]
|
/linux-4.4.14/net/ethernet/ |
D | eth.c | 382 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, in alloc_etherdev_mqs() argument 386 ether_setup, txqs, rxqs); in alloc_etherdev_mqs()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | mvneta.c | 356 struct mvneta_tx_queue *txqs; member 815 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_port_up() 1369 return &pp->txqs[queue]; in mvneta_tx_done_policy() 1802 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; in mvneta_tx() 2232 mvneta_txq_done_force(pp, &pp->txqs[queue]); in mvneta_tx_reset() 2396 mvneta_txq_deinit(pp, &pp->txqs[queue]); in mvneta_cleanup_txqs() 2426 int err = mvneta_txq_init(pp, &pp->txqs[queue]); in mvneta_setup_txqs() 2969 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_ethtool_set_coalesce() 2986 c->tx_max_coalesced_frames = pp->txqs[0].done_pkts_coal; in mvneta_ethtool_get_coalesce() 3138 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(struct mvneta_tx_queue), in mvneta_init() [all …]
|
D | mvpp2.c | 685 struct mvpp2_tx_queue **txqs; member 4029 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_egress_enable() 4316 int id = port->txqs[queue]->id; in mvpp2_txq_sent_counter_clear() 4433 return port->txqs[queue]; in mvpp2_get_tx_queue() 4791 txq = port->txqs[queue]; in mvpp2_cleanup_txqs() 4835 txq = port->txqs[queue]; in mvpp2_setup_txqs() 5264 txq = port->txqs[txq_id]; in mvpp2_tx() 5865 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_ethtool_set_coalesce() 5881 c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal; in mvpp2_ethtool_get_coalesce() 6016 port->txqs = devm_kcalloc(dev, txq_number, sizeof(*port->txqs), in mvpp2_port_init() [all …]
|
/linux-4.4.14/drivers/net/wan/ |
D | farsync.c | 441 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.4.14/include/linux/ |
D | etherdevice.h | 49 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
|
D | netdevice.h | 3424 unsigned int txqs, unsigned int rxqs);
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | mac80211.c | 2612 unsigned long txqs = 0, tids = 0; in iwl_mvm_mac_sta_notify() local 2623 __set_bit(tid_data->txq_id, &txqs); in iwl_mvm_mac_sta_notify() 2639 if (txqs) in iwl_mvm_mac_sta_notify() 2640 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in iwl_mvm_mac_sta_notify() 2651 if (txqs) in iwl_mvm_mac_sta_notify() 2652 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in iwl_mvm_mac_sta_notify()
|
/linux-4.4.14/net/mac80211/ |
D | iface.c | 1700 int txqs = 1; in ieee80211_if_add() local 1727 txqs = IEEE80211_NUM_ACS; in ieee80211_if_add() 1731 ieee80211_if_setup, txqs, 1); in ieee80211_if_add()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
D | trans.c | 1634 unsigned long txqs, in iwl_trans_pcie_freeze_txq_timer() argument 1640 for_each_set_bit(queue, &txqs, BITS_PER_LONG) { in iwl_trans_pcie_freeze_txq_timer()
|
/linux-4.4.14/net/core/ |
D | dev.c | 7064 unsigned int txqs, unsigned int rxqs) in alloc_netdev_mqs() argument 7072 if (txqs < 1) { in alloc_netdev_mqs() 7136 dev->num_tx_queues = txqs; in alloc_netdev_mqs() 7137 dev->real_num_tx_queues = txqs; in alloc_netdev_mqs()
|