Lines Matching full:vv
8 struct saa7146_vv *vv = dev->vv_data; in vbi_workaround() local
98 add_wait_queue(&vv->vbi_wq, &wait); in vbi_workaround()
109 remove_wait_queue(&vv->vbi_wq, &wait); in vbi_workaround()
137 struct saa7146_vv *vv = dev->vv_data; in saa7146_set_vbi_capture() local
142 unsigned long e_wait = vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? CMD_E_FID_A : CMD_E_FID_B; in saa7146_set_vbi_capture()
143 unsigned long o_wait = vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? CMD_O_FID_A : CMD_O_FID_B; in saa7146_set_vbi_capture()
209 struct saa7146_vv *vv = dev->vv_data; in buffer_activate() local
214 mod_timer(&vv->vbi_dmaq.timeout, jiffies+BUFFER_TIMEOUT); in buffer_activate()
310 struct saa7146_vv *vv = dev->vv_data; in vbi_stop() local
325 del_timer(&vv->vbi_dmaq.timeout); in vbi_stop()
326 del_timer(&vv->vbi_read_timeout); in vbi_stop()
333 struct saa7146_vv *vv = from_timer(vv, t, vbi_read_timeout); in vbi_read_timeout() local
334 struct saa7146_dev *dev = vv->vbi_dmaq.dev; in vbi_read_timeout()
343 struct saa7146_vv *vv = dev->vv_data; in vbi_begin() local
361 vv->vbi_read_timeout.function = vbi_read_timeout; in vbi_begin()
416 static void vbi_init(struct saa7146_dev *dev, struct saa7146_vv *vv) in vbi_init() argument
420 INIT_LIST_HEAD(&vv->vbi_dmaq.queue); in vbi_init()
422 timer_setup(&vv->vbi_dmaq.timeout, saa7146_buffer_timeout, 0); in vbi_init()
423 vv->vbi_dmaq.dev = dev; in vbi_init()
425 init_waitqueue_head(&vv->vbi_wq); in vbi_init()
430 struct saa7146_vv *vv = dev->vv_data; in vbi_irq_done() local
433 if (vv->vbi_dmaq.curr) { in vbi_irq_done()
434 DEB_VBI("dev:%p, curr:%p\n", dev, vv->vbi_dmaq.curr); in vbi_irq_done()
435 saa7146_buffer_finish(dev, &vv->vbi_dmaq, VB2_BUF_STATE_DONE); in vbi_irq_done()
439 saa7146_buffer_next(dev, &vv->vbi_dmaq, 1); in vbi_irq_done()