aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dvb-pll.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/dvb-pll.h')
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h
index 2b846178498..3908ae1d446 100644
--- a/drivers/media/dvb/frontends/dvb-pll.h
+++ b/drivers/media/dvb/frontends/dvb-pll.h
@@ -5,6 +5,9 @@
5#ifndef __DVB_PLL_H__ 5#ifndef __DVB_PLL_H__
6#define __DVB_PLL_H__ 6#define __DVB_PLL_H__
7 7
8#include <linux/i2c.h>
9#include "dvb_frontend.h"
10
8struct dvb_pll_desc { 11struct dvb_pll_desc {
9 char *name; 12 char *name;
10 u32 min; 13 u32 min;
@@ -44,7 +47,18 @@ extern struct dvb_pll_desc dvb_pll_philips_td1316;
44 47
45extern struct dvb_pll_desc dvb_pll_thomson_fe6600; 48extern struct dvb_pll_desc dvb_pll_thomson_fe6600;
46 49
47int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf, 50extern int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
48 u32 freq, int bandwidth); 51 u32 freq, int bandwidth);
49 52
53/**
54 * Attach a dvb-pll to the supplied frontend structure.
55 *
56 * @param fe Frontend to attach to.
57 * @param pll_addr i2c address of the PLL (if used).
58 * @param i2c i2c adapter to use (set to NULL if not used).
59 * @param desc dvb_pll_desc to use.
60 * @return 0 on success, nonzero on failure.
61 */
62extern int dvb_pll_attach(struct dvb_frontend *fe, int pll_addr, struct i2c_adapter *i2c, struct dvb_pll_desc *desc);
63
50#endif 64#endif