Searched refs:q_free (Results 1 – 12 of 12) sorted by relevance
/drivers/media/pci/ivtv/ |
D | ivtv-queue.c | 45 if (q == &s->q_free) { in ivtv_enqueue() 115 int from_free = from == &s->q_free; in ivtv_queue_move() 116 int to_free = to == &s->q_free; in ivtv_queue_move() 175 ivtv_queue_move(s, &s->q_io, NULL, &s->q_free, 0); in ivtv_flush_queues() 176 ivtv_queue_move(s, &s->q_full, NULL, &s->q_free, 0); in ivtv_flush_queues() 177 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_free, 0); in ivtv_flush_queues() 178 ivtv_queue_move(s, &s->q_predma, NULL, &s->q_free, 0); in ivtv_flush_queues() 244 ivtv_enqueue(s, buf, &s->q_free); in ivtv_stream_alloc() 261 while ((buf = ivtv_dequeue(s, &s->q_free))) { in ivtv_stream_free()
|
D | ivtv-fileops.c | 218 ivtv_enqueue(s_vbi, buf, &s_vbi->q_free); in ivtv_get_buffer() 385 ivtv_enqueue(s, buf, (buf->readpos == buf->bytesused) ? &s->q_free : &s->q_io); in ivtv_read() 614 while (q.length - q.bytesused < count && (buf = ivtv_dequeue(s, &s->q_free))) { in ivtv_write() 624 if (!s->q_free.buffers) in ivtv_write() 647 ivtv_queue_move(s, &q, NULL, &s->q_free, 0); in ivtv_write() 750 if (s->q_free.buffers) in ivtv_v4l2_dec_poll()
|
D | ivtv-irq.c | 54 ivtv_enqueue(s, buf, &s->q_free); in ivtv_pcm_work_handler() 204 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); in stream_enc_dma_append() 309 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_free, 0); in dma_post() 582 ivtv_enqueue(s, buf, &s->q_free); in ivtv_irq_dma_read()
|
D | ivtv-driver.h | 358 struct ivtv_queue q_free; /* free buffers */ member
|
D | ivtv-streams.c | 191 ivtv_queue_init(&s->q_free); in ivtv_stream_init()
|
D | ivtv-ioctl.c | 1581 (s->buffers - s->q_free.buffers) * 100 / s->buffers, in ivtv_log_status()
|
/drivers/media/pci/cx18/ |
D | cx18-queue.c | 58 q = &s->q_free; in _cx18_enqueue() 189 cx18_enqueue(s, mdl, &s->q_free); in cx18_queue_get_mdl() 223 cx18_queue_flush(s, &s->q_busy, &s->q_free); in cx18_flush_queues() 224 cx18_queue_flush(s, &s->q_full, &s->q_free); in cx18_flush_queues() 240 cx18_queue_flush(s, &s->q_free, q_idle); in cx18_unload_queues() 311 cx18_enqueue(s, mdl, &s->q_free); in cx18_load_queues()
|
D | cx18-streams.c | 264 spin_lock_init(&s->q_free.lock); in cx18_stream_init() 265 cx18_queue_init(&s->q_free); in cx18_stream_init() 656 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >= in cx18_stream_rotate_idx_mdls() 670 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_rotate_idx_mdls() 684 return cx18_enqueue(s, mdl, &s->q_free); in _cx18_stream_put_mdl_fw() 703 if (atomic_read(&s->q_free.depth) == 0 || in _cx18_stream_load_fw_queue() 709 mdl = cx18_dequeue(s, &s->q_free); in _cx18_stream_load_fw_queue()
|
D | cx18-streams.h | 38 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_put_mdl_fw()
|
D | cx18-mailbox.c | 297 cx18_enqueue(s, mdl, &s->q_free); in epu_dma_done() 302 cx18_enqueue(s, mdl, &s->q_free); in epu_dma_done() 308 cx18_enqueue(s, mdl, &s->q_free); in epu_dma_done()
|
D | cx18-driver.h | 388 struct cx18_queue q_free; /* free - in rotation, not committed */ member
|
D | cx18-ioctl.c | 799 cx18_enqueue(s, mdl, &s->q_free); in cx18_g_enc_index()
|