Home
last modified time | relevance | path

Searched refs:q_full (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/drivers/media/video/ivtv/
Divtv-fileops.c225 while ((buf = ivtv_dequeue(s_vbi, &s_vbi->q_full))) { in ivtv_get_buffer()
243 buf = ivtv_dequeue(s, &s->q_full); in ivtv_get_buffer()
273 if (!s->q_full.buffers) in ivtv_get_buffer()
602 if (mode == OUT_YUV && s->q_full.length == 0 && itv->dma_data_req_size) { in ivtv_v4l2_write()
614 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_v4l2_write()
665 ivtv_enqueue(s, buf, &s->q_full); in ivtv_v4l2_write()
679 ivtv_enqueue(s, buf, &s->q_full); in ivtv_v4l2_write()
683 if (s->q_full.length >= itv->dma_data_req_size) { in ivtv_v4l2_write()
701 ivtv_queue_move(s, &s->q_full, NULL, &s->q_predma, itv->dma_data_req_size); in ivtv_v4l2_write()
709 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_v4l2_write()
[all …]
Divtv-irq.c185 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); in stream_enc_dma_append()
296 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_full, s->q_dma.bytesused); in dma_post()
768 IVTV_DEBUG_HI_IRQ("DEC DATA REQ %s: %d %08x %u\n", s->name, s->q_full.bytesused, in ivtv_irq_dec_data_req()
770 if (itv->dma_data_req_size == 0 || s->q_full.bytesused < itv->dma_data_req_size) { in ivtv_irq_dec_data_req()
777 ivtv_queue_move(s, &s->q_full, NULL, &s->q_predma, itv->dma_data_req_size); in ivtv_irq_dec_data_req()
Divtv-streams.c165 ivtv_queue_init(&s->q_full); in ivtv_stream_init()
905 if (s->q_full.buffers + s->q_dma.buffers == 0) { in ivtv_stop_v4l2_decode_stream()
Divtv-queue.c188 ivtv_queue_move(s, &s->q_full, NULL, &s->q_free, 0); in ivtv_flush_queues()
Divtv-driver.h359 struct ivtv_queue q_full; /* full buffers */ member
/linux-2.6.39/drivers/media/video/cx18/
Dcx18-queue.c61 if (q != &s->q_full) { in _cx18_enqueue()
216 if (q_src == q_dst || q_dst == &s->q_full || q_dst == &s->q_busy) in cx18_queue_flush()
239 cx18_queue_flush(s, &s->q_full, &s->q_free); in cx18_flush_queues()
254 cx18_queue_flush(s, &s->q_full, q_idle); in cx18_unload_queues()
Dcx18-fileops.c202 &s_vbi->q_full))) { in cx18_get_mdl()
215 mdl = cx18_dequeue(s, &s->q_full); in cx18_get_mdl()
246 if (!atomic_read(&s->q_full.depth)) in cx18_get_mdl()
466 cx18_push(s, mdl, &s->q_full); in cx18_read()
629 if (atomic_read(&s->q_full.depth)) in cx18_v4l2_enc_poll()
Dcx18-streams.c129 spin_lock_init(&s->q_full.lock); in cx18_stream_init()
130 cx18_queue_init(&s->q_full); in cx18_stream_init()
509 if (atomic_read(&s->q_full.depth) < 2) in cx18_stream_rotate_idx_mdls()
516 mdl = cx18_dequeue(s, &s->q_full); in cx18_stream_rotate_idx_mdls()
Dcx18-ioctl.c844 mdl = cx18_dequeue(s, &s->q_full); in cx18_g_enc_index()
852 cx18_push(s, mdl, &s->q_full); in cx18_g_enc_index()
995 atomic_read(&s->q_full.depth) * s->bufs_per_mdl * 100 in cx18_log_status()
Dcx18-mailbox.c264 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done()
267 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done()
Dcx18-driver.h402 struct cx18_queue q_full; /* full - data for user apps */ member