Lines Matching defs:txd
880 struct vr_txdesc *txd;
1022 txd = &sc->vr_cdata.vr_txdesc[i];
1023 txd->tx_m = NULL;
1024 txd->tx_dmamap = NULL;
1026 &txd->tx_dmamap);
1060 struct vr_txdesc *txd;
1095 txd = &sc->vr_cdata.vr_txdesc[i];
1096 if (txd->tx_dmamap) {
1098 txd->tx_dmamap);
1099 txd->tx_dmamap = NULL;
1137 struct vr_txdesc *txd;
1154 txd = &sc->vr_cdata.vr_txdesc[i];
1155 txd->tx_m = NULL;
1432 struct vr_txdesc *txd;
1467 txd = &sc->vr_cdata.vr_txdesc[cons];
1468 KASSERT(txd->tx_m != NULL, ("%s: accessing NULL mbuf!\n",
1478 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
1480 txd->tx_dmamap);
1481 m_freem(txd->tx_m);
1482 txd->tx_m = NULL;
1522 bus_dmamap_sync(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap,
1524 bus_dmamap_unload(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap);
1534 m_freem(txd->tx_m);
1535 txd->tx_m = NULL;
1786 struct vr_txdesc *txd;
1851 txd = &sc->vr_cdata.vr_txdesc[prod];
1852 error = bus_dmamap_load_mbuf_sg(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap,
1863 txd->tx_dmamap, *m_head, txsegs, &nsegs, BUS_DMA_NOWAIT);
1879 bus_dmamap_unload(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap);
1883 txd->tx_m = *m_head;
1884 bus_dmamap_sync(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap,
2426 struct vr_txdesc *txd;
2465 txd = &sc->vr_cdata.vr_txdesc[i];
2466 if (txd->tx_m != NULL) {
2468 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
2470 txd->tx_dmamap);
2471 m_freem(txd->tx_m);
2472 txd->tx_m = NULL;