[PATCH] dvb: lgdt330x frontend: some bug fixes & add lgdt3303 support
[linux-2.6.git] / drivers / media / dvb / frontends / dvb-pll.h
1 /*
2  * descriptions + helper functions for simple dvb plls.
3  */
4
5 #ifndef __DVB_PLL_H__
6 #define __DVB_PLL_H__
7
8 struct dvb_pll_desc {
9         char *name;
10         u32  min;
11         u32  max;
12         void (*setbw)(u8 *buf, u32 freq, int bandwidth);
13         int  count;
14         struct {
15                 u32 limit;
16                 u32 offset;
17                 u32 stepsize;
18                 u8  cb1;
19                 u8  cb2;
20         } entries[12];
21 };
22
23 extern struct dvb_pll_desc dvb_pll_thomson_dtt7579;
24 extern struct dvb_pll_desc dvb_pll_thomson_dtt759x;
25 extern struct dvb_pll_desc dvb_pll_thomson_dtt7610;
26 extern struct dvb_pll_desc dvb_pll_lg_z201;
27 extern struct dvb_pll_desc dvb_pll_microtune_4042;
28 extern struct dvb_pll_desc dvb_pll_thomson_dtt7611;
29 extern struct dvb_pll_desc dvb_pll_unknown_1;
30
31 extern struct dvb_pll_desc dvb_pll_tua6010xs;
32 extern struct dvb_pll_desc dvb_pll_env57h1xd5;
33 extern struct dvb_pll_desc dvb_pll_tua6034;
34 extern struct dvb_pll_desc dvb_pll_tdvs_tua6034;
35 extern struct dvb_pll_desc dvb_pll_tda665x;
36 extern struct dvb_pll_desc dvb_pll_fmd1216me;
37 extern struct dvb_pll_desc dvb_pll_tded4;
38
39 int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
40                       u32 freq, int bandwidth);
41
42 #endif