Lines Matching refs:txd
727 struct stge_txdesc *txd;
861 txd = &sc->sc_cdata.stge_txdesc[i];
862 txd->tx_m = NULL;
863 txd->tx_dmamap = 0;
865 &txd->tx_dmamap);
898 struct stge_txdesc *txd;
933 txd = &sc->sc_cdata.stge_txdesc[i];
934 if (txd->tx_dmamap) {
936 txd->tx_dmamap);
937 txd->tx_dmamap = 0;
1067 struct stge_txdesc *txd;
1076 if ((txd = STAILQ_FIRST(&sc->sc_cdata.stge_txfreeq)) == NULL)
1080 txd->tx_dmamap, *m_head, txsegs, &nsegs, 0);
1090 txd->tx_dmamap, *m_head, txsegs, &nsegs, 0);
1138 STAILQ_INSERT_TAIL(&sc->sc_cdata.stge_txbusyq, txd, tx_q);
1139 txd->tx_m = m;
1142 bus_dmamap_sync(sc->sc_cdata.stge_tx_tag, txd->tx_dmamap,
1530 struct stge_txdesc *txd;
1538 txd = STAILQ_FIRST(&sc->sc_cdata.stge_txbusyq);
1539 if (txd == NULL)
1558 bus_dmamap_sync(sc->sc_cdata.stge_tx_tag, txd->tx_dmamap,
1560 bus_dmamap_unload(sc->sc_cdata.stge_tx_tag, txd->tx_dmamap);
1563 m_freem(txd->tx_m);
1564 txd->tx_m = NULL;
1566 STAILQ_INSERT_TAIL(&sc->sc_cdata.stge_txfreeq, txd, tx_q);
1567 txd = STAILQ_FIRST(&sc->sc_cdata.stge_txbusyq);
2206 struct stge_txdesc *txd;
2256 txd = &sc->sc_cdata.stge_txdesc[i];
2257 if (txd->tx_m != NULL) {
2259 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
2261 txd->tx_dmamap);
2262 m_freem(txd->tx_m);
2263 txd->tx_m = NULL;
2365 struct stge_txdesc *txd;
2385 txd = &sc->sc_cdata.stge_txdesc[i];
2386 STAILQ_INSERT_TAIL(&sc->sc_cdata.stge_txfreeq, txd, tx_q);