Lines Matching refs:active
130 struct list_head active; member
334 if (!list_empty(&vidq->active)) { in restart_video_queue()
335 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in restart_video_queue()
342 list_for_each_entry_safe(buf, prev, &vidq->active, vb.queue) { in restart_video_queue()
357 list_move_tail(&buf->vb.queue, &vidq->active); in restart_video_queue()
371 list_move_tail(&buf->vb.queue, &vidq->active); in restart_video_queue()
388 while (!list_empty(&vidq->active)) { in viu_vid_timeout()
389 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in viu_vid_timeout()
551 } else if (list_empty(&vidq->active)) { in buffer_queue()
554 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
564 prev = list_entry(vidq->active.prev, struct viu_buf, vb.queue); in buffer_queue()
568 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
1064 if (!list_empty(&vidq->active)) { in viu_activate_next_buf()
1065 buf = list_entry(vidq->active.next, struct viu_buf, in viu_activate_next_buf()
1075 list_add_tail(&buf->vb.queue, &vidq->active); in viu_activate_next_buf()
1158 if (!list_empty(&vidq->active)) { in viu_capture_intr()
1178 buf = list_entry(vidq->active.next, in viu_capture_intr()
1316 list_empty(&dev->vidq.active)); in viu_open()
1534 INIT_LIST_HEAD(&viu_dev->vidq.active); in viu_of_probe()