#include "rtl2832_priv.h"
#define REG_MASK(b) …
static const struct rtl2832_reg_entry registers[] = …;
static int rtl2832_rd_demod_reg(struct rtl2832_dev *dev, int reg, u32 *val)
{ … }
static int rtl2832_wr_demod_reg(struct rtl2832_dev *dev, int reg, u32 val)
{ … }
static int rtl2832_set_if(struct dvb_frontend *fe, u32 if_freq)
{ … }
static int rtl2832_init(struct dvb_frontend *fe)
{ … }
static int rtl2832_sleep(struct dvb_frontend *fe)
{ … }
static int rtl2832_get_tune_settings(struct dvb_frontend *fe,
struct dvb_frontend_tune_settings *s)
{ … }
static int rtl2832_set_frontend(struct dvb_frontend *fe)
{ … }
static int rtl2832_get_frontend(struct dvb_frontend *fe,
struct dtv_frontend_properties *c)
{ … }
static int rtl2832_read_status(struct dvb_frontend *fe, enum fe_status *status)
{ … }
static int rtl2832_read_snr(struct dvb_frontend *fe, u16 *snr)
{ … }
static int rtl2832_read_ber(struct dvb_frontend *fe, u32 *ber)
{ … }
static void rtl2832_i2c_gate_work(struct work_struct *work)
{ … }
static int rtl2832_select(struct i2c_mux_core *muxc, u32 chan_id)
{ … }
static int rtl2832_deselect(struct i2c_mux_core *muxc, u32 chan_id)
{ … }
static const struct dvb_frontend_ops rtl2832_ops = …;
static bool rtl2832_volatile_reg(struct device *dev, unsigned int reg)
{ … }
static struct dvb_frontend *rtl2832_get_dvb_frontend(struct i2c_client *client)
{ … }
static struct i2c_adapter *rtl2832_get_i2c_adapter(struct i2c_client *client)
{ … }
static int rtl2832_slave_ts_ctrl(struct i2c_client *client, bool enable)
{ … }
static int rtl2832_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
{ … }
static int rtl2832_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid,
int onoff)
{ … }
static int rtl2832_probe(struct i2c_client *client)
{ … }
static void rtl2832_remove(struct i2c_client *client)
{ … }
static const struct i2c_device_id rtl2832_id_table[] = …;
MODULE_DEVICE_TABLE(i2c, rtl2832_id_table);
static struct i2c_driver rtl2832_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;