• Home
  • Raw
  • Download

Lines Matching refs:video

105 	entity = &dma->video.entity;  in xvip_pipeline_start_stop()
118 ret = v4l2_subdev_call(subdev, video, s_stream, start); in xvip_pipeline_start_stop()
178 struct media_entity *entity = &start->video.entity; in xvip_pipeline_validate()
406 pipe = dma->video.entity.pipe in xvip_dma_start_streaming()
407 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; in xvip_dma_start_streaming()
409 ret = media_pipeline_start(&dma->video.entity, &pipe->pipe); in xvip_dma_start_streaming()
435 media_pipeline_stop(&dma->video.entity); in xvip_dma_start_streaming()
452 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity); in xvip_dma_stop_streaming()
463 media_pipeline_stop(&dma->video.entity); in xvip_dma_stop_streaming()
498 strscpy(cap->card, dma->video.name, sizeof(cap->card)); in xvip_dma_querycap()
676 ret = media_entity_pads_init(&dma->video.entity, 1, &dma->pad); in xvip_dma_init()
681 dma->video.fops = &xvip_dma_fops; in xvip_dma_init()
682 dma->video.v4l2_dev = &xdev->v4l2_dev; in xvip_dma_init()
683 dma->video.queue = &dma->queue; in xvip_dma_init()
684 snprintf(dma->video.name, sizeof(dma->video.name), "%pOFn %s %u", in xvip_dma_init()
688 dma->video.vfl_type = VFL_TYPE_VIDEO; in xvip_dma_init()
689 dma->video.vfl_dir = type == V4L2_BUF_TYPE_VIDEO_CAPTURE in xvip_dma_init()
691 dma->video.release = video_device_release_empty; in xvip_dma_init()
692 dma->video.ioctl_ops = &xvip_dma_ioctl_ops; in xvip_dma_init()
693 dma->video.lock = &dma->lock; in xvip_dma_init()
694 dma->video.device_caps = V4L2_CAP_STREAMING; in xvip_dma_init()
696 dma->video.device_caps |= V4L2_CAP_VIDEO_CAPTURE; in xvip_dma_init()
698 dma->video.device_caps |= V4L2_CAP_VIDEO_OUTPUT; in xvip_dma_init()
700 video_set_drvdata(&dma->video, dma); in xvip_dma_init()
738 ret = video_register_device(&dma->video, VFL_TYPE_VIDEO, -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()
759 media_entity_cleanup(&dma->video.entity); in xvip_dma_cleanup()