linux/drivers/media/dvb-frontends/stb6100.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
	STB6100 Silicon Tuner
	Copyright (C) Manu Abraham ([email protected])

	Copyright (C) ST Microelectronics

*/

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>

#include <media/dvb_frontend.h>
#include "stb6100.h"

static unsigned int verbose;
module_param(verbose, int, 0644);

/* Max transfer size done by I2C transfer functions */
#define MAX_XFER_SIZE

#define FE_ERROR
#define FE_NOTICE
#define FE_INFO
#define FE_DEBUG

#define dprintk(x, y, z, format, arg...)

struct stb6100_lkup {};

static void stb6100_release(struct dvb_frontend *fe);

static const struct stb6100_lkup lkup[] =;

/* Register names for easy debugging.	*/
static const char *stb6100_regnames[] =;

/* Template for normalisation, i.e. setting unused or undocumented
 * bits as required according to the documentation.
 */
struct stb6100_regmask {};

static const struct stb6100_regmask stb6100_template[] =;

/*
 * Currently unused. Some boards might need it in the future
 */
static __always_unused inline void stb6100_normalise_regs(u8 regs[])
{}

static int stb6100_read_regs(struct stb6100_state *state, u8 regs[])
{}

static int stb6100_read_reg(struct stb6100_state *state, u8 reg)
{}

static int stb6100_write_reg_range(struct stb6100_state *state, u8 buf[], int start, int len)
{}

static int stb6100_write_reg(struct stb6100_state *state, u8 reg, u8 data)
{}


static int stb6100_get_status(struct dvb_frontend *fe, u32 *status)
{}

static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{}

static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
{}

static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{}


static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
{}

static int stb6100_sleep(struct dvb_frontend *fe)
{}

static int stb6100_init(struct dvb_frontend *fe)
{}

static int stb6100_set_params(struct dvb_frontend *fe)
{}

static const struct dvb_tuner_ops stb6100_ops =;

struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe,
				    const struct stb6100_config *config,
				    struct i2c_adapter *i2c)
{}

static void stb6100_release(struct dvb_frontend *fe)
{}

EXPORT_SYMBOL_GPL();
MODULE_PARM_DESC();

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