Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Johannes Stezenbach | 776338e | 2005-06-23 22:02:35 -0700 | [diff] [blame] | 2 | * descriptions + helper functions for simple dvb plls. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | */ |
| 4 | |
Johannes Stezenbach | 5e9e722 | 2005-05-16 21:54:37 -0700 | [diff] [blame] | 5 | #ifndef __DVB_PLL_H__ |
| 6 | #define __DVB_PLL_H__ |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | struct dvb_pll_desc { |
| 9 | char *name; |
| 10 | u32 min; |
| 11 | u32 max; |
Patrick Boettcher | 49dc82f | 2005-07-07 17:58:09 -0700 | [diff] [blame] | 12 | void (*setbw)(u8 *buf, u32 freq, int bandwidth); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | int count; |
| 14 | struct { |
| 15 | u32 limit; |
| 16 | u32 offset; |
| 17 | u32 stepsize; |
Michael Krufky | ab66b22 | 2006-01-23 17:11:11 -0200 | [diff] [blame] | 18 | u8 config; |
| 19 | u8 cb; |
Johannes Stezenbach | 776338e | 2005-06-23 22:02:35 -0700 | [diff] [blame] | 20 | } entries[12]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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; |
Mac Michaels | d8667cb | 2005-07-07 17:58:29 -0700 | [diff] [blame] | 27 | extern struct dvb_pll_desc dvb_pll_microtune_4042; |
Michael Krufky | 83ac8722 | 2006-01-09 15:25:29 -0200 | [diff] [blame] | 28 | extern struct dvb_pll_desc dvb_pll_thomson_dtt761x; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | extern struct dvb_pll_desc dvb_pll_unknown_1; |
| 30 | |
Johannes Stezenbach | 776338e | 2005-06-23 22:02:35 -0700 | [diff] [blame] | 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; |
Michael Krufky | 1963c90 | 2005-08-08 09:22:43 -0700 | [diff] [blame] | 34 | extern struct dvb_pll_desc dvb_pll_tdvs_tua6034; |
Johannes Stezenbach | 776338e | 2005-06-23 22:02:35 -0700 | [diff] [blame] | 35 | extern struct dvb_pll_desc dvb_pll_tda665x; |
Patrick Boettcher | 49dc82f | 2005-07-07 17:58:09 -0700 | [diff] [blame] | 36 | extern struct dvb_pll_desc dvb_pll_fmd1216me; |
Patrick Boettcher | 0589b8e | 2005-07-07 17:58:12 -0700 | [diff] [blame] | 37 | extern struct dvb_pll_desc dvb_pll_tded4; |
Johannes Stezenbach | 776338e | 2005-06-23 22:02:35 -0700 | [diff] [blame] | 38 | |
Kirk Lapray | 147418c | 2005-11-08 21:35:39 -0800 | [diff] [blame] | 39 | extern struct dvb_pll_desc dvb_pll_tuv1236d; |
| 40 | extern struct dvb_pll_desc dvb_pll_tdhu2; |
Michael Krufky | 28f3d4b | 2006-01-23 17:11:07 -0200 | [diff] [blame] | 41 | extern struct dvb_pll_desc dvb_pll_samsung_tbmv; |
Regis Prevot | f8bf134 | 2006-01-11 23:31:53 -0200 | [diff] [blame] | 42 | extern struct dvb_pll_desc dvb_pll_philips_sd1878_tda8261; |
Jose Alberto Reguero | a78d0bf | 2006-02-07 06:25:14 -0200 | [diff] [blame] | 43 | extern struct dvb_pll_desc dvb_pll_philips_td1316; |
Kirk Lapray | 147418c | 2005-11-08 21:35:39 -0800 | [diff] [blame] | 44 | |
Michael Krufky | 91ae329 | 2006-03-01 00:04:42 -0300 | [diff] [blame] | 45 | extern struct dvb_pll_desc dvb_pll_thomson_fe6600; |
Chris Pascoe | 780dfef | 2006-02-28 08:34:59 -0300 | [diff] [blame] | 46 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf, |
| 48 | u32 freq, int bandwidth); |
| 49 | |
Johannes Stezenbach | 5e9e722 | 2005-05-16 21:54:37 -0700 | [diff] [blame] | 50 | #endif |