Lines Matching refs:vv
12 struct saa7146_vv *vv = dev->vv_data;
14 if (vv->resources & bit) {
16 bit, vv->resources);
22 if (vv->resources & bit) {
23 DEB_D("locked! vv->resources:0x%02x, we want:0x%02x\n",
24 vv->resources, bit);
29 vv->resources |= bit;
30 DEB_D("res: get 0x%02x, cur:0x%02x\n", bit, vv->resources);
36 struct saa7146_vv *vv = dev->vv_data;
38 WARN_ON((vv->resources & bits) != bits);
40 vv->resources &= ~bits;
41 DEB_D("res: put 0x%02x, cur:0x%02x\n", bits, vv->resources);
74 struct saa7146_vv *vv = dev->vv_data;
89 if (vv->video_fmt.field == V4L2_FIELD_ALTERNATE)
90 buf->vb.field = vv->last_field;
91 else if (vv->video_fmt.field == V4L2_FIELD_ANY)
92 buf->vb.field = (vv->video_fmt.height > vv->standard->v_max_out / 2)
96 buf->vb.field = vv->video_fmt.field;
97 buf->vb.sequence = vv->seqnr++;
243 struct saa7146_vv *vv;
269 vv = kzalloc(sizeof(struct saa7146_vv), GFP_KERNEL);
270 if (vv == NULL) {
293 saa7146_video_uops.init(dev,vv);
295 saa7146_vbi_uops.init(dev,vv);
297 fmt = &vv->video_fmt;
306 vbi = &vv->vbi_fmt;
318 timer_setup(&vv->vbi_read_timeout, NULL, 0);
320 dev->vv_data = vv;
329 struct saa7146_vv *vv = dev->vv_data;
335 kfree(vv);