/Linux-v5.4/drivers/net/wireless/ath/ath5k/ |
D | mac80211-ops.c | 69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx() 744 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; in ath5k_get_ringparam() 764 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam() 765 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam() 767 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam() 768 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam() 771 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam() 772 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam() 773 ieee80211_stop_queue(hw, ah->txqs[qnum].qnum); in ath5k_set_ringparam()
|
D | base.c | 1010 txq = &ah->txqs[qnum]; in ath5k_txq_setup() 1022 return &ah->txqs[qnum]; in ath5k_txq_setup() 1116 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in ath5k_drain_tx_buffs() 1117 if (ah->txqs[i].setup) { in ath5k_drain_tx_buffs() 1118 txq = &ah->txqs[i]; in ath5k_drain_tx_buffs() 1141 struct ath5k_txq *txq = ah->txqs; in ath5k_txq_release() 1144 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++, txq++) in ath5k_txq_release() 1793 if (ah->txqs[i].setup && (ah->ah_txq_isr_txok_all & BIT(i))) in ath5k_tasklet_tx() 1794 ath5k_tx_processq(ah, &ah->txqs[i]); in ath5k_tasklet_tx() 2009 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-v5.4/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 123 update_tx_stats(nic_dev, &nic_dev->txqs[i]); in update_nic_stats() 138 if (nic_dev->txqs) in create_txqs() 141 txq_size = num_txqs * sizeof(*nic_dev->txqs); in create_txqs() 142 nic_dev->txqs = devm_kzalloc(&netdev->dev, txq_size, GFP_KERNEL); in create_txqs() 143 if (!nic_dev->txqs) in create_txqs() 149 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); in create_txqs() 161 hinic_clean_txq(&nic_dev->txqs[j]); in create_txqs() 163 devm_kfree(&netdev->dev, nic_dev->txqs); in create_txqs() 176 if (!nic_dev->txqs) in free_txqs() 180 hinic_clean_txq(&nic_dev->txqs[i]); in free_txqs() [all …]
|
D | hinic_dev.h | 68 struct hinic_txq *txqs; member
|
D | hinic_ethtool.c | 609 if (!nic_dev->txqs) in get_drv_queue_stats() 612 hinic_txq_get_stats(&nic_dev->txqs[qid], &txq_stats); in get_drv_queue_stats()
|
D | hinic_tx.c | 473 txq = &nic_dev->txqs[q_id]; in hinic_xmit_frame()
|
/Linux-v5.4/net/ethernet/ |
D | eth.c | 406 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, in alloc_etherdev_mqs() argument 410 ether_setup, txqs, rxqs); in alloc_etherdev_mqs() 420 unsigned int txqs, unsigned int rxqs) in devm_alloc_etherdev_mqs() argument 429 netdev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); in devm_alloc_etherdev_mqs()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 85 unsigned int txqs; in nfp_abm_spawn_repr() local 90 txqs = 1; in nfp_abm_spawn_repr() 93 txqs = alink->vnic->max_rx_rings; in nfp_abm_spawn_repr() 96 netdev = nfp_repr_alloc_mqs(app, txqs, 1); in nfp_abm_spawn_repr()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.h | 572 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs, 1074 unsigned long txqs, in iwl_trans_freeze_txq_timer() argument 1083 trans->ops->freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer() 1099 u32 txqs) in iwl_trans_wait_tx_queues_empty() argument 1109 return trans->ops->wait_tx_queues_empty(trans, txqs); in iwl_trans_wait_tx_queues_empty()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.h | 102 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs);
|
D | nfp_net_repr.c | 406 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs) in nfp_repr_alloc_mqs() argument 411 netdev = alloc_etherdev_mqs(sizeof(*repr), txqs, rxqs); in nfp_repr_alloc_mqs()
|
/Linux-v5.4/include/linux/ |
D | etherdevice.h | 49 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, 55 unsigned int txqs,
|
/Linux-v5.4/include/linux/can/ |
D | dev.h | 147 unsigned int txqs, unsigned int rxqs);
|
/Linux-v5.4/drivers/net/ethernet/marvell/ |
D | mvneta.c | 414 struct mvneta_tx_queue *txqs; member 1150 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_port_up() 1752 return &pp->txqs[queue]; in mvneta_tx_done_policy() 2403 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; in mvneta_tx() 2865 mvneta_txq_done_force(pp, &pp->txqs[queue]); in mvneta_tx_reset() 3103 mvneta_txq_deinit(pp, &pp->txqs[queue]); in mvneta_cleanup_txqs() 3141 int err = mvneta_txq_init(pp, &pp->txqs[queue]); in mvneta_setup_txqs() 3980 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_ethtool_set_coalesce() 3997 c->tx_max_coalesced_frames = pp->txqs[0].done_pkts_coal; in mvneta_ethtool_get_coalesce() 4369 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(*pp->txqs), GFP_KERNEL); in mvneta_init() [all …]
|
/Linux-v5.4/drivers/net/wan/ |
D | farsync.c | 437 int txqs; /* index to get next buffer to tx */ member 1349 if ((txq_length = port->txqe - port->txqs) < 0) { in do_bottom_half_tx() 1362 skb = port->txq[port->txqs]; in do_bottom_half_tx() 1363 port->txqs++; in do_bottom_half_tx() 1364 if (port->txqs == FST_TXQ_DEPTH) { in do_bottom_half_tx() 1365 port->txqs = 0; in do_bottom_half_tx() 2160 port->txqs = 0; in fst_openport() 2298 if ((txq_length = port->txqe - port->txqs) < 0) { in fst_start_xmit()
|
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 1791 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_egress_enable() 2085 int id = port->txqs[queue]->id; in mvpp2_txq_sent_counter_clear() 2263 return port->txqs[queue]; in mvpp2_get_tx_queue() 2648 txq = port->txqs[queue]; in mvpp2_cleanup_txqs() 2692 txq = port->txqs[queue]; in mvpp2_setup_txqs() 2705 txq = port->txqs[queue]; in mvpp2_setup_txqs() 3216 txq = port->txqs[txq_id]; in mvpp2_tx() 4060 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_ethtool_set_coalesce() 4079 c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal; in mvpp2_ethtool_get_coalesce() 4560 port->txqs = devm_kcalloc(dev, port->ntxqs, sizeof(*port->txqs), in mvpp2_port_init() [all …]
|
D | mvpp2.h | 908 struct mvpp2_tx_queue **txqs; member
|
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 2805 (sizeof(*qg_list) - sizeof(*qg_list->txqs)); in ice_aq_add_lan_txq() 2809 struct ice_aqc_add_txqs_perq *q = list->txqs; in ice_aq_add_lan_txq() 3234 buf->txqs[0].info.valid_sections = ICE_AQC_ELEM_VALID_GENERIC; in ice_ena_vsi_txq() 3240 le16_to_cpu(buf->txqs[0].txq_id), in ice_ena_vsi_txq() 3245 node.node_teid = buf->txqs[0].q_teid; in ice_ena_vsi_txq()
|
D | ice_lib.c | 1736 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq() 1737 ice_set_ctx((u8 *)&tlan_ctx, qg_buf->txqs[0].txq_ctx, in ice_vsi_cfg_txq() 1763 txq = &qg_buf->txqs[0]; in ice_vsi_cfg_txq()
|
/Linux-v5.4/drivers/net/can/ |
D | dev.c | 711 unsigned int txqs, unsigned int rxqs) in alloc_candev_mqs() argument 737 txqs, rxqs); in alloc_candev_mqs()
|
/Linux-v5.4/net/mac80211/ |
D | iface.c | 1733 int txqs = 1; in ieee80211_if_add() local 1767 txqs = IEEE80211_NUM_ACS; in ieee80211_if_add() 1772 if_setup, txqs, 1); in ieee80211_if_add()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 2761 unsigned long txqs = 0, tids = 0; in __iwl_mvm_mac_sta_notify() local 2779 __set_bit(tid_data->txq_id, &txqs); in __iwl_mvm_mac_sta_notify() 2792 if (txqs) in __iwl_mvm_mac_sta_notify() 2793 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in __iwl_mvm_mac_sta_notify() 2804 if (txqs) in __iwl_mvm_mac_sta_notify() 2805 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in __iwl_mvm_mac_sta_notify()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 757 .txqs = nch * MLX5E_MAX_NUM_TC, in mlx5_rdma_rn_get_params()
|