summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/dvb-pll.h
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-02-16 19:50:06 +0000
committerJohannes Stezenbach <devnull@localhost>2005-02-16 19:50:06 +0000
commit74010ba624856d6dbabe1ee4d64636145b7982b1 (patch)
treea111bc6e18c5b230e532f9ad4be153dee6acde3a /linux/drivers/media/dvb/frontends/dvb-pll.h
parent3c0b68b05ee6e677dc48f80e5ae0a80e4c25bdb0 (diff)
downloadmediapointer-dvb-s2-74010ba624856d6dbabe1ee4d64636145b7982b1.tar.gz
mediapointer-dvb-s2-74010ba624856d6dbabe1ee4d64636145b7982b1.tar.bz2
patch by Gerd Knorr: add PLL library
(descriptions + helper functions for simple dvb plls)
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dvb-pll.h')
-rw-r--r--linux/drivers/media/dvb/frontends/dvb-pll.h34
1 files changed, 34 insertions, 0 deletions
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:
+ */