Lines Matching refs:cur_desc
201 struct sprd_dma_desc *cur_desc; member
517 schan->cur_desc = to_sprd_dma_desc(vd); in sprd_dma_start()
530 sprd_dma_set_chn_config(schan, schan->cur_desc); in sprd_dma_start()
545 schan->cur_desc = NULL; in sprd_dma_stop()
579 sdesc = schan->cur_desc; in dma_irq_handle()
599 schan->cur_desc = NULL; in dma_irq_handle()
621 if (schan->cur_desc) in sprd_dma_free_chan_resources()
622 cur_vd = &schan->cur_desc->vd; in sprd_dma_free_chan_resources()
662 } else if (schan->cur_desc && schan->cur_desc->vd.tx.cookie == cookie) { in sprd_dma_tx_status()
663 struct sprd_dma_desc *sdesc = schan->cur_desc; in sprd_dma_tx_status()
684 if (vchan_issue_pending(&schan->vc) && !schan->cur_desc) in sprd_dma_issue_pending()
1047 if (schan->cur_desc) in sprd_dma_terminate_all()
1048 cur_vd = &schan->cur_desc->vd; in sprd_dma_terminate_all()
1154 dma_chn->cur_desc = NULL; in sprd_dma_probe()