#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/printk.h>
#include <linux/ratelimit.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <media/dvb_frontend.h>
#include "vidtv_tuner.h"
struct vidtv_tuner_cnr_to_qual_s { … };
static const struct vidtv_tuner_cnr_to_qual_s vidtv_tuner_c_cnr_2_qual[] = …;
static const struct vidtv_tuner_cnr_to_qual_s vidtv_tuner_s_cnr_2_qual[] = …;
static const struct vidtv_tuner_cnr_to_qual_s vidtv_tuner_s2_cnr_2_qual[] = …;
static const struct vidtv_tuner_cnr_to_qual_s vidtv_tuner_t_cnr_2_qual[] = …;
struct vidtv_tuner_hardware_state { … };
struct vidtv_tuner_dev { … };
static struct vidtv_tuner_dev*
vidtv_tuner_get_dev(struct dvb_frontend *fe)
{ … }
static int vidtv_tuner_check_frequency_shift(struct dvb_frontend *fe)
{ … }
static int
vidtv_tuner_get_signal_strength(struct dvb_frontend *fe, u16 *strength)
{ … }
static int vidtv_tuner_init(struct dvb_frontend *fe)
{ … }
static int vidtv_tuner_sleep(struct dvb_frontend *fe)
{ … }
static int vidtv_tuner_suspend(struct dvb_frontend *fe)
{ … }
static int vidtv_tuner_resume(struct dvb_frontend *fe)
{ … }
static int vidtv_tuner_set_params(struct dvb_frontend *fe)
{ … }
static int vidtv_tuner_set_config(struct dvb_frontend *fe,
void *priv_cfg)
{ … }
static int vidtv_tuner_get_frequency(struct dvb_frontend *fe,
u32 *frequency)
{ … }
static int vidtv_tuner_get_bandwidth(struct dvb_frontend *fe,
u32 *bandwidth)
{ … }
static int vidtv_tuner_get_if_frequency(struct dvb_frontend *fe,
u32 *frequency)
{ … }
static int vidtv_tuner_get_status(struct dvb_frontend *fe, u32 *status)
{ … }
static const struct dvb_tuner_ops vidtv_tuner_ops = …;
static const struct i2c_device_id vidtv_tuner_i2c_id_table[] = …;
MODULE_DEVICE_TABLE(i2c, vidtv_tuner_i2c_id_table);
static int vidtv_tuner_i2c_probe(struct i2c_client *client)
{ … }
static void vidtv_tuner_i2c_remove(struct i2c_client *client)
{ … }
static struct i2c_driver vidtv_tuner_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;