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
178 struct media_entity *entity = &start->video.entity;
186 /* Walk the graph to locate the video nodes. */
406 pipe = dma->video.entity.pipe
407 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe;
409 ret = media_pipeline_start(&dma->video.entity, &pipe->pipe);
435 media_pipeline_stop(&dma->video.entity);
452 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity);
463 media_pipeline_stop(&dma->video.entity);
498 strscpy(cap->card, dma->video.name, sizeof(cap->card));
676 ret = media_entity_pads_init(&dma->video.entity, 1, &dma->pad);
680 /* ... and the video node... */
681 dma->video.fops = &xvip_dma_fops;
682 dma->video.v4l2_dev = &xdev->v4l2_dev;
683 dma->video.queue = &dma->queue;
684 snprintf(dma->video.name, sizeof(dma->video.name), "%pOFn %s %u",
688 dma->video.vfl_type = VFL_TYPE_VIDEO;
689 dma->video.vfl_dir = type == V4L2_BUF_TYPE_VIDEO_CAPTURE
691 dma->video.release = video_device_release_empty;
692 dma->video.ioctl_ops = &xvip_dma_ioctl_ops;
693 dma->video.lock = &dma->lock;
694 dma->video.device_caps = V4L2_CAP_STREAMING;
696 dma->video.device_caps |= V4L2_CAP_VIDEO_CAPTURE;
698 dma->video.device_caps |= V4L2_CAP_VIDEO_OUTPUT;
700 video_set_drvdata(&dma->video, dma);
705 * 'cat /dev/video?' thus won't be possible, but given that the driver
706 * anyway requires a test tool to setup the pipeline before any video
738 ret = video_register_device(&dma->video, VFL_TYPE_VIDEO, -1);
740 dev_err(dma->xdev->dev, "failed to register video device\n");
753 if (video_is_registered(&dma->video))
754 video_unregister_device(&dma->video);
759 media_entity_cleanup(&dma->video.entity);