#define pr_fmt(fmt) …
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include "tuner-i2c.h"
#include "tea5767.h"
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
struct tea5767_priv { … };
#define TEA5767_MUTE …
#define TEA5767_SEARCH …
#define TEA5767_SEARCH_UP …
#define TEA5767_SRCH_HIGH_LVL …
#define TEA5767_SRCH_MID_LVL …
#define TEA5767_SRCH_LOW_LVL …
#define TEA5767_HIGH_LO_INJECT …
#define TEA5767_MONO …
#define TEA5767_MUTE_RIGHT …
#define TEA5767_MUTE_LEFT …
#define TEA5767_PORT1_HIGH …
#define TEA5767_PORT2_HIGH …
#define TEA5767_STDBY …
#define TEA5767_JAPAN_BAND …
#define TEA5767_XTAL_32768 …
#define TEA5767_SOFT_MUTE …
#define TEA5767_HIGH_CUT_CTRL …
#define TEA5767_ST_NOISE_CTL …
#define TEA5767_SRCH_IND …
#define TEA5767_PLLREF_ENABLE …
#define TEA5767_DEEMPH_75 …
#define TEA5767_READY_FLAG_MASK …
#define TEA5767_BAND_LIMIT_MASK …
#define TEA5767_STEREO_MASK …
#define TEA5767_IF_CNTR_MASK …
#define TEA5767_ADC_LEVEL_MASK …
#define TEA5767_CHIP_ID_MASK …
#define TEA5767_RESERVED_MASK …
static void tea5767_status_dump(struct tea5767_priv *priv,
unsigned char *buffer)
{ … }
static int set_radio_freq(struct dvb_frontend *fe,
struct analog_parameters *params)
{ … }
static int tea5767_read_status(struct dvb_frontend *fe, char *buffer)
{ … }
static inline int tea5767_signal(struct dvb_frontend *fe, const char *buffer)
{ … }
static inline int tea5767_stereo(struct dvb_frontend *fe, const char *buffer)
{ … }
static int tea5767_get_status(struct dvb_frontend *fe, u32 *status)
{ … }
static int tea5767_get_rf_strength(struct dvb_frontend *fe, u16 *strength)
{ … }
static int tea5767_standby(struct dvb_frontend *fe)
{ … }
int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr)
{ … }
static void tea5767_release(struct dvb_frontend *fe)
{ … }
static int tea5767_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{ … }
static int tea5767_set_config (struct dvb_frontend *fe, void *priv_cfg)
{ … }
static const struct dvb_tuner_ops tea5767_tuner_ops = …;
struct dvb_frontend *tea5767_attach(struct dvb_frontend *fe,
struct i2c_adapter* i2c_adap,
u8 i2c_addr)
{ … }
EXPORT_SYMBOL_GPL(…);
EXPORT_SYMBOL_GPL(…);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;