| /freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/ |
| H A D | tx.c | 89 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 D | tx-gen2.c | 720 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 D | internal.h | 626 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 D | iwl-scd.h | 14 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 D | iwl-trans.c | 734 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 D | iwl-trans.h | 982 int txq_id, bool shared_mode);
|
| /freebsd/sys/contrib/dev/iwlwifi/queue/ |
| H A D | tx.c | |
| H A D | tx.h | |
| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | sta.c | 430 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 D | tx.c | 1011 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 D | mld-sta.c | 772 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 D | sta.h | 266 u16 txq_id; member
|
| H A D | mvm.h | 800 u16 txq_id; member
|
| H A D | mac80211.c | 3300 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 D | d3.c | 2414 mvm_ap_sta->tid_data[i].txq_id, in iwl_mvm_query_wakeup_reasons()
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | tx.c | 1070 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 D | mana_en.c | 806 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 D | ice_lan_tx_rx.h | 1073 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 D | ice_adminq_cmd.h | 2709 __le16 txq_id; member 2803 __le16 txq_id; member
|
| H A D | ice_lib.c | 1682 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 D | ice_common.c | 5455 LE16_TO_CPU(buf->txqs[0].txq_id), in ice_ena_vsi_txq()
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_sriov.c | 2736 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()
|