#include <linux/slab.h>
#include <linux/module.h>
#include <linux/dvb/frontend.h>
#include <linux/types.h>
#include "stv6110.h"
#define MAX_XFER_SIZE …
static int debug;
struct stv6110_priv { … };
#define dprintk(args...) …
static s32 abssub(s32 a, s32 b)
{
if (a > b)
return a - b;
else
return b - a;
};
static void stv6110_release(struct dvb_frontend *fe)
{ … }
static int stv6110_write_regs(struct dvb_frontend *fe, u8 buf[],
int start, int len)
{ … }
static int stv6110_read_regs(struct dvb_frontend *fe, u8 regs[],
int start, int len)
{ … }
static int stv6110_read_reg(struct dvb_frontend *fe, int start)
{ … }
static int stv6110_sleep(struct dvb_frontend *fe)
{ … }
static u32 carrier_width(u32 symbol_rate, enum fe_rolloff rolloff)
{ … }
static int stv6110_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
{ … }
static int stv6110_init(struct dvb_frontend *fe)
{ … }
static int stv6110_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{ … }
static int stv6110_set_frequency(struct dvb_frontend *fe, u32 frequency)
{ … }
static int stv6110_set_params(struct dvb_frontend *fe)
{ … }
static int stv6110_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{ … }
static const struct dvb_tuner_ops stv6110_tuner_ops = …;
struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe,
const struct stv6110_config *config,
struct i2c_adapter *i2c)
{ … }
EXPORT_SYMBOL_GPL(…);
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;