Lines Matching refs:vchan
113 vdesc = vchan_next_desc(&hsuc->vchan); in hsu_dma_start_transfer()
160 spin_lock_irqsave(&hsuc->vchan.lock, flags); in hsu_dma_get_status()
162 spin_unlock_irqrestore(&hsuc->vchan.lock, flags); in hsu_dma_get_status()
214 stat = this_cpu_ptr(hsuc->vchan.chan.local); in hsu_dma_do_irq()
216 spin_lock_irqsave(&hsuc->vchan.lock, flags); in hsu_dma_do_irq()
230 spin_unlock_irqrestore(&hsuc->vchan.lock, flags); in hsu_dma_do_irq()
287 return vchan_tx_prep(&hsuc->vchan, &desc->vdesc, flags); in hsu_dma_prep_slave_sg()
295 spin_lock_irqsave(&hsuc->vchan.lock, flags); in hsu_dma_issue_pending()
296 if (vchan_issue_pending(&hsuc->vchan) && !hsuc->desc) in hsu_dma_issue_pending()
298 spin_unlock_irqrestore(&hsuc->vchan.lock, flags); in hsu_dma_issue_pending()
331 spin_lock_irqsave(&hsuc->vchan.lock, flags); in hsu_dma_tx_status()
332 vdesc = vchan_find_desc(&hsuc->vchan, cookie); in hsu_dma_tx_status()
341 spin_unlock_irqrestore(&hsuc->vchan.lock, flags); in hsu_dma_tx_status()
361 spin_lock_irqsave(&hsuc->vchan.lock, flags); in hsu_dma_pause()
366 spin_unlock_irqrestore(&hsuc->vchan.lock, flags); in hsu_dma_pause()
376 spin_lock_irqsave(&hsuc->vchan.lock, flags); in hsu_dma_resume()
381 spin_unlock_irqrestore(&hsuc->vchan.lock, flags); in hsu_dma_resume()
392 spin_lock_irqsave(&hsuc->vchan.lock, flags); in hsu_dma_terminate_all()
400 vchan_get_all_descriptors(&hsuc->vchan, &head); in hsu_dma_terminate_all()
401 spin_unlock_irqrestore(&hsuc->vchan.lock, flags); in hsu_dma_terminate_all()
402 vchan_dma_desc_free_list(&hsuc->vchan, &head); in hsu_dma_terminate_all()
416 vchan_synchronize(&hsuc->vchan); in hsu_dma_synchronize()
444 hsuc->vchan.desc_free = hsu_dma_desc_free; in hsu_dma_probe()
445 vchan_init(&hsuc->vchan, &hsu->dma); in hsu_dma_probe()
495 tasklet_kill(&hsuc->vchan.task); in hsu_dma_remove()