Lines Matching refs:txd
829 struct msk_txdesc *txd;
842 txd = &sc_if->msk_cdata.msk_txdesc[i];
843 txd->tx_m = NULL;
844 txd->tx_le = &rd->msk_tx_ring[i];
2219 struct msk_txdesc *txd;
2365 txd = &sc_if->msk_cdata.msk_txdesc[i];
2366 txd->tx_m = NULL;
2367 txd->tx_dmamap = NULL;
2369 &txd->tx_dmamap);
2513 struct msk_txdesc *txd;
2550 txd = &sc_if->msk_cdata.msk_txdesc[i];
2551 if (txd->tx_dmamap) {
2553 txd->tx_dmamap);
2554 txd->tx_dmamap = NULL;
2629 struct msk_txdesc *txd, *txd_last;
2734 txd = &sc_if->msk_cdata.msk_txdesc[prod];
2735 txd_last = txd;
2736 map = txd->tx_dmamap;
2890 txd = &sc_if->msk_cdata.msk_txdesc[prod];
2892 txd_last->tx_dmamap = txd->tx_dmamap;
2893 txd->tx_dmamap = map;
2894 txd->tx_m = m;
3329 struct msk_txdesc *txd;
3358 txd = &sc_if->msk_cdata.msk_txdesc[cons];
3359 bus_dmamap_sync(sc_if->msk_cdata.msk_tx_tag, txd->tx_dmamap,
3361 bus_dmamap_unload(sc_if->msk_cdata.msk_tx_tag, txd->tx_dmamap);
3364 KASSERT(txd->tx_m != NULL, ("%s: freeing NULL mbuf!",
3366 m_freem(txd->tx_m);
3367 txd->tx_m = NULL;
4154 struct msk_txdesc *txd;
4286 txd = &sc_if->msk_cdata.msk_txdesc[i];
4287 if (txd->tx_m != NULL) {
4289 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
4291 txd->tx_dmamap);
4292 m_freem(txd->tx_m);
4293 txd->tx_m = NULL;