Lines Matching defs:vdev
18 struct video_device vdev;
133 "new:%dx%d (0x%x, %d, %d, %d, %d)\n", vcapture->vdev.name,
250 ret = video_device_pipeline_start(&vcapture->vdev, &vcapture->stream.pipe);
258 video_device_pipeline_stop(&vcapture->vdev);
277 video_device_pipeline_stop(&vcapture->vdev);
317 vcapture->vdev.name, vb2_plane_size(vb, 0), size);
349 vb2_video_unregister_device(&vcapture->vdev);
397 struct video_device *vdev;
407 vcapture->vdev.entity.name = vcfg_name;
408 vcapture->vdev.entity.function = MEDIA_ENT_F_IO_V4L;
410 ret = media_entity_pads_init(&vcapture->vdev.entity,
453 vcapture->ved.ent = &vcapture->vdev.entity;
459 vdev = &vcapture->vdev;
460 vdev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING
462 vdev->entity.ops = &vimc_capture_mops;
463 vdev->release = video_device_release_empty;
464 vdev->fops = &vimc_capture_fops;
465 vdev->ioctl_ops = &vimc_capture_ioctl_ops;
466 vdev->lock = &vcapture->lock;
467 vdev->queue = q;
468 vdev->v4l2_dev = v4l2_dev;
469 vdev->vfl_dir = VFL_DIR_RX;
470 strscpy(vdev->name, vcfg_name, sizeof(vdev->name));
471 video_set_drvdata(vdev, &vcapture->ved);
474 ret = video_register_device(vdev, VFL_TYPE_VIDEO, -1);
477 vcapture->vdev.name, ret);
484 media_entity_cleanup(&vcapture->vdev.entity);