Home
last modified time | relevance | path

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

12

/Linux-v6.1/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()
203 static void iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) in iwl_pcie_txq_unmap() argument
205 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_pcie_txq_unmap()
215 txq_id, txq->read_ptr); in iwl_pcie_txq_unmap()
217 if (txq_id != trans->txqs.cmd.q_id) { in iwl_pcie_txq_unmap()
229 txq_id == trans->txqs.cmd.q_id) in iwl_pcie_txq_unmap()
[all …]
Dinternal.h524 void iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id,
527 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
/Linux-v6.1/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.h583 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c272 int txq_id; in iwlagn_tx_skb() local
413 txq_id = info->hw_queue; in iwlagn_tx_skb()
416 txq_id = priv->tid_data[sta_id][tid].agg.txq_id; in iwlagn_tx_skb()
427 priv->queue_to_mac80211[txq_id] != info->hw_queue); in iwlagn_tx_skb()
430 txq_id, seq_number); in iwlagn_tx_skb()
432 if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id)) in iwlagn_tx_skb()
485 int sta_id, txq_id; in iwlagn_tx_agg_stop() local
498 txq_id = tid_data->agg.txq_id; in iwlagn_tx_agg_stop()
530 if (!test_bit(txq_id, priv->agg_q_alloc)) { in iwlagn_tx_agg_stop()
533 sta_id, tid, txq_id); in iwlagn_tx_agg_stop()
[all …]
Ddev.h148 u16 txq_id; member
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c707 struct iwl_device_tx_cmd *dev_cmd, int txq_id) in iwl_txq_gen2_tx() argument
710 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_tx()
715 if (WARN_ONCE(txq_id >= IWL_MAX_TVQM_QUEUES, in iwl_txq_gen2_tx()
716 "queue %d out of range", txq_id)) in iwl_txq_gen2_tx()
719 if (WARN_ONCE(!test_bit(txq_id, trans->txqs.queue_used), in iwl_txq_gen2_tx()
720 "TX on unused queue %d\n", txq_id)) in iwl_txq_gen2_tx()
754 cpu_to_le16((u16)(QUEUE_TO_SEQ(txq_id) | in iwl_txq_gen2_tx()
803 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id) in iwl_txq_gen2_unmap() argument
805 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_unmap()
810 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);
175 void iwl_txq_reclaim(struct iwl_trans *trans, int txq_id, int ssn,
177 void iwl_txq_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr);
/Linux-v6.1/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-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c386 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_disable_txq()
479 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_sta_queue_marking()
481 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_sta_queue_marking()
842 mvmtxq->txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
849 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
889 mvmtxq->txq_id = queue; in iwl_mvm_update_txq_mapping()
1095 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_inactive_tids()
1379 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue()
1527 int txq_id = tid_data->txq_id; in iwl_mvm_realloc_queues_after_restart() local
1530 if (txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_realloc_queues_after_restart()
[all …]
Dtx.c998 static bool iwl_mvm_txq_should_update(struct iwl_mvm *mvm, int txq_id) in iwl_mvm_txq_should_update() argument
1000 unsigned long queue_tid_bitmap = mvm->queue_info[txq_id].tid_bitmap; in iwl_mvm_txq_should_update()
1008 if (time_before(mvm->queue_info[txq_id].last_frame_time[tid] + in iwl_mvm_txq_should_update()
1069 u16 txq_id; in iwl_mvm_tx_mpdu() local
1137 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_mpdu()
1141 if (WARN_ONCE(txq_id == IWL_MVM_INVALID_QUEUE, "Invalid TXQ id")) { in iwl_mvm_tx_mpdu()
1149 mvm->queue_info[txq_id].last_frame_time[tid] = jiffies; in iwl_mvm_tx_mpdu()
1161 if (unlikely(mvm->queue_info[txq_id].status == in iwl_mvm_tx_mpdu()
1163 iwl_mvm_txq_should_update(mvm, txq_id))) in iwl_mvm_tx_mpdu()
1168 mvmsta->sta_id, tid, txq_id, in iwl_mvm_tx_mpdu()
[all …]
Dsta.h269 u16 txq_id; member
/Linux-v6.1/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-v6.1/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-v6.1/drivers/net/ethernet/sfc/
Dfilter.h198 unsigned txq_id) in efx_filter_init_tx() argument
203 spec->dmaq_id = txq_id; in efx_filter_init_tx()
/Linux-v6.1/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()
1043 u32 txq_id; in bnad_cb_tx_stall() local
1050 txq_id = tcb->id; in bnad_cb_tx_stall()
1052 netif_stop_subqueue(bnad->netdev, txq_id); in bnad_cb_tx_stall()
1061 u32 txq_id; in bnad_cb_tx_resume() local
1068 txq_id = tcb->id; in bnad_cb_tx_resume()
1075 netif_wake_subqueue(bnad->netdev, txq_id); in bnad_cb_tx_resume()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c3614 static void mvpp2_xdp_finish_tx(struct mvpp2_port *port, u16 txq_id, int nxmit, int nxmit_byte) in mvpp2_xdp_finish_tx() argument
3622 txq = port->txqs[txq_id]; in mvpp2_xdp_finish_tx()
3624 nq = netdev_get_tx_queue(port->dev, txq_id); in mvpp2_xdp_finish_tx()
3644 mvpp2_xdp_submit_frame(struct mvpp2_port *port, u16 txq_id, in mvpp2_xdp_submit_frame() argument
3658 txq = port->txqs[txq_id]; in mvpp2_xdp_submit_frame()
3712 u16 txq_id; in mvpp2_xdp_xmit_back() local
3722 txq_id = mvpp2_cpu_to_thread(port->priv, smp_processor_id()) + (port->ntxqs / 2); in mvpp2_xdp_xmit_back()
3724 ret = mvpp2_xdp_submit_frame(port, txq_id, xdpf, false); in mvpp2_xdp_xmit_back()
3732 mvpp2_xdp_finish_tx(port, txq_id, 1, xdpf->len); in mvpp2_xdp_xmit_back()
3749 u16 txq_id; in mvpp2_xdp_xmit() local
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_base.c786 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq()
831 if (pf_q == le16_to_cpu(txq->txq_id)) in ice_vsi_cfg_txq()
Dice_adminq_cmd.h1850 __le16 txq_id; member

12