Lines Matching refs:vchan
107 struct idma64 *idma64 = to_idma64(idma64c->vchan.chan.device); in idma64_stop_transfer()
114 struct idma64 *idma64 = to_idma64(idma64c->vchan.chan.device); in idma64_start_transfer()
118 vdesc = vchan_next_desc(&idma64c->vchan); in idma64_start_transfer()
142 spin_lock(&idma64c->vchan.lock); in idma64_chan_irq()
159 spin_unlock(&idma64c->vchan.lock); in idma64_chan_irq()
326 return vchan_tx_prep(&idma64c->vchan, &desc->vdesc, flags); in idma64_prep_slave_sg()
334 spin_lock_irqsave(&idma64c->vchan.lock, flags); in idma64_issue_pending()
335 if (vchan_issue_pending(&idma64c->vchan) && !idma64c->desc) in idma64_issue_pending()
337 spin_unlock_irqrestore(&idma64c->vchan.lock, flags); in idma64_issue_pending()
378 spin_lock_irqsave(&idma64c->vchan.lock, flags); in idma64_tx_status()
379 vdesc = vchan_find_desc(&idma64c->vchan, cookie); in idma64_tx_status()
388 spin_unlock_irqrestore(&idma64c->vchan.lock, flags); in idma64_tx_status()
445 spin_lock_irqsave(&idma64c->vchan.lock, flags); in idma64_pause()
450 spin_unlock_irqrestore(&idma64c->vchan.lock, flags); in idma64_pause()
460 spin_lock_irqsave(&idma64c->vchan.lock, flags); in idma64_resume()
465 spin_unlock_irqrestore(&idma64c->vchan.lock, flags); in idma64_resume()
476 spin_lock_irqsave(&idma64c->vchan.lock, flags); in idma64_terminate_all()
483 vchan_get_all_descriptors(&idma64c->vchan, &head); in idma64_terminate_all()
484 spin_unlock_irqrestore(&idma64c->vchan.lock, flags); in idma64_terminate_all()
486 vchan_dma_desc_free_list(&idma64c->vchan, &head); in idma64_terminate_all()
494 vchan_synchronize(&idma64c->vchan); in idma64_synchronize()
562 idma64c->vchan.desc_free = idma64_vdesc_free; in idma64_probe()
563 vchan_init(&idma64c->vchan, &idma64->dma); in idma64_probe()
619 tasklet_kill(&idma64c->vchan.task); in idma64_remove()