/Linux-v4.19/drivers/net/wireless/ath/ath5k/ |
D | mac80211-ops.c | 69 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()
|
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 | 842 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in read_file_queue() 843 txq = &ah->txqs[i]; in read_file_queue()
|
D | ath5k.h | 1318 struct ath5k_txq txqs[AR5K_NUM_TX_QUEUES]; /* tx queues */ member
|
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 251 update_tx_stats(nic_dev, &nic_dev->txqs[i]); in update_nic_stats() 266 if (nic_dev->txqs) in create_txqs() 269 txq_size = num_txqs * sizeof(*nic_dev->txqs); in create_txqs() 270 nic_dev->txqs = devm_kzalloc(&netdev->dev, txq_size, GFP_KERNEL); in create_txqs() 271 if (!nic_dev->txqs) in create_txqs() 277 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); in create_txqs() 289 hinic_clean_txq(&nic_dev->txqs[j]); in create_txqs() 291 devm_kfree(&netdev->dev, nic_dev->txqs); in create_txqs() 304 if (!nic_dev->txqs) in free_txqs() 308 hinic_clean_txq(&nic_dev->txqs[i]); in free_txqs() [all …]
|
D | hinic_dev.h | 57 struct hinic_txq *txqs; member
|
D | hinic_tx.c | 189 txq = &nic_dev->txqs[skb->queue_mapping]; in hinic_xmit_frame()
|
/Linux-v4.19/net/ethernet/ |
D | eth.c | 388 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, in alloc_etherdev_mqs() argument 392 ether_setup, txqs, rxqs); in alloc_etherdev_mqs() 402 unsigned int txqs, unsigned int rxqs) in devm_alloc_etherdev_mqs() argument 411 netdev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); in devm_alloc_etherdev_mqs()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.h | 584 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs, 1044 unsigned long txqs, in iwl_trans_freeze_txq_timer() argument 1053 trans->ops->freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer() 1069 u32 txqs) in iwl_trans_wait_tx_queues_empty() argument 1079 return trans->ops->wait_tx_queues_empty(trans, txqs); in iwl_trans_wait_tx_queues_empty()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.h | 130 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs);
|
D | nfp_net_repr.c | 366 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs) in nfp_repr_alloc_mqs() argument 371 netdev = alloc_etherdev_mqs(sizeof(*repr), txqs, rxqs); in nfp_repr_alloc_mqs()
|
/Linux-v4.19/include/linux/ |
D | etherdevice.h | 52 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, 58 unsigned int txqs,
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 373 unsigned int txqs; in nfp_abm_spawn_repr() local 378 txqs = 1; in nfp_abm_spawn_repr() 381 txqs = alink->vnic->max_rx_rings; in nfp_abm_spawn_repr() 384 netdev = nfp_repr_alloc_mqs(app, txqs, 1); in nfp_abm_spawn_repr()
|
/Linux-v4.19/include/linux/can/ |
D | dev.h | 147 unsigned int txqs, unsigned int rxqs);
|
/Linux-v4.19/drivers/net/ethernet/marvell/ |
D | mvneta.c | 412 struct mvneta_tx_queue *txqs; member 1146 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_port_up() 1748 return &pp->txqs[queue]; in mvneta_tx_done_policy() 2402 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; in mvneta_tx() 2863 mvneta_txq_done_force(pp, &pp->txqs[queue]); in mvneta_tx_reset() 3099 mvneta_txq_deinit(pp, &pp->txqs[queue]); in mvneta_cleanup_txqs() 3137 int err = mvneta_txq_init(pp, &pp->txqs[queue]); in mvneta_setup_txqs() 3918 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_ethtool_set_coalesce() 3935 c->tx_max_coalesced_frames = pp->txqs[0].done_pkts_coal; in mvneta_ethtool_get_coalesce() 4308 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(*pp->txqs), GFP_KERNEL); in mvneta_init() [all …]
|
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 1505 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_egress_enable() 1790 int id = port->txqs[queue]->id; in mvpp2_txq_sent_counter_clear() 1967 return port->txqs[queue]; in mvpp2_get_tx_queue() 2351 txq = port->txqs[queue]; in mvpp2_cleanup_txqs() 2395 txq = port->txqs[queue]; in mvpp2_setup_txqs() 2404 txq = port->txqs[queue]; in mvpp2_setup_txqs() 2922 txq = port->txqs[txq_id]; in mvpp2_tx() 3682 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_ethtool_set_coalesce() 3701 c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal; in mvpp2_ethtool_get_coalesce() 4108 port->txqs = devm_kcalloc(dev, port->ntxqs, sizeof(*port->txqs), in mvpp2_port_init() [all …]
|
D | mvpp2.h | 817 struct mvpp2_tx_queue **txqs; member
|
/Linux-v4.19/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 port->txqs = 0; in fst_openport() 2302 if ((txq_length = port->txqe - port->txqs) < 0) { in fst_start_xmit()
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 1797 (sizeof(*qg_list) - sizeof(*qg_list->txqs)); in ice_aq_add_lan_txq() 1801 struct ice_aqc_add_txqs_perq *q = list->txqs; in ice_aq_add_lan_txq() 2140 buf->txqs[0].info.valid_sections = ICE_AQC_ELEM_VALID_GENERIC; in ice_ena_vsi_txq() 2147 node.node_teid = buf->txqs[0].q_teid; in ice_ena_vsi_txq()
|
D | ice_adminq_cmd.h | 1155 struct ice_aqc_add_txqs_perq txqs[1]; member
|
/Linux-v4.19/drivers/net/can/ |
D | dev.c | 705 unsigned int txqs, unsigned int rxqs) in alloc_candev_mqs() argument 718 txqs, rxqs); in alloc_candev_mqs()
|
/Linux-v4.19/net/mac80211/ |
D | iface.c | 1735 int txqs = 1; in ieee80211_if_add() local 1770 txqs = IEEE80211_NUM_ACS; in ieee80211_if_add() 1774 if_setup, txqs, 1); in ieee80211_if_add()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 2609 unsigned long txqs = 0, tids = 0; in __iwl_mvm_mac_sta_notify() local 2627 __set_bit(tid_data->txq_id, &txqs); in __iwl_mvm_mac_sta_notify() 2640 if (txqs) in __iwl_mvm_mac_sta_notify() 2641 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in __iwl_mvm_mac_sta_notify() 2652 if (txqs) in __iwl_mvm_mac_sta_notify() 2653 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in __iwl_mvm_mac_sta_notify()
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | core.h | 1020 struct list_head txqs; member
|
D | mac.c | 4031 last = list_last_entry(&ar->txqs, struct ath10k_txq, list); in ath10k_mac_tx_push_pending() 4032 while (!list_empty(&ar->txqs)) { in ath10k_mac_tx_push_pending() 4033 artxq = list_first_entry(&ar->txqs, struct ath10k_txq, list); in ath10k_mac_tx_push_pending() 4048 list_add_tail(&artxq->list, &ar->txqs); in ath10k_mac_tx_push_pending() 4304 list_add_tail(&artxq->list, &ar->txqs); in ath10k_mac_op_wake_tx_queue() 4306 f_artxq = list_first_entry(&ar->txqs, struct ath10k_txq, list); in ath10k_mac_op_wake_tx_queue() 4316 list_add_tail(&f_artxq->list, &ar->txqs); in ath10k_mac_op_wake_tx_queue()
|