Home
last modified time | relevance | path

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

/freebsd-13.1/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)
601 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
1068 struct iwl_trans_txqs txqs; member
1323 unsigned long txqs, in iwl_trans_freeze_txq_timer() argument
1332 trans->ops->freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer()
1348 u32 txqs) in iwl_trans_wait_tx_queues_empty() argument
1359 return trans->ops->wait_tx_queues_empty(trans, txqs); in iwl_trans_wait_tx_queues_empty()
/freebsd-13.1/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.c243 if (iwl_txq_gen2_init(trans, trans->txqs.cmd.q_id, queue_size)) in iwl_pcie_gen2_nic_init()
329 memset(trans->txqs.queue_stopped, 0, in iwl_trans_pcie_gen2_fw_alive()
330 sizeof(trans->txqs.queue_stopped)); in iwl_trans_pcie_gen2_fw_alive()
331 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.c1999 trans->txqs.cmd.q_id = trans_cfg->cmd_queue; in iwl_trans_pcie_configure()
2000 trans->txqs.cmd.fifo = trans_cfg->cmd_fifo; in iwl_trans_pcie_configure()
2342 struct iwl_txq *txq = trans->txqs.txq[i]; in iwl_trans_pcie_block_txq_ptrs()
2344 if (i == trans->txqs.cmd.q_id) in iwl_trans_pcie_block_txq_ptrs()
2396 txq = trans->txqs.txq[txq_idx]; in iwl_trans_pcie_wait_txq_empty()
2452 if (cnt == trans->txqs.cmd.q_id) in iwl_trans_pcie_wait_txqs_empty()
2454 if (!test_bit(cnt, trans->txqs.queue_used)) in iwl_trans_pcie_wait_txqs_empty()
2642 if (state->pos == trans->txqs.cmd.q_id) in iwl_dbgfs_tx_queue_seq_show()
3333 struct iwl_txq *cmdq = trans->txqs.txq[trans->txqs.cmd.q_id]; in iwl_trans_pcie_dump_data()
3402 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.c183 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_gen3_init()
H A Drx.c1283 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id];
1678 if (!trans->txqs.txq[i])
1680 del_timer(&trans->txqs.txq[i]->stuck_timer);
/freebsd-13.1/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()
879 txq = trans->txqs.txq[txq_id]; in iwl_txq_gen2_free()
896 trans->txqs.txq[txq_id] = NULL; in iwl_txq_gen2_free()
1178 trans->txqs.txq[qid] = txq; in iwl_txq_alloc_response()
1286 memset(trans->txqs.queue_used, 0, sizeof(trans->txqs.queue_used)); in iwl_txq_gen2_tx_free()
1290 if (!trans->txqs.txq[i]) in iwl_txq_gen2_tx_free()
1303 if (!trans->txqs.txq[txq_id]) { in iwl_txq_gen2_init()
1450 if (trans->txqs.bc_table_dword) in iwl_txq_gen1_update_byte_cnt_tbl()
1655 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-13.1/sys/dev/cxgb/
H A Dcxgb_sge.c1140 txqs->gen = txq->gen; in txq_prod()
1144 txqs->pidx = txq->pidx; in txq_prod()
1298 wr_gen2(txd, txqs->gen); in write_wr_hdr_sgl()
1323 txqs->pidx = 0; in write_wr_hdr_sgl()
1324 txqs->gen ^= 1; in write_wr_hdr_sgl()
1365 struct txq_state txqs; in t3_encap() local
1457 wr_gen2(txd, txqs.gen); in t3_encap()
2211 struct txq_state txqs; in write_ofld_wr() local
2254 txqs.gen = gen; in write_ofld_wr()
2255 txqs.pidx = pidx; in write_ofld_wr()
[all …]
/freebsd-13.1/sys/dev/sfxge/
H A Dsfxge_ev.c67 evq->txqs = &(evq->txq); in sfxge_ev_qcomplete()
311 evq->txqs != &(txq->next)) { in sfxge_ev_tx()
312 *(evq->txqs) = txq; in sfxge_ev_tx()
313 evq->txqs = &(txq->next); in sfxge_ev_tx()
698 KASSERT(evq->txqs == &evq->txq, ("evq->txqs != &evq->txq")); in sfxge_ev_qpoll()
883 KASSERT(evq->txqs == &evq->txq, ("evq->txqs != &evq->txq")); in sfxge_ev_qfini()
926 evq->txqs = &evq->txq; in sfxge_ev_qinit()
H A Dsfxge.h175 struct sfxge_txq **txqs; member
/freebsd-13.1/sys/dev/ath/
H A Dif_ath.c2075 uint32_t txqs; in ath_intr() local
2287 txqs = 0xffffffff; in ath_intr()
2291 txqs, in ath_intr()
4543 uint32_t txqs; in ath_tx_proc_q0() local
4547 txqs = sc->sc_txq_active; in ath_tx_proc_q0()
4588 uint32_t txqs; in ath_tx_proc_q0123() local
4607 if (TXQACTIVE(txqs, 0)) in ath_tx_proc_q0123()
4609 if (TXQACTIVE(txqs, 1)) in ath_tx_proc_q0123()
4611 if (TXQACTIVE(txqs, 2)) in ath_tx_proc_q0123()
4613 if (TXQACTIVE(txqs, 3)) in ath_tx_proc_q0123()
[all …]
/freebsd-13.1/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-13.1/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_xmit.c953 ar5212GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5212GetTxIntrQueue() argument
956 *txqs &= ahp->ah_intrTxqs; in ar5212GetTxIntrQueue()
957 ahp->ah_intrTxqs &= ~(*txqs); in ar5212GetTxIntrQueue()
/freebsd-13.1/sys/dev/ice/
H A Dice_common.c4157 sum_size += ice_struct_size(list, txqs, list->num_txqs); in ice_aq_add_lan_txq()
4158 list = (struct ice_aqc_add_tx_qgrp *)(list->txqs + in ice_aq_add_lan_txq()
4926 buf->txqs[0].info.valid_sections = in ice_ena_vsi_txq()
4929 buf->txqs[0].info.generic = 0; in ice_ena_vsi_txq()
4930 buf->txqs[0].info.cir_bw.bw_profile_idx = in ice_ena_vsi_txq()
4932 buf->txqs[0].info.cir_bw.bw_alloc = in ice_ena_vsi_txq()
4934 buf->txqs[0].info.eir_bw.bw_profile_idx = in ice_ena_vsi_txq()
4936 buf->txqs[0].info.eir_bw.bw_alloc = in ice_ena_vsi_txq()
4943 LE16_TO_CPU(buf->txqs[0].txq_id), in ice_ena_vsi_txq()
4948 node.node_teid = buf->txqs[0].q_teid; in ice_ena_vsi_txq()
H A Dice_adminq_cmd.h2460 struct ice_aqc_add_txqs_perq txqs[STRUCT_HACK_VAR_LEN]; member
2547 struct ice_aqc_move_txqs_elem txqs[STRUCT_HACK_VAR_LEN]; member
H A Dice_lib.c1440 qg_size = ice_struct_size(qg, txqs, 1); in ice_cfg_vsi_for_tx()
1452 qg->txqs[0].txq_id = htole16(pf_q); in ice_cfg_vsi_for_tx()
1458 ice_set_ctx(hw, (u8 *)&tlan_ctx, qg->txqs[0].txq_ctx, in ice_cfg_vsi_for_tx()
1474 if (pf_q == le16toh(qg->txqs[0].txq_id)) in ice_cfg_vsi_for_tx()
1475 txq->q_teid = le32toh(qg->txqs[0].q_teid); in ice_cfg_vsi_for_tx()
/freebsd-13.1/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_xmit.c627 ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5210GetTxIntrQueue() argument
/freebsd-13.1/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_xmit.c665 ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5211GetTxIntrQueue() argument
/freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c3030 unsigned long txqs = 0, tids = 0; in __iwl_mvm_mac_sta_notify() local
3048 __set_bit(tid_data->txq_id, &txqs); in __iwl_mvm_mac_sta_notify()
3061 if (txqs) in __iwl_mvm_mac_sta_notify()
3062 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in __iwl_mvm_mac_sta_notify()
3073 if (txqs) in __iwl_mvm_mac_sta_notify()
3074 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in __iwl_mvm_mac_sta_notify()
H A Dsta.c799 size = min_t(u32, size, mvm->trans->txqs.bc_tbl_size / sizeof(u16)); in iwl_mvm_tvqm_enable_txq()