Lines Matching refs:vv
13 struct saa7146_vv *vv = dev->vv_data;
17 bit, vv->resources);
23 if (vv->resources & bit) {
24 DEB_D("locked! vv->resources:0x%02x, we want:0x%02x\n",
25 vv->resources, bit);
31 vv->resources |= bit;
32 DEB_D("res: get 0x%02x, cur:0x%02x\n", bit, vv->resources);
39 struct saa7146_vv *vv = dev->vv_data;
44 vv->resources &= ~bits;
45 DEB_D("res: put 0x%02x, cur:0x%02x\n", bits, vv->resources);
471 struct saa7146_vv *vv;
496 vv = kzalloc(sizeof(struct saa7146_vv), GFP_KERNEL);
497 if (vv == NULL) {
519 vv->d_clipping.cpu_addr =
521 &vv->d_clipping.dma_handle);
522 if( NULL == vv->d_clipping.cpu_addr ) {
524 kfree(vv);
529 saa7146_video_uops.init(dev,vv);
531 saa7146_vbi_uops.init(dev,vv);
533 vv->ov_fb.fmt.width = vv->standard->h_max_out;
534 vv->ov_fb.fmt.height = vv->standard->v_max_out;
535 vv->ov_fb.fmt.pixelformat = V4L2_PIX_FMT_RGB565;
536 vv->ov_fb.fmt.bytesperline = 2 * vv->ov_fb.fmt.width;
537 vv->ov_fb.fmt.sizeimage = vv->ov_fb.fmt.bytesperline * vv->ov_fb.fmt.height;
538 vv->ov_fb.fmt.colorspace = V4L2_COLORSPACE_SRGB;
540 fmt = &vv->video_fmt;
549 vbi = &vv->vbi_fmt;
561 timer_setup(&vv->vbi_read_timeout, NULL, 0);
563 vv->ov_fb.capability = V4L2_FBUF_CAP_LIST_CLIPPING;
564 vv->ov_fb.flags = V4L2_FBUF_FLAG_PRIMARY;
565 dev->vv_data = vv;
574 struct saa7146_vv *vv = dev->vv_data;
579 pci_free_consistent(dev->pci, SAA7146_CLIPPING_MEM, vv->d_clipping.cpu_addr, vv->d_clipping.dma_handle);
581 kfree(vv);