Home
last modified time | relevance | path

Searched refs:txqs (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-14.2/sys/contrib/dev/iwlwifi/
H A Diwl-trans.c46 trans->txqs.tfd.addr_size = 64; in iwl_trans_alloc()
50 trans->txqs.tfd.addr_size = 36; in iwl_trans_alloc()
51 trans->txqs.tfd.max_tbs = IWL_NUM_OF_TBS; in iwl_trans_alloc()
82 trans->txqs.bc_tbl_size = in iwl_trans_init()
85 trans->txqs.bc_tbl_size = in iwl_trans_init()
96 trans->txqs.bc_tbl_size, in iwl_trans_init()
98 if (!trans->txqs.bc_pool) in iwl_trans_init()
103 WARN_ON(trans->txqs.tfd.addr_size != in iwl_trans_init()
117 if (!trans->txqs.tso_hdr_page) { in iwl_trans_init()
134 if (trans->txqs.tso_hdr_page) { in iwl_trans_free()
[all …]
H A Diwl-trans.h174 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3)
622 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
1143 struct iwl_trans_txqs txqs; member
1402 unsigned long txqs, in iwl_trans_freeze_txq_timer() argument
1411 trans->ops->freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer()
1427 u32 txqs) in iwl_trans_wait_tx_queues_empty() argument
1438 return trans->ops->wait_tx_queues_empty(trans, txqs); in iwl_trans_wait_tx_queues_empty()
/freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/
H A Dtx.c172 trans->txqs.tfd.max_tbs); in iwl_pcie_txq_build_tfd()
279 trans->txqs.tfd.size * in iwl_pcie_txq_free()
311 memset(trans->txqs.queue_used, 0, sizeof(trans->txqs.queue_used)); in iwl_pcie_tx_start()
334 trans->txqs.cmd.fifo, in iwl_pcie_tx_start()
335 trans->txqs.cmd.wdg_timeout); in iwl_pcie_tx_start()
448 memset(trans->txqs.queue_used, 0, sizeof(trans->txqs.queue_used)); in iwl_pcie_tx_stop()
472 memset(trans->txqs.queue_used, 0, sizeof(trans->txqs.queue_used)); in iwl_pcie_tx_free()
909 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; in iwl_pcie_enqueue_hcmd()
1190 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; in iwl_pcie_hcmd_complete()
1322 trans->txqs.tfd.size, in iwl_fill_data_tbs_amsdu()
[all …]
H A Dtrans-gen2.c249 if (iwl_txq_gen2_init(trans, trans->txqs.cmd.q_id, queue_size)) in iwl_pcie_gen2_nic_init()
338 memset(trans->txqs.queue_stopped, 0, in iwl_trans_pcie_gen2_fw_alive()
339 sizeof(trans->txqs.queue_stopped)); in iwl_trans_pcie_gen2_fw_alive()
340 memset(trans->txqs.queue_used, 0, sizeof(trans->txqs.queue_used)); in iwl_trans_pcie_gen2_fw_alive()
H A Dtx-gen2.c33 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; in iwl_pcie_gen2_enqueue_hcmd()
145 cpu_to_le16(QUEUE_TO_SEQ(trans->txqs.cmd.q_id) | in iwl_pcie_gen2_enqueue_hcmd()
193 cmd_size, txq->write_ptr, idx, trans->txqs.cmd.q_id); in iwl_pcie_gen2_enqueue_hcmd()
H A Dtrans.c2010 trans->txqs.cmd.q_id = trans_cfg->cmd_queue; in iwl_trans_pcie_configure()
2011 trans->txqs.cmd.fifo = trans_cfg->cmd_fifo; in iwl_trans_pcie_configure()
2383 struct iwl_txq *txq = trans->txqs.txq[i]; in iwl_trans_pcie_block_txq_ptrs()
2385 if (i == trans->txqs.cmd.q_id) in iwl_trans_pcie_block_txq_ptrs()
2437 txq = trans->txqs.txq[txq_idx]; in iwl_trans_pcie_wait_txq_empty()
2493 if (cnt == trans->txqs.cmd.q_id) in iwl_trans_pcie_wait_txqs_empty()
2495 if (!test_bit(cnt, trans->txqs.queue_used)) in iwl_trans_pcie_wait_txqs_empty()
2683 if (state->pos == trans->txqs.cmd.q_id) in iwl_dbgfs_tx_queue_seq_show()
3374 struct iwl_txq *cmdq = trans->txqs.txq[trans->txqs.cmd.q_id]; in iwl_trans_pcie_dump_data()
3443 u16 tfd_size = trans->txqs.tfd.size; in iwl_trans_pcie_dump_data()
[all …]
H A Dctxt-info.c221 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_init()
H A Dctxt-info-gen3.c194 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_gen3_init()
H A Drx.c1303 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id];
1699 if (!trans->txqs.txq[i])
1701 del_timer(&trans->txqs.txq[i]->stuck_timer);
/freebsd-14.2/sys/contrib/dev/iwlwifi/queue/
H A Dtx.c54 WARN_ON(trans->txqs.bc_table_dword); in iwl_pcie_gen2_update_byte_tbl()
174 trans->txqs.tfd.max_tbs); in iwl_txq_gen2_set_tb()
886 txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_free()
903 trans->txqs.txq[txq_id] = NULL; in iwl_txq_gen2_free()
1201 trans->txqs.txq[qid] = txq; in iwl_txq_alloc_response()
1313 memset(trans->txqs.queue_used, 0, sizeof(trans->txqs.queue_used)); in iwl_txq_gen2_tx_free()
1317 if (!trans->txqs.txq[i]) in iwl_txq_gen2_tx_free()
1330 if (!trans->txqs.txq[txq_id]) { in iwl_txq_gen2_init()
1477 if (trans->txqs.bc_table_dword) in iwl_txq_gen1_update_byte_cnt_tbl()
1686 trans->txqs.dev_cmd_offs); in iwl_txq_reclaim()
[all …]
H A Dtx.h32 if (test_and_clear_bit(txq->id, trans->txqs.queue_stopped)) { in iwl_wake_queue()
44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx; in iwl_txq_get_tfd()
63 if (!test_and_set_bit(txq->id, trans->txqs.queue_stopped)) { in iwl_txq_stop()
178 void iwl_trans_txq_freeze_timer(struct iwl_trans *trans, unsigned long txqs,
/freebsd-14.2/sys/dev/cxgb/
H A Dcxgb_sge.c1138 txqs->gen = txq->gen; in txq_prod()
1142 txqs->pidx = txq->pidx; in txq_prod()
1295 wr_gen2(txd, txqs->gen); in write_wr_hdr_sgl()
1319 txqs->pidx = 0; in write_wr_hdr_sgl()
1320 txqs->gen ^= 1; in write_wr_hdr_sgl()
1360 struct txq_state txqs; in t3_encap() local
1452 wr_gen2(txd, txqs.gen); in t3_encap()
2206 struct txq_state txqs; in write_ofld_wr() local
2249 txqs.gen = gen; in write_ofld_wr()
2250 txqs.pidx = pidx; in write_ofld_wr()
[all …]
/freebsd-14.2/sys/dev/sfxge/
H A Dsfxge_ev.c65 evq->txqs = &(evq->txq); in sfxge_ev_qcomplete()
309 evq->txqs != &(txq->next)) { in sfxge_ev_tx()
310 *(evq->txqs) = txq; in sfxge_ev_tx()
311 evq->txqs = &(txq->next); in sfxge_ev_tx()
693 KASSERT(evq->txqs == &evq->txq, ("evq->txqs != &evq->txq")); in sfxge_ev_qpoll()
878 KASSERT(evq->txqs == &evq->txq, ("evq->txqs != &evq->txq")); in sfxge_ev_qfini()
921 evq->txqs = &evq->txq; in sfxge_ev_qinit()
H A Dsfxge.h173 struct sfxge_txq **txqs; member
/freebsd-14.2/sys/dev/ath/
H A Dif_ath.c2082 uint32_t txqs; in ath_intr() local
2294 txqs = 0xffffffff; in ath_intr()
2298 txqs, in ath_intr()
4595 uint32_t txqs; in ath_tx_proc_q0() local
4599 txqs = sc->sc_txq_active; in ath_tx_proc_q0()
4640 uint32_t txqs; in ath_tx_proc_q0123() local
4659 if (TXQACTIVE(txqs, 0)) in ath_tx_proc_q0123()
4661 if (TXQACTIVE(txqs, 1)) in ath_tx_proc_q0123()
4663 if (TXQACTIVE(txqs, 2)) in ath_tx_proc_q0123()
4665 if (TXQACTIVE(txqs, 3)) in ath_tx_proc_q0123()
[all …]
/freebsd-14.2/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_xmit.c958 ar9300_get_tx_intr_queue(struct ath_hal *ah, u_int32_t *txqs) in ar9300_get_tx_intr_queue() argument
964 *txqs &= ahp->ah_intr_txqs; in ar9300_get_tx_intr_queue()
965 ahp->ah_intr_txqs &= ~(*txqs); in ar9300_get_tx_intr_queue()
/freebsd-14.2/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_xmit.c951 ar5212GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5212GetTxIntrQueue() argument
954 *txqs &= ahp->ah_intrTxqs; in ar5212GetTxIntrQueue()
955 ahp->ah_intrTxqs &= ~(*txqs); in ar5212GetTxIntrQueue()
/freebsd-14.2/sys/dev/ice/
H A Dice_common.c4607 sum_size += ice_struct_size(list, txqs, list->num_txqs); in ice_aq_add_lan_txq()
4608 list = (struct ice_aqc_add_tx_qgrp *)(list->txqs + in ice_aq_add_lan_txq()
5429 buf->txqs[0].info.valid_sections = in ice_ena_vsi_txq()
5432 buf->txqs[0].info.generic = 0; in ice_ena_vsi_txq()
5433 buf->txqs[0].info.cir_bw.bw_profile_idx = in ice_ena_vsi_txq()
5435 buf->txqs[0].info.cir_bw.bw_alloc = in ice_ena_vsi_txq()
5437 buf->txqs[0].info.eir_bw.bw_profile_idx = in ice_ena_vsi_txq()
5439 buf->txqs[0].info.eir_bw.bw_alloc = in ice_ena_vsi_txq()
5446 LE16_TO_CPU(buf->txqs[0].txq_id), in ice_ena_vsi_txq()
5451 node.node_teid = buf->txqs[0].q_teid; in ice_ena_vsi_txq()
H A Dice_adminq_cmd.h2725 struct ice_aqc_add_txqs_perq txqs[STRUCT_HACK_VAR_LEN]; member
2812 struct ice_aqc_move_txqs_elem txqs[STRUCT_HACK_VAR_LEN]; member
/freebsd-14.2/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_xmit.c625 ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5210GetTxIntrQueue() argument
/freebsd-14.2/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_xmit.c663 ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5211GetTxIntrQueue() argument
/freebsd-14.2/sys/contrib/dev/rtw88/
H A Dtx.c689 list_for_each_entry_safe(rtwtxq, tmp, &rtwdev->txqs, list) { in __rtw_tx_work()
H A Dmac80211.c43 list_add_tail(&rtwtxq->list, &rtwdev->txqs); in rtw_ops_wake_tx_queue()
H A Dmain.h2030 struct list_head txqs; member
/freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c3198 unsigned long txqs = 0, tids = 0; in __iwl_mvm_mac_sta_notify() local
3216 __set_bit(tid_data->txq_id, &txqs); in __iwl_mvm_mac_sta_notify()
3229 if (txqs) in __iwl_mvm_mac_sta_notify()
3230 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in __iwl_mvm_mac_sta_notify()
3241 if (txqs) in __iwl_mvm_mac_sta_notify()
3242 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in __iwl_mvm_mac_sta_notify()

12