aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/dib8000.h
diff options
context:
space:
mode:
authorPatrick Boettcher <pboettcher@kernellabs.com>2013-04-22 11:45:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-22 15:58:16 -0400
commit173a64cb3fcff1993b2aa8113e53fd379f6a968f (patch)
treec1836b2c5208456f61cb7acfcf1771ac5bf444ad /drivers/media/dvb-frontends/dib8000.h
parent1552fb344d5ddd5178e8774a31fdb08765c668e1 (diff)
[media] dib8000: enhancement
The intend of this patch is to improve the support of the dib8000. Signed-off-by: Olivier Grenie <olivier.grenie@parrot.com> Signed-off-by: Patrick Boettcher <patrick.boettcher@parrot.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/dib8000.h')
-rw-r--r--drivers/media/dvb-frontends/dib8000.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/dib8000.h b/drivers/media/dvb-frontends/dib8000.h
index 9e7a2b170d55..b8c11e52c512 100644
--- a/drivers/media/dvb-frontends/dib8000.h
+++ b/drivers/media/dvb-frontends/dib8000.h
@@ -33,6 +33,8 @@ struct dib8000_config {
33 u8 output_mode; 33 u8 output_mode;
34 u8 refclksel; 34 u8 refclksel;
35 u8 enMpegOutput:1; 35 u8 enMpegOutput:1;
36
37 struct dibx000_bandwidth_config *plltable;
36}; 38};
37 39
38#define DEFAULT_DIB8000_I2C_ADDRESS 18 40#define DEFAULT_DIB8000_I2C_ADDRESS 18
@@ -58,7 +60,7 @@ extern int dib8090p_get_dc_power(struct dvb_frontend *fe, u8 IQ);
58extern u32 dib8000_ctrl_timf(struct dvb_frontend *fe, 60extern u32 dib8000_ctrl_timf(struct dvb_frontend *fe,
59 uint8_t op, uint32_t timf); 61 uint8_t op, uint32_t timf);
60extern int dib8000_update_pll(struct dvb_frontend *fe, 62extern int dib8000_update_pll(struct dvb_frontend *fe,
61 struct dibx000_bandwidth_config *pll); 63 struct dibx000_bandwidth_config *pll, u32 bw, u8 ratio);
62extern int dib8000_set_slave_frontend(struct dvb_frontend *fe, struct dvb_frontend *fe_slave); 64extern int dib8000_set_slave_frontend(struct dvb_frontend *fe, struct dvb_frontend *fe_slave);
63extern int dib8000_remove_slave_frontend(struct dvb_frontend *fe); 65extern int dib8000_remove_slave_frontend(struct dvb_frontend *fe);
64extern struct dvb_frontend *dib8000_get_slave_frontend(struct dvb_frontend *fe, int slave_index); 66extern struct dvb_frontend *dib8000_get_slave_frontend(struct dvb_frontend *fe, int slave_index);
@@ -147,7 +149,7 @@ static inline u32 dib8000_ctrl_timf(struct dvb_frontend *fe,
147 return 0; 149 return 0;
148} 150}
149static inline int dib8000_update_pll(struct dvb_frontend *fe, 151static inline int dib8000_update_pll(struct dvb_frontend *fe,
150 struct dibx000_bandwidth_config *pll) 152 struct dibx000_bandwidth_config *pll, u32 bw, u8 ratio)
151{ 153{
152 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 154 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
153 return -ENODEV; 155 return -ENODEV;