Lines Matching refs:q_predma
118 int skip_bufs = s->q_predma.buffers; in stream_enc_dma_append()
204 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); in stream_enc_dma_append()
217 buf = list_entry(s->q_predma.list.next, struct ivtv_buffer, list); in stream_enc_dma_append()
219 list_for_each_entry(buf, &s->q_predma.list, list) { in stream_enc_dma_append()
228 s->q_predma.bytesused += buf->bytesused; in stream_enc_dma_append()
350 IVTV_DEBUG_HI_DMA("DEC PREPARE DMA %s: %08x %08x\n", s->name, s->q_predma.bytesused, offset); in ivtv_dma_stream_dec_prepare()
363 list_for_each_entry(buf, &s->q_predma.list, list) { in ivtv_dma_stream_dec_prepare()
455 if (s->q_predma.bytesused) in ivtv_dma_enc_start()
456 ivtv_queue_move(s, &s->q_predma, NULL, &s->q_dma, s->q_predma.bytesused); in ivtv_dma_enc_start()
472 ivtv_queue_move(s_vbi, &s_vbi->q_predma, NULL, &s_vbi->q_dma, s_vbi->q_predma.bytesused); in ivtv_dma_enc_start()
512 if (s->q_predma.bytesused) in ivtv_dma_dec_start()
513 ivtv_queue_move(s, &s->q_predma, NULL, &s->q_dma, s->q_predma.bytesused); in ivtv_dma_dec_start()
817 ivtv_queue_move(s, &s->q_full, NULL, &s->q_predma, itv->dma_data_req_size); in ivtv_irq_dec_data_req()