aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/tda827x.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-08-25 19:08:45 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:01:05 -0200
commit746d9732dbd5b95c3ba36230e2814fa2c391a311 (patch)
treebb63bc3eeea67bedd6b92727280ea8a35d5656b5 /drivers/media/dvb/frontends/tda827x.h
parentde3fe21ba2fdc0733ad4e555b95121baeba7fcd5 (diff)
V4L/DVB (6433): Move all tda8275/8275a tuning code from tda8290 module into tda827x module
Add analog tuning support to tda827x dvb_frontend tuner module. Convert tda8290 module back to native tuner interface. The tda8290 analog demodulator will be handled the same way as tda9887. The tuner.ko module (tuner-core) will pass commands to tda8290 via the tuner_operations interface. tda8290 will communicate with tda827x via the dvb_frontend interface, while passing a pointer to a private data structure. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda827x.h')
-rw-r--r--drivers/media/dvb/frontends/tda827x.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda827x.h b/drivers/media/dvb/frontends/tda827x.h
index 69e8263d6d5..06626f7af61 100644
--- a/drivers/media/dvb/frontends/tda827x.h
+++ b/drivers/media/dvb/frontends/tda827x.h
@@ -29,9 +29,19 @@
struct tda827x_config
{
+ /* saa7134 - provided callbacks */
void (*lna_gain) (struct dvb_frontend *fe, int high);
int (*init) (struct dvb_frontend *fe);
int (*sleep) (struct dvb_frontend *fe);
+
+ /* interface to tda829x driver */
+ unsigned char tda827x_lpsel;
+ unsigned int sgIF;
+
+ unsigned int *config;
+ int (*tuner_callback) (void *dev, int command, int arg);
+
+ void (*agcf)(struct dvb_frontend *fe);
};