Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dvb-pll.h
Go to the documentation of this file.
1 /*
2  * descriptions + helper functions for simple dvb plls.
3  */
4 
5 #ifndef __DVB_PLL_H__
6 #define __DVB_PLL_H__
7 
8 #include <linux/i2c.h>
9 #include "dvb_frontend.h"
10 
11 #define DVB_PLL_UNDEFINED 0
12 #define DVB_PLL_THOMSON_DTT7579 1
13 #define DVB_PLL_THOMSON_DTT759X 2
14 #define DVB_PLL_LG_Z201 3
15 #define DVB_PLL_UNKNOWN_1 4
16 #define DVB_PLL_TUA6010XS 5
17 #define DVB_PLL_ENV57H1XD5 6
18 #define DVB_PLL_TUA6034 7
19 #define DVB_PLL_TDA665X 8
20 #define DVB_PLL_TDED4 9
21 #define DVB_PLL_TDHU2 10
22 #define DVB_PLL_SAMSUNG_TBMV 11
23 #define DVB_PLL_PHILIPS_SD1878_TDA8261 12
24 #define DVB_PLL_OPERA1 13
25 #define DVB_PLL_SAMSUNG_DTOS403IH102A 14
26 #define DVB_PLL_SAMSUNG_TDTC9251DH0 15
27 #define DVB_PLL_SAMSUNG_TBDU18132 16
28 #define DVB_PLL_SAMSUNG_TBMU24112 17
29 #define DVB_PLL_TDEE4 18
30 #define DVB_PLL_THOMSON_DTT7520X 19
31 
41 #if defined(CONFIG_DVB_PLL) || (defined(CONFIG_DVB_PLL_MODULE) && defined(MODULE))
42 extern struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe,
43  int pll_addr,
44  struct i2c_adapter *i2c,
45  unsigned int pll_desc_id);
46 #else
47 static inline struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe,
48  int pll_addr,
49  struct i2c_adapter *i2c,
50  unsigned int pll_desc_id)
51 {
52  printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
53  return NULL;
54 }
55 #endif
56 
57 #endif