From 74010ba624856d6dbabe1ee4d64636145b7982b1 Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Wed, 16 Feb 2005 19:50:06 +0000 Subject: patch by Gerd Knorr: add PLL library (descriptions + helper functions for simple dvb plls) --- linux/drivers/media/dvb/frontends/dvb-pll.h | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 linux/drivers/media/dvb/frontends/dvb-pll.h (limited to 'linux/drivers/media/dvb/frontends/dvb-pll.h') diff --git a/linux/drivers/media/dvb/frontends/dvb-pll.h b/linux/drivers/media/dvb/frontends/dvb-pll.h new file mode 100644 index 000000000..27bf61604 --- /dev/null +++ b/linux/drivers/media/dvb/frontends/dvb-pll.h @@ -0,0 +1,34 @@ +/* + * $Id: dvb-pll.h,v 1.1 2005/02/16 19:50:06 js Exp $ + */ + +struct dvb_pll_desc { + char *name; + u32 min; + u32 max; + void (*setbw)(u8 *buf, int bandwidth); + int count; + struct { + u32 limit; + u32 offset; + u32 stepsize; + u8 cb1; + u8 cb2; + } entries[]; +}; + +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; + +int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf, + u32 freq, int bandwidth); + +/* + * Local variables: + * c-basic-offset: 8 + * compile-command: "make DVB=1" + * End: + */ -- cgit v1.2.3