Lines Matching refs:vv

8 	struct saa7146_vv *vv = dev->vv_data;
98 add_wait_queue(&vv->vbi_wq, &wait);
109 remove_wait_queue(&vv->vbi_wq, &wait);
137 struct saa7146_vv *vv = dev->vv_data;
142 unsigned long e_wait = vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? CMD_E_FID_A : CMD_E_FID_B;
143 unsigned long o_wait = vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? CMD_O_FID_A : CMD_O_FID_B;
209 struct saa7146_vv *vv = dev->vv_data;
215 mod_timer(&vv->vbi_dmaq.timeout, jiffies+BUFFER_TIMEOUT);
294 struct saa7146_vv *vv = dev->vv_data;
298 saa7146_buffer_queue(dev, &vv->vbi_dmaq, buf);
324 struct saa7146_vv *vv = dev->vv_data;
339 if (vv->vbi_dmaq.curr)
340 saa7146_buffer_finish(dev, &vv->vbi_dmaq, VIDEOBUF_DONE);
344 vv->vbi_streaming = NULL;
346 del_timer(&vv->vbi_dmaq.timeout);
347 del_timer(&vv->vbi_read_timeout);
354 struct saa7146_vv *vv = from_timer(vv, t, vbi_read_timeout);
355 struct file *file = vv->vbi_read_timeout_file;
364 static void vbi_init(struct saa7146_dev *dev, struct saa7146_vv *vv)
368 INIT_LIST_HEAD(&vv->vbi_dmaq.queue);
370 timer_setup(&vv->vbi_dmaq.timeout, saa7146_buffer_timeout, 0);
371 vv->vbi_dmaq.dev = dev;
373 init_waitqueue_head(&vv->vbi_wq);
379 struct saa7146_vv *vv = fh->dev->vv_data;
405 vv->vbi_read_timeout.function = vbi_read_timeout;
406 vv->vbi_read_timeout_file = file;
428 struct saa7146_vv *vv = dev->vv_data;
431 if( fh == vv->vbi_streaming ) {
439 struct saa7146_vv *vv = dev->vv_data;
442 if (vv->vbi_dmaq.curr) {
443 DEB_VBI("dev:%p, curr:%p\n", dev, vv->vbi_dmaq.curr);
445 vv->vbi_fieldcount+=2;
446 vv->vbi_dmaq.curr->vb.field_count = vv->vbi_fieldcount;
447 saa7146_buffer_finish(dev, &vv->vbi_dmaq, VIDEOBUF_DONE);
451 saa7146_buffer_next(dev, &vv->vbi_dmaq, 1);
460 struct saa7146_vv *vv = dev->vv_data;
465 if( NULL == vv->vbi_streaming ) {
468 vv->vbi_streaming = fh;
471 if( fh != vv->vbi_streaming ) {
473 vv->vbi_streaming);
477 mod_timer(&vv->vbi_read_timeout, jiffies+BUFFER_TIMEOUT);