Lines Matching refs:video_device
28 struct video_device;
32 /* Flag to mark the video_device struct as registered.
53 * Newer version of video_device, handled by videodev2.c
58 struct video_device
96 void (*release)(struct video_device *vdev);
103 #define to_video_device(cd) container_of(cd, struct video_device, dev)
106 the release() callback of the video_device structure is *not* called, so
109 int __must_check video_register_device(struct video_device *vdev, int type, int nr);
113 int __must_check video_register_device_no_warn(struct video_device *vdev, int type, int nr);
117 void video_unregister_device(struct video_device *vdev);
119 /* helper functions to alloc/release struct video_device, the
120 latter can also be used for video_device->release(). */
121 struct video_device * __must_check video_device_alloc(void);
124 void video_device_release(struct video_device *vdev);
126 /* this release function does nothing, use when the video_device is a
127 static global struct. Note that having a static video_device is
129 void video_device_release_empty(struct video_device *vdev);
132 static inline void *video_get_drvdata(struct video_device *vdev)
137 static inline void video_set_drvdata(struct video_device *vdev, void *data)
142 struct video_device *video_devdata(struct file *file);
151 static inline const char *video_device_node_name(struct video_device *vdev)
156 static inline int video_is_registered(struct video_device *vdev)