Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx()
746 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; in ath5k_get_ringparam()
766 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam()
767 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam()
769 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam()
770 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam()
773 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam()
774 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam()
775 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.h1318 struct ath5k_txq txqs[AR5K_NUM_TX_QUEUES]; /* tx queues */ member
/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h650 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
1116 unsigned long txqs, in iwl_trans_freeze_txq_timer() argument
1125 trans->ops->freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer()
1141 u32 txqs) in iwl_trans_wait_tx_queue_empty() argument
1148 return trans->ops->wait_tx_queue_empty(trans, txqs); in iwl_trans_wait_tx_queue_empty()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c866 if (qede_txq_has_work(&fp->txqs[tc])) in qede_has_tx_work()
1627 qede_txq_has_work(&fp->txqs[tc])) in qede_poll()
1628 qede_tx_int(edev, &fp->txqs[tc]); in qede_poll()
2373 kfree(fp->txqs); in qede_free_fp_array()
2423 fp->txqs = kcalloc(edev->num_tc, sizeof(*fp->txqs), in qede_alloc_fp_array()
2425 if (!fp->txqs) { in qede_alloc_fp_array()
2978 qede_free_mem_txq(edev, &fp->txqs[tc]); in qede_free_mem_fp()
3000 rc = qede_alloc_mem_txq(edev, &fp->txqs[tc]); in qede_alloc_mem_fp()
3065 memset((void *)fp->txqs, 0, in qede_init_fp()
3066 (edev->num_tc * sizeof(*fp->txqs))); in qede_init_fp()
[all …]
Dqede.h151 (&(edev)->fp_array[QEDE_TX_IDX((edev), (txqidx))].txqs[QEDE_TC_IDX(\
310 struct qede_tx_queue *txqs; member
Dqede_ethtool.c63 (*((u64 *)(((void *)(&dev->fp_array[tssid].txqs[tcid])) +\
1146 txq = edev->fp_array[i].txqs; in qede_selftest_transmit_traffic()
/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()
/drivers/net/ethernet/marvell/
Dmvneta.c384 struct mvneta_tx_queue *txqs; member
1077 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_port_up()
1722 return &pp->txqs[queue]; in mvneta_tx_done_policy()
2304 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; in mvneta_tx()
2746 mvneta_txq_done_force(pp, &pp->txqs[queue]); in mvneta_tx_reset()
2921 mvneta_txq_deinit(pp, &pp->txqs[queue]); in mvneta_cleanup_txqs()
2959 int err = mvneta_txq_init(pp, &pp->txqs[queue]); in mvneta_setup_txqs()
3596 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_ethtool_set_coalesce()
3613 c->tx_max_coalesced_frames = pp->txqs[0].done_pkts_coal; in mvneta_ethtool_get_coalesce()
3868 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(struct mvneta_tx_queue), in mvneta_init()
[all …]
Dmvpp2.c684 struct mvpp2_tx_queue **txqs; member
4036 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_egress_enable()
4323 int id = port->txqs[queue]->id; in mvpp2_txq_sent_counter_clear()
4438 return port->txqs[queue]; in mvpp2_get_tx_queue()
4778 txq = port->txqs[queue]; in mvpp2_cleanup_txqs()
4822 txq = port->txqs[queue]; in mvpp2_setup_txqs()
5251 txq = port->txqs[txq_id]; in mvpp2_tx()
5838 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_ethtool_set_coalesce()
5854 c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal; in mvpp2_ethtool_get_coalesce()
5989 port->txqs = devm_kcalloc(dev, txq_number, sizeof(*port->txqs), in mvpp2_port_init()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c2336 unsigned long txqs = 0, tids = 0; in iwl_mvm_mac_sta_notify() local
2348 __set_bit(tid_data->txq_id, &txqs); in iwl_mvm_mac_sta_notify()
2364 if (txqs) in iwl_mvm_mac_sta_notify()
2365 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in iwl_mvm_mac_sta_notify()
2376 if (txqs) in iwl_mvm_mac_sta_notify()
2377 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in iwl_mvm_mac_sta_notify()
/drivers/net/wireless/ath/ath10k/
Dcore.h828 struct list_head txqs; member
Dmac.c3891 last = list_last_entry(&ar->txqs, struct ath10k_txq, list); in ath10k_mac_tx_push_pending()
3892 while (!list_empty(&ar->txqs)) { in ath10k_mac_tx_push_pending()
3893 artxq = list_first_entry(&ar->txqs, struct ath10k_txq, list); in ath10k_mac_tx_push_pending()
3908 list_add_tail(&artxq->list, &ar->txqs); in ath10k_mac_tx_push_pending()
4163 list_add_tail(&artxq->list, &ar->txqs); in ath10k_mac_op_wake_tx_queue()
4165 f_artxq = list_first_entry(&ar->txqs, struct ath10k_txq, list); in ath10k_mac_op_wake_tx_queue()
4175 list_add_tail(&f_artxq->list, &ar->txqs); in ath10k_mac_op_wake_tx_queue()
Dcore.c2347 INIT_LIST_HEAD(&ar->txqs); in ath10k_core_create()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c1941 unsigned long txqs, in iwl_trans_pcie_freeze_txq_timer() argument
1947 for_each_set_bit(queue, &txqs, BITS_PER_LONG) { in iwl_trans_pcie_freeze_txq_timer()