Lines Matching refs:v4l2_dev
178 struct v4l2_device *v4l2_dev = vdev->v4l2_dev;
202 if (v4l2_dev->mdev && vdev->vfl_dir != VFL_DIR_M2M) {
212 * v4l2_dev instance in the video_device release callback below, so we
218 if (v4l2_dev->release == NULL)
219 v4l2_dev = NULL;
226 if (v4l2_dev)
227 v4l2_device_put(v4l2_dev);
454 if (v4l2_device_supports_requests(vdev->v4l2_dev)) {
455 mutex_lock(&vdev->v4l2_dev->mdev->req_queue_mutex);
457 mutex_unlock(&vdev->v4l2_dev->mdev->req_queue_mutex);
490 * get_index - assign stream index number based on v4l2_dev
491 * @vdev: video_device to assign index number to, vdev->v4l2_dev should be assigned
513 video_devices[i]->v4l2_dev == vdev->v4l2_dev) {
801 if (!vdev->v4l2_dev->mdev || vdev->vfl_dir == VFL_DIR_M2M)
847 ret = media_device_register_entity(vdev->v4l2_dev->mdev,
856 vdev->intf_devnode = media_devnode_create(vdev->v4l2_dev->mdev,
903 /* the v4l2_dev pointer MUST be present */
904 if (WARN_ON(!vdev->v4l2_dev))
944 vdev->dev_parent = vdev->v4l2_dev->dev;
946 vdev->ctrl_handler = vdev->v4l2_dev->ctrl_handler;
950 vdev->prio = &vdev->v4l2_dev->prio;
1058 v4l2_device_get(vdev->v4l2_dev);