Searched refs:q_free (Results 1 - 12 of 12) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/ivtv/ |
H A D | ivtv-queue.c | 57 if (q == &s->q_free) { 97 /* special handling for q_free */ 114 When 'from' is q_free, then needed_bytes is compared to the total 127 int from_free = from == &s->q_free; 128 int to_free = to == &s->q_free; 187 ivtv_queue_move(s, &s->q_io, NULL, &s->q_free, 0); 188 ivtv_queue_move(s, &s->q_full, NULL, &s->q_free, 0); 189 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_free, 0); 190 ivtv_queue_move(s, &s->q_predma, NULL, &s->q_free, 0); 238 /* allocate stream buffers. Initially all buffers are in q_free [all...] |
H A D | ivtv-fileops.c | 228 ivtv_enqueue(s_vbi, buf, &s_vbi->q_free); 393 ivtv_enqueue(s, buf, (buf->readpos == buf->bytesused) ? &s->q_free : &s->q_io); 623 while (q.length - q.bytesused < count && (buf = ivtv_dequeue(s, &s->q_free))) { 632 if (!s->q_free.buffers) 654 ivtv_queue_move(s, &q, NULL, &s->q_free, 0); 742 if (s->q_free.buffers)
|
H A D | ivtv-irq.c | 185 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); 292 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_free, 0); 542 ivtv_enqueue(s, buf, &s->q_free);
|
H A D | ivtv-driver.h | 358 struct ivtv_queue q_free; /* free buffers */ member in struct:ivtv_stream
|
H A D | ivtv-streams.c | 164 ivtv_queue_init(&s->q_free);
|
H A D | ivtv-ioctl.c | 1565 (s->buffers - s->q_free.buffers) * 100 / s->buffers,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx18/ |
H A D | cx18-streams.h | 51 /* Put mdl on q_free; the out work handler will move mdl(s) to q_busy */ 52 cx18_enqueue(s, mdl, &s->q_free);
|
H A D | cx18-queue.c | 72 q = &s->q_free; 204 cx18_enqueue(s, mdl, &s->q_free); 215 /* It only makes sense to flush to q_free or q_idle */ 238 cx18_queue_flush(s, &s->q_busy, &s->q_free); 239 cx18_queue_flush(s, &s->q_full, &s->q_free); 255 cx18_queue_flush(s, &s->q_free, q_idle); 287 * Attach buffers to MDLs, give the MDLs ids, and add MDLs to q_free 326 cx18_enqueue(s, mdl, &s->q_free);
|
H A D | cx18-streams.c | 123 spin_lock_init(&s->q_free.lock); 124 cx18_queue_init(&s->q_free); 477 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >= 491 cx18_enqueue(s, mdl, &s->q_free); 505 return cx18_enqueue(s, mdl, &s->q_free); 524 if (atomic_read(&s->q_free.depth) == 0 || 528 /* Move from q_free to q_busy notifying the firmware, until the limit */ 530 mdl = cx18_dequeue(s, &s->q_free);
|
H A D | cx18-mailbox.c | 233 * and send them back to q_free for fw rotation eventually. 257 cx18_enqueue(s, mdl, &s->q_free); 262 cx18_enqueue(s, mdl, &s->q_free);
|
H A D | cx18-driver.h | 392 struct cx18_queue q_free; /* free - in rotation, not committed */ member in struct:cx18_stream
|
H A D | cx18-ioctl.c | 908 cx18_enqueue(s, mdl, &s->q_free);
|
Completed in 269 milliseconds