Lines Matching refs:vb
51 buf->vb.state = STATE_ACTIVE;
56 if (V4L2_FIELD_TOP == buf->vb.field) {
73 static int buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb,
77 struct saa7134_buf *buf = container_of(vb,struct saa7134_buf,vb);
88 if (0 != buf->vb.baddr && buf->vb.bsize < size)
91 if (buf->vb.size != size) {
95 if (STATE_NEEDS_INIT == buf->vb.state) {
96 buf->vb.width = llength;
97 buf->vb.height = lines;
98 buf->vb.size = size;
101 err = videobuf_iolock(q,&buf->vb,NULL);
105 buf->vb.dma.sglist,
106 buf->vb.dma.sglen,
123 buf->vb.state = STATE_PREPARED;
125 buf->vb.field = field;
145 static void buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb)
148 struct saa7134_buf *buf = container_of(vb,struct saa7134_buf,vb);
153 static void buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb)
155 struct saa7134_buf *buf = container_of(vb,struct saa7134_buf,vb);
225 field = dev->ts_q.curr->vb.field;