Home
last modified time | relevance | path

Searched refs:txq_id (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c76 int txq_id = txq->id; in iwl_pcie_txq_inc_wr_ptr() local
87 txq_id != trans->txqs.cmd.q_id && in iwl_pcie_txq_inc_wr_ptr()
98 txq_id, reg); in iwl_pcie_txq_inc_wr_ptr()
110 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq_id, txq->write_ptr); in iwl_pcie_txq_inc_wr_ptr()
113 txq->write_ptr | (txq_id << 8)); in iwl_pcie_txq_inc_wr_ptr()
187 static void iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) in iwl_pcie_txq_unmap() argument
189 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_pcie_txq_unmap()
199 txq_id, txq->read_ptr); in iwl_pcie_txq_unmap()
201 if (txq_id != trans->txqs.cmd.q_id) { in iwl_pcie_txq_unmap()
213 txq_id == trans->txqs.cmd.q_id) in iwl_pcie_txq_unmap()
[all …]
Dinternal.h529 void iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id,
532 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-scd.h14 u16 txq_id) in iwl_scd_txq_set_chain() argument
16 iwl_set_bits_prph(trans, SCD_QUEUECHAIN_SEL, BIT(txq_id)); in iwl_scd_txq_set_chain()
20 u16 txq_id) in iwl_scd_txq_enable_agg() argument
22 iwl_set_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); in iwl_scd_txq_enable_agg()
26 u16 txq_id) in iwl_scd_txq_disable_agg() argument
28 iwl_clear_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); in iwl_scd_txq_disable_agg()
77 u16 txq_id) in iwl_scd_txq_set_inactive() argument
79 iwl_write_prph(trans, SCD_QUEUE_STATUS_BITS(txq_id), in iwl_scd_txq_set_inactive()
Diwl-trans.h608 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c273 int txq_id; in iwlagn_tx_skb() local
414 txq_id = info->hw_queue; in iwlagn_tx_skb()
417 txq_id = priv->tid_data[sta_id][tid].agg.txq_id; in iwlagn_tx_skb()
428 priv->queue_to_mac80211[txq_id] != info->hw_queue); in iwlagn_tx_skb()
431 txq_id, seq_number); in iwlagn_tx_skb()
433 if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id)) in iwlagn_tx_skb()
486 int sta_id, txq_id; in iwlagn_tx_agg_stop() local
499 txq_id = tid_data->agg.txq_id; in iwlagn_tx_agg_stop()
531 if (!test_bit(txq_id, priv->agg_q_alloc)) { in iwlagn_tx_agg_stop()
534 sta_id, tid, txq_id); in iwlagn_tx_agg_stop()
[all …]
Ddev.h148 u16 txq_id; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c723 struct iwl_device_tx_cmd *dev_cmd, int txq_id) in iwl_txq_gen2_tx() argument
726 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_tx()
731 if (WARN_ONCE(txq_id >= IWL_MAX_TVQM_QUEUES, in iwl_txq_gen2_tx()
732 "queue %d out of range", txq_id)) in iwl_txq_gen2_tx()
735 if (WARN_ONCE(!test_bit(txq_id, trans->txqs.queue_used), in iwl_txq_gen2_tx()
736 "TX on unused queue %d\n", txq_id)) in iwl_txq_gen2_tx()
770 cpu_to_le16((u16)(QUEUE_TO_SEQ(txq_id) | in iwl_txq_gen2_tx()
819 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id) in iwl_txq_gen2_unmap() argument
821 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_unmap()
826 txq_id, txq->read_ptr); in iwl_txq_gen2_unmap()
[all …]
Dtx.h27 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id);
120 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
128 int iwl_txq_gen2_init(struct iwl_trans *trans, int txq_id, int queue_size);
181 void iwl_txq_reclaim(struct iwl_trans *trans, int txq_id, int ssn,
183 void iwl_txq_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr);
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c1655 int txq_id; in il4965_tx_skb() local
1725 txq_id = skb_get_queue_mapping(skb); in il4965_tx_skb()
1746 txq_id = il->stations[sta_id].tid[tid].agg.txq_id; in il4965_tx_skb()
1751 txq = &il->txq[txq_id]; in il4965_tx_skb()
1785 (QUEUE_TO_SEQ(txq_id) | IDX_TO_SEQ(q->write_ptr))); in il4965_tx_skb()
1943 int txq_id; in il4965_hw_txq_ctx_free() local
1947 for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) in il4965_hw_txq_ctx_free()
1948 if (txq_id == il->cmd_queue) in il4965_hw_txq_ctx_free()
1951 il_tx_queue_free(il, txq_id); in il4965_hw_txq_ctx_free()
1968 int ret, txq_id; in il4965_txq_ctx_alloc() local
[all …]
D3945.c272 il3945_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx) in il3945_tx_queue_reclaim() argument
274 struct il_tx_queue *txq = &il->txq[txq_id]; in il3945_tx_queue_reclaim()
278 BUG_ON(txq_id == IL39_CMD_QUEUE_NUM); in il3945_tx_queue_reclaim()
289 if (il_queue_space(q) > q->low_mark && txq_id >= 0 && in il3945_tx_queue_reclaim()
290 txq_id != IL39_CMD_QUEUE_NUM && il->mac80211_registered) in il3945_tx_queue_reclaim()
302 int txq_id = SEQ_TO_QUEUE(sequence); in il3945_hdl_tx() local
304 struct il_tx_queue *txq = &il->txq[txq_id]; in il3945_hdl_tx()
313 "is out of range [0-%d] %d %d\n", txq_id, idx, in il3945_hdl_tx()
350 D_TX("Tx queue %d Status %s (0x%08x) plcp rate %d retries %d\n", txq_id, in il3945_hdl_tx()
355 il3945_tx_queue_reclaim(il, txq_id, idx); in il3945_hdl_tx()
[all …]
D4965.h70 int il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id);
71 int il4965_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx);
81 void il4965_set_wr_ptrs(struct il_priv *il, int txq_id, u32 idx);
Dcommon.c2710 int txq_id = txq->q.id; in il_txq_update_write_ptr() local
2724 txq_id, reg); in il_txq_update_write_ptr()
2730 il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); in il_txq_update_write_ptr()
2738 _il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); in il_txq_update_write_ptr()
2747 il_tx_queue_unmap(struct il_priv *il, int txq_id) in il_tx_queue_unmap() argument
2749 struct il_tx_queue *txq = &il->txq[txq_id]; in il_tx_queue_unmap()
2771 il_tx_queue_free(struct il_priv *il, int txq_id) in il_tx_queue_free() argument
2773 struct il_tx_queue *txq = &il->txq[txq_id]; in il_tx_queue_free()
2777 il_tx_queue_unmap(il, txq_id); in il_tx_queue_free()
3001 il_tx_queue_init(struct il_priv *il, u32 txq_id) in il_tx_queue_init() argument
[all …]
Dcommon.h631 u16 txq_id; member
1425 il_txq_ctx_activate(struct il_priv *il, int txq_id) in il_txq_ctx_activate() argument
1427 set_bit(txq_id, &il->txq_ctx_active_msk); in il_txq_ctx_activate()
1431 il_txq_ctx_deactivate(struct il_priv *il, int txq_id) in il_txq_ctx_deactivate() argument
1433 clear_bit(txq_id, &il->txq_ctx_active_msk); in il_txq_ctx_deactivate()
1750 int il_tx_queue_init(struct il_priv *il, u32 txq_id);
1751 void il_tx_queue_reset(struct il_priv *il, u32 txq_id);
1752 void il_tx_queue_unmap(struct il_priv *il, int txq_id);
1753 void il_tx_queue_free(struct il_priv *il, int txq_id);
D4965.c1539 int txq_id = txq->q.id; in il4965_txq_update_byte_cnt_tbl() local
1548 scd_bc_tbl[txq_id].tfd_offset[write_ptr] = bc_ent; in il4965_txq_update_byte_cnt_tbl()
1552 scd_bc_tbl[txq_id].tfd_offset[TFD_QUEUE_SIZE_MAX + write_ptr] = in il4965_txq_update_byte_cnt_tbl()
D3945-mac.c458 int txq_id = skb_get_queue_mapping(skb); in il3945_tx_skb() local
511 txq = &il->txq[txq_id]; in il3945_tx_skb()
539 (QUEUE_TO_SEQ(txq_id) | IDX_TO_SEQ(q->write_ptr))); in il3945_tx_skb()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c427 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_disable_txq()
520 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_sta_queue_marking()
525 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_sta_queue_marking()
930 mvmtxq->txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
937 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
977 mvmtxq->txq_id = queue; in iwl_mvm_update_txq_mapping()
1183 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_inactive_tids()
1467 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue()
1625 int txq_id = tid_data->txq_id; in iwl_mvm_realloc_queues_after_restart() local
1628 if (txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_realloc_queues_after_restart()
[all …]
Dtx.c1060 static bool iwl_mvm_txq_should_update(struct iwl_mvm *mvm, int txq_id) in iwl_mvm_txq_should_update() argument
1062 unsigned long queue_tid_bitmap = mvm->queue_info[txq_id].tid_bitmap; in iwl_mvm_txq_should_update()
1070 if (time_before(mvm->queue_info[txq_id].last_frame_time[tid] + in iwl_mvm_txq_should_update()
1131 u16 txq_id; in iwl_mvm_tx_mpdu() local
1200 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_mpdu()
1204 if (WARN_ONCE(txq_id == IWL_MVM_INVALID_QUEUE, "Invalid TXQ id")) { in iwl_mvm_tx_mpdu()
1212 mvm->queue_info[txq_id].last_frame_time[tid] = jiffies; in iwl_mvm_tx_mpdu()
1224 if (unlikely(mvm->queue_info[txq_id].status == in iwl_mvm_tx_mpdu()
1226 iwl_mvm_txq_should_update(mvm, txq_id))) in iwl_mvm_tx_mpdu()
1231 mvmsta->deflink.sta_id, tid, txq_id, in iwl_mvm_tx_mpdu()
[all …]
Dmld-sta.c786 if (mvm_sta->tid_data[i].txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_mld_disable_sta_queues()
790 &mvm_sta->tid_data[i].txq_id, i); in iwl_mvm_mld_disable_sta_queues()
791 mvm_sta->tid_data[i].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_mld_disable_sta_queues()
798 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_mld_disable_sta_queues()
952 int txq_id = tid_data->txq_id; in iwl_mvm_mld_update_sta_queues() local
954 if (txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_mld_update_sta_queues()
Dsta.h269 u16 txq_id; member
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dfilter.h165 unsigned txq_id) in ef4_filter_init_tx() argument
170 spec->dmaq_id = txq_id; in ef4_filter_init_tx()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dfilter.h191 unsigned txq_id) in efx_filter_init_tx() argument
196 spec->dmaq_id = txq_id; in efx_filter_init_tx()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dfilter.h191 unsigned txq_id) in efx_filter_init_tx() argument
196 spec->dmaq_id = txq_id; in efx_filter_init_tx()
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbnad.c955 u32 txq_id; in bnad_cb_ethport_link_status() local
959 txq_id = tcb->id; in bnad_cb_ethport_link_status()
968 txq_id); in bnad_cb_ethport_link_status()
974 txq_id); in bnad_cb_ethport_link_status()
1042 u32 txq_id; in bnad_cb_tx_stall() local
1049 txq_id = tcb->id; in bnad_cb_tx_stall()
1051 netif_stop_subqueue(bnad->netdev, txq_id); in bnad_cb_tx_stall()
1060 u32 txq_id; in bnad_cb_tx_resume() local
1067 txq_id = tcb->id; in bnad_cb_tx_resume()
1074 netif_wake_subqueue(bnad->netdev, txq_id); in bnad_cb_tx_resume()
[all …]
/linux-6.6.21/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c3639 static void mvpp2_xdp_finish_tx(struct mvpp2_port *port, u16 txq_id, int nxmit, int nxmit_byte) in mvpp2_xdp_finish_tx() argument
3647 txq = port->txqs[txq_id]; in mvpp2_xdp_finish_tx()
3649 nq = netdev_get_tx_queue(port->dev, txq_id); in mvpp2_xdp_finish_tx()
3669 mvpp2_xdp_submit_frame(struct mvpp2_port *port, u16 txq_id, in mvpp2_xdp_submit_frame() argument
3683 txq = port->txqs[txq_id]; in mvpp2_xdp_submit_frame()
3737 u16 txq_id; in mvpp2_xdp_xmit_back() local
3747 txq_id = mvpp2_cpu_to_thread(port->priv, smp_processor_id()) + (port->ntxqs / 2); in mvpp2_xdp_xmit_back()
3749 ret = mvpp2_xdp_submit_frame(port, txq_id, xdpf, false); in mvpp2_xdp_xmit_back()
3757 mvpp2_xdp_finish_tx(port, txq_id, 1, xdpf->len); in mvpp2_xdp_xmit_back()
3774 u16 txq_id; in mvpp2_xdp_xmit() local
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_base.c836 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq()
881 if (pf_q == le16_to_cpu(txq->txq_id)) in ice_vsi_cfg_txq()

12