Searched refs:q_free (Results 1 – 12 of 12) sorted by relevance
/drivers/media/pci/ivtv/ |
D | ivtv-queue.c | 57 if (q == &s->q_free) { in ivtv_enqueue() 127 int from_free = from == &s->q_free; in ivtv_queue_move() 128 int to_free = to == &s->q_free; in ivtv_queue_move() 187 ivtv_queue_move(s, &s->q_io, NULL, &s->q_free, 0); in ivtv_flush_queues() 188 ivtv_queue_move(s, &s->q_full, NULL, &s->q_free, 0); in ivtv_flush_queues() 189 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_free, 0); in ivtv_flush_queues() 190 ivtv_queue_move(s, &s->q_predma, NULL, &s->q_free, 0); in ivtv_flush_queues() 256 ivtv_enqueue(s, buf, &s->q_free); in ivtv_stream_alloc() 273 while ((buf = ivtv_dequeue(s, &s->q_free))) { in ivtv_stream_free()
|
D | ivtv-fileops.c | 230 ivtv_enqueue(s_vbi, buf, &s_vbi->q_free); in ivtv_get_buffer() 397 ivtv_enqueue(s, buf, (buf->readpos == buf->bytesused) ? &s->q_free : &s->q_io); in ivtv_read() 626 while (q.length - q.bytesused < count && (buf = ivtv_dequeue(s, &s->q_free))) { in ivtv_write() 636 if (!s->q_free.buffers) in ivtv_write() 659 ivtv_queue_move(s, &q, NULL, &s->q_free, 0); in ivtv_write() 762 if (s->q_free.buffers) in ivtv_v4l2_dec_poll()
|
D | ivtv-irq.c | 66 ivtv_enqueue(s, buf, &s->q_free); in ivtv_pcm_work_handler() 216 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); in stream_enc_dma_append() 321 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_free, 0); in dma_post() 594 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 | 184 ivtv_queue_init(&s->q_free); in ivtv_stream_init()
|
D | ivtv-ioctl.c | 1595 (s->buffers - s->q_free.buffers) * 100 / s->buffers, in ivtv_log_status()
|
/drivers/media/pci/cx18/ |
D | cx18-queue.c | 72 q = &s->q_free; in _cx18_enqueue() 204 cx18_enqueue(s, mdl, &s->q_free); in cx18_queue_get_mdl() 238 cx18_queue_flush(s, &s->q_busy, &s->q_free); in cx18_flush_queues() 239 cx18_queue_flush(s, &s->q_full, &s->q_free); in cx18_flush_queues() 255 cx18_queue_flush(s, &s->q_free, q_idle); in cx18_unload_queues() 326 cx18_enqueue(s, mdl, &s->q_free); in cx18_load_queues()
|
D | cx18-streams.c | 278 spin_lock_init(&s->q_free.lock); in cx18_stream_init() 279 cx18_queue_init(&s->q_free); in cx18_stream_init() 672 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >= in cx18_stream_rotate_idx_mdls() 686 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_rotate_idx_mdls() 700 return cx18_enqueue(s, mdl, &s->q_free); in _cx18_stream_put_mdl_fw() 719 if (atomic_read(&s->q_free.depth) == 0 || in _cx18_stream_load_fw_queue() 725 mdl = cx18_dequeue(s, &s->q_free); in _cx18_stream_load_fw_queue()
|
D | cx18-streams.h | 52 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_put_mdl_fw()
|
D | cx18-mailbox.c | 312 cx18_enqueue(s, mdl, &s->q_free); in epu_dma_done() 317 cx18_enqueue(s, mdl, &s->q_free); in epu_dma_done() 323 cx18_enqueue(s, mdl, &s->q_free); in epu_dma_done()
|
D | cx18-driver.h | 402 struct cx18_queue q_free; /* free - in rotation, not committed */ member
|
D | cx18-ioctl.c | 805 cx18_enqueue(s, mdl, &s->q_free); in cx18_g_enc_index()
|