v4l2-async.h (9e7fabbcb01a7e97c236d273e2017c1a35007a42) | v4l2-async.h (15786f7b564eff32d8dae73d40d77dc4e3c7298f) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * V4L2 asynchronous subdevice registration API 4 * 5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de> 6 */ 7 8#ifndef V4L2_ASYNC_H --- 272 unchanged lines hidden (view full) --- 281 * v4l2_async_register_subdev - registers a sub-device to the asynchronous 282 * subdevice framework 283 * 284 * @sd: pointer to &struct v4l2_subdev 285 */ 286int v4l2_async_register_subdev(struct v4l2_subdev *sd); 287 288/** | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * V4L2 asynchronous subdevice registration API 4 * 5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de> 6 */ 7 8#ifndef V4L2_ASYNC_H --- 272 unchanged lines hidden (view full) --- 281 * v4l2_async_register_subdev - registers a sub-device to the asynchronous 282 * subdevice framework 283 * 284 * @sd: pointer to &struct v4l2_subdev 285 */ 286int v4l2_async_register_subdev(struct v4l2_subdev *sd); 287 288/** |
289 * v4l2_async_register_subdev_sensor_common - registers a sensor sub-device to 290 * the asynchronous sub-device 291 * framework and parse set up common 292 * sensor related devices | 289 * v4l2_async_register_subdev_sensor - registers a sensor sub-device to the 290 * asynchronous sub-device framework and 291 * parse set up common sensor related 292 * devices |
293 * 294 * @sd: pointer to struct &v4l2_subdev 295 * 296 * This function is just like v4l2_async_register_subdev() with the exception 297 * that calling it will also parse firmware interfaces for remote references 298 * using v4l2_async_notifier_parse_fwnode_sensor() and registers the 299 * async sub-devices. The sub-device is similarly unregistered by calling 300 * v4l2_async_unregister_subdev(). 301 * 302 * While registered, the subdev module is marked as in-use. 303 * 304 * An error is returned if the module is no longer loaded on any attempts 305 * to register it. 306 */ 307int __must_check | 293 * 294 * @sd: pointer to struct &v4l2_subdev 295 * 296 * This function is just like v4l2_async_register_subdev() with the exception 297 * that calling it will also parse firmware interfaces for remote references 298 * using v4l2_async_notifier_parse_fwnode_sensor() and registers the 299 * async sub-devices. The sub-device is similarly unregistered by calling 300 * v4l2_async_unregister_subdev(). 301 * 302 * While registered, the subdev module is marked as in-use. 303 * 304 * An error is returned if the module is no longer loaded on any attempts 305 * to register it. 306 */ 307int __must_check |
308v4l2_async_register_subdev_sensor_common(struct v4l2_subdev *sd); | 308v4l2_async_register_subdev_sensor(struct v4l2_subdev *sd); |
309 310/** 311 * v4l2_async_unregister_subdev - unregisters a sub-device to the asynchronous 312 * subdevice framework 313 * 314 * @sd: pointer to &struct v4l2_subdev 315 */ 316void v4l2_async_unregister_subdev(struct v4l2_subdev *sd); 317#endif | 309 310/** 311 * v4l2_async_unregister_subdev - unregisters a sub-device to the asynchronous 312 * subdevice framework 313 * 314 * @sd: pointer to &struct v4l2_subdev 315 */ 316void v4l2_async_unregister_subdev(struct v4l2_subdev *sd); 317#endif |