Lines Matching refs:v4l2_fh
4 struct :c:type:`v4l2_fh` provides a way to easily keep file handle specific
8 New drivers must use struct :c:type:`v4l2_fh`
12 The users of :c:type:`v4l2_fh` (in the V4L2 framework, not the driver) know
13 whether a driver uses :c:type:`v4l2_fh` as its ``file->private_data`` pointer
17 struct :c:type:`v4l2_fh` is allocated as a part of the driver's own file handle
21 In many cases the struct :c:type:`v4l2_fh` will be embedded in a larger
36 struct v4l2_fh fh;
64 struct v4l2_fh *fh = file->private_data;
74 Below is a short description of the :c:type:`v4l2_fh` functions used:
77 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`)
85 (:c:type:`fh <v4l2_fh>`)
87 - Add a :c:type:`v4l2_fh` to :c:type:`video_device` file handle list.
91 (:c:type:`fh <v4l2_fh>`)
97 (:c:type:`fh <v4l2_fh>`)
99 - Uninitialise the file handle. After uninitialisation the :c:type:`v4l2_fh`
103 If struct :c:type:`v4l2_fh` is not embedded, then you can use these helper functions:
108 - This allocates a struct :c:type:`v4l2_fh`, initializes it and adds it to
115 file struct, uninitialised the :c:type:`v4l2_fh` and frees it.
122 whether the :c:type:`v4l2_fh` struct is the only open filehandle of the
126 (:c:type:`fh <v4l2_fh>`)