aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv090x.h
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-04-07 04:19:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:20:38 -0400
commit017eb0381fedbfdcad1e8e536d014c4064e6687f (patch)
treeb88ea3f72137c515ad5fd18785787a07915d5a13 /drivers/media/dvb/frontends/stv090x.h
parentdd4c2b3f6a2d30602d22485ab725c84f2fb074b6 (diff)
V4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock
* Reference clock was unused * Fix missing repeater level setup Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stv090x.h')
-rw-r--r--drivers/media/dvb/frontends/stv090x.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.h b/drivers/media/dvb/frontends/stv090x.h
index e56489cb5b92..e968c98bb70f 100644
--- a/drivers/media/dvb/frontends/stv090x.h
+++ b/drivers/media/dvb/frontends/stv090x.h
@@ -49,6 +49,17 @@ enum stv090x_clkmode {
49 STV090x_CLK_EXT = 2 /* Clk i/p = XTALI */ 49 STV090x_CLK_EXT = 2 /* Clk i/p = XTALI */
50}; 50};
51 51
52enum stv090x_i2crpt {
53 STV090x_RPTLEVEL_256 = 0,
54 STV090x_RPTLEVEL_128 = 1,
55 STV090x_RPTLEVEL_64 = 2,
56 STV090x_RPTLEVEL_32 = 3,
57 STV090x_RPTLEVEL_16 = 4,
58 STV090x_RPTLEVEL_8 = 5,
59 STV090x_RPTLEVEL_4 = 6,
60 STV090x_RPTLEVEL_2 = 7,
61};
62
52struct stv090x_config { 63struct stv090x_config {
53 enum stv090x_device device; 64 enum stv090x_device device;
54 enum stv090x_mode demod_mode; 65 enum stv090x_mode demod_mode;
@@ -62,6 +73,8 @@ struct stv090x_config {
62 u8 ts1_mode; 73 u8 ts1_mode;
63 u8 ts2_mode; 74 u8 ts2_mode;
64 75
76 enum stv090x_i2crpt repeater_level;
77
65 int (*tuner_init) (struct dvb_frontend *fe); 78 int (*tuner_init) (struct dvb_frontend *fe);
66 int (*tuner_set_mode) (struct dvb_frontend *fe, enum tuner_mode mode); 79 int (*tuner_set_mode) (struct dvb_frontend *fe, enum tuner_mode mode);
67 int (*tuner_set_frequency) (struct dvb_frontend *fe, u32 frequency); 80 int (*tuner_set_frequency) (struct dvb_frontend *fe, u32 frequency);