Lines Matching refs:queue
217 dprintk(1, "cx8802_restart_queue: queue is empty\n" );
222 buf = list_entry(q->queued.next, struct cx88_buffer, vb.queue);
224 list_move_tail(&buf->vb.queue, &q->active);
235 list_move_tail(&buf->vb.queue, &q->active);
249 buf = list_entry(q->active.next, struct cx88_buffer, vb.queue);
253 list_for_each_entry(buf, &q->active, vb.queue)
303 dprintk( 1, "queue is empty - first active\n" );
304 list_add_tail(&buf->vb.queue,&cx88q->active);
313 dprintk( 1, "queue is not empty - append to active\n" );
314 prev = list_entry(cx88q->active.prev, struct cx88_buffer, vb.queue);
315 list_add_tail(&buf->vb.queue,&cx88q->active);
334 buf = list_entry(q->active.next, struct cx88_buffer, vb.queue);
335 list_del(&buf->vb.queue);
343 dprintk(1, "restarting queue\n" );
491 /* init dma queue */