Searched refs:txq (Results 1 - 25 of 35) sorted by relevance

12

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_tx_edma.c145 ath_tx_alq_edma_push(struct ath_softc *sc, int txq, int nframes, argument
150 aq.txq = htobe32(txq);
173 ath_tx_edma_push_staging_list(struct ath_softc *sc, struct ath_txq *txq, argument
181 ATH_TXQ_LOCK_ASSERT(txq);
186 txq->axq_qnum,
187 txq->axq_fifo_depth,
188 !! (TAILQ_EMPTY(&txq->axq_q)));
193 if (txq->axq_fifo_depth >= HAL_TXFIFO_DEPTH)
196 if (TAILQ_EMPTY(&txq
303 ath_edma_tx_fifo_fill(struct ath_softc *sc, struct ath_txq *txq) argument
404 ath_edma_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument
530 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
567 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
622 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
801 struct ath_txq *txq; local
[all...]
H A Dif_ath_misc.h76 struct ath_txq *txq);
88 extern void ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq);
94 struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf);
111 extern void ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq);
H A Dif_ath_tx.c692 * with the actual hardware txq, or all of this will fall apart.
699 ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, argument
715 txq->axq_qnum);
718 ATH_TXQ_LOCK(txq);
719 if (ATH_TXQ_LAST(txq, axq_q_s) != NULL) {
720 struct ath_buf *bf_last = ATH_TXQ_LAST(txq, axq_q_s);
734 ATH_TXQ_INSERT_TAIL(txq, bf, bf_list);
735 ATH_TXQ_UNLOCK(txq);
742 ath_tx_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, argument
759 KASSERT(txq
911 ath_legacy_tx_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument
960 ath_legacy_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
1505 ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
1555 ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) argument
1912 struct ath_txq *txq; local
2910 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
2963 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
3048 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument
3137 ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq, int queue_to_head, struct ath_buf *bf) argument
3852 struct ath_txq *txq; local
4144 ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq) argument
5431 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
5662 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
5750 ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq) argument
6312 struct ath_txq *txq; local
6349 struct ath_txq *txq; local
[all...]
H A Dif_ath_tx.h49 * How 'busy' to try and keep the hardware txq
90 extern void ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq);
102 struct ath_txq *txq, int queue_to_head, struct ath_buf *bf);
108 extern void ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq);
144 extern void ath_tx_push_pending(struct ath_softc *sc, struct ath_txq *txq);
H A Dif_ath.c189 static int ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq,
268 * include them when checking the txq setup mask.
1822 * may be being scheduled between sw->hw txq. Tsk.
2289 * Grab all the currently set bits in the HAL txq bitmap
3951 ath_txq_init(struct ath_softc *sc, struct ath_txq *txq, int qnum) argument
3953 txq->axq_qnum = qnum;
3954 txq->axq_ac = 0;
3955 txq->axq_depth = 0;
3956 txq->axq_aggr_depth = 0;
3957 txq
4034 struct ath_txq *txq; local
4058 struct ath_txq *txq = sc->sc_ac2q[ac]; local
4145 ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) argument
4340 ath_tx_process_buf_completion(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf) argument
4390 ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq, int dosched) argument
4785 ath_txq_freeholdingbuf(struct ath_softc *sc, struct ath_txq *txq) argument
4809 struct ath_txq *txq; local
4852 struct ath_txq *txq; local
4911 ath_tx_draintxq_get_one(struct ath_softc *sc, struct ath_txq *txq) argument
4966 ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq) argument
5040 ath_tx_stopdma(struct ath_softc *sc, struct ath_txq *txq) argument
5105 ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq) argument
6603 struct ath_txq *txq = sc->sc_ac2q[i]; local
[all...]
H A Dif_ath_alq.h120 uint32_t txq; member in struct:if_ath_alq_tx_fifo_push
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c441 #define TXQ_AVAIL(txq) (txq->ift_size - get_inuse(txq->ift_size, txq->ift_cidx, txq->ift_pidx, txq->ift_gen))
570 #define CALLOUT_LOCK(txq) mtx_lock(&txq->ift_mtx)
571 #define CALLOUT_UNLOCK(txq) mtx_unlock(&txq
1035 iflib_txq_t txq = &ctx->ifc_txqs[kring->ring_id]; local
1360 iflib_netmap_txq_init(if_ctx_t ctx, iflib_txq_t txq) argument
1401 iflib_txq_t txq = arg; local
1601 iflib_txq_t txq; local
1716 iflib_txsd_alloc(iflib_txq_t txq) argument
1829 iflib_txsd_destroy(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1852 iflib_txq_destroy(iflib_txq_t txq) argument
1892 iflib_txsd_free(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1917 iflib_txq_setup(iflib_txq_t txq) argument
2429 iflib_txq_t txq = arg; local
2516 iflib_txq_t txq; local
2617 iflib_txq_t txq = ctx->ifc_txqs; local
3150 txq_max_db_deferred(iflib_txq_t txq, qidx_t in_use) argument
3164 txq_max_rs_deferred(iflib_txq_t txq) argument
3197 iflib_txd_db_check(iflib_txq_t txq, int ring) argument
3245 iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, struct mbuf **mp) argument
3422 iflib_remove_mbuf(iflib_txq_t txq) argument
3444 calc_next_txd(iflib_txq_t txq, int cidx, uint8_t qid) argument
3507 iflib_encap(iflib_txq_t txq, struct mbuf **m_headp) argument
3720 iflib_tx_desc_free(iflib_txq_t txq, int n) argument
3772 iflib_completed_tx_reclaim(iflib_txq_t txq, int thresh) argument
3824 iflib_txq_check_drain(iflib_txq_t txq, int budget) argument
3833 iflib_txq_t txq = r->cookie; local
3847 iflib_txq_t txq = r->cookie; local
3963 iflib_txq_t txq; local
3985 iflib_ifmp_purge(iflib_txq_t txq) argument
4002 iflib_txq_t txq = context; local
4096 iflib_txq_t txq; local
4199 iflib_txq_t txq; local
4331 iflib_txq_t txq = ctx->ifc_txqs; local
5676 iflib_txq_t txq; local
5754 iflib_txq_t txq = ctx->ifc_txqs; local
6013 iflib_txq_t txq; local
6231 iflib_txq_t txq = ctx->ifc_txqs; local
6243 iflib_txq_t txq = ctx->ifc_txqs; local
6531 iflib_txq_t txq = ctx->ifc_txqs; local
6638 iflib_txq_t txq = ctx->ifc_txqs; local
6656 iflib_tx_credits_update(if_ctx_t ctx, iflib_txq_t txq) argument
7025 iflib_txq_t txq; local
7262 iflib_txq_t txq; local
7283 iflib_txq_t txq; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.c555 malo_txdma_setup(struct malo_softc *sc, struct malo_txq *txq) argument
561 error = malo_desc_setup(sc, "tx", &txq->dma,
575 txq->dma.dd_bufptr = bf;
577 STAILQ_INIT(&txq->free);
578 txq->nfree = 0;
579 ds = txq->dma.dd_desc;
582 bf->bf_daddr = DS2PHYS(&txq->dma, ds);
591 STAILQ_INSERT_TAIL(&txq->free, bf, bf_list);
592 txq->nfree++;
633 malo_txdma_cleanup(struct malo_softc *sc, struct malo_txq *txq) argument
727 struct malo_txq *txq; local
744 malo_txq_init(struct malo_softc *sc, struct malo_txq *txq, int qnum) argument
769 malo_tx_cleanupq(struct malo_softc *sc, struct malo_txq *txq) argument
779 malo_getbuf(struct malo_softc *sc, struct malo_txq *txq) argument
925 malo_tx_processq(struct malo_softc *sc, struct malo_txq *txq) argument
1042 struct malo_txq *txq; local
1230 struct malo_txq *txq = &sc->malo_txq[0]; local
1575 malo_tx_draintxq(struct malo_softc *sc, struct malo_txq *txq) argument
1775 struct malo_txq *txq; local
[all...]
H A Dif_malo.h412 #define MALO_TXDESC_SYNC(txq, ds, how) do { \
413 bus_dmamap_sync((txq)->dma.dd_dmat, (txq)->dma.dd_dmamap, how); \
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2661.c243 error = rt2661_alloc_tx_ring(sc, &sc->txq[ac],
325 rt2661_free_tx_ring(sc, &sc->txq[ac]);
343 rt2661_free_tx_ring(sc, &sc->txq[0]);
344 rt2661_free_tx_ring(sc, &sc->txq[1]);
345 rt2661_free_tx_ring(sc, &sc->txq[2]);
346 rt2661_free_tx_ring(sc, &sc->txq[3]);
853 struct rt2661_tx_ring *txq; local
869 txq = (qid <= 3) ? &sc->txq[qid] : &sc->mgtq;
872 data = &txq
927 rt2661_tx_dma_intr(struct rt2661_softc *sc, struct rt2661_tx_ring *txq) argument
1363 struct rt2661_tx_ring *txq = &sc->txq[ac]; local
1419 struct rt2661_tx_ring *txq = &sc->txq[ac]; local
[all...]
H A Drt2560.c231 error = rt2560_alloc_tx_ring(sc, &sc->txq, RT2560_TX_RING_COUNT);
334 fail2: rt2560_free_tx_ring(sc, &sc->txq);
351 rt2560_free_tx_ring(sc, &sc->txq);
866 hw = RAL_READ(sc, RT2560_SECCSR1) - sc->txq.physaddr;
869 bus_dmamap_sync(sc->txq.desc_dmat, sc->txq.desc_map,
872 while (sc->txq.next_encrypt != hw) {
873 if (sc->txq.next_encrypt == sc->txq.cur_encrypt) {
875 sc->txq
[all...]
H A Drt2661var.h130 struct rt2661_tx_ring txq[4]; member in struct:rt2661_softc
H A Drt2560var.h129 struct rt2560_tx_ring txq; member in struct:rt2560_softc
H A Drt2860var.h147 struct rt2860_tx_ring txq[6]; member in struct:rt2860_softc
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c979 struct mwl_txq *txq = &sc->sc_txq[i]; local
980 sc->sc_hwdma.wcbBase[i] = txq->dma.dd_desc_paddr;
1269 mwl_gettxbuf(struct mwl_softc *sc, struct mwl_txq *txq) argument
1276 MWL_TXQ_LOCK(txq);
1277 bf = STAILQ_FIRST(&txq->free);
1279 STAILQ_REMOVE_HEAD(&txq->free, bf_list);
1280 txq->nfree--;
1282 MWL_TXQ_UNLOCK(txq);
1285 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum);
1296 mwl_puttxbuf_head(struct mwl_txq *txq, struc argument
1307 mwl_puttxbuf_tail(struct mwl_txq *txq, struct mwl_txbuf *bf) argument
1344 struct mwl_txq *txq = NULL; /* XXX silence gcc */ local
1423 struct mwl_txq *txq; local
2011 mwl_txq_reset(struct mwl_softc *sc, struct mwl_txq *txq) argument
2027 mwl_txdma_setup(struct mwl_softc *sc, struct mwl_txq *txq) argument
2066 mwl_txdma_cleanup(struct mwl_softc *sc, struct mwl_txq *txq) argument
2830 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) argument
2862 struct mwl_txq *txq; local
2889 struct mwl_txq *txq = sc->sc_ac2q[ac]; local
2931 mwl_tx_cleanupq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3080 struct mwl_txq *txq; local
3323 mwl_tx_processq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3444 mwl_tx_draintxq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3524 struct mwl_txq *txq; local
4815 struct mwl_txq *txq = sc->sc_ac2q[i]; local
[all...]
H A Dif_mwlvar.h143 #define MWL_TXDESC_SYNC(txq, ds, how) do { \
144 bus_dmamap_sync((txq)->dma.dd_dmat, (txq)->dma.dd_dmamap, how); \
188 uint8_t txq; /* h/w q for BA stream */ member in struct:mwl_bastate
193 mwl_bastream_setup(struct mwl_bastate *bas, int tid, int txq) argument
195 bas->txq = txq;
204 /* NB: don't need to clear txq */
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwi.c342 error = iwi_alloc_tx_ring(sc, &sc->txq[i], IWI_TX_RING_COUNT,
464 iwi_free_tx_ring(sc, &sc->txq[0]);
465 iwi_free_tx_ring(sc, &sc->txq[1]);
466 iwi_free_tx_ring(sc, &sc->txq[2]);
467 iwi_free_tx_ring(sc, &sc->txq[3]);
1611 iwi_tx_intr(struct iwi_softc *sc, struct iwi_tx_ring *txq) argument
1616 hw = CSR_READ_4(sc, txq->csr_ridx);
1618 while (txq->next != hw) {
1619 data = &txq->data[txq
1782 struct iwi_tx_ring *txq = &sc->txq[ac]; local
[all...]
H A Dif_iwivar.h153 struct iwi_tx_ring txq[WME_NUM_AC]; member in struct:iwi_softc
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/
H A Dif_nfe.c583 if ((error = nfe_alloc_tx_ring(sc, &sc->txq)) != 0)
772 nfe_free_tx_ring(sc, &sc->txq);
2350 bus_dmamap_sync(sc->txq.tx_desc_tag, sc->txq.tx_desc_map,
2354 for (cons = sc->txq.next; cons != sc->txq.cur;
2357 desc64 = &sc->txq.desc64[cons];
2360 desc32 = &sc->txq.desc32[cons];
2368 sc->txq.queued--;
2369 data = &sc->txq
[all...]
H A Dif_nfevar.h154 struct nfe_tx_ring txq; member in struct:nfe_softc
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpivar.h182 struct wpi_tx_ring txq[WPI_DRV_NTXQUEUES]; member in struct:wpi_softc
290 mtx_init(&(_sc)->txq_mtx, "txq/cmdq lock", NULL, MTX_DEF)
296 mtx_init(&(_sc)->txq_state_mtx, "txq state lock", NULL, MTX_DEF)
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c528 struct rge_txq *txq; local
547 txq = &q->q_tx.rge_txq[idx];
548 txmap = txq->txq_dmamap;
613 txq->txq_mbuf = m;
614 txq->txq_descidx = last;
1438 struct rge_txq *txq; local
1447 txq = &q->q_tx.rge_txq[cons];
1448 idx = txq->txq_descidx;
1462 bus_dmamap_sync(sc->sc_dmat, txq->txq_dmamap, 0,
1463 txq
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwnvar.h301 struct iwn_tx_ring txq[IWN5000_NTXQUEUES]; member in struct:iwn_softc
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwmvar.h521 struct iwm_tx_ring txq[IWM_MAX_QUEUES]; member in struct:iwm_softc
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c955 htole64(sc->txq[IWX_DQA_CMD_QUEUE].desc_dma.paddr);
1066 htole64(sc->txq[IWX_DQA_CMD_QUEUE].desc_dma.paddr);
2065 * The command is queue sc->txq[0], our default queue is sc->txq[1].
2068 * which aggregation is enabled. We map TID 0-7 to sc->txq[2:9].
2687 for (i = 0; i < nitems(sc->txq); i++)
2688 iwx_reset_tx_ring(sc, &sc->txq[i]);
2835 struct iwx_tx_ring *ring = &sc->txq[qid];
2923 struct iwx_tx_ring *ring = &sc->txq[qid];
3722 ring = &sc->txq[qi
6115 iwx_tx_update_byte_tbl(struct iwx_softc *sc, struct iwx_tx_ring *txq, int idx, uint16_t byte_cnt, uint16_t num_tbs) argument
6433 struct iwx_tx_ring *txq; local
[all...]

Completed in 225 milliseconds

12