Lines Matching refs:dma_q

97 static inline void get_next_buf(struct tm6000_dmaqueue *dma_q,  in get_next_buf()  argument
100 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in get_next_buf()
102 if (list_empty(&dma_q->active)) { in get_next_buf()
108 *buf = list_entry(dma_q->active.next, in get_next_buf()
116 struct tm6000_dmaqueue *dma_q, in buffer_filled() argument
135 struct tm6000_dmaqueue *dma_q = urb->context; in copy_streams() local
136 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_streams()
147 get_next_buf(dma_q, &vbuf); in copy_streams()
213 buffer_filled(dev, dma_q, vbuf); in copy_streams()
216 get_next_buf(dma_q, &vbuf); in copy_streams()
303 struct tm6000_dmaqueue *dma_q = urb->context; in copy_multiplexed() local
304 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_multiplexed()
310 get_next_buf(dma_q, &buf); in copy_multiplexed()
326 buffer_filled(dev, dma_q, buf); in copy_multiplexed()
328 get_next_buf(dma_q, &buf); in copy_multiplexed()
388 struct tm6000_dmaqueue *dma_q = urb->context; in tm6000_isoc_copy() local
389 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_isoc_copy()
434 struct tm6000_dmaqueue *dma_q = urb->context; in tm6000_irq_callback() local
435 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in tm6000_irq_callback()
570 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_prepare_isoc() local
650 tm6000_irq_callback, dma_q); in tm6000_prepare_isoc()
666 struct tm6000_dmaqueue *dma_q = &dev->vidq; in tm6000_start_thread() local
669 dma_q->frame = 0; in tm6000_start_thread()
670 dma_q->ini_jiffies = jiffies; in tm6000_start_thread()
672 init_waitqueue_head(&dma_q->wq); in tm6000_start_thread()