Lines Matching refs:video_dev

175 	struct video_device *video_dev = &video->video_dev;  in sun6i_video_start_streaming()  local
184 ret = video_device_pipeline_alloc_start(video_dev); in sun6i_video_start_streaming()
241 video_device_pipeline_stop(video_dev); in sun6i_video_start_streaming()
268 video_device_pipeline_stop(&video->video_dev); in sun6i_video_stop_streaming()
341 struct video_device *video_dev = &csi_dev->video.video_dev; in sun6i_video_querycap() local
344 strscpy(capability->card, video_dev->name, sizeof(capability->card)); in sun6i_video_querycap()
508 ret = v4l2_pipeline_pm_get(&video->video_dev.entity); in sun6i_video_open()
543 v4l2_pipeline_pm_put(&video->video_dev.entity); in sun6i_video_close()
635 struct video_device *video_dev = &video->video_dev; in sun6i_video_setup() local
644 video_dev->entity.ops = &sun6i_video_media_ops; in sun6i_video_setup()
650 ret = media_entity_pads_init(&video_dev->entity, 1, pad); in sun6i_video_setup()
696 strscpy(video_dev->name, SUN6I_CSI_NAME, sizeof(video_dev->name)); in sun6i_video_setup()
697 video_dev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; in sun6i_video_setup()
698 video_dev->vfl_dir = VFL_DIR_RX; in sun6i_video_setup()
699 video_dev->release = video_device_release_empty; in sun6i_video_setup()
700 video_dev->fops = &sun6i_video_fops; in sun6i_video_setup()
701 video_dev->ioctl_ops = &sun6i_video_ioctl_ops; in sun6i_video_setup()
702 video_dev->v4l2_dev = v4l2_dev; in sun6i_video_setup()
703 video_dev->queue = queue; in sun6i_video_setup()
704 video_dev->lock = &video->lock; in sun6i_video_setup()
706 video_set_drvdata(video_dev, csi_dev); in sun6i_video_setup()
708 ret = video_register_device(video_dev, VFL_TYPE_VIDEO, -1); in sun6i_video_setup()
718 media_entity_cleanup(&video_dev->entity); in sun6i_video_setup()
728 struct video_device *video_dev = &video->video_dev; in sun6i_video_cleanup() local
730 vb2_video_unregister_device(video_dev); in sun6i_video_cleanup()
731 media_entity_cleanup(&video_dev->entity); in sun6i_video_cleanup()