Lines Matching refs:vb
99 struct videobuf_buffer *vb,
104 struct bttv_buffer *buf = container_of(vb,struct bttv_buffer,vb);
110 buf->vb.size = IMAGE_SIZE(&fh->vbi_fmt.fmt);
111 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size)
146 if (STATE_NEEDS_INIT == buf->vb.state) {
148 if (0 != (rc = videobuf_iolock(q, &buf->vb, NULL)))
160 buf->vb.dma.sglist,
172 buf->vb.dma.sglist,
192 buf->vb.state = STATE_PREPARED;
193 buf->vb.field = field;
195 vb, &buf->top, &buf->bottom,
196 v4l2_field_names[buf->vb.field]);
205 vbi_buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb)
209 struct bttv_buffer *buf = container_of(vb,struct bttv_buffer,vb);
211 dprintk("queue %p\n",vb);
212 buf->vb.state = STATE_QUEUED;
213 list_add_tail(&buf->vb.queue,&btv->vcapture);
220 static void vbi_buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb)
224 struct bttv_buffer *buf = container_of(vb,struct bttv_buffer,vb);
226 dprintk("free %p\n",vb);