| /freebsd-14.2/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-trans.c | 46 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 D | iwl-trans.h | 174 #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 D | tx.c | 172 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 D | trans-gen2.c | 249 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 D | tx-gen2.c | 33 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 D | trans.c | 2010 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 D | ctxt-info.c | 221 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_init()
|
| H A D | ctxt-info-gen3.c | 194 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_gen3_init()
|
| H A D | rx.c | 1303 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 D | tx.c | 54 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 D | tx.h | 32 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 D | cxgb_sge.c | 1138 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 D | sfxge_ev.c | 65 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 D | sfxge.h | 173 struct sfxge_txq **txqs; member
|
| /freebsd-14.2/sys/dev/ath/ |
| H A D | if_ath.c | 2082 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 D | ar9300_xmit.c | 958 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 D | ar5212_xmit.c | 951 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 D | ice_common.c | 4607 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 D | ice_adminq_cmd.h | 2725 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 D | ar5210_xmit.c | 625 ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5210GetTxIntrQueue() argument
|
| /freebsd-14.2/sys/dev/ath/ath_hal/ar5211/ |
| H A D | ar5211_xmit.c | 663 ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5211GetTxIntrQueue() argument
|
| /freebsd-14.2/sys/contrib/dev/rtw88/ |
| H A D | tx.c | 689 list_for_each_entry_safe(rtwtxq, tmp, &rtwdev->txqs, list) { in __rtw_tx_work()
|
| H A D | mac80211.c | 43 list_add_tail(&rtwtxq->list, &rtwdev->txqs); in rtw_ops_wake_tx_queue()
|
| H A D | main.h | 2030 struct list_head txqs; member
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | mac80211.c | 3198 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()
|