Lines Matching refs:dma_q
80 static inline void get_next_buf(struct tm6000_dmaqueue *dma_q, in get_next_buf() argument
83 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in get_next_buf()
85 if (list_empty(&dma_q->active)) { in get_next_buf()
91 *buf = list_entry(dma_q->active.next, in get_next_buf()
99 struct tm6000_dmaqueue *dma_q, in buffer_filled() argument
118 struct tm6000_dmaqueue *dma_q = urb->context; in copy_streams() local
119 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_streams()
130 get_next_buf(dma_q, &vbuf); in copy_streams()
196 buffer_filled(dev, dma_q, vbuf); in copy_streams()
199 get_next_buf(dma_q, &vbuf); in copy_streams()
286 struct tm6000_dmaqueue *dma_q = urb->context; in copy_multiplexed() local
287 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_multiplexed()
293 get_next_buf(dma_q, &buf); in copy_multiplexed()
309 buffer_filled(dev, dma_q, buf); in copy_multiplexed()
311 get_next_buf(dma_q, &buf); in copy_multiplexed()
371 struct tm6000_dmaqueue *dma_q = urb->context; in tm6000_isoc_copy() local
372 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_isoc_copy()
417 struct tm6000_dmaqueue *dma_q = urb->context; in tm6000_irq_callback() local
418 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_irq_callback()
551 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_prepare_isoc() local
628 tm6000_irq_callback, dma_q); in tm6000_prepare_isoc()
644 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_start_thread() local
647 dma_q->frame = 0; in tm6000_start_thread()
648 dma_q->ini_jiffies = jiffies; in tm6000_start_thread()
650 init_waitqueue_head(&dma_q->wq); in tm6000_start_thread()