Lines Matching refs:vfd

577 	strscpy(cap->card, vout->vfd->name, sizeof(cap->card));  in vidioc_querycap()
1310 struct video_device *vfd; in omap_vout_setup_video_data() local
1373 vfd = vout->vfd = video_device_alloc(); in omap_vout_setup_video_data()
1375 if (!vfd) { in omap_vout_setup_video_data()
1381 vfd->ctrl_handler = hdl; in omap_vout_setup_video_data()
1382 vfd->release = video_device_release; in omap_vout_setup_video_data()
1383 vfd->ioctl_ops = &vout_ioctl_ops; in omap_vout_setup_video_data()
1385 strscpy(vfd->name, VOUT_NAME, sizeof(vfd->name)); in omap_vout_setup_video_data()
1387 vfd->fops = &omap_vout_fops; in omap_vout_setup_video_data()
1388 vfd->v4l2_dev = &vout->vid_dev->v4l2_dev; in omap_vout_setup_video_data()
1389 vfd->vfl_dir = VFL_DIR_TX; in omap_vout_setup_video_data()
1390 vfd->minor = -1; in omap_vout_setup_video_data()
1391 vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_OUTPUT | in omap_vout_setup_video_data()
1401 vq->dev = vfd->v4l2_dev->dev; in omap_vout_setup_video_data()
1407 vfd->queue = vq; in omap_vout_setup_video_data()
1412 video_device_release(vfd); in omap_vout_setup_video_data()
1445 struct video_device *vfd = NULL; in omap_vout_create_video_devices() local
1504 vfd = vout->vfd; in omap_vout_create_video_devices()
1505 if (video_register_device(vfd, VFL_TYPE_VIDEO, -1) < 0) { in omap_vout_create_video_devices()
1508 vfd->minor = -1; in omap_vout_create_video_devices()
1512 video_set_drvdata(vfd, vout); in omap_vout_create_video_devices()
1516 vfd->minor); in omap_vout_create_video_devices()
1525 video_device_release(vfd); in omap_vout_create_video_devices()
1536 struct video_device *vfd; in omap_vout_cleanup_device() local
1542 vfd = vout->vfd; in omap_vout_cleanup_device()
1544 if (vfd) { in omap_vout_cleanup_device()
1545 if (!video_is_registered(vfd)) { in omap_vout_cleanup_device()
1550 video_device_release(vfd); in omap_vout_cleanup_device()
1556 video_unregister_device(vfd); in omap_vout_cleanup_device()