Lines Matching refs:sc_txq
148 struct bcmeth_txqueue sc_txq;
316 error = bcmeth_txq_attach(sc, &sc->sc_txq, 0);
547 bcmeth_txq_reset(sc, &sc->sc_txq);
549 bcmeth_write_4(sc, sc->sc_txq.txq_reg_xmtctl, XMTCTL_DMA_ACT_INDEX
575 bcmeth_write_4(sc, sc->sc_txq.txq_reg_xmtctl,
576 bcmeth_read_4(sc, sc->sc_txq.txq_reg_xmtctl) | XMTCTL_ENABLE);
590 bcmeth_read_4(sc, sc->sc_txq.txq_reg_xmtctl),
607 struct bcmeth_txqueue * const txq = &sc->sc_txq;
653 bcmeth_txq_consume(sc, &sc->sc_txq);
655 bcmeth_txq_purge(sc, &sc->sc_txq);
1843 sc->sc_txq.txq_first,
1844 sc->sc_txq.txq_descmap->dm_segs[0].ds_addr,
1845 bcmeth_read_4(sc, sc->sc_txq.txq_reg_xmtptr),
1846 bcmeth_read_4(sc, sc->sc_txq.txq_reg_xmtsts0),
1847 bcmeth_read_4(sc, sc->sc_txq.txq_reg_xmtsts1));
1888 if (!bcmeth_txq_consume(sc, &sc->sc_txq)
1889 || !bcmeth_txq_enqueue(sc, &sc->sc_txq)) {
1916 || bcmeth_txq_active_p(sc, &sc->sc_txq)) {
1921 if (!bcmeth_txq_consume(sc, &sc->sc_txq)
1922 || !bcmeth_txq_enqueue(sc, &sc->sc_txq)) {