Lines Matching refs:dma_q
83 static inline void get_next_buf(struct tm6000_dmaqueue *dma_q, in get_next_buf() argument
86 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in get_next_buf()
88 if (list_empty(&dma_q->active)) { in get_next_buf()
94 *buf = list_entry(dma_q->active.next, in get_next_buf()
102 struct tm6000_dmaqueue *dma_q, in buffer_filled() argument
121 struct tm6000_dmaqueue *dma_q = urb->context; in copy_streams() local
122 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_streams()
133 get_next_buf(dma_q, &vbuf); in copy_streams()
199 buffer_filled(dev, dma_q, vbuf); in copy_streams()
202 get_next_buf(dma_q, &vbuf); in copy_streams()
289 struct tm6000_dmaqueue *dma_q = urb->context; in copy_multiplexed() local
290 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_multiplexed()
296 get_next_buf(dma_q, &buf); in copy_multiplexed()
312 buffer_filled(dev, dma_q, buf); in copy_multiplexed()
314 get_next_buf(dma_q, &buf); in copy_multiplexed()
374 struct tm6000_dmaqueue *dma_q = urb->context; in tm6000_isoc_copy() local
375 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_isoc_copy()
420 struct tm6000_dmaqueue *dma_q = urb->context; in tm6000_irq_callback() local
421 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_irq_callback()
553 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_prepare_isoc() local
630 tm6000_irq_callback, dma_q); in tm6000_prepare_isoc()
646 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_start_thread() local
649 dma_q->frame = 0; in tm6000_start_thread()
650 dma_q->ini_jiffies = jiffies; in tm6000_start_thread()
652 init_waitqueue_head(&dma_q->wq); in tm6000_start_thread()