Lines Matching full:notifier
69 * @notifier: the async notifier the connection is related to
71 * notifier @waiting_list or @done_list
81 struct v4l2_async_notifier *notifier; member
88 * struct v4l2_async_notifier_operations - Asynchronous V4L2 notifier operations
91 * callback is only executed for the root notifier.
96 int (*bound)(struct v4l2_async_notifier *notifier,
99 int (*complete)(struct v4l2_async_notifier *notifier);
100 void (*unbind)(struct v4l2_async_notifier *notifier,
107 * struct v4l2_async_notifier - v4l2_device notifier data
109 * @ops: notifier operations
110 * @v4l2_dev: v4l2_device of the root notifier, NULL otherwise
111 * @sd: sub-device that registered the notifier, NULL otherwise
112 * @parent: parent notifier
148 * v4l2_async_nf_init - Initialize a notifier.
150 * @notifier: pointer to &struct v4l2_async_notifier
153 * This function initializes the notifier @asc_entry. It must be called
154 * before adding a subdevice to a notifier, using one of:
159 void v4l2_async_nf_init(struct v4l2_async_notifier *notifier,
163 * v4l2_async_subdev_nf_init - Initialize a sub-device notifier.
165 * @notifier: pointer to &struct v4l2_async_notifier
168 * This function initializes the notifier @asc_list. It must be called
169 * before adding a subdevice to a notifier, using one of:
173 void v4l2_async_subdev_nf_init(struct v4l2_async_notifier *notifier,
177 __v4l2_async_nf_add_fwnode(struct v4l2_async_notifier *notifier,
182 * subdev to the notifier's master asc_list.
184 * @notifier: pointer to &struct v4l2_async_notifier
193 * is released later at notifier cleanup time.
195 #define v4l2_async_nf_add_fwnode(notifier, fwnode, type) \ argument
196 ((type *)__v4l2_async_nf_add_fwnode(notifier, fwnode, sizeof(type)))
205 * notifier's master asc_list.
207 * @notifier: pointer to &struct v4l2_async_notifier
215 * matching and adds the async connection to the notifier's @asc_list. The
217 * notifier cleanup time.
222 #define v4l2_async_nf_add_fwnode_remote(notifier, ep, type) \ argument
223 ((type *)__v4l2_async_nf_add_fwnode_remote(notifier, ep, sizeof(type)))
226 __v4l2_async_nf_add_i2c(struct v4l2_async_notifier *notifier,
231 * subdev to the notifier's master asc_list.
233 * @notifier: pointer to &struct v4l2_async_notifier
243 #define v4l2_async_nf_add_i2c(notifier, adapter, address, type) \ argument
244 ((type *)__v4l2_async_nf_add_i2c(notifier, adapter, address, \
277 * v4l2_async_nf_register - registers a subdevice asynchronous notifier
279 * @notifier: pointer to &struct v4l2_async_notifier
281 int v4l2_async_nf_register(struct v4l2_async_notifier *notifier);
285 * asynchronous notifier
287 * @notifier: pointer to &struct v4l2_async_notifier
289 void v4l2_async_nf_unregister(struct v4l2_async_notifier *notifier);
292 * v4l2_async_nf_cleanup - clean up notifier resources
293 * @notifier: the notifier the resources of which are to be cleaned up
295 * Release memory resources related to a notifier, including the async
296 * connections allocated for the purposes of the notifier but not the notifier
298 * notifier after calling v4l2_async_nf_add_fwnode_remote(),
305 void v4l2_async_nf_cleanup(struct v4l2_async_notifier *notifier);