Lines Matching refs:v4l2_fh
6 struct v4l2_fh provides a way to easily keep file handle specific
10 New drivers must use struct v4l2_fh
14 The users of :c:type:`v4l2_fh` (in the V4L2 framework, not the driver) know
15 whether a driver uses :c:type:`v4l2_fh` as its ``file->private_data`` pointer
19 struct v4l2_fh is allocated as a part of the driver's own file handle
23 In many cases the struct v4l2_fh will be embedded in a larger
38 struct v4l2_fh fh;
66 struct v4l2_fh *fh = file->private_data;
76 Below is a short description of the :c:type:`v4l2_fh` functions used:
79 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`)
87 (:c:type:`fh <v4l2_fh>`)
89 - Add a :c:type:`v4l2_fh` to :c:type:`video_device` file handle list.
93 (:c:type:`fh <v4l2_fh>`)
99 (:c:type:`fh <v4l2_fh>`)
101 - Uninitialise the file handle. After uninitialisation the :c:type:`v4l2_fh`
105 If struct v4l2_fh is not embedded, then you can use these helper functions:
110 - This allocates a struct v4l2_fh, initializes it and adds it to
117 file struct, uninitialised the :c:type:`v4l2_fh` and frees it.
124 whether the :c:type:`v4l2_fh` struct is the only open filehandle of the
128 (:c:type:`fh <v4l2_fh>`)