Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/contrib/dev/iwlwifi/pcie/
HDtx.c81 int txq_id = txq->id; in iwl_pcie_txq_inc_wr_ptr() local
92 txq_id != trans->txqs.cmd.q_id && in iwl_pcie_txq_inc_wr_ptr()
103 txq_id, reg); in iwl_pcie_txq_inc_wr_ptr()
115 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq_id, txq->write_ptr); in iwl_pcie_txq_inc_wr_ptr()
118 txq->write_ptr | (txq_id << 8)); in iwl_pcie_txq_inc_wr_ptr()
208 static void iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) in iwl_pcie_txq_unmap() argument
210 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_pcie_txq_unmap()
220 txq_id, txq->read_ptr); in iwl_pcie_txq_unmap()
222 if (txq_id != trans->txqs.cmd.q_id) { in iwl_pcie_txq_unmap()
234 txq_id == trans->txqs.cmd.q_id) in iwl_pcie_txq_unmap()
[all …]
HDinternal.h531 void iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id,
534 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
/freebsd-13-stable/sys/contrib/dev/iwlwifi/
HDiwl-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()
HDiwl-trans.h617 void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id,
/freebsd-13-stable/sys/contrib/dev/iwlwifi/queue/
HDtx.c719 struct iwl_device_tx_cmd *dev_cmd, int txq_id) in iwl_txq_gen2_tx() argument
722 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_tx()
727 if (WARN_ONCE(txq_id >= IWL_MAX_TVQM_QUEUES, in iwl_txq_gen2_tx()
728 "queue %d out of range", txq_id)) in iwl_txq_gen2_tx()
731 if (WARN_ONCE(!test_bit(txq_id, trans->txqs.queue_used), in iwl_txq_gen2_tx()
732 "TX on unused queue %d\n", txq_id)) in iwl_txq_gen2_tx()
766 cpu_to_le16((u16)(QUEUE_TO_SEQ(txq_id) | in iwl_txq_gen2_tx()
815 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id) in iwl_txq_gen2_unmap() argument
817 struct iwl_txq *txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_unmap()
822 txq_id, txq->read_ptr); in iwl_txq_gen2_unmap()
[all …]
HDtx.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);
/freebsd-13-stable/sys/contrib/dev/iwlwifi/mvm/
HDsta.c430 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_disable_txq()
523 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_sta_queue_marking()
528 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_sta_queue_marking()
933 mvmtxq->txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
940 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
980 mvmtxq->txq_id = queue; in iwl_mvm_update_txq_mapping()
1186 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_inactive_tids()
1470 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue()
1628 int txq_id = tid_data->txq_id; in iwl_mvm_realloc_queues_after_restart() local
1631 if (txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_realloc_queues_after_restart()
[all …]
HDtx.c1056 static bool iwl_mvm_txq_should_update(struct iwl_mvm *mvm, int txq_id) in iwl_mvm_txq_should_update() argument
1058 unsigned long queue_tid_bitmap = mvm->queue_info[txq_id].tid_bitmap; in iwl_mvm_txq_should_update()
1066 if (time_before(mvm->queue_info[txq_id].last_frame_time[tid] + in iwl_mvm_txq_should_update()
1127 u16 txq_id; in iwl_mvm_tx_mpdu() local
1196 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_mpdu()
1200 if (WARN_ONCE(txq_id == IWL_MVM_INVALID_QUEUE, "Invalid TXQ id")) { in iwl_mvm_tx_mpdu()
1205 fc, tid, txq_id, mvm, skb, skb->len, info, sta); in iwl_mvm_tx_mpdu()
1214 mvm->queue_info[txq_id].last_frame_time[tid] = jiffies; in iwl_mvm_tx_mpdu()
1226 if (unlikely(mvm->queue_info[txq_id].status == in iwl_mvm_tx_mpdu()
1228 iwl_mvm_txq_should_update(mvm, txq_id))) in iwl_mvm_tx_mpdu()
[all …]
HDmld-sta.c784 if (mvm_sta->tid_data[i].txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_mld_disable_sta_queues()
788 &mvm_sta->tid_data[i].txq_id, i); in iwl_mvm_mld_disable_sta_queues()
789 mvm_sta->tid_data[i].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_mld_disable_sta_queues()
796 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_mld_disable_sta_queues()
950 int txq_id = tid_data->txq_id; in iwl_mvm_mld_update_sta_queues() local
952 if (txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_mld_update_sta_queues()
HDsta.h269 u16 txq_id; member
HDmvm.h768 u16 txq_id; member
HDmac80211.c3213 if (tid_data->txq_id == IWL_MVM_INVALID_QUEUE) in __iwl_mvm_mac_sta_notify()
3216 __set_bit(tid_data->txq_id, &txqs); in __iwl_mvm_mac_sta_notify()
HDd3.c2418 mvm_ap_sta->tid_data[i].txq_id, in iwl_mvm_query_wakeup_reasons()
/freebsd-13-stable/sys/dev/ice/
HDice_lan_tx_rx.h1074 u16 txq_id; member
1085 ICE_CTX_STORE(ice_tx_cmpltnq, txq_id, 14, 0),
1115 u16 txq_id; member
1125 ICE_CTX_STORE(ice_tx_drbell_fmt, txq_id, 14, 0),
HDice_adminq_cmd.h2576 __le16 txq_id; member
2670 __le16 txq_id; member
HDice_lib.c1609 qg->txqs[0].txq_id = htole16(pf_q); in ice_cfg_vsi_for_tx()
1631 if (pf_q == le16toh(qg->txqs[0].txq_id)) in ice_cfg_vsi_for_tx()
HDice_common.c5154 LE16_TO_CPU(buf->txqs[0].txq_id), in ice_ena_vsi_txq()
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
HDecore_sriov.c2736 u16 txq_id, in ecore_iov_vf_stop_txqs() argument
2742 if (!ecore_iov_validate_txq(p_hwfn, vf, txq_id, in ecore_iov_vf_stop_txqs()
2746 p_queue = &vf->vf_queues[txq_id]; in ecore_iov_vf_stop_txqs()