Lines Matching refs:video_device

46  * enum  vfl_devnode_direction - Identifies if a &struct video_device
62 struct video_device;
67 * enum v4l2_video_device_flags - Flags used by &struct video_device
70 * indicates that a &struct video_device is registered.
217 * Newer version of video_device, handled by videodev2.c
223 * struct video_device - Structure used to create and manage the V4L2 device
263 struct video_device {
304 void (*release)(struct video_device *vdev);
312 * media_entity_to_video_device - Returns a &struct video_device from
318 container_of(__entity, struct video_device, entity)
321 * to_video_device - Returns a &struct video_device from the
326 #define to_video_device(cd) container_of(cd, struct video_device, dev)
331 * @vdev: struct video_device to register
343 * This function assumes that struct video_device was zeroed when it
357 int __must_check __video_register_device(struct video_device *vdev,
365 * @vdev: struct video_device to register
375 * &struct video_device structure is *not* called, so the caller
379 static inline int __must_check video_register_device(struct video_device *vdev,
389 * @vdev: struct video_device to register
402 * &struct video_device structure is *not* called, so the caller
407 video_register_device_no_warn(struct video_device *vdev,
416 * @vdev: &struct video_device to register
420 void video_unregister_device(struct video_device *vdev);
423 * video_device_alloc - helper function to alloc &struct video_device
425 * Returns NULL if %-ENOMEM or a &struct video_device on success.
427 struct video_device * __must_check video_device_alloc(void);
430 * video_device_release - helper function to release &struct video_device
432 * @vdev: pointer to &struct video_device
434 * Can also be used for video_device->release\(\).
436 void video_device_release(struct video_device *vdev);
440 * video_device->release\(\) callback.
442 * @vdev: pointer to &struct video_device
446 * It should be used when the video_device is a static global struct.
449 * Having a static video_device is a dubious construction at best.
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,
476 * video_get_drvdata - gets private data from &struct video_device.
478 * @vdev: pointer to &struct video_device
482 static inline void *video_get_drvdata(struct video_device *vdev)
488 * video_set_drvdata - sets private data from &struct video_device.
490 * @vdev: pointer to &struct video_device
493 static inline void video_set_drvdata(struct video_device *vdev, void *data)
499 * video_devdata - gets &struct video_device from struct file.
503 struct video_device *video_devdata(struct file *file);
506 * video_drvdata - gets private data from &struct video_device using the
522 * @vdev: pointer to &struct video_device
526 static inline const char *video_device_node_name(struct video_device *vdev)
532 * video_is_registered - returns true if the &struct video_device is registered.
535 * @vdev: pointer to &struct video_device
537 static inline int video_is_registered(struct video_device *vdev)
563 __must_check int video_device_pipeline_start(struct video_device *vdev,
577 __must_check int __video_device_pipeline_start(struct video_device *vdev,
596 void video_device_pipeline_stop(struct video_device *vdev);
608 void __video_device_pipeline_stop(struct video_device *vdev);
622 __must_check int video_device_pipeline_alloc_start(struct video_device *vdev);
640 struct media_pipeline *video_device_pipeline(struct video_device *vdev);