/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.c | 46 trans->txqs.tfd.addr_size = 64; 47 trans->txqs.tfd.max_tbs = IWL_TFH_NUM_TBS; 48 trans->txqs.tfd.size = sizeof(struct iwl_tfh_tfd); 50 trans->txqs.tfd.addr_size = 36; 51 trans->txqs.tfd.max_tbs = IWL_NUM_OF_TBS; 52 trans->txqs.tfd.size = sizeof(struct iwl_tfd); 82 trans->txqs.bc_tbl_size = 85 trans->txqs.bc_tbl_size = 88 trans->txqs.bc_tbl_size = sizeof(struct iwlagn_scd_bc_tbl); 95 trans->txqs [all...] |
H A D | iwl-trans.h | 174 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3) 615 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs, 1102 * @txqs: transport tx queues data. 1172 struct iwl_trans_txqs txqs; member in struct:iwl_trans 1434 unsigned long txqs, 1443 trans->ops->freeze_txq_timer(trans, txqs, freeze); 1447 u32 txqs) 1458 return trans->ops->wait_tx_queues_empty(trans, txqs); 1433 iwl_trans_freeze_txq_timer(struct iwl_trans *trans, unsigned long txqs, bool freeze) argument 1446 iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, u32 txqs) argument
|
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx.c | 87 txq_id != trans->txqs.cmd.q_id && 121 struct iwl_txq *txq = trans->txqs.txq[i]; 123 if (!test_bit(i, trans->txqs.queue_used)) 141 tfd = (u8 *)txq->tfds + trans->txqs.tfd.size * txq->write_ptr; 144 memset(tfd, 0, trans->txqs.tfd.size); 149 if (num_tbs >= trans->txqs.tfd.max_tbs) { 151 trans->txqs.tfd.max_tbs); 189 struct iwl_txq *txq = trans->txqs.txq[txq_id]; 201 if (txq_id != trans->txqs.cmd.q_id) { 213 txq_id == trans->txqs [all...] |
H A D | tx-gen2.c | 31 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; 146 cpu_to_le16(QUEUE_TO_SEQ(trans->txqs.cmd.q_id) | 194 cmd_size, txq->write_ptr, idx, trans->txqs.cmd.q_id);
|
H A D | trans-gen2.c | 250 if (iwl_txq_gen2_init(trans, trans->txqs.cmd.q_id, queue_size)) 349 memset(trans->txqs.queue_stopped, 0, 350 sizeof(trans->txqs.queue_stopped)); 351 memset(trans->txqs.queue_used, 0, sizeof(trans->txqs.queue_used));
|
H A D | ctxt-info.c | 221 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr);
|
H A D | trans.c | 1959 trans->txqs.cmd.q_id = trans_cfg->cmd_queue; 1960 trans->txqs.cmd.fifo = trans_cfg->cmd_fifo; 1961 trans->txqs.cmd.wdg_timeout = trans_cfg->cmd_q_wdg_timeout; 1962 trans->txqs.page_offs = trans_cfg->cb_data_offs; 1963 trans->txqs.dev_cmd_offs = trans_cfg->cb_data_offs + sizeof(void *); 1964 trans->txqs.queue_alloc_cmd_ver = trans_cfg->queue_alloc_cmd_ver; 1983 trans->txqs.bc_table_dword = trans_cfg->bc_table_dword; 2409 if (!test_bit(txq_idx, trans->txqs.queue_used)) 2413 txq = trans->txqs.txq[txq_idx]; 2469 if (cnt == trans->txqs [all...] |
H A D | ctxt-info-gen3.c | 190 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 50 WARN_ON(trans->txqs.bc_table_dword); 58 WARN_ON(!trans->txqs.bc_table_dword); 109 if (le16_to_cpu(tfd->num_tbs) >= trans->txqs.tfd.max_tbs) { 111 trans->txqs.tfd.max_tbs); 140 if (num_tbs > trans->txqs.tfd.max_tbs) { 196 page_ptr = (void *)((u8 *)skb->cb + trans->txqs.page_offs); 295 struct iwl_tso_hdr_page *p = this_cpu_ptr(trans->txqs.tso_hdr_page); 298 page_ptr = (void *)((u8 *)skb->cb + trans->txqs.page_offs); 727 struct iwl_txq *txq = trans->txqs.txq[txq_id]; 736 if (WARN_ONCE(!test_bit(txq_id, trans->txqs 1717 iwl_trans_txq_freeze_timer(struct iwl_trans *trans, unsigned long txqs, bool freeze) argument [all...] |
H A D | tx.h | 32 if (test_and_clear_bit(txq->id, trans->txqs.queue_stopped)) { 44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx; 63 if (!test_and_set_bit(txq->id, trans->txqs.queue_stopped)) { 186 void iwl_trans_txq_freeze_timer(struct iwl_trans *trans, unsigned long txqs,
|
/linux-master/net/ |
H A D | devres.c | 22 unsigned int txqs, unsigned int rxqs) 30 dr->ndev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); 21 devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv, unsigned int txqs, unsigned int rxqs) argument
|
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | mac80211-ops.c | 69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); 745 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; 765 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { 766 if (!ah->txqs[qnum].setup) 768 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || 769 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) 772 ah->txqs[qnum].txq_max = tx; 773 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) 774 ieee80211_stop_queue(hw, ah->txqs[qnu [all...] |
H A D | base.c | 1055 txq = &ah->txqs[qnum]; 1067 return &ah->txqs[qnum]; 1161 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { 1162 if (ah->txqs[i].setup) { 1163 txq = &ah->txqs[i]; 1186 struct ath5k_txq *txq = ah->txqs; 1189 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++, txq++) 1838 if (ah->txqs[i].setup && (ah->ah_txq_isr_txok_all & BIT(i))) 1839 ath5k_tx_processq(ah, &ah->txqs[i]); 2054 trace_ath5k_tx(ah, bf->skb, &ah->txqs[a [all...] |
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_main.c | 120 gather_tx_stats(nic_tx_stats, &nic_dev->txqs[i]); 134 if (nic_dev->txqs) 137 nic_dev->txqs = devm_kcalloc(&netdev->dev, num_txqs, 138 sizeof(*nic_dev->txqs), GFP_KERNEL); 139 if (!nic_dev->txqs) 147 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); 165 hinic_clean_txq(&nic_dev->txqs[i]); 168 hinic_sq_debug_rem(nic_dev->txqs[j].sq); 169 hinic_clean_txq(&nic_dev->txqs[j]); 174 devm_kfree(&netdev->dev, nic_dev->txqs); [all...] |
H A D | hinic_dev.h | 97 struct hinic_txq *txqs; member in struct:hinic_dev
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_tx.c | 593 txp.txq = &priv->txqs[skb_get_queue_mapping(skb)]; 697 priv->txqs = kcalloc_node(dev->num_tx_queues, 701 if (!priv->txqs) 705 struct hfi1_ipoib_txq *txq = &priv->txqs[i]; 756 struct hfi1_ipoib_txq *txq = &priv->txqs[i]; 765 kfree(priv->txqs); 766 priv->txqs = NULL; 799 struct hfi1_ipoib_txq *txq = &priv->txqs[i]; 812 kfree(priv->txqs); 813 priv->txqs [all...] |
H A D | ipoib.h | 125 struct hfi1_ipoib_txq *txqs; member in struct:hfi1_ipoib_dev_priv
|
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth.h | 67 struct funeth_txq **txqs; member in struct:fun_qset 88 struct funeth_txq **txqs; member in struct:funeth_priv
|
H A D | funeth_main.c | 350 static void free_txqs(struct funeth_txq **txqs, unsigned int nqs, argument 355 for (i = start; i < nqs && txqs[i]; i++) 356 txqs[i] = funeth_txq_free(txqs[i], state); 359 static int alloc_txqs(struct net_device *dev, struct funeth_txq **txqs, argument 369 state, &txqs[i]); 371 free_txqs(txqs, nqs, start, FUN_QSTATE_DESTROYED); 453 qset->txqs = fp->txqs; 465 fp->txqs 481 struct funeth_txq **xdpqs = NULL, **txqs; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_repr.h | 102 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs);
|
/linux-master/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | main.c | 85 unsigned int txqs; local 90 txqs = 1; 93 txqs = alink->vnic->max_rx_rings; 96 netdev = nfp_repr_alloc_mqs(app, txqs, 1);
|
/linux-master/include/linux/can/ |
H A D | dev.h | 174 unsigned int txqs, unsigned int rxqs);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_base.c | 889 u8 buf_len = struct_size(qg_buf, txqs, 1); 905 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); 906 ice_set_ctx(hw, (u8 *)&tlan_ctx, qg_buf->txqs[0].txq_ctx, 949 txq = &qg_buf->txqs[0]; 959 DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); 981 DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1);
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.c | 153 idpf_tx_desc_rel(txq_grp->txqs[j], true); 271 struct idpf_queue *txq = vport->txq_grps[i].txqs[j]; 814 kfree(txq_grp->txqs[j]); 815 txq_grp->txqs[j] = NULL; 904 kfree(vport->txqs); 905 vport->txqs = NULL; 910 * @vport: vport to init txqs on 922 vport->txqs = kcalloc(vport->num_txq, sizeof(struct idpf_queue *), 925 if (!vport->txqs) 932 vport->txqs[ [all...] |
/linux-master/drivers/net/can/dev/ |
H A D | dev.c | 250 unsigned int txqs, unsigned int rxqs) 277 txqs, rxqs); 249 alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, unsigned int txqs, unsigned int rxqs) argument
|