Lines Matching refs:desc
622 struct dma_async_tx_descriptor *desc; in imx_uart_dma_tx() local
653 desc = dmaengine_prep_slave_sg(chan, sgl, ret, in imx_uart_dma_tx()
655 if (!desc) { in imx_uart_dma_tx()
661 desc->callback = imx_uart_dma_tx_callback; in imx_uart_dma_tx()
662 desc->callback_param = sport; in imx_uart_dma_tx()
673 dmaengine_submit(desc); in imx_uart_dma_tx()
1272 struct dma_async_tx_descriptor *desc; in imx_uart_start_rx_dma() local
1285 desc = dmaengine_prep_dma_cyclic(chan, sg_dma_address(sgl), in imx_uart_start_rx_dma()
1289 if (!desc) { in imx_uart_start_rx_dma()
1294 desc->callback = imx_uart_dma_rx_callback; in imx_uart_start_rx_dma()
1295 desc->callback_param = sport; in imx_uart_start_rx_dma()
1299 sport->rx_cookie = dmaengine_submit(desc); in imx_uart_start_rx_dma()