Lines Matching refs:txd
877 struct vr_txdesc *txd;
1019 txd = &sc->vr_cdata.vr_txdesc[i];
1020 txd->tx_m = NULL;
1021 txd->tx_dmamap = NULL;
1023 &txd->tx_dmamap);
1057 struct vr_txdesc *txd;
1092 txd = &sc->vr_cdata.vr_txdesc[i];
1093 if (txd->tx_dmamap) {
1095 txd->tx_dmamap);
1096 txd->tx_dmamap = NULL;
1134 struct vr_txdesc *txd;
1151 txd = &sc->vr_cdata.vr_txdesc[i];
1152 txd->tx_m = NULL;
1429 struct vr_txdesc *txd;
1464 txd = &sc->vr_cdata.vr_txdesc[cons];
1465 KASSERT(txd->tx_m != NULL, ("%s: accessing NULL mbuf!\n",
1475 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
1477 txd->tx_dmamap);
1478 m_freem(txd->tx_m);
1479 txd->tx_m = NULL;
1519 bus_dmamap_sync(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap,
1521 bus_dmamap_unload(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap);
1531 m_freem(txd->tx_m);
1532 txd->tx_m = NULL;
1783 struct vr_txdesc *txd;
1848 txd = &sc->vr_cdata.vr_txdesc[prod];
1849 error = bus_dmamap_load_mbuf_sg(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap,
1860 txd->tx_dmamap, *m_head, txsegs, &nsegs, BUS_DMA_NOWAIT);
1876 bus_dmamap_unload(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap);
1880 txd->tx_m = *m_head;
1881 bus_dmamap_sync(sc->vr_cdata.vr_tx_tag, txd->tx_dmamap,
2423 struct vr_txdesc *txd;
2462 txd = &sc->vr_cdata.vr_txdesc[i];
2463 if (txd->tx_m != NULL) {
2465 txd->tx_dmamap, BUS_DMASYNC_POSTWRITE);
2467 txd->tx_dmamap);
2468 m_freem(txd->tx_m);
2469 txd->tx_m = NULL;