Lines Matching refs:active
87 struct list_head active; member
294 if (!list_empty(&vidq->active)) { in restart_video_queue()
295 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in restart_video_queue()
302 list_for_each_entry_safe(buf, prev, &vidq->active, vb.queue) { in restart_video_queue()
317 list_move_tail(&buf->vb.queue, &vidq->active); in restart_video_queue()
331 list_move_tail(&buf->vb.queue, &vidq->active); in restart_video_queue()
348 while (!list_empty(&vidq->active)) { in viu_vid_timeout()
349 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in viu_vid_timeout()
511 } else if (list_empty(&vidq->active)) { in buffer_queue()
514 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
524 prev = list_entry(vidq->active.prev, struct viu_buf, vb.queue); in buffer_queue()
528 list_add_tail(&buf->vb.queue, &vidq->active); in buffer_queue()
971 if (!list_empty(&vidq->active)) { in viu_activate_next_buf()
972 buf = list_entry(vidq->active.next, struct viu_buf, in viu_activate_next_buf()
982 list_add_tail(&buf->vb.queue, &vidq->active); in viu_activate_next_buf()
1065 if (!list_empty(&vidq->active)) { in viu_capture_intr()
1085 buf = list_entry(vidq->active.next, in viu_capture_intr()
1219 list_empty(&dev->vidq.active)); in viu_open()
1444 INIT_LIST_HEAD(&viu_dev->vidq.active); in viu_of_probe()