Home
last modified time | relevance | path

Searched refs:sc_txq (Results 1 – 14 of 14) sorted by relevance

/netbsd/src/sys/dev/ic/
Ddwc_gmac.c292 if (dwc_gmac_alloc_tx_ring(sc, &sc->sc_txq) != 0) { in dwc_gmac_attach()
307 mutex_init(&sc->sc_txq.t_mtx, MUTEX_DEFAULT, IPL_NET); in dwc_gmac_attach()
376 dwc_gmac_free_tx_ring(sc, &sc->sc_txq); in dwc_gmac_attach()
639 sc->sc_txq.t_desc = sc->sc_rxq.r_desc + AWGE_RX_RING_COUNT; in dwc_gmac_alloc_dma_rings()
640 sc->sc_txq.t_physaddr = sc->sc_rxq.r_physaddr + in dwc_gmac_alloc_dma_rings()
777 sc->sc_txq.t_physaddr); in dwc_gmac_reset_tx_ring()
918 sc->sc_txq.t_physaddr); in dwc_gmac_init()
940 mutex_enter(&sc->sc_txq.t_mtx); in dwc_gmac_init()
942 mutex_exit(&sc->sc_txq.t_mtx); in dwc_gmac_init()
964 int old = sc->sc_txq.t_queued; in dwc_gmac_start_locked()
[all …]
Ddwc_gmac_var.h103 struct dwc_gmac_tx_ring sc_txq; member
Dath.c3367 if (qnum >= N(sc->sc_txq)) { in ath_txq_setup()
3370 qnum, N(sc->sc_txq)); in ath_txq_setup()
3375 struct ath_txq *txq = &sc->sc_txq[qnum]; in ath_txq_setup()
3385 return &sc->sc_txq[qnum]; in ath_txq_setup()
3488 ath_tx_cleanupq(sc, &sc->sc_txq[i]); in ath_tx_cleanup()
4236 if (txqactive(sc->sc_ah, 0) && ath_tx_processq(sc, &sc->sc_txq[0]) > 0) in ath_tx_proc_q0()
4273 nacked += ath_tx_processq(sc, &sc->sc_txq[0]); in ath_tx_proc_q0123()
4275 nacked += ath_tx_processq(sc, &sc->sc_txq[1]); in ath_tx_proc_q0123()
4277 nacked += ath_tx_processq(sc, &sc->sc_txq[2]); in ath_tx_proc_q0123()
4279 nacked += ath_tx_processq(sc, &sc->sc_txq[3]); in ath_tx_proc_q0123()
[all …]
Dathn.c1813 struct athn_txq *txq = &sc->sc_txq[qid]; in athn_tx_reclaim()
1911 SIMPLEQ_INIT(&sc->sc_txq[qid].head); in athn_init_tx_queues()
1912 sc->sc_txq[qid].lastds = NULL; in athn_init_tx_queues()
1913 sc->sc_txq[qid].wait = NULL; in athn_init_tx_queues()
1914 sc->sc_txq[qid].queued = 0; in athn_init_tx_queues()
Dathnvar.h553 struct athn_txq sc_txq[31]; member
Dathvar.h280 struct ath_txq sc_txq[HAL_NUM_TX_QUEUES]; member
Darn5008.c971 struct athn_txq *txq = &sc->sc_txq[qid]; in ar5008_tx_process()
1081 SIMPLEQ_EMPTY(&sc->sc_txq[ATHN_QID_CAB].head)) in ar5008_swba_intr()
1383 txq = &sc->sc_txq[qid]; in ar5008_tx()
Darn9003.c1121 txq = &sc->sc_txq[qid]; in ar9003_tx_process()
1227 SIMPLEQ_EMPTY(&sc->sc_txq[ATHN_QID_CAB].head)) in ar9003_swba_intr()
1536 txq = &sc->sc_txq[qid]; in ar9003_tx()
/netbsd/src/sys/arch/arm/gemini/
Dif_gmc.c69 gmac_hwqueue_t *sc_txq[6]; member
399 if (!gmc_txqueue(sc, sc->sc_txq[0], m)) { in gmc_ifstart()
467 if (sc->sc_txq[0] == NULL) { in gmc_ifinit()
475 for (i = 0; i < __arraycount(sc->sc_txq); i++) { in gmc_ifinit()
476 sc->sc_txq[i] = gmac_hwqueue_create(hqm, sc->sc_iot, in gmc_ifinit()
479 if (sc->sc_txq[i] == NULL) { in gmc_ifinit()
484 sc->sc_txq[i]->hwq_ifp = ifp; in gmc_ifinit()
489 if (sc->sc_txq[i]->hwq_qoff < hwq->hwq_qoff) in gmc_ifinit()
496 sc->sc_txq[i], hwq_link); in gmc_ifinit()
498 SLIST_INSERT_AFTER(last_hwq, sc->sc_txq[i], in gmc_ifinit()
[all …]
/netbsd/src/sys/arch/arm/broadcom/
Dbcm53xx_eth.c148 struct bcmeth_txqueue sc_txq; member
323 error = bcmeth_txq_attach(sc, &sc->sc_txq, 0); in bcmeth_ccb_attach()
554 bcmeth_txq_reset(sc, &sc->sc_txq); in bcmeth_ifinit()
556 bcmeth_write_4(sc, sc->sc_txq.txq_reg_xmtctl, XMTCTL_DMA_ACT_INDEX in bcmeth_ifinit()
582 bcmeth_write_4(sc, sc->sc_txq.txq_reg_xmtctl, in bcmeth_ifinit()
583 bcmeth_read_4(sc, sc->sc_txq.txq_reg_xmtctl) | XMTCTL_ENABLE); in bcmeth_ifinit()
597 bcmeth_read_4(sc, sc->sc_txq.txq_reg_xmtctl), in bcmeth_ifinit()
614 struct bcmeth_txqueue * const txq = &sc->sc_txq; in bcmeth_ifstop()
660 bcmeth_txq_consume(sc, &sc->sc_txq); in bcmeth_ifstop()
662 bcmeth_txq_purge(sc, &sc->sc_txq); in bcmeth_ifstop()
[all …]
/netbsd/src/sys/arch/luna68k/dev/
Dlunaws.c119 uint8_t sc_txq[OMKBD_TXQ_LEN]; member
330 sio->sio_data = sc->sc_txq[sc->sc_txqhead]; in wssoftintr()
333 sc->sc_txqhead, sc->sc_txq[sc->sc_txqhead])); in wssoftintr()
401 sc->sc_txq[sc->sc_txqtail] = txdata; in omkbd_send()
404 sc->sc_txqtail, sc->sc_txq[sc->sc_txqtail])); in omkbd_send()
/netbsd/src/sys/dev/marvell/
Dif_gfevar.h165 struct gfe_txqueue sc_txq[2]; /* High & Low transmit queues */ member
Dif_gfe.c704 if (IF_QFULL(&sc->sc_txq[GE_TXPRIO_HI].txq_pendq)) in gfe_ifstart()
713 IF_ENQUEUE(&sc->sc_txq[GE_TXPRIO_HI].txq_pendq, m); in gfe_ifstart()
731 struct gfe_txqueue * const txq = &sc->sc_txq[GE_TXPRIO_HI]; in gfe_ifwatchdog()
1190 struct gfe_txqueue * const txq = &sc->sc_txq[txprio]; in gfe_tx_enqueue()
1361 struct gfe_txqueue * const txq = &sc->sc_txq[txprio]; in gfe_tx_done()
1450 struct gfe_txqueue * const txq = &sc->sc_txq[txprio]; in gfe_tx_txqalloc()
1474 struct gfe_txqueue * const txq = &sc->sc_txq[txprio]; in gfe_tx_start()
1566 struct gfe_txqueue * const txq = &sc->sc_txq[txprio]; in gfe_tx_cleanup()
/netbsd/src/sys/arch/powerpc/booke/dev/
Dpq3etsec.c189 struct pq3etsec_txqueue sc_txq; member
650 error = pq3etsec_txq_attach(sc, &sc->sc_txq, 0); in pq3etsec_attach()
967 pq3etsec_txq_reset(sc, &sc->sc_txq); in pq3etsec_ifinit()
1102 pq3etsec_txq_consume(sc, &sc->sc_txq); in pq3etsec_ifstop()
1104 pq3etsec_txq_purge(sc, &sc->sc_txq); in pq3etsec_ifstop()
2346 struct pq3etsec_txqueue * const txq = &sc->sc_txq; in pq3etsec_tx_error()
2523 || pq3etsec_txq_active_p(sc, &sc->sc_txq)) { in pq3etsec_soft_intr()
2528 if (!pq3etsec_txq_consume(sc, &sc->sc_txq) in pq3etsec_soft_intr()
2529 || !pq3etsec_txq_enqueue(sc, &sc->sc_txq)) { in pq3etsec_soft_intr()