linux/drivers/media/usb/gspca/conex.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *		Connexant Cx11646 library
 *		Copyright (C) 2004 Michel Xhaard [email protected]
 *
 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr>
 */

#define pr_fmt(fmt)

#define MODULE_NAME

#include "gspca.h"
#define CONEX_CAM
#include "jpeg.h"

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

#define QUALITY

/* specific webcam descriptor */
struct sd {};

static const struct v4l2_pix_format vga_mode[] =;

/* the read bytes are found in gspca_dev->usb_buf */
static void reg_r(struct gspca_dev *gspca_dev,
		  __u16 index,
		  __u16 len)
{}

/* the bytes to write are in gspca_dev->usb_buf */
static void reg_w_val(struct gspca_dev *gspca_dev,
			__u16 index,
			__u8 val)
{}

static void reg_w(struct gspca_dev *gspca_dev,
		  __u16 index,
		  const __u8 *buffer,
		  __u16 len)
{}

static const __u8 cx_sensor_init[][4] =;

static const __u8 cx11646_fw1[][3] =;
static void cx11646_fw(struct gspca_dev*gspca_dev)
{}

static const __u8 cxsensor[] =;

static const __u8 reg20[] =;
static const __u8 reg28[] =;
static const __u8 reg10[] =;
static const __u8 reg71a[] =;	/* 640 */
static const __u8 reg71b[] =;
	/* 352{0x04,0x0a,0x06,0x12}; //352{0x05,0x0e,0x06,0x11}; //352 */
static const __u8 reg71c[] =;
					/* 320{0x04,0x0c,0x05,0x0f}; //320 */
static const __u8 reg71d[] =;	/* 176 */
static const __u8 reg7b[] =;

static void cx_sensor(struct gspca_dev*gspca_dev)
{}

static const __u8 cx_inits_176[] =;
static const __u8 cx_inits_320[] =;
static const __u8 cx_inits_352[] =;
static const __u8 cx_inits_640[] =;

static void cx11646_initsize(struct gspca_dev *gspca_dev)
{}

static const __u8 cx_jpeg_init[][8] =;


static const __u8 cxjpeg_640[][8] =;
static const __u8 cxjpeg_352[][8] =;
static const __u8 cxjpeg_320[][8] =;
static const __u8 cxjpeg_176[][8] =;
/* 640 take with the zcx30x part */
static const __u8 cxjpeg_qtable[][8] =;


static void cx11646_jpegInit(struct gspca_dev*gspca_dev)
{}

static const __u8 reg12[] =;
static const __u8 regE5_8[] =;
static const __u8 regE5a[] =;
static const __u8 regE5b[] =;
static const __u8 regE5c[] =;
static const __u8 reg51[] =;
#define reg70

static void cx11646_jpeg(struct gspca_dev*gspca_dev)
{}

static void cx11646_init1(struct gspca_dev *gspca_dev)
{}

/* this function is called at probe time */
static int sd_config(struct gspca_dev *gspca_dev,
			const struct usb_device_id *id)
{}

/* this function is called at probe and resume time */
static int sd_init(struct gspca_dev *gspca_dev)
{}

static int sd_start(struct gspca_dev *gspca_dev)
{}

/* called on streamoff with alt 0 and on disconnect */
static void sd_stop0(struct gspca_dev *gspca_dev)
{}

static void sd_pkt_scan(struct gspca_dev *gspca_dev,
			u8 *data,			/* isoc packet */
			int len)			/* iso packet length */
{}

static void setbrightness(struct gspca_dev *gspca_dev, s32 val, s32 sat)
{}

static void setcontrast(struct gspca_dev *gspca_dev, s32 val, s32 sat)
{}

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)
{}

/* sub-driver description */
static const struct sd_desc sd_desc =;

/* -- module initialisation -- */
static const struct usb_device_id device_table[] =;
MODULE_DEVICE_TABLE(usb, device_table);

/* -- device connect -- */
static int sd_probe(struct usb_interface *intf,
			const struct usb_device_id *id)
{}

static struct usb_driver sd_driver =;

module_usb_driver();