#define pr_fmt(fmt) …
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <media/dvb_frontend.h>
#include "dib3000.h"
#include "dib3000mb_priv.h"
#define DRIVER_VERSION …
#define DRIVER_DESC …
#define DRIVER_AUTHOR …
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
#define deb_info(args...) …
#define deb_i2c(args...) …
#define deb_srch(args...) …
#define deb_info(args...) …
#define deb_xfer(args...) …
#define deb_setf(args...) …
#define deb_getf(args...) …
static int dib3000_read_reg(struct dib3000_state *state, u16 reg)
{ … }
static int dib3000_write_reg(struct dib3000_state *state, u16 reg, u16 val)
{ … }
static int dib3000_search_status(u16 irq,u16 lock)
{ … }
static u16 dib3000_seq[2][2][2] = …
{ … };
static int dib3000mb_get_frontend(struct dvb_frontend* fe,
struct dtv_frontend_properties *c);
static int dib3000mb_set_frontend(struct dvb_frontend *fe, int tuner)
{ … }
static int dib3000mb_fe_init(struct dvb_frontend* fe, int mobile_mode)
{ … }
static int dib3000mb_get_frontend(struct dvb_frontend* fe,
struct dtv_frontend_properties *c)
{ … }
static int dib3000mb_read_status(struct dvb_frontend *fe,
enum fe_status *stat)
{ … }
static int dib3000mb_read_ber(struct dvb_frontend* fe, u32 *ber)
{ … }
static int dib3000mb_read_signal_strength(struct dvb_frontend* fe, u16 *strength)
{ … }
static int dib3000mb_read_snr(struct dvb_frontend* fe, u16 *snr)
{ … }
static int dib3000mb_read_unc_blocks(struct dvb_frontend* fe, u32 *unc)
{ … }
static int dib3000mb_sleep(struct dvb_frontend* fe)
{ … }
static int dib3000mb_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune)
{ … }
static int dib3000mb_fe_init_nonmobile(struct dvb_frontend* fe)
{ … }
static int dib3000mb_set_frontend_and_tuner(struct dvb_frontend *fe)
{ … }
static void dib3000mb_release(struct dvb_frontend* fe)
{ … }
static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff)
{ … }
static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff)
{ … }
static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff)
{ … }
static int dib3000mb_tuner_pass_ctrl(struct dvb_frontend *fe, int onoff, u8 pll_addr)
{ … }
static const struct dvb_frontend_ops dib3000mb_ops;
struct dvb_frontend* dib3000mb_attach(const struct dib3000_config* config,
struct i2c_adapter* i2c, struct dib_fe_xfer_ops *xfer_ops)
{ … }
static const struct dvb_frontend_ops dib3000mb_ops = …;
MODULE_AUTHOR(…);
MODULE_DESCRIPTION(…);
MODULE_LICENSE(…) …;
EXPORT_SYMBOL_GPL(…);