Lines Matching defs:video
335 int atomisp_video_init(struct atomisp_video_pipe *video)
339 video->pad.flags = MEDIA_PAD_FL_SINK;
340 ret = media_entity_pads_init(&video->vdev.entity, 1, &video->pad);
344 /* Initialize the video device. */
345 strscpy(video->vdev.name, "ATOMISP video output", sizeof(video->vdev.name));
346 video->vdev.fops = &atomisp_fops;
347 video->vdev.ioctl_ops = &atomisp_ioctl_ops;
348 video->vdev.lock = &video->isp->mutex;
349 video->vdev.release = video_device_release_empty;
350 video_set_drvdata(&video->vdev, video->isp);
355 void atomisp_video_unregister(struct atomisp_video_pipe *video)
357 if (video_is_registered(&video->vdev)) {
358 media_entity_cleanup(&video->vdev.entity);
359 video_unregister_device(&video->vdev);
913 * but atomisp needs this for try_fmt on its /dev/video# node since