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()
402 pipe = dma->video.entity.pipe in xvip_dma_start_streaming()
403 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; in xvip_dma_start_streaming()
405 ret = media_entity_pipeline_start(&dma->video.entity, &pipe->pipe); in xvip_dma_start_streaming()
431 media_entity_pipeline_stop(&dma->video.entity); in xvip_dma_start_streaming()
448 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity); in xvip_dma_stop_streaming()
459 media_entity_pipeline_stop(&dma->video.entity); in xvip_dma_stop_streaming()
499 strlcpy(cap->card, dma->video.name, sizeof(cap->card)); in xvip_dma_querycap()
679 ret = media_entity_init(&dma->video.entity, 1, &dma->pad, 0); in xvip_dma_init()
684 dma->video.fops = &xvip_dma_fops; in xvip_dma_init()
685 dma->video.v4l2_dev = &xdev->v4l2_dev; in xvip_dma_init()
686 dma->video.queue = &dma->queue; in xvip_dma_init()
687 snprintf(dma->video.name, sizeof(dma->video.name), "%s %s %u", in xvip_dma_init()
691 dma->video.vfl_type = VFL_TYPE_GRABBER; in xvip_dma_init()
692 dma->video.vfl_dir = type == V4L2_BUF_TYPE_VIDEO_CAPTURE in xvip_dma_init()
694 dma->video.release = video_device_release_empty; in xvip_dma_init()
695 dma->video.ioctl_ops = &xvip_dma_ioctl_ops; in xvip_dma_init()
696 dma->video.lock = &dma->lock; in xvip_dma_init()
698 video_set_drvdata(&dma->video, dma); in xvip_dma_init()
738 ret = video_register_device(&dma->video, VFL_TYPE_GRABBER, -1); in xvip_dma_init()
753 if (video_is_registered(&dma->video)) in xvip_dma_cleanup()
754 video_unregister_device(&dma->video); in xvip_dma_cleanup()
762 media_entity_cleanup(&dma->video.entity); in xvip_dma_cleanup()