linux/drivers/media/i2c/bt856.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * bt856 - BT856A Digital Video Encoder (Rockwell Part)
 *
 * Copyright (C) 1999 Mike Bernson <[email protected]>
 * Copyright (C) 1998 Dave Perks <[email protected]>
 *
 * Modifications for LML33/DC10plus unified driver
 * Copyright (C) 2000 Serguei Miridonov <[email protected]>
 *
 * This code was modify/ported from the saa7111 driver written
 * by Dave Perks.
 *
 * Changes by Ronald Bultje <[email protected]>
 *   - moved over to linux>=2.4.x i2c protocol (9/9/2002)
 */

#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/ioctl.h>
#include <linux/uaccess.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>

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

static int debug;
module_param(debug, int, 0);
MODULE_PARM_DESC();


/* ----------------------------------------------------------------------- */

#define BT856_REG_OFFSET
#define BT856_NR_REG

struct bt856 {};

static inline struct bt856 *to_bt856(struct v4l2_subdev *sd)
{}

/* ----------------------------------------------------------------------- */

static inline int bt856_write(struct bt856 *encoder, u8 reg, u8 value)
{}

static inline int bt856_setbit(struct bt856 *encoder, u8 reg, u8 bit, u8 value)
{}

static void bt856_dump(struct bt856 *encoder)
{}

/* ----------------------------------------------------------------------- */

static int bt856_init(struct v4l2_subdev *sd, u32 arg)
{}

static int bt856_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std)
{}

static int bt856_s_routing(struct v4l2_subdev *sd,
			   u32 input, u32 output, u32 config)
{}

/* ----------------------------------------------------------------------- */

static const struct v4l2_subdev_core_ops bt856_core_ops =;

static const struct v4l2_subdev_video_ops bt856_video_ops =;

static const struct v4l2_subdev_ops bt856_ops =;

/* ----------------------------------------------------------------------- */

static int bt856_probe(struct i2c_client *client)
{}

static void bt856_remove(struct i2c_client *client)
{}

static const struct i2c_device_id bt856_id[] =;
MODULE_DEVICE_TABLE(i2c, bt856_id);

static struct i2c_driver bt856_driver =;

module_i2c_driver();