summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/dib3000.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dib3000.h')
-rw-r--r--linux/drivers/media/dvb/frontends/dib3000.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/dib3000.h b/linux/drivers/media/dvb/frontends/dib3000.h
index ec927628d..76c203ceb 100644
--- a/linux/drivers/media/dvb/frontends/dib3000.h
+++ b/linux/drivers/media/dvb/frontends/dib3000.h
@@ -26,10 +26,16 @@
#include <linux/dvb/frontend.h>
+struct dib3000p_agc_config {
+ u16 val[12];
+};
+
struct dib3000_config
{
/* the demodulator's i2c address */
u8 demod_address;
+
+ const struct dib3000p_agc_config *agc;
};
struct dib_fe_xfer_ops
@@ -46,4 +52,7 @@ extern struct dvb_frontend* dib3000mb_attach(const struct dib3000_config* config
extern struct dvb_frontend* dib3000mc_attach(const struct dib3000_config* config,
struct i2c_adapter* i2c, struct dib_fe_xfer_ops *xfer_ops);
+
+extern int dib3000mc_set_agc_config(struct dvb_frontend *fe, const struct dib3000p_agc_config *agc);
+
#endif // DIB3000_H