Lines Matching refs:vdev
566 i->std = vin->vdev.tvnorms;
897 ret = v4l2_pipeline_pm_get(&vin->vdev.entity);
913 v4l2_pipeline_pm_put(&vin->vdev.entity);
941 v4l2_pipeline_pm_put(&vin->vdev.entity);
966 if (!video_is_registered(&vin->vdev))
970 video_device_node_name(&vin->vdev));
972 /* Checks internally if vdev have been init or not */
973 video_unregister_device(&vin->vdev);
984 v4l2_event_queue(&vin->vdev, arg);
993 struct video_device *vdev = &vin->vdev;
999 vdev->v4l2_dev = &vin->v4l2_dev;
1000 vdev->queue = &vin->queue;
1001 snprintf(vdev->name, sizeof(vdev->name), "VIN%u output", vin->id);
1002 vdev->release = video_device_release_empty;
1003 vdev->lock = &vin->lock;
1004 vdev->fops = &rvin_fops;
1005 vdev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING |
1016 vdev->device_caps |= V4L2_CAP_IO_MC;
1017 vdev->ioctl_ops = &rvin_mc_ioctl_ops;
1019 vdev->ioctl_ops = &rvin_ioctl_ops;
1025 ret = video_register_device(&vin->vdev, VFL_TYPE_VIDEO, -1);
1031 video_set_drvdata(&vin->vdev, vin);
1034 video_device_node_name(&vin->vdev));