Lines Matching refs:video
91 * Walk the entities chain starting at the pipeline output video node and start
94 * Return: 0 if successful, or the return value of the failed video::s_stream
105 entity = &dma->video.entity;
118 ret = v4l2_subdev_call(subdev, video, s_stream, start);
147 * Return: 0 if successful, or the return value of the failed video::s_stream
182 /* Locate the video nodes in the pipeline. */
390 pipe = to_xvip_pipeline(&dma->video) ? : &dma->pipe;
392 ret = video_device_pipeline_start(&dma->video, &pipe->pipe);
418 video_device_pipeline_stop(&dma->video);
435 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video);
446 video_device_pipeline_stop(&dma->video);
481 strscpy(cap->card, dma->video.name, sizeof(cap->card));
657 ret = media_entity_pads_init(&dma->video.entity, 1, &dma->pad);
661 /* ... and the video node... */
662 dma->video.fops = &xvip_dma_fops;
663 dma->video.v4l2_dev = &xdev->v4l2_dev;
664 dma->video.queue = &dma->queue;
665 snprintf(dma->video.name, sizeof(dma->video.name), "%pOFn %s %u",
669 dma->video.vfl_type = VFL_TYPE_VIDEO;
670 dma->video.vfl_dir = type == V4L2_BUF_TYPE_VIDEO_CAPTURE
672 dma->video.release = video_device_release_empty;
673 dma->video.ioctl_ops = &xvip_dma_ioctl_ops;
674 dma->video.lock = &dma->lock;
675 dma->video.device_caps = V4L2_CAP_STREAMING;
677 dma->video.device_caps |= V4L2_CAP_VIDEO_CAPTURE;
679 dma->video.device_caps |= V4L2_CAP_VIDEO_OUTPUT;
681 video_set_drvdata(&dma->video, dma);
686 * 'cat /dev/video?' thus won't be possible, but given that the driver
687 * anyway requires a test tool to setup the pipeline before any video
719 ret = video_register_device(&dma->video, VFL_TYPE_VIDEO, -1);
721 dev_err(dma->xdev->dev, "failed to register video device\n");
734 if (video_is_registered(&dma->video))
735 video_unregister_device(&dma->video);
740 media_entity_cleanup(&dma->video.entity);