#define pr_fmt(fmt) …
#define MODULE_NAME …
#include "gspca.h"
#define OV534_REG_ADDRESS …
#define OV534_REG_SUBADDR …
#define OV534_REG_WRITE …
#define OV534_REG_READ …
#define OV534_REG_OPERATION …
#define OV534_REG_STATUS …
#define OV534_OP_WRITE_3 …
#define OV534_OP_WRITE_2 …
#define OV534_OP_READ_2 …
#define CTRL_TIMEOUT …
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
struct sd { … };
enum sensors { … };
static const struct v4l2_pix_format ov965x_mode[] = …;
static const struct v4l2_pix_format ov971x_mode[] = …;
static const struct v4l2_pix_format ov562x_mode[] = …;
enum ov361x { … };
static const struct v4l2_pix_format ov361x_mode[] = …;
static const u8 ov361x_start_2048[][2] = …;
static const u8 ov361x_bridge_start_2048[][2] = …;
static const u8 ov361x_start_1600[][2] = …;
static const u8 ov361x_bridge_start_1600[][2] = …;
static const u8 ov361x_start_1024[][2] = …;
static const u8 ov361x_bridge_start_1024[][2] = …;
static const u8 ov361x_start_640[][2] = …;
static const u8 ov361x_bridge_start_640[][2] = …;
static const u8 ov361x_start_320[][2] = …;
static const u8 ov361x_bridge_start_320[][2] = …;
static const u8 ov361x_start_160[][2] = …;
static const u8 ov361x_bridge_start_160[][2] = …;
static const u8 bridge_init[][2] = …;
static const u8 ov965x_init[][2] = …;
static const u8 bridge_init_2[][2] = …;
static const u8 ov965x_init_2[][2] = …;
static const u8 ov971x_init[][2] = …;
static const u8 ov965x_start_1_vga[][2] = …;
static const u8 ov965x_start_1_svga[][2] = …;
static const u8 ov965x_start_1_xga[][2] = …;
static const u8 ov965x_start_1_sxga[][2] = …;
static const u8 bridge_start_qvga[][2] = …;
static const u8 bridge_start_vga[][2] = …;
static const u8 bridge_start_svga[][2] = …;
static const u8 bridge_start_xga[][2] = …;
static const u8 bridge_start_sxga[][2] = …;
static const u8 ov965x_start_2_qvga[][2] = …;
static const u8 ov965x_start_2_vga[][2] = …;
static const u8 ov965x_start_2_svga[][2] = …;
static const u8 ov965x_start_2_sxga[][2] = …;
static const u8 ov562x_init[][2] = …;
static const u8 ov562x_init_2[][2] = …;
static void reg_w_i(struct gspca_dev *gspca_dev, u16 reg, u8 val)
{ … }
static void reg_w(struct gspca_dev *gspca_dev, u16 reg, u8 val)
{ … }
static u8 reg_r(struct gspca_dev *gspca_dev, u16 reg)
{ … }
static int sccb_check_status(struct gspca_dev *gspca_dev)
{ … }
static void sccb_write(struct gspca_dev *gspca_dev, u8 reg, u8 val)
{ … }
static u8 sccb_read(struct gspca_dev *gspca_dev, u16 reg)
{ … }
static void reg_w_array(struct gspca_dev *gspca_dev,
const u8 (*data)[2], int len)
{ … }
static void sccb_w_array(struct gspca_dev *gspca_dev,
const u8 (*data)[2], int len)
{ … }
static void set_led(struct gspca_dev *gspca_dev, int status)
{ … }
static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness)
{ … }
static void setcontrast(struct gspca_dev *gspca_dev, s32 val)
{ … }
static void setautogain(struct gspca_dev *gspca_dev, s32 autogain)
{ … }
static void setexposure(struct gspca_dev *gspca_dev, s32 exposure)
{ … }
static void setsharpness(struct gspca_dev *gspca_dev, s32 val)
{ … }
static void setsatur(struct gspca_dev *gspca_dev, s32 val)
{ … }
static void setlightfreq(struct gspca_dev *gspca_dev, s32 freq)
{ … }
static int sd_config(struct gspca_dev *gspca_dev,
const struct usb_device_id *id)
{ … }
static int sd_init(struct gspca_dev *gspca_dev)
{ … }
static int sd_start_ov361x(struct gspca_dev *gspca_dev)
{ … }
static int sd_start(struct gspca_dev *gspca_dev)
{ … }
static void sd_stopN(struct gspca_dev *gspca_dev)
{ … }
#define UVC_STREAM_EOH …
#define UVC_STREAM_ERR …
#define UVC_STREAM_STI …
#define UVC_STREAM_RES …
#define UVC_STREAM_SCR …
#define UVC_STREAM_PTS …
#define UVC_STREAM_EOF …
#define UVC_STREAM_FID …
static void sd_pkt_scan(struct gspca_dev *gspca_dev,
u8 *data, int len)
{ … }
static int sd_s_ctrl(struct v4l2_ctrl *ctrl)
{ … }
static const struct v4l2_ctrl_ops sd_ctrl_ops = …;
static int sd_init_controls(struct gspca_dev *gspca_dev)
{ … }
static const struct sd_desc sd_desc = …;
static const struct usb_device_id device_table[] = …;
MODULE_DEVICE_TABLE(usb, device_table);
static int sd_probe(struct usb_interface *intf, const struct usb_device_id *id)
{ … }
static struct usb_driver sd_driver = …;
module_usb_driver(…) …;