#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/io.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/timer.h>
#include <linux/i2c.h>
#include <linux/swab.h>
#include <linux/vmalloc.h>
#include "ddbridge.h"
#include "ddbridge-regs.h"
#include "ddbridge-io.h"
#include "ddbridge-mci.h"
#include "ddbridge-max.h"
#include "mxl5xx.h"
static int fmode;
module_param(fmode, int, 0444);
MODULE_PARM_DESC(…) …;
static int fmode_sat = …;
module_param(fmode_sat, int, 0444);
MODULE_PARM_DESC(…) …;
static int old_quattro;
module_param(old_quattro, int, 0444);
MODULE_PARM_DESC(…) …;
static int lnb_command(struct ddb *dev, u32 link, u32 lnb, u32 cmd)
{ … }
static int max_send_master_cmd(struct dvb_frontend *fe,
struct dvb_diseqc_master_cmd *cmd)
{ … }
static int lnb_send_diseqc(struct ddb *dev, u32 link, u32 input,
struct dvb_diseqc_master_cmd *cmd)
{ … }
static int lnb_set_sat(struct ddb *dev, u32 link, u32 input, u32 sat, u32 band,
u32 hor)
{ … }
static int lnb_set_tone(struct ddb *dev, u32 link, u32 input,
enum fe_sec_tone_mode tone)
{ … }
static int lnb_set_voltage(struct ddb *dev, u32 link, u32 input,
enum fe_sec_voltage voltage)
{ … }
static int max_set_input_unlocked(struct dvb_frontend *fe, int in)
{ … }
static int max_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone)
{ … }
static int max_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage)
{ … }
static int max_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg)
{ … }
static int max_send_burst(struct dvb_frontend *fe, enum fe_sec_mini_cmd burst)
{ … }
static int mxl_fw_read(void *priv, u8 *buf, u32 len)
{ … }
int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm)
{ … }
static struct mxl5xx_cfg mxl5xx = …;
int ddb_fe_attach_mxl5xx(struct ddb_input *input)
{ … }
int ddb_fe_attach_mci(struct ddb_input *input, u32 type)
{ … }