2005-04-16 18:20:36 -04:00
|
|
|
/*
|
2005-06-24 01:02:35 -04:00
|
|
|
* descriptions + helper functions for simple dvb plls.
|
2005-04-16 18:20:36 -04:00
|
|
|
*/
|
|
|
|
|
2005-05-17 00:54:37 -04:00
|
|
|
#ifndef __DVB_PLL_H__
|
|
|
|
#define __DVB_PLL_H__
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
struct dvb_pll_desc {
|
|
|
|
char *name;
|
|
|
|
u32 min;
|
|
|
|
u32 max;
|
2005-07-07 20:58:09 -04:00
|
|
|
void (*setbw)(u8 *buf, u32 freq, int bandwidth);
|
2005-04-16 18:20:36 -04:00
|
|
|
int count;
|
|
|
|
struct {
|
|
|
|
u32 limit;
|
|
|
|
u32 offset;
|
|
|
|
u32 stepsize;
|
|
|
|
u8 cb1;
|
|
|
|
u8 cb2;
|
2005-06-24 01:02:35 -04:00
|
|
|
} entries[12];
|
2005-04-16 18:20:36 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct dvb_pll_desc dvb_pll_thomson_dtt7579;
|
|
|
|
extern struct dvb_pll_desc dvb_pll_thomson_dtt759x;
|
|
|
|
extern struct dvb_pll_desc dvb_pll_thomson_dtt7610;
|
|
|
|
extern struct dvb_pll_desc dvb_pll_lg_z201;
|
|
|
|
extern struct dvb_pll_desc dvb_pll_unknown_1;
|
|
|
|
|
2005-06-24 01:02:35 -04:00
|
|
|
extern struct dvb_pll_desc dvb_pll_tua6010xs;
|
|
|
|
extern struct dvb_pll_desc dvb_pll_env57h1xd5;
|
|
|
|
extern struct dvb_pll_desc dvb_pll_tua6034;
|
|
|
|
extern struct dvb_pll_desc dvb_pll_tda665x;
|
2005-07-07 20:58:09 -04:00
|
|
|
extern struct dvb_pll_desc dvb_pll_fmd1216me;
|
2005-06-24 01:02:35 -04:00
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
|
|
|
|
u32 freq, int bandwidth);
|
|
|
|
|
2005-05-17 00:54:37 -04:00
|
|
|
#endif
|