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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * SN9C2028 library
 *
 * Copyright (C) 2009 Theodore Kilgore <[email protected]>
 */

#define pr_fmt(fmt)

#define MODULE_NAME

#include "gspca.h"

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

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

struct init_command {};

/* How to change the resolution of any of the VGA cams is unknown */
static const struct v4l2_pix_format vga_mode[] =;

/* No way to change the resolution of the CIF cams is known */
static const struct v4l2_pix_format cif_mode[] =;

/* the bytes to write are in gspca_dev->usb_buf */
static int sn9c2028_command(struct gspca_dev *gspca_dev, u8 *command)
{}

static int sn9c2028_read1(struct gspca_dev *gspca_dev)
{}

static int sn9c2028_read4(struct gspca_dev *gspca_dev, u8 *reading)
{}

static int sn9c2028_long_command(struct gspca_dev *gspca_dev, u8 *command)
{}

static int sn9c2028_short_command(struct gspca_dev *gspca_dev, u8 *command)
{}

/* 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 run_start_commands(struct gspca_dev *gspca_dev,
			      struct init_command *cam_commands, int n)
{}

static void set_gain(struct gspca_dev *gspca_dev, s32 g)
{}

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 int start_spy_cam(struct gspca_dev *gspca_dev)
{}

static int start_cif_cam(struct gspca_dev *gspca_dev)
{}

static int start_ms350_cam(struct gspca_dev *gspca_dev)
{}

static int start_genius_cam(struct gspca_dev *gspca_dev)
{}

static int start_genius_videocam_live(struct gspca_dev *gspca_dev)
{}

static int start_vivitar_cam(struct gspca_dev *gspca_dev)
{}

static int sd_start(struct gspca_dev *gspca_dev)
{}

static void sd_stopN(struct gspca_dev *gspca_dev)
{}

static void do_autogain(struct gspca_dev *gspca_dev, int avg_lum)
{}

static void sd_dqcallback(struct gspca_dev *gspca_dev)
{}

/* Include sn9c2028 sof detection functions */
#include "sn9c2028.h"

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

/* 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();