/* SPDX-License-Identifier: GPL-2.0 */ /* * Broadcom BCM2835 V4L2 driver * * Copyright © 2013 Raspberry Pi (Trading) Ltd. * * Authors: Vincent Sanders @ Collabora * Dave Stevenson @ Broadcom * (now [email protected]) * Simon Mellor @ Broadcom * Luke Diamand @ Broadcom * * core driver device */ #define V4L2_CTRL_COUNT … enum { … }; enum { … }; extern int bcm2835_v4l2_debug; struct bcm2835_mmal_dev { … }; int bcm2835_mmal_init_controls(struct bcm2835_mmal_dev *dev, struct v4l2_ctrl_handler *hdl); int bcm2835_mmal_set_all_camera_controls(struct bcm2835_mmal_dev *dev); int set_framerate_params(struct bcm2835_mmal_dev *dev); /* Debug helpers */ #define v4l2_dump_pix_format(level, debug, dev, pix_fmt, desc) … #define v4l2_dump_win_format(level, debug, dev, win_fmt, desc) …