Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] v4l2-subdev: add remaining argument descriptions

Warning(.//include/media/v4l2-subdev.h:203): No description found for parameter 'ioctl'
Warning(.//include/media/v4l2-subdev.h:203): No description found for parameter 'compat_ioctl32'
Warning(.//include/media/v4l2-subdev.h:203): No description found for parameter 'subscribe_event'
Warning(.//include/media/v4l2-subdev.h:203): No description found for parameter 'unsubscribe_event'
Warning(.//include/media/v4l2-subdev.h:273): No description found for parameter 's_stream'
Warning(.//include/media/v4l2-subdev.h:407): No description found for parameter 's_stream'
Warning(.//include/media/v4l2-subdev.h:623): No description found for parameter 'link_validate'
Warning(.//include/media/v4l2-subdev.h:623): No description found for parameter 'set_frame_desc'

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>

+21 -1
+21 -1
include/media/v4l2-subdev.h
··· 157 157 * 158 158 * @querymenu: callback for VIDIOC_QUERYMENU ioctl handler code. 159 159 * 160 + * @ioctl: called at the end of ioctl() syscall handler at the V4L2 core. 161 + * used to provide support for private ioctls used on the driver. 162 + * 163 + * @compat_ioctl32: called when a 32 bits application uses a 64 bits Kernel, 164 + * in order to fix data passed from/to userspace. 165 + * 160 166 * @g_register: callback for VIDIOC_G_REGISTER ioctl handler code. 161 167 * 162 168 * @s_register: callback for VIDIOC_G_REGISTER ioctl handler code. ··· 174 168 * handler, when an interrupt status has be raised due to this subdev, 175 169 * so that this subdev can handle the details. It may schedule work to be 176 170 * performed later. It must not sleep. *Called from an IRQ context*. 171 + * 172 + * @subscribe_event: used by the drivers to request the control framework that 173 + * for it to be warned when the value of a control changes. 174 + * 175 + * @unsubscribe_event: remove event subscription from the control framework. 177 176 */ 178 177 struct v4l2_subdev_core_ops { 179 178 int (*log_status)(struct v4l2_subdev *sd); ··· 275 264 * board or platform it might be connected to something else entirely. 276 265 * The calling driver is responsible for mapping a user-level input to 277 266 * the right pins on the i2c device. 267 + * 268 + * @s_stream: used to notify the audio code that stream will start or has 269 + * stopped. 278 270 */ 279 271 struct v4l2_subdev_audio_ops { 280 272 int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq); ··· 352 338 * 353 339 * @g_input_status: get input status. Same as the status field in the v4l2_input 354 340 * struct. 341 + * 342 + * @s_stream: used to notify the driver that a video stream will start or has 343 + * stopped. 355 344 * 356 345 * @cropcap: callback for VIDIOC_CROPCAP ioctl handler code. 357 346 * ··· 595 578 * @enum_dv_timings: callback for VIDIOC_SUBDEV_ENUM_DV_TIMINGS ioctl handler 596 579 * code. 597 580 * 581 + * @link_validate: used by the media controller code to check if the links 582 + * that belongs to a pipeline can be used for stream. 583 + * 598 584 * @get_frame_desc: get the current low level media bus frame parameters. 599 585 * 600 - * @get_frame_desc: set the low level media bus frame parameters, @fd array 586 + * @set_frame_desc: set the low level media bus frame parameters, @fd array 601 587 * may be adjusted by the subdev driver to device capabilities. 602 588 */ 603 589 struct v4l2_subdev_pad_ops {