linux/drivers/media/usb/gspca/m5602/m5602_s5k83a.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Driver for the s5k83a sensor
 *
 * Copyright (C) 2008 Erik Andrén
 * Copyright (C) 2007 Ilyes Gouta. Based on the m5603x Linux Driver Project.
 * Copyright (C) 2005 m5603x Linux Driver Project <[email protected]>
 *
 * Portions of code to USB interface and ALi driver software,
 * Copyright (c) 2006 Willem Duinker
 * v4l2 interface modeled after the V4L2 driver
 * for SN9C10x PC Camera Controllers
 */

#define pr_fmt(fmt)

#include <linux/kthread.h>
#include "m5602_s5k83a.h"

static int s5k83a_s_ctrl(struct v4l2_ctrl *ctrl);

static const struct v4l2_ctrl_ops s5k83a_ctrl_ops =;

static struct v4l2_pix_format s5k83a_modes[] =;

static const unsigned char preinit_s5k83a[][4] =;

/* This could probably be considerably shortened.
   I don't have the hardware to experiment with it, patches welcome
*/
static const unsigned char init_s5k83a[][4] =;

static const unsigned char start_s5k83a[][4] =;

static void s5k83a_dump_registers(struct sd *sd);
static int s5k83a_get_rotation(struct sd *sd, u8 *reg_data);
static int s5k83a_set_led_indication(struct sd *sd, u8 val);
static int s5k83a_set_flip_real(struct gspca_dev *gspca_dev,
				__s32 vflip, __s32 hflip);

int s5k83a_probe(struct sd *sd)
{}

int s5k83a_init(struct sd *sd)
{}

int s5k83a_init_controls(struct sd *sd)
{}

static int rotation_thread_function(void *data)
{}

int s5k83a_start(struct sd *sd)
{}

int s5k83a_stop(struct sd *sd)
{}

void s5k83a_disconnect(struct sd *sd)
{}

static int s5k83a_set_gain(struct gspca_dev *gspca_dev, __s32 val)
{}

static int s5k83a_set_brightness(struct gspca_dev *gspca_dev, __s32 val)
{}

static int s5k83a_set_exposure(struct gspca_dev *gspca_dev, __s32 val)
{}

static int s5k83a_set_flip_real(struct gspca_dev *gspca_dev,
				__s32 vflip, __s32 hflip)
{}

static int s5k83a_set_hvflip(struct gspca_dev *gspca_dev)
{}

static int s5k83a_s_ctrl(struct v4l2_ctrl *ctrl)
{}

static int s5k83a_set_led_indication(struct sd *sd, u8 val)
{}

/* Get camera rotation on Acer notebooks */
static int s5k83a_get_rotation(struct sd *sd, u8 *reg_data)
{}

static void s5k83a_dump_registers(struct sd *sd)
{}