Lines Matching refs:cur_desc
204 struct sprd_dma_desc *cur_desc; member
542 schan->cur_desc = to_sprd_dma_desc(vd); in sprd_dma_start()
555 sprd_dma_set_chn_config(schan, schan->cur_desc); in sprd_dma_start()
572 schan->cur_desc = NULL; in sprd_dma_stop()
606 sdesc = schan->cur_desc; in dma_irq_handle()
626 schan->cur_desc = NULL; in dma_irq_handle()
648 if (schan->cur_desc) in sprd_dma_free_chan_resources()
649 cur_vd = &schan->cur_desc->vd; in sprd_dma_free_chan_resources()
689 } else if (schan->cur_desc && schan->cur_desc->vd.tx.cookie == cookie) { in sprd_dma_tx_status()
690 struct sprd_dma_desc *sdesc = schan->cur_desc; in sprd_dma_tx_status()
711 if (vchan_issue_pending(&schan->vc) && !schan->cur_desc) in sprd_dma_issue_pending()
1084 if (schan->cur_desc) in sprd_dma_terminate_all()
1085 cur_vd = &schan->cur_desc->vd; in sprd_dma_terminate_all()
1189 dma_chn->cur_desc = NULL; in sprd_dma_probe()