#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 "stv6110x_reg.h"
#include "stv6110x.h"
#include "stv6110x_priv.h"
#define MAX_XFER_SIZE …
static unsigned int verbose;
module_param(verbose, int, 0644);
MODULE_PARM_DESC(…) …;
static int stv6110x_read_reg(struct stv6110x_state *stv6110x, u8 reg, u8 *data)
{ … }
static int stv6110x_write_regs(struct stv6110x_state *stv6110x, int start, u8 data[], int len)
{ … }
static int stv6110x_write_reg(struct stv6110x_state *stv6110x, u8 reg, u8 data)
{ … }
static int stv6110x_init(struct dvb_frontend *fe)
{ … }
static int stv6110x_set_frequency(struct dvb_frontend *fe, u32 frequency)
{ … }
static int stv6110x_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{ … }
static int stv6110x_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
{ … }
static int stv6110x_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{ … }
static int stv6110x_set_refclock(struct dvb_frontend *fe, u32 refclock)
{ … }
static int stv6110x_get_bbgain(struct dvb_frontend *fe, u32 *gain)
{ … }
static int stv6110x_set_bbgain(struct dvb_frontend *fe, u32 gain)
{ … }
static int stv6110x_set_mode(struct dvb_frontend *fe, enum tuner_mode mode)
{ … }
static int stv6110x_sleep(struct dvb_frontend *fe)
{ … }
static int stv6110x_get_status(struct dvb_frontend *fe, u32 *status)
{ … }
static void stv6110x_release(struct dvb_frontend *fe)
{ … }
static void st6110x_init_regs(struct stv6110x_state *stv6110x)
{ … }
static void stv6110x_setup_divider(struct stv6110x_state *stv6110x)
{ … }
static const struct dvb_tuner_ops stv6110x_ops = …;
static struct stv6110x_devctl stv6110x_ctl = …;
static void stv6110x_set_frontend_opts(struct stv6110x_state *stv6110x)
{ … }
static struct stv6110x_devctl *stv6110x_get_devctl(struct i2c_client *client)
{ … }
static int stv6110x_probe(struct i2c_client *client)
{ … }
static void stv6110x_remove(struct i2c_client *client)
{ … }
const struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe,
const struct stv6110x_config *config,
struct i2c_adapter *i2c)
{ … }
EXPORT_SYMBOL_GPL(…);
static const struct i2c_device_id stv6110x_id_table[] = …;
MODULE_DEVICE_TABLE(i2c, stv6110x_id_table);
static struct i2c_driver stv6110x_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;