Lines Matching refs:file
5 * V4L2 file handle. Store per file handle data for the V4L2
6 * framework. Using file handles is optional for the drivers.
25 * struct v4l2_fh - Describes a V4L2 file handler
27 * @list: list of file handlers
30 * @prio: priority of the file handler, as defined by &enum v4l2_priority
60 * v4l2_fh_init - Initialise the file handle.
66 * file handles should be initialised in this function. Must be called
73 * v4l2_fh_add - Add the fh to the list of file handles on a video_device.
78 * The @fh file handle must be initialised first.
86 * @filp: pointer to struct file
89 * associated with the file pointer.
91 int v4l2_fh_open(struct file *filp);
94 * v4l2_fh_del - Remove file handle from the list of file handles.
108 * v4l2_fh_exit - Release resources related to a file handle.
125 * @filp: pointer to struct file
127 * It deletes and exits the v4l2_fh associated with the file pointer and
133 int v4l2_fh_release(struct file *filp);
149 * @filp: pointer to struct file
152 * struct file as argument.
156 static inline int v4l2_fh_is_singular_file(struct file *filp)