Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-trans.c463 int iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, u32 txqs)
469 return iwl_trans_pcie_wait_txqs_empty(trans, txqs);
474 unsigned long txqs, bool freeze)
480 iwl_pcie_freeze_txq_timer(trans, txqs, freeze);
H A Diwl-trans.h1066 unsigned long txqs, bool freeze);
1068 int iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, u32 txqs);
1143 struct iwl_trans_txqs txqs; global() member
1402 iwl_trans_freeze_txq_timer(struct iwl_trans * trans,unsigned long txqs,bool freeze) iwl_trans_freeze_txq_timer() argument
1427 iwl_trans_wait_tx_queues_empty(struct iwl_trans * trans,u32 txqs) iwl_trans_wait_tx_queues_empty() argument
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dtx.c99 txq_id != trans_pcie->txqs.cmd.q_id && in iwl_pcie_txq_inc_wr_ptr()
134 struct iwl_txq *txq = trans_pcie->txqs.txq[i]; in iwl_pcie_txq_check_wrptrs()
136 if (!test_bit(i, trans_pcie->txqs.queue_used)) in iwl_pcie_txq_check_wrptrs()
174 tfd = (u8 *)txq->tfds + trans_pcie->txqs.tfd.size * txq->write_ptr; in iwl_pcie_txq_build_tfd()
177 memset(tfd, 0, trans_pcie->txqs.tfd.size); in iwl_pcie_txq_build_tfd()
182 if (num_tbs >= trans_pcie->txqs.tfd.max_tbs) { in iwl_pcie_txq_build_tfd()
184 trans_pcie->txqs.tfd.max_tbs);
238 page_ptr = (void *)((u8 *)skb->cb + trans_pcie->txqs.page_offs); in iwl_pcie_txq_unmap()
305 if (num_tbs > trans_pcie->txqs.tfd.max_tbs) { in iwl_pcie_tx_start()
389 struct iwl_txq *txq = trans_pcie->txqs in iwl_trans_pcie_tx_reset()
[all...]
H A Dtrans-gen2.c253 if (iwl_txq_gen2_init(trans, trans_pcie->txqs.cmd.q_id, queue_size)) in iwl_pcie_gen2_nic_init()
352 memset(trans_pcie->txqs.queue_stopped, 0, in iwl_trans_pcie_gen2_fw_alive()
353 sizeof(trans_pcie->txqs.queue_stopped)); in iwl_trans_pcie_gen2_fw_alive()
354 memset(trans_pcie->txqs.queue_used, 0, in iwl_trans_pcie_gen2_fw_alive()
355 sizeof(trans_pcie->txqs.queue_used)); in iwl_trans_pcie_gen2_fw_alive()
H A Dtx-gen2.c29 page_ptr = (void *)((u8 *)skb->cb + trans_pcie->txqs.page_offs); in iwl_pcie_gen2_enqueue_hcmd()
589 WARN_ON(trans_pcie->txqs.bc_table_dword);
597 WARN_ON(!trans_pcie->txqs.bc_table_dword);
632 if (le16_to_cpu(tfd->num_tbs) >= trans_pcie->txqs.tfd.max_tbs) {
634 trans_pcie->txqs.tfd.max_tbs);
656 if (num_tbs > trans_pcie->txqs.tfd.max_tbs) {
731 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id];
740 if (WARN_ONCE(!test_bit(txq_id, trans_pcie->txqs.queue_used),
759 trans_pcie->txqs.dev_cmd_offs);
827 struct iwl_txq *txq = trans_pcie->txqs
[all...]
H A Dtrans.c2021 trans_pcie->txqs.cmd.q_id = trans_cfg->cmd_queue; in iwl_trans_pcie_configure()
2022 trans_pcie->txqs.cmd.fifo = trans_cfg->cmd_fifo; in iwl_trans_pcie_configure()
2023 trans_pcie->txqs.cmd.wdg_timeout = trans_cfg->cmd_q_wdg_timeout; in iwl_trans_pcie_configure()
2024 trans_pcie->txqs.page_offs = trans_cfg->cb_data_offs; in iwl_trans_pcie_configure()
2025 trans_pcie->txqs.dev_cmd_offs = trans_cfg->cb_data_offs + sizeof(void *); in iwl_trans_pcie_configure()
2026 trans_pcie->txqs.queue_alloc_cmd_ver = trans_cfg->queue_alloc_cmd_ver; in iwl_trans_pcie_configure()
2045 trans_pcie->txqs.bc_table_dword = trans_cfg->bc_table_dword; in iwl_trans_pcie_configure()
2146 if (trans_pcie->txqs.tso_hdr_page) { in iwl_trans_pcie_removal_wk()
2149 per_cpu_ptr(trans_pcie->txqs.tso_hdr_page, i); in iwl_trans_pcie_removal_wk()
2155 free_percpu(trans_pcie->txqs in iwl_trans_pcie_remove()
[all...]
H A Dctxt-info.c221 cpu_to_le64(trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_init()
H A Dctxt-info-gen3.c220 cpu_to_le64(trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_gen3_init()
H A Drx.c1308 struct iwl_txq *txq = trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id];
1702 if (!trans_pcie->txqs.txq[i])
1704 del_timer(&trans_pcie->txqs.txq[i]->stuck_timer);
/freebsd/sys/contrib/dev/iwlwifi/queue/
H A Dtx.c
H A Dtx.h
/freebsd/sys/dev/cxgb/
H A Dcxgb_sge.c1128 txq_prod(struct sge_txq *txq, unsigned int ndesc, struct txq_state *txqs) in txq_prod() argument
1135 txqs->gen = txq->gen; in txq_prod()
1137 txqs->compl = (txq->unacked & 32) << (S_WR_COMPL - 5); in txq_prod()
1139 txqs->pidx = txq->pidx; in txq_prod()
1142 if (((txqs->pidx > txq->cidx) && in txq_prod()
1143 (txq->pidx < txqs->pidx) && in txq_prod()
1145 ((txqs->pidx < txq->cidx) && in txq_prod()
1147 ((txqs->pidx < txq->cidx) && in txq_prod()
1148 (txq->cidx < txqs->pidx))) in txq_prod()
1150 txqs->pidx, txq->pidx, txq->cidx); in txq_prod()
[all …]
/freebsd/sys/dev/sfxge/
H A Dsfxge_ev.c64 evq->txqs = &(evq->txq); in sfxge_ev_qcomplete()
308 evq->txqs != &(txq->next)) { in sfxge_ev_tx()
309 *(evq->txqs) = txq; in sfxge_ev_tx()
310 evq->txqs = &(txq->next); in sfxge_ev_tx()
692 KASSERT(evq->txqs == &evq->txq, ("evq->txqs != &evq->txq")); in sfxge_ev_qpoll()
877 KASSERT(evq->txqs == &evq->txq, ("evq->txqs != &evq->txq")); in sfxge_ev_qfini()
920 evq->txqs = &evq->txq; in sfxge_ev_qinit()
H A Dsfxge.h173 struct sfxge_txq **txqs; member
/freebsd/sys/dev/ath/
H A Dif_ath.c2082 uint32_t txqs; in ath_intr() local
2294 txqs = 0xffffffff; in ath_intr()
2295 ath_hal_gettxintrtxqs(sc->sc_ah, &txqs); in ath_intr()
2298 txqs, in ath_intr()
2300 sc->sc_txq_active | txqs); in ath_intr()
2301 sc->sc_txq_active |= 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()
4600 sc->sc_txq_active &= ~txqs; in ath_tx_proc_q0()
4608 "ath_tx_proc_q0: txqs=0x%08x", txqs); in ath_tx_proc_q0()
[all …]
/freebsd/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/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/sys/dev/ice/
H A Dice_common.c4607 sum_size += ice_struct_size(list, txqs, list->num_txqs); in ice_write_word()
4608 list = (struct ice_aqc_add_tx_qgrp *)(list->txqs + in ice_write_word()
5429 buf->txqs[0].info.valid_sections = in ice_dis_vsi_rdma_qset()
5432 buf->txqs[0].info.generic = 0; in ice_dis_vsi_rdma_qset()
5433 buf->txqs[0].info.cir_bw.bw_profile_idx = in ice_dis_vsi_rdma_qset()
5435 buf->txqs[0].info.cir_bw.bw_alloc = in ice_dis_vsi_rdma_qset()
5437 buf->txqs[0].info.eir_bw.bw_profile_idx = in ice_dis_vsi_rdma_qset()
5439 buf->txqs[0].info.eir_bw.bw_alloc = in ice_dis_vsi_rdma_qset()
5446 LE16_TO_CPU(buf->txqs[0].txq_id), in ice_dis_vsi_rdma_qset()
5451 node.node_teid = buf->txqs[
[all...]
H A Dice_adminq_cmd.h2725 struct ice_aqc_add_txqs_perq txqs[STRUCT_HACK_VAR_LEN];
2812 struct ice_aqc_move_txqs_elem txqs[STRUCT_HACK_VAR_LEN];
2578 struct ice_aqc_add_txqs_perq txqs[STRUCT_HACK_VAR_LEN]; global() member
2665 struct ice_aqc_move_txqs_elem txqs[STRUCT_HACK_VAR_LEN]; global() member
H A Dice_lib.c1652 qg_size = ice_struct_size(qg, txqs, 1); in ice_setup_rx_ctx()
1664 qg->txqs[0].txq_id = htole16(pf_q); in ice_setup_rx_ctx()
1670 ice_set_ctx(hw, (u8 *)&tlan_ctx, qg->txqs[0].txq_ctx, in ice_setup_rx_ctx()
1686 if (pf_q == le16toh(qg->txqs[0].txq_id)) in ice_setup_rx_ctx()
1687 txq->q_teid = le32toh(qg->txqs[0].q_teid); in ice_setup_rx_ctx()
7151 vsi->txqs_node = SYSCTL_ADD_NODE(&vsi->txqs_ctx, vsi_list, OID_AUTO, "txqs",
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_xmit.c625 ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5210GetTxIntrQueue() argument
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_xmit.c663 ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5211GetTxIntrQueue() argument
/freebsd/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()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c3393 unsigned long txqs = 0, tids = 0; in iwl_mvm_tdls_check_trigger()
3411 __set_bit(tid_data->txq_id, &txqs);
3424 if (txqs) in iwl_mvm_check_he_obss_narrow_bw_ru_iter()
3425 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in iwl_mvm_check_he_obss_narrow_bw_ru_iter()
3436 if (txqs)
3437 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false);
3198 unsigned long txqs = 0, tids = 0; __iwl_mvm_mac_sta_notify() local

12