Lines Matching refs:desc
924 struct dma_async_tx_descriptor *desc; in atmel_tx_dma() local
980 desc = dmaengine_prep_slave_sg(chan, in atmel_tx_dma()
986 if (!desc) { in atmel_tx_dma()
993 atmel_port->desc_tx = desc; in atmel_tx_dma()
994 desc->callback = atmel_complete_tx_dma; in atmel_tx_dma()
995 desc->callback_param = atmel_port; in atmel_tx_dma()
996 atmel_port->cookie_tx = dmaengine_submit(desc); in atmel_tx_dma()
1187 struct dma_async_tx_descriptor *desc; in atmel_prepare_rx_dma() local
1244 desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx, in atmel_prepare_rx_dma()
1250 if (!desc) { in atmel_prepare_rx_dma()
1254 desc->callback = atmel_complete_rx_dma; in atmel_prepare_rx_dma()
1255 desc->callback_param = port; in atmel_prepare_rx_dma()
1256 atmel_port->desc_rx = desc; in atmel_prepare_rx_dma()
1257 atmel_port->cookie_rx = dmaengine_submit(desc); in atmel_prepare_rx_dma()