#include <linux/module.h>
#include <linux/delay.h>
#include <linux/dvb/frontend.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <media/dvb_frontend.h>
#include "mt2266.h"
#define I2C_ADDRESS …
#define REG_PART_REV …
#define REG_TUNE …
#define REG_BAND …
#define REG_BANDWIDTH …
#define REG_LOCK …
#define PART_REV …
struct mt2266_priv { … };
#define MT2266_VHF …
#define MT2266_UHF …
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
#define dprintk(args...) …
static int mt2266_readreg(struct mt2266_priv *priv, u8 reg, u8 *val)
{ … }
static int mt2266_writereg(struct mt2266_priv *priv, u8 reg, u8 val)
{ … }
static int mt2266_writeregs(struct mt2266_priv *priv,u8 *buf, u8 len)
{ … }
static u8 mt2266_init1[] = …;
static u8 mt2266_init2[] = …;
static u8 mt2266_init_8mhz[] = …;
static u8 mt2266_init_7mhz[] = …;
static u8 mt2266_init_6mhz[] = …;
static u8 mt2266_uhf[] = …;
static u8 mt2266_vhf[] = …;
#define FREF …
static int mt2266_set_params(struct dvb_frontend *fe)
{ … }
static void mt2266_calibrate(struct mt2266_priv *priv)
{ … }
static int mt2266_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{ … }
static int mt2266_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{ … }
static int mt2266_init(struct dvb_frontend *fe)
{ … }
static int mt2266_sleep(struct dvb_frontend *fe)
{ … }
static void mt2266_release(struct dvb_frontend *fe)
{ … }
static const struct dvb_tuner_ops mt2266_tuner_ops = …;
struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;