#define pr_fmt(fmt) …
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/idr.h>
#include <linux/dvb/frontend.h>
#include <asm/types.h>
#include "dvb-pll.h"
#define dprintk(fmt, arg...) …
struct dvb_pll_priv { … };
#define DVB_PLL_MAX …
static DEFINE_IDA(pll_ida);
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
static unsigned int id[DVB_PLL_MAX] = …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
struct dvb_pll_desc { … };
static const struct dvb_pll_desc dvb_pll_thomson_dtt7579 = …;
static void thomson_dtt759x_bw(struct dvb_frontend *fe, u8 *buf)
{ … }
static const struct dvb_pll_desc dvb_pll_thomson_dtt759x = …;
static void thomson_dtt7520x_bw(struct dvb_frontend *fe, u8 *buf)
{ … }
static const struct dvb_pll_desc dvb_pll_thomson_dtt7520x = …;
static const struct dvb_pll_desc dvb_pll_lg_z201 = …;
static const struct dvb_pll_desc dvb_pll_unknown_1 = …;
static const struct dvb_pll_desc dvb_pll_tua6010xs = …;
static const struct dvb_pll_desc dvb_pll_env57h1xd5 = …;
static void tda665x_bw(struct dvb_frontend *fe, u8 *buf)
{ … }
static const struct dvb_pll_desc dvb_pll_tda665x = …;
static void tua6034_bw(struct dvb_frontend *fe, u8 *buf)
{ … }
static const struct dvb_pll_desc dvb_pll_tua6034 = …;
static void tded4_bw(struct dvb_frontend *fe, u8 *buf)
{ … }
static const struct dvb_pll_desc dvb_pll_tded4 = …;
static const struct dvb_pll_desc dvb_pll_tdhu2 = …;
static const struct dvb_pll_desc dvb_pll_samsung_tbmv = …;
static const struct dvb_pll_desc dvb_pll_philips_sd1878_tda8261 = …;
static void opera1_bw(struct dvb_frontend *fe, u8 *buf)
{ … }
static const struct dvb_pll_desc dvb_pll_opera1 = …;
static void samsung_dtos403ih102a_set(struct dvb_frontend *fe, u8 *buf)
{ … }
static const struct dvb_pll_desc dvb_pll_samsung_dtos403ih102a = …;
static const struct dvb_pll_desc dvb_pll_samsung_tdtc9251dh0 = …;
static const struct dvb_pll_desc dvb_pll_samsung_tbdu18132 = …;
static const struct dvb_pll_desc dvb_pll_samsung_tbmu24112 = …;
static const struct dvb_pll_desc dvb_pll_alps_tdee4 = …;
static const struct dvb_pll_desc dvb_pll_tua6034_friio = …;
static const struct dvb_pll_desc dvb_pll_tda665x_earth_pt1 = …;
static const struct dvb_pll_desc *pll_list[] = …;
static int dvb_pll_configure(struct dvb_frontend *fe, u8 *buf,
const u32 frequency)
{ … }
static void dvb_pll_release(struct dvb_frontend *fe)
{ … }
static int dvb_pll_sleep(struct dvb_frontend *fe)
{ … }
static int dvb_pll_set_params(struct dvb_frontend *fe)
{ … }
static int dvb_pll_calc_regs(struct dvb_frontend *fe,
u8 *buf, int buf_len)
{ … }
static int dvb_pll_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{ … }
static int dvb_pll_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{ … }
static int dvb_pll_init(struct dvb_frontend *fe)
{ … }
static const struct dvb_tuner_ops dvb_pll_tuner_ops = …;
struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr,
struct i2c_adapter *i2c,
unsigned int pll_desc_id)
{ … }
EXPORT_SYMBOL_GPL(…);
static int
dvb_pll_probe(struct i2c_client *client)
{ … }
static void dvb_pll_remove(struct i2c_client *client)
{ … }
static const struct i2c_device_id dvb_pll_id[] = …;
MODULE_DEVICE_TABLE(i2c, dvb_pll_id);
static struct i2c_driver dvb_pll_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;