Lines Matching refs:video

109 	entity = &dma->video.entity;  in xvip_pipeline_start_stop()
123 ret = v4l2_subdev_call(subdev, video, s_stream, start); in xvip_pipeline_start_stop()
183 struct media_entity *entity = &start->video.entity; in xvip_pipeline_validate()
405 pipe = dma->video.entity.pipe in xvip_dma_start_streaming()
406 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; in xvip_dma_start_streaming()
408 ret = media_entity_pipeline_start(&dma->video.entity, &pipe->pipe); in xvip_dma_start_streaming()
434 media_entity_pipeline_stop(&dma->video.entity); in xvip_dma_start_streaming()
451 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity); in xvip_dma_stop_streaming()
462 media_entity_pipeline_stop(&dma->video.entity); in xvip_dma_stop_streaming()
502 strlcpy(cap->card, dma->video.name, sizeof(cap->card)); in xvip_dma_querycap()
682 ret = media_entity_init(&dma->video.entity, 1, &dma->pad, 0); in xvip_dma_init()
687 dma->video.fops = &xvip_dma_fops; in xvip_dma_init()
688 dma->video.v4l2_dev = &xdev->v4l2_dev; in xvip_dma_init()
689 dma->video.queue = &dma->queue; in xvip_dma_init()
690 snprintf(dma->video.name, sizeof(dma->video.name), "%s %s %u", in xvip_dma_init()
694 dma->video.vfl_type = VFL_TYPE_GRABBER; in xvip_dma_init()
695 dma->video.vfl_dir = type == V4L2_BUF_TYPE_VIDEO_CAPTURE in xvip_dma_init()
697 dma->video.release = video_device_release_empty; in xvip_dma_init()
698 dma->video.ioctl_ops = &xvip_dma_ioctl_ops; in xvip_dma_init()
699 dma->video.lock = &dma->lock; in xvip_dma_init()
701 video_set_drvdata(&dma->video, dma); in xvip_dma_init()
743 ret = video_register_device(&dma->video, VFL_TYPE_GRABBER, -1); in xvip_dma_init()
758 if (video_is_registered(&dma->video)) in xvip_dma_cleanup()
759 video_unregister_device(&dma->video); in xvip_dma_cleanup()
767 media_entity_cleanup(&dma->video.entity); in xvip_dma_cleanup()