dvb-pll.h 1.1 KB
Newer Older
L
Linus Torvalds 已提交
1
/*
2
 * descriptions + helper functions for simple dvb plls.
L
Linus Torvalds 已提交
3 4
 */

5 6 7
#ifndef __DVB_PLL_H__
#define __DVB_PLL_H__

L
Linus Torvalds 已提交
8 9 10 11
struct dvb_pll_desc {
	char *name;
	u32  min;
	u32  max;
12
	void (*setbw)(u8 *buf, u32 freq, int bandwidth);
L
Linus Torvalds 已提交
13 14 15 16 17 18 19
	int  count;
	struct {
		u32 limit;
		u32 offset;
		u32 stepsize;
		u8  cb1;
		u8  cb2;
20
	} entries[12];
L
Linus Torvalds 已提交
21 22 23 24 25 26
};

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;
27
extern struct dvb_pll_desc dvb_pll_microtune_4042;
28
extern struct dvb_pll_desc dvb_pll_thomson_dtt7611;
L
Linus Torvalds 已提交
29 30
extern struct dvb_pll_desc dvb_pll_unknown_1;

31 32 33
extern struct dvb_pll_desc dvb_pll_tua6010xs;
extern struct dvb_pll_desc dvb_pll_env57h1xd5;
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

L
Linus Torvalds 已提交
39 40 41
int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
		      u32 freq, int bandwidth);

42
#endif