Lines Matching refs:video_device

46  * enum  vfl_direction - Identifies if a &struct video_device corresponds
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
305 void (*release)(struct video_device *vdev);
313 * media_entity_to_video_device - Returns a &struct video_device from
319 container_of(__entity, struct video_device, entity)
322 * to_video_device - Returns a &struct video_device from the
327 #define to_video_device(cd) container_of(cd, struct video_device, dev)
332 * @vdev: struct video_device to register
344 * This function assumes that struct video_device was zeroed when it
358 int __must_check __video_register_device(struct video_device *vdev,
366 * @vdev: struct video_device to register
376 * &struct video_device structure is *not* called, so the caller
380 static inline int __must_check video_register_device(struct video_device *vdev,
390 * @vdev: struct video_device to register
403 * &struct video_device structure is *not* called, so the caller
408 video_register_device_no_warn(struct video_device *vdev,
417 * @vdev: &struct video_device to register
421 void video_unregister_device(struct video_device *vdev);
424 * video_device_alloc - helper function to alloc &struct video_device
426 * Returns NULL if %-ENOMEM or a &struct video_device on success.
428 struct video_device * __must_check video_device_alloc(void);
431 * video_device_release - helper function to release &struct video_device
433 * @vdev: pointer to &struct video_device
435 * Can also be used for video_device->release\(\).
437 void video_device_release(struct video_device *vdev);
441 * video_device->release\(\) callback.
443 * @vdev: pointer to &struct video_device
447 * It should be used when the video_device is a static global struct.
450 * Having a static video_device is a dubious construction at best.
452 void video_device_release_empty(struct video_device *vdev);
458 * @vdev: pointer to &struct video_device
469 static inline void v4l2_disable_ioctl(struct video_device *vdev,
477 * video_get_drvdata - gets private data from &struct video_device.
479 * @vdev: pointer to &struct video_device
483 static inline void *video_get_drvdata(struct video_device *vdev)
489 * video_set_drvdata - sets private data from &struct video_device.
491 * @vdev: pointer to &struct video_device
494 static inline void video_set_drvdata(struct video_device *vdev, void *data)
500 * video_devdata - gets &struct video_device from struct file.
504 struct video_device *video_devdata(struct file *file);
507 * video_drvdata - gets private data from &struct video_device using the
523 * @vdev: pointer to &struct video_device
527 static inline const char *video_device_node_name(struct video_device *vdev)
533 * video_is_registered - returns true if the &struct video_device is registered.
536 * @vdev: pointer to &struct video_device
538 static inline int video_is_registered(struct video_device *vdev)