Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtx.c89 int txq_id = txq->id; in iwl_pcie_txq_inc_wr_ptr() local
100 txq_id != trans->conf.cmd_queue && in iwl_pcie_txq_inc_wr_ptr()
111 txq_id, reg); in iwl_pcie_txq_inc_wr_ptr()
123 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq_id, txq->write_ptr); in iwl_pcie_txq_inc_wr_ptr()
126 txq->write_ptr | (txq_id << 8)); in iwl_pcie_txq_inc_wr_ptr()
388 static void iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) in iwl_pcie_txq_unmap() argument
391 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id]; in iwl_pcie_txq_unmap()
402 txq_id, txq->read_ptr); in iwl_pcie_txq_unmap()
404 if (txq_id != trans->conf.cmd_queue) { in iwl_pcie_txq_unmap()
418 txq_id == trans->conf.cmd_queue) in iwl_pcie_txq_unmap()
[all …]
H A Dtx-gen2.c720 struct iwl_device_tx_cmd *dev_cmd, int txq_id) in iwl_txq_gen2_tx() argument
724 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id]; in iwl_txq_gen2_tx()
729 if (WARN_ONCE(txq_id >= IWL_MAX_TVQM_QUEUES, in iwl_txq_gen2_tx()
730 "queue %d out of range", txq_id)) in iwl_txq_gen2_tx()
733 if (WARN_ONCE(!test_bit(txq_id, trans_pcie->txqs.queue_used), in iwl_txq_gen2_tx()
734 "TX on unused queue %d\n", txq_id)) in iwl_txq_gen2_tx()
769 cpu_to_le16((u16)(QUEUE_TO_SEQ(txq_id) | in iwl_txq_gen2_tx()
818 static void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id) in iwl_txq_gen2_unmap() argument
821 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id]; in iwl_txq_gen2_unmap()
827 txq_id, txq->read_ptr); in iwl_txq_gen2_unmap()
[all …]
H A Dinternal.h626 void iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id,
629 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
766 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
772 int iwl_txq_gen2_init(struct iwl_trans *trans, int txq_id,
811 void iwl_pcie_reclaim(struct iwl_trans *trans, int txq_id, int ssn,
813 void iwl_pcie_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr);
/freebsd/sys/contrib/dev/iwlwifi/
H A 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()
H A Diwl-trans.c734 int txq_id, bool shared_mode) in iwl_trans_txq_set_shared_mode() argument
736 iwl_trans_pcie_txq_set_shared_mode(trans, txq_id, shared_mode); in iwl_trans_txq_set_shared_mode()
H A Diwl-trans.h982 int txq_id, bool shared_mode);
/freebsd/sys/contrib/dev/iwlwifi/queue/
H A Dtx.c
H A Dtx.h
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.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()
919 mvmtxq->txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
926 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue_tvqm()
966 mvmtxq->txq_id = queue; in iwl_mvm_update_txq_mapping()
1172 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_inactive_tids()
1456 mvmsta->tid_data[tid].txq_id = queue; in iwl_mvm_sta_alloc_queue()
1645 int txq_id = tid_data->txq_id; in iwl_mvm_realloc_queues_after_restart() local
1648 if (txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_realloc_queues_after_restart()
[all …]
H A Dtx.c1011 static bool iwl_mvm_txq_should_update(struct iwl_mvm *mvm, int txq_id) in iwl_mvm_txq_should_update() argument
1013 unsigned long queue_tid_bitmap = mvm->queue_info[txq_id].tid_bitmap; in iwl_mvm_txq_should_update()
1021 if (time_before(mvm->queue_info[txq_id].last_frame_time[tid] + in iwl_mvm_txq_should_update()
1083 u16 txq_id; in iwl_mvm_tx_mpdu() local
1153 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_mpdu()
1157 if (WARN_ONCE(txq_id == IWL_MVM_INVALID_QUEUE, "Invalid TXQ id")) { in iwl_mvm_tx_mpdu()
1162 fc, tid, txq_id, mvm, skb, skb->len, info, sta); in iwl_mvm_tx_mpdu()
1171 mvm->queue_info[txq_id].last_frame_time[tid] = jiffies; in iwl_mvm_tx_mpdu()
1183 if (unlikely(mvm->queue_info[txq_id].status == in iwl_mvm_tx_mpdu()
1185 iwl_mvm_txq_should_update(mvm, txq_id))) in iwl_mvm_tx_mpdu()
[all …]
H A Dmld-sta.c772 if (mvm_sta->tid_data[i].txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_mld_disable_sta_queues()
776 &mvm_sta->tid_data[i].txq_id, i); in iwl_mvm_mld_disable_sta_queues()
777 mvm_sta->tid_data[i].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_mld_disable_sta_queues()
784 mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_mld_disable_sta_queues()
940 int txq_id = tid_data->txq_id; in iwl_mvm_mld_update_sta_queues() local
942 if (txq_id == IWL_MVM_INVALID_QUEUE) in iwl_mvm_mld_update_sta_queues()
H A Dsta.h266 u16 txq_id; member
H A Dmvm.h800 u16 txq_id; member
H A Dmac80211.c3300 if (tid_data->txq_id == IWL_MVM_INVALID_QUEUE) in __iwl_mvm_mac_sta_notify()
3303 __set_bit(tid_data->txq_id, &txqs); in __iwl_mvm_mac_sta_notify()
H A Dd3.c2414 mvm_ap_sta->tid_data[i].txq_id, in iwl_mvm_query_wakeup_reasons()
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dtx.c1070 int txq_id = le16_to_cpu(tx_resp->tx_queue); in iwl_mld_handle_tx_resp_notif() local
1102 iwl_trans_reclaim(mld->trans, txq_id, ssn, &skbs, false); in iwl_mld_handle_tx_resp_notif()
1154 txq_id, status, ssn, le32_to_cpu(tx_resp->initial_rate), in iwl_mld_handle_tx_resp_notif()
1274 int txq_id = le16_to_cpu(queue_info->queue_num); in iwl_mld_flush_link_sta_txqs() local
1277 txq_id >= ARRAY_SIZE(mld->fw_id_to_txq), in iwl_mld_flush_link_sta_txqs()
1278 "Invalid txq id %d\n", txq_id)) in iwl_mld_flush_link_sta_txqs()
1283 le16_to_cpu(queue_info->tid), txq_id, in iwl_mld_flush_link_sta_txqs()
1287 iwl_mld_tx_reclaim_txq(mld, txq_id, read_after, true); in iwl_mld_flush_link_sta_txqs()
1379 int txq_id = le16_to_cpu(ba_tfd->q_num); in iwl_mld_handle_compressed_ba_notif() local
1383 txq_id >= ARRAY_SIZE(mld->fw_id_to_txq), in iwl_mld_handle_compressed_ba_notif()
[all …]
/freebsd/sys/dev/mana/
H A Dmana_en.c806 uint16_t txq_id; in mana_start_xmit() local
833 txq_id = apc->indir_table[(hash) & MANA_INDIRECT_TABLE_MASK] % in mana_start_xmit()
836 txq_id = m->m_pkthdr.flowid % apc->num_queues; in mana_start_xmit()
840 txq_id = apc->tx_qp[txq_id].txq.alt_txq_idx; in mana_start_xmit()
842 txq = &apc->tx_qp[txq_id].txq; in mana_start_xmit()
848 txq_id, err); in mana_start_xmit()
/freebsd/sys/dev/ice/
H A Dice_lan_tx_rx.h1073 u16 txq_id; member
1084 ICE_CTX_STORE(ice_tx_cmpltnq, txq_id, 14, 0),
1114 u16 txq_id; member
1124 ICE_CTX_STORE(ice_tx_drbell_fmt, txq_id, 14, 0),
H A Dice_adminq_cmd.h2709 __le16 txq_id; member
2803 __le16 txq_id; member
H A Dice_lib.c1682 qg->txqs[0].txq_id = htole16(pf_q); in ice_cfg_vsi_for_tx()
1704 if (pf_q == le16toh(qg->txqs[0].txq_id)) in ice_cfg_vsi_for_tx()
H A Dice_common.c5455 LE16_TO_CPU(buf->txqs[0].txq_id), in ice_ena_vsi_txq()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_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()