linux/drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Support for the sensor part which is integrated (I think) into the
 * st6422 stv06xx alike bridge, as its integrated there are no i2c writes
 * but instead direct bridge writes.
 *
 * Copyright (c) 2009 Hans de Goede <[email protected]>
 *
 * Strongly based on qc-usb-messenger, which is:
 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
 *		      Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
 * Copyright (c) 2002, 2003 Tuukka Toivonen
 */

#define pr_fmt(fmt)

#include "stv06xx_st6422.h"

static struct v4l2_pix_format st6422_mode[] =;

/* V4L2 controls supported by the driver */
static int setbrightness(struct sd *sd, s32 val);
static int setcontrast(struct sd *sd, s32 val);
static int setgain(struct sd *sd, u8 gain);
static int setexposure(struct sd *sd, s16 expo);

static int st6422_s_ctrl(struct v4l2_ctrl *ctrl)
{}

static const struct v4l2_ctrl_ops st6422_ctrl_ops =;

static int st6422_init_controls(struct sd *sd)
{}

static int st6422_probe(struct sd *sd)
{}

static int st6422_init(struct sd *sd)
{}

static int setbrightness(struct sd *sd, s32 val)
{}

static int setcontrast(struct sd *sd, s32 val)
{}

static int setgain(struct sd *sd, u8 gain)
{}

static int setexposure(struct sd *sd, s16 expo)
{}

static int st6422_start(struct sd *sd)
{}

static int st6422_stop(struct sd *sd)
{}