Lines Matching refs:vdev
18 struct video_device vdev;
133 "new:%dx%d (0x%x, %d, %d, %d, %d)\n", vcapture->vdev.name,
249 ret = video_device_pipeline_start(&vcapture->vdev, &vcapture->stream.pipe);
257 video_device_pipeline_stop(&vcapture->vdev);
276 video_device_pipeline_stop(&vcapture->vdev);
316 vcapture->vdev.name, vb2_plane_size(vb, 0), size);
354 vb2_video_unregister_device(&vcapture->vdev);
402 struct video_device *vdev;
412 vcapture->vdev.entity.name = vcfg_name;
413 vcapture->vdev.entity.function = MEDIA_ENT_F_IO_V4L;
415 ret = media_entity_pads_init(&vcapture->vdev.entity,
458 vcapture->ved.ent = &vcapture->vdev.entity;
464 vdev = &vcapture->vdev;
465 vdev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING
467 vdev->entity.ops = &vimc_capture_mops;
468 vdev->release = video_device_release_empty;
469 vdev->fops = &vimc_capture_fops;
470 vdev->ioctl_ops = &vimc_capture_ioctl_ops;
471 vdev->lock = &vcapture->lock;
472 vdev->queue = q;
473 vdev->v4l2_dev = v4l2_dev;
474 vdev->vfl_dir = VFL_DIR_RX;
475 strscpy(vdev->name, vcfg_name, sizeof(vdev->name));
476 video_set_drvdata(vdev, &vcapture->ved);
479 ret = video_register_device(vdev, VFL_TYPE_VIDEO, -1);
482 vcapture->vdev.name, ret);
489 media_entity_cleanup(&vcapture->vdev.entity);