Searched refs:q_full (Results 1 – 11 of 11) sorted by relevance
/linux-2.6.39/drivers/media/video/ivtv/ |
D | ivtv-fileops.c | 225 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 …]
|
D | ivtv-irq.c | 185 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()
|
D | ivtv-streams.c | 165 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()
|
D | ivtv-queue.c | 188 ivtv_queue_move(s, &s->q_full, NULL, &s->q_free, 0); in ivtv_flush_queues()
|
D | ivtv-driver.h | 359 struct ivtv_queue q_full; /* full buffers */ member
|
/linux-2.6.39/drivers/media/video/cx18/ |
D | cx18-queue.c | 61 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()
|
D | cx18-fileops.c | 202 &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()
|
D | cx18-streams.c | 129 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()
|
D | cx18-ioctl.c | 844 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()
|
D | cx18-mailbox.c | 264 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done() 267 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done()
|
D | cx18-driver.h | 402 struct cx18_queue q_full; /* full - data for user apps */ member
|