Lines Matching refs:viu_buf
76 struct viu_buf;
79 struct viu_buf { struct
291 struct viu_buf *buf, *prev; in restart_video_queue()
295 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in restart_video_queue()
315 buf = list_entry(vidq->queued.next, struct viu_buf, vb.queue); in restart_video_queue()
345 struct viu_buf *buf; in viu_vid_timeout()
349 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in viu_vid_timeout()
378 static void free_buffer(struct videobuf_queue *vq, struct viu_buf *buf) in free_buffer()
396 inline int buffer_activate(struct viu_dev *dev, struct viu_buf *buf) in buffer_activate()
450 struct viu_buf *buf = container_of(vb, struct viu_buf, vb); in buffer_prepare()
493 struct viu_buf *buf = container_of(vb, struct viu_buf, vb); in buffer_queue()
497 struct viu_buf *prev; in buffer_queue()
524 prev = list_entry(vidq->active.prev, struct viu_buf, vb.queue); in buffer_queue()
544 struct viu_buf *buf = container_of(vb, struct viu_buf, vb); in buffer_release()
968 struct viu_buf *buf; in viu_activate_next_buf()
972 buf = list_entry(vidq->active.next, struct viu_buf, in viu_activate_next_buf()
977 buf = list_entry(vidq->queued.next, struct viu_buf, in viu_activate_next_buf()
1036 struct viu_buf *buf; in viu_capture_intr()
1086 struct viu_buf, vb.queue); in viu_capture_intr()
1236 sizeof(struct viu_buf), fh, in viu_open()