Lines Matching refs:txd
2351 struct rl_txdesc *txd;
2383 txd = &sc->rl_ldata.rl_tx_desc[cons];
2385 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
2387 txd->tx_dmamap);
2388 KASSERT(txd->tx_m != NULL,
2390 m_freem(txd->tx_m);
2391 txd->tx_m = NULL;
2672 struct rl_txdesc *txd, *txd_last;
2732 txd = &sc->rl_ldata.rl_tx_desc[prod];
2733 error = bus_dmamap_load_mbuf_sg(sc->rl_ldata.rl_tx_mtag, txd->tx_dmamap,
2744 txd->tx_dmamap, *m_head, segs, &nsegs, BUS_DMA_NOWAIT);
2760 bus_dmamap_unload(sc->rl_ldata.rl_tx_mtag, txd->tx_dmamap);
2764 bus_dmamap_sync(sc->rl_ldata.rl_tx_mtag, txd->tx_dmamap,
2853 map = txd->tx_dmamap;
2854 txd->tx_dmamap = txd_last->tx_dmamap;
3526 struct rl_txdesc *txd;
3585 txd = &sc->rl_ldata.rl_tx_desc[i];
3586 if (txd->tx_m != NULL) {
3588 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
3590 txd->tx_dmamap);
3591 m_freem(txd->tx_m);
3592 txd->tx_m = NULL;