/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-trans.c | 463 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 D | iwl-trans.h | 1066 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 D | tx.c | 99 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 D | trans-gen2.c | 253 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 D | tx-gen2.c | 29 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 D | trans.c | 2021 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 D | ctxt-info.c | 221 cpu_to_le64(trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_init()
|
H A D | ctxt-info-gen3.c | 220 cpu_to_le64(trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_gen3_init()
|
H A D | rx.c | 1308 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 D | tx.c |
|
H A D | tx.h |
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 1128 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 D | sfxge_ev.c | 64 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 D | sfxge.h | 173 struct sfxge_txq **txqs; member
|
/freebsd/sys/dev/ath/ |
H A D | if_ath.c | 2082 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 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/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/sys/dev/ice/ |
H A D | ice_common.c | 4607 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 D | ice_adminq_cmd.h | 2725 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 D | ice_lib.c | 1652 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 D | ar5210_xmit.c | 625 ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) in ar5210GetTxIntrQueue() argument
|
/freebsd/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/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()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mac80211.c | 3393 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
|