Lines Matching refs:dma_desc
149 struct dma_async_tx_descriptor *dma_desc; in cppi41_trans_done() local
162 dma_desc = dmaengine_prep_slave_single(dc, in cppi41_trans_done()
167 if (WARN_ON(!dma_desc)) in cppi41_trans_done()
170 dma_desc->callback_result = cppi41_dma_callback; in cppi41_trans_done()
171 dma_desc->callback_param = &cppi41_channel->channel; in cppi41_trans_done()
172 cppi41_channel->cookie = dma_desc->tx_submit(dma_desc); in cppi41_trans_done()
418 struct dma_async_tx_descriptor *dma_desc; in cppi41_configure_channel() local
465 dma_desc = dmaengine_prep_slave_single(dc, dma_addr, len, direction, in cppi41_configure_channel()
467 if (!dma_desc) in cppi41_configure_channel()
470 dma_desc->callback_result = cppi41_dma_callback; in cppi41_configure_channel()
471 dma_desc->callback_param = channel; in cppi41_configure_channel()
472 cppi41_channel->cookie = dma_desc->tx_submit(dma_desc); in cppi41_configure_channel()