Lines Matching refs:vc

68 	struct virt_dma_chan vc;
84 to_milbeaut_hdmac_chan(struct virt_dma_chan *vc)
86 return container_of(vc, struct milbeaut_hdmac_chan, vc);
95 /* mc->vc.lock must be held by caller */
101 vd = vchan_next_desc(&mc->vc);
114 /* mc->vc.lock must be held by caller */
161 /* mc->vc.lock must be held by caller */
177 spin_lock(&mc->vc.lock);
203 spin_unlock(&mc->vc.lock);
215 struct virt_dma_chan *vc = to_virt_chan(chan);
216 struct milbeaut_hdmac_chan *mc = to_milbeaut_hdmac_chan(vc);
218 spin_lock(&mc->vc.lock);
220 spin_unlock(&mc->vc.lock);
227 struct virt_dma_chan *vc = to_virt_chan(chan);
228 struct milbeaut_hdmac_chan *mc = to_milbeaut_hdmac_chan(vc);
231 spin_lock(&mc->vc.lock);
235 spin_unlock(&mc->vc.lock);
242 struct virt_dma_chan *vc = to_virt_chan(chan);
243 struct milbeaut_hdmac_chan *mc = to_milbeaut_hdmac_chan(vc);
246 spin_lock(&mc->vc.lock);
250 spin_unlock(&mc->vc.lock);
261 struct virt_dma_chan *vc = to_virt_chan(chan);
284 return vchan_tx_prep(vc, &md->vd, flags);
289 struct virt_dma_chan *vc = to_virt_chan(chan);
290 struct milbeaut_hdmac_chan *mc = to_milbeaut_hdmac_chan(vc);
296 spin_lock_irqsave(&vc->lock, flags);
307 vchan_get_all_descriptors(vc, &head);
309 spin_unlock_irqrestore(&vc->lock, flags);
311 vchan_dma_desc_free_list(vc, &head);
325 struct virt_dma_chan *vc;
338 vc = to_virt_chan(chan);
340 spin_lock_irqsave(&vc->lock, flags);
342 mc = to_milbeaut_hdmac_chan(vc);
364 vd = vchan_find_desc(vc, cookie);
375 spin_unlock_irqrestore(&vc->lock, flags);
382 struct virt_dma_chan *vc = to_virt_chan(chan);
383 struct milbeaut_hdmac_chan *mc = to_milbeaut_hdmac_chan(vc);
386 spin_lock_irqsave(&vc->lock, flags);
388 if (vchan_issue_pending(vc) && !mc->md)
391 spin_unlock_irqrestore(&vc->lock, flags);
407 struct virt_dma_chan *vc;
417 vc = to_virt_chan(chan);
418 mc = to_milbeaut_hdmac_chan(vc);
449 mc->vc.desc_free = milbeaut_hdmac_desc_free;
450 vchan_init(&mc->vc, &mdev->ddev);