Lines Matching refs:vdev

304 	void (*release)(struct video_device *vdev);
331 * @vdev: struct video_device to register
357 int __must_check __video_register_device(struct video_device *vdev,
365 * @vdev: struct video_device to register
379 static inline int __must_check video_register_device(struct video_device *vdev,
383 return __video_register_device(vdev, type, nr, 1, vdev->fops->owner);
389 * @vdev: struct video_device to register
407 video_register_device_no_warn(struct video_device *vdev,
410 return __video_register_device(vdev, type, nr, 0, vdev->fops->owner);
416 * @vdev: &struct video_device to register
418 * Does nothing if vdev == NULL or if video_is_registered() returns false.
420 void video_unregister_device(struct video_device *vdev);
432 * @vdev: pointer to &struct video_device
436 void video_device_release(struct video_device *vdev);
442 * @vdev: pointer to &struct video_device
451 void video_device_release_empty(struct video_device *vdev);
457 * @vdev: pointer to &struct video_device
468 static inline void v4l2_disable_ioctl(struct video_device *vdev,
472 set_bit(_IOC_NR(cmd), vdev->valid_ioctls);
478 * @vdev: pointer to &struct video_device
482 static inline void *video_get_drvdata(struct video_device *vdev)
484 return dev_get_drvdata(&vdev->dev);
490 * @vdev: pointer to &struct video_device
493 static inline void video_set_drvdata(struct video_device *vdev, void *data)
495 dev_set_drvdata(&vdev->dev, data);
522 * @vdev: pointer to &struct video_device
526 static inline const char *video_device_node_name(struct video_device *vdev)
528 return dev_name(&vdev->dev);
535 * @vdev: pointer to &struct video_device
537 static inline int video_is_registered(struct video_device *vdev)
539 return test_bit(V4L2_FL_REGISTERED, &vdev->flags);
546 * @vdev: Starting video device
563 __must_check int video_device_pipeline_start(struct video_device *vdev,
568 * @vdev: Starting video device
577 __must_check int __video_device_pipeline_start(struct video_device *vdev,
582 * @vdev: Starting video device
596 void video_device_pipeline_stop(struct video_device *vdev);
600 * @vdev: Starting video device
608 void __video_device_pipeline_stop(struct video_device *vdev);
612 * @vdev: Starting video device
622 __must_check int video_device_pipeline_alloc_start(struct video_device *vdev);
626 * @vdev: The video device
640 struct media_pipeline *video_device_pipeline(struct video_device *vdev);