Lines Matching refs:c
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
16 by testing the ``V4L2_FL_USES_V4L2_FH`` bit in :c:type:`video_device`->flags.
17 This bit is set whenever :c:func:`v4l2_fh_init` is called.
26 #) :c:func:`v4l2_fh_init` and :c:func:`v4l2_fh_add` in ``open()``
27 #) :c:func:`v4l2_fh_del` and :c:func:`v4l2_fh_exit` in ``release()``
34 .. code-block:: c
76 Below is a short description of the :c:type:`v4l2_fh` functions used:
78 :c:func:`v4l2_fh_init <v4l2_fh_init>`
79 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`)
83 :c:type:`v4l2_file_operations`->open() handler.
86 :c:func:`v4l2_fh_add <v4l2_fh_add>`
87 (:c:type:`fh <v4l2_fh>`)
89 - Add a :c:type:`v4l2_fh` to :c:type:`video_device` file handle list.
92 :c:func:`v4l2_fh_del <v4l2_fh_del>`
93 (:c:type:`fh <v4l2_fh>`)
95 - Unassociate the file handle from :c:type:`video_device`. The file handle
98 :c:func:`v4l2_fh_exit <v4l2_fh_exit>`
99 (:c:type:`fh <v4l2_fh>`)
101 - Uninitialise the file handle. After uninitialisation the :c:type:`v4l2_fh`
107 :c:func:`v4l2_fh_open <v4l2_fh_open>`
113 :c:func:`v4l2_fh_release <v4l2_fh_release>`
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
127 :c:func:`v4l2_fh_is_singular <v4l2_fh_is_singular>`
128 (:c:type:`fh <v4l2_fh>`)
132 :c:func:`v4l2_fh_is_singular_file <v4l2_fh_is_singular_file>`