Home | History | Annotate | Download | only in dev

Lines Matching refs:sc_txdma

156 	if (!xsc->sc_txdma) {
157 xsc->sc_txdma = nextdma_findchannel ("enetx");
158 if (xsc->sc_txdma == NULL)
169 device_xname(xsc->sc_txdma->sc_dev),
177 nextdma_setconf (xsc->sc_txdma, continue_cb, xe_dma_tx_continue);
178 nextdma_setconf (xsc->sc_txdma, completed_cb, xe_dma_tx_completed);
179 nextdma_setconf (xsc->sc_txdma, shutdown_cb, xe_dma_tx_shutdown);
180 nextdma_setconf (xsc->sc_txdma, cb_arg, sc);
183 error = bus_dmamap_create(xsc->sc_txdma->sc_dmat, MCLBYTES,
261 xsc->sc_txdma = nextdma_findchannel("enetx");
263 if (xsc->sc_rxdma && xsc->sc_txdma)
318 nextdma_reset(xsc->sc_txdma);
321 bus_dmamap_sync(xsc->sc_txdma->sc_dmat, xsc->sc_tx_dmamap,
323 bus_dmamap_unload(xsc->sc_txdma->sc_dmat, xsc->sc_tx_dmamap);
413 nextdma_init(xsc->sc_txdma);
423 nextdma_start(xsc->sc_txdma, DMACSR_SETWRITE);
446 error = bus_dmamap_load_mbuf(xsc->sc_txdma->sc_dmat,
470 error = bus_dmamap_load(xsc->sc_txdma->sc_dmat,
489 bus_dmamap_sync(xsc->sc_txdma->sc_dmat, xsc->sc_tx_dmamap, 0,
547 bus_dmamap_sync(xsc->sc_txdma->sc_dmat, xsc->sc_tx_dmamap,
549 bus_dmamap_unload(xsc->sc_txdma->sc_dmat, xsc->sc_tx_dmamap);