summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/dib7000p.h
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2007-07-27 15:08:51 +0200
committerPatrick Boettcher <pb@linuxtv.org>2007-07-27 15:08:51 +0200
commit60d6f86f2ef2879ab24f59088cf3a7e3ec0b048b (patch)
tree7f8d5bb80f42850297a5abf5d5814bf3cb061fc4 /linux/drivers/media/dvb/frontends/dib7000p.h
parentb0e920555b166ad438226526c4393703808f76fc (diff)
downloadmediapointer-dvb-s2-60d6f86f2ef2879ab24f59088cf3a7e3ec0b048b.tar.gz
mediapointer-dvb-s2-60d6f86f2ef2879ab24f59088cf3a7e3ec0b048b.tar.bz2
Sync with DiBcom Driver Release 2.1.3 + some improvements
From: Patrick Boettcher <pboettcher@dibcom.fr> This changesets syncs the OpenSource driver for DiBcom demodulators with version 2.1.3 of DiBcom reference driver. There were some improvements since the last release for linux-dvb, e.g.: - stepped AGC startup - less space for initialization - diversity synchronization Furthermore this changeset contains the following things: - latest AGC settings for MT2266-based devices (namely Nova-TD and other) will improve the sensitivity - support for STK7700D reference design in dib0700-devices - remove some line-breaks when debugging is enabled - getting rid of layer between frontend_parameters and ofdm_channel used in dib*-drivers Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dib7000p.h')
-rw-r--r--linux/drivers/media/dvb/frontends/dib7000p.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/dib7000p.h b/linux/drivers/media/dvb/frontends/dib7000p.h
index 94829c1ed..e7769e7cd 100644
--- a/linux/drivers/media/dvb/frontends/dib7000p.h
+++ b/linux/drivers/media/dvb/frontends/dib7000p.h
@@ -9,6 +9,7 @@ struct dib7000p_config {
u8 tuner_is_baseband;
int (*update_lna) (struct dvb_frontend *, u16 agc_global);
+ u8 agc_config_count;
struct dibx000_agc_config *agc;
struct dibx000_bandwidth_config *bw;
@@ -27,15 +28,19 @@ struct dib7000p_config {
u8 quartz_direct;
+ u8 spur_protect;
+
int (*agc_control) (struct dvb_frontend *, u8 before);
};
#define DEFAULT_DIB7000P_I2C_ADDRESS 18
extern struct dvb_frontend * dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000p_config *cfg);
+extern int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 default_addr, struct dib7000p_config cfg[]);
+
extern struct i2c_adapter * dib7000p_get_i2c_master(struct dvb_frontend *, enum dibx000_i2c_interface, int);
extern int dib7000pc_detection(struct i2c_adapter *i2c_adap);
-extern int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 default_addr, struct dib7000p_config cfg[]);
+
/* TODO
extern INT dib7000p_set_gpio(struct dibDemod *demod, UCHAR num, UCHAR dir, UCHAR val);
extern INT dib7000p_enable_vbg_voltage(struct dibDemod *demod);