linux/drivers/media/pci/cx88/cx88-i2c.c

// SPDX-License-Identifier: GPL-2.0-or-later

/*
 *
 * cx88-i2c.c  --  all the i2c code is here
 *
 * Copyright (C) 1996,97,98 Ralph  Metzler ([email protected])
 *			   & Marcus Metzler ([email protected])
 * (c) 2002 Yurij Sysoev <[email protected]>
 * (c) 1999-2003 Gerd Knorr <[email protected]>
 * (c) 2005 Mauro Carvalho Chehab <[email protected]>
 *	- Multituner support and i2c address binding
 */

#include "cx88.h"

#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>

#include <media/v4l2-common.h>

static unsigned int i2c_debug;
module_param(i2c_debug, int, 0644);
MODULE_PARM_DESC();

static unsigned int i2c_scan;
module_param(i2c_scan, int, 0444);
MODULE_PARM_DESC();

static unsigned int i2c_udelay =;
module_param(i2c_udelay, int, 0644);
MODULE_PARM_DESC();

#define dprintk(level, fmt, arg...)

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

static void cx8800_bit_setscl(void *data, int state)
{}

static void cx8800_bit_setsda(void *data, int state)
{}

static int cx8800_bit_getscl(void *data)
{}

static int cx8800_bit_getsda(void *data)
{}

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

static const struct i2c_algo_bit_data cx8800_i2c_algo_template =;

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

static const char * const i2c_devs[128] =;

static void do_i2c_scan(const char *name, struct i2c_client *c)
{}

/* init + register i2c adapter */
int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci)
{}