v4l2-async.h (27988c96687667e74df1a9a3b8662519bc1c29c9) | v4l2-async.h (016413d967061fc2eb6798a487b3022bef7698a6) |
---|---|
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 --- 158 unchanged lines hidden (view full) --- 167 * @notifier: pointer to &struct v4l2_async_notifier 168 * @fwnode: fwnode handle of the sub-device to be matched 169 * @asd_struct_size: size of the driver's async sub-device struct, including 170 * sizeof(struct v4l2_async_subdev). The &struct 171 * v4l2_async_subdev shall be the first member of 172 * the driver's async sub-device struct, i.e. both 173 * begin at the same memory address. 174 * | 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 --- 158 unchanged lines hidden (view full) --- 167 * @notifier: pointer to &struct v4l2_async_notifier 168 * @fwnode: fwnode handle of the sub-device to be matched 169 * @asd_struct_size: size of the driver's async sub-device struct, including 170 * sizeof(struct v4l2_async_subdev). The &struct 171 * v4l2_async_subdev shall be the first member of 172 * the driver's async sub-device struct, i.e. both 173 * begin at the same memory address. 174 * |
175 * Allocate a fwnode-matched asd of size asd_struct_size, and add it 176 * to the notifiers @asd_list. | 175 * Allocate a fwnode-matched asd of size asd_struct_size, and add it to the 176 * notifiers @asd_list. The function also gets a reference of the fwnode which 177 * is released later at notifier cleanup time. |
177 */ 178struct v4l2_async_subdev * 179v4l2_async_notifier_add_fwnode_subdev(struct v4l2_async_notifier *notifier, 180 struct fwnode_handle *fwnode, 181 unsigned int asd_struct_size); 182 183/** 184 * v4l2_async_notifier_add_i2c_subdev - Allocate and add an i2c async --- 120 unchanged lines hidden --- | 178 */ 179struct v4l2_async_subdev * 180v4l2_async_notifier_add_fwnode_subdev(struct v4l2_async_notifier *notifier, 181 struct fwnode_handle *fwnode, 182 unsigned int asd_struct_size); 183 184/** 185 * v4l2_async_notifier_add_i2c_subdev - Allocate and add an i2c async --- 120 unchanged lines hidden --- |