Lines Matching defs:v4l2_fh
25 * struct v4l2_fh - Describes a V4L2 file handler
42 struct v4l2_fh {
60 * file_to_v4l2_fh - Return the v4l2_fh associated with a struct file
64 * This function should be used by drivers to retrieve the &struct v4l2_fh
68 static inline struct v4l2_fh *file_to_v4l2_fh(struct file *filp)
76 * @fh: pointer to &struct v4l2_fh
82 * uses &struct v4l2_fh.
84 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
89 * @fh: pointer to &struct v4l2_fh
97 void v4l2_fh_add(struct v4l2_fh *fh, struct file *filp);
105 * It allocates a v4l2_fh and inits and adds it to the &struct video_device
109 * the &struct v4l2_fh.
116 * @fh: pointer to &struct v4l2_fh
123 * uses &struct v4l2_fh.
125 void v4l2_fh_del(struct v4l2_fh *fh, struct file *filp);
130 * @fh: pointer to &struct v4l2_fh
132 * Parts of the V4L2 framework using the v4l2_fh must release their
137 * driver uses &struct v4l2_fh.
139 void v4l2_fh_exit(struct v4l2_fh *fh);
147 * It deletes and exits the v4l2_fh associated with the file pointer and
149 * v4l2_fh struct) is %NULL.
159 * @fh: pointer to &struct v4l2_fh
163 int v4l2_fh_is_singular(struct v4l2_fh *fh);