Lines Matching full:vv

88 	struct saa7146_vv *vv = dev->vv_data;  in saa7146_pgtable_build()  local
93 struct v4l2_pix_format *pix = &vv->video_fmt; in saa7146_pgtable_build()
184 struct saa7146_vv *vv = dev->vv_data; in video_begin() local
191 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_begin()
219 struct saa7146_vv *vv = dev->vv_data; in video_end() local
226 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_end()
279 struct saa7146_vv *vv = dev->vv_data; in saa7146_s_ctrl() local
309 if (vb2_is_busy(&vv->video_dmaq.q)) in saa7146_s_ctrl()
311 vv->hflip = ctrl->val; in saa7146_s_ctrl()
315 if (vb2_is_busy(&vv->video_dmaq.q)) in saa7146_s_ctrl()
317 vv->vflip = ctrl->val; in saa7146_s_ctrl()
330 struct saa7146_vv *vv = dev->vv_data; in vidioc_g_parm() local
335 v4l2_video_std_frame_period(vv->standard->id, in vidioc_g_parm()
343 struct saa7146_vv *vv = dev->vv_data; in vidioc_g_fmt_vid_cap() local
345 f->fmt.pix = vv->video_fmt; in vidioc_g_fmt_vid_cap()
352 struct saa7146_vv *vv = dev->vv_data; in vidioc_g_fmt_vbi_cap() local
354 f->fmt.vbi = vv->vbi_fmt; in vidioc_g_fmt_vbi_cap()
361 struct saa7146_vv *vv = dev->vv_data; in vidioc_try_fmt_vid_cap() local
374 maxw = vv->standard->h_max_out; in vidioc_try_fmt_vid_cap()
375 maxh = vv->standard->v_max_out; in vidioc_try_fmt_vid_cap()
423 struct saa7146_vv *vv = dev->vv_data; in vidioc_s_fmt_vid_cap() local
427 if (vb2_is_busy(&vv->video_dmaq.q)) { in vidioc_s_fmt_vid_cap()
436 vv->last_field = V4L2_FIELD_TOP; in vidioc_s_fmt_vid_cap()
439 vv->last_field = V4L2_FIELD_INTERLACED; in vidioc_s_fmt_vid_cap()
442 vv->video_fmt = f->fmt.pix; in vidioc_s_fmt_vid_cap()
444 (char *)&vv->video_fmt.pixelformat); in vidioc_s_fmt_vid_cap()
451 struct saa7146_vv *vv = dev->vv_data; in vidioc_g_std() local
453 *norm = vv->standard->id; in vidioc_g_std()
460 struct saa7146_vv *vv = dev->vv_data; in vidioc_s_std() local
471 vv->standard == &dev->ext_vv_data->stds[i]) in vidioc_s_std()
474 if (vb2_is_busy(&vv->video_dmaq.q) || vb2_is_busy(&vv->vbi_dmaq.q)) { in vidioc_s_std()
480 vv->standard = &dev->ext_vv_data->stds[i]; in vidioc_s_std()
482 dev->ext_vv_data->std_callback(dev, vv->standard); in vidioc_s_std()
491 DEB_EE("VIDIOC_S_STD: set to standard to '%s'\n", vv->standard->name); in vidioc_s_std()
541 struct saa7146_vv *vv = dev->vv_data; in buffer_activate() local
545 mod_timer(&vv->video_dmaq.timeout, jiffies+BUFFER_TIMEOUT); in buffer_activate()
591 struct saa7146_vv *vv = dev->vv_data; in buf_init() local
596 sfmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in buf_init()
616 struct saa7146_vv *vv = dev->vv_data; in buf_prepare() local
617 unsigned int size = vv->video_fmt.sizeimage; in buf_prepare()
691 static void video_init(struct saa7146_dev *dev, struct saa7146_vv *vv) in video_init() argument
693 INIT_LIST_HEAD(&vv->video_dmaq.queue); in video_init()
695 timer_setup(&vv->video_dmaq.timeout, saa7146_buffer_timeout, 0); in video_init()
696 vv->video_dmaq.dev = dev; in video_init()
699 vv->standard = &dev->ext_vv_data->stds[0]; in video_init()
702 vv->current_hps_source = SAA7146_HPS_SOURCE_PORT_A; in video_init()
703 vv->current_hps_sync = SAA7146_HPS_SYNC_PORT_A; in video_init()
708 struct saa7146_vv *vv = dev->vv_data; in video_irq_done() local
709 struct saa7146_dmaqueue *q = &vv->video_dmaq; in video_irq_done()