Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  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_THOMSON_DTT7610         3
 15 #define DVB_PLL_LG_Z201                 4
 16 #define DVB_PLL_MICROTUNE_4042          5
 17 #define DVB_PLL_THOMSON_DTT761X         6
 18 #define DVB_PLL_UNKNOWN_1               7
 19 #define DVB_PLL_TUA6010XS               8
 20 #define DVB_PLL_ENV57H1XD5              9
 21 #define DVB_PLL_TUA6034                10
 22 #define DVB_PLL_LG_TDVS_H06XF          11
 23 #define DVB_PLL_TDA665X                12
 24 #define DVB_PLL_FMD1216ME              13
 25 #define DVB_PLL_TDED4                  14
 26 #define DVB_PLL_TUV1236D               15
 27 #define DVB_PLL_TDHU2                  16
 28 #define DVB_PLL_SAMSUNG_TBMV           17
 29 #define DVB_PLL_PHILIPS_SD1878_TDA8261 18
 30 #define DVB_PLL_PHILIPS_TD1316         19
 31 #define DVB_PLL_THOMSON_FE6600         20
 32 #define DVB_PLL_OPERA1                 21
 33 #define DVB_PLL_FCV1236D               22
 34 
 35 /**
 36  * Attach a dvb-pll to the supplied frontend structure.
 37  *
 38  * @param fe Frontend to attach to.
 39  * @param pll_addr i2c address of the PLL (if used).
 40  * @param i2c i2c adapter to use (set to NULL if not used).
 41  * @param pll_desc_id dvb_pll_desc to use.
 42  * @return Frontend pointer on success, NULL on failure
 43  */
 44 #if defined(CONFIG_DVB_PLL) || (defined(CONFIG_DVB_PLL_MODULE) && defined(MODULE))
 45 extern struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe,
 46                                            int pll_addr,
 47                                            struct i2c_adapter *i2c,
 48                                            unsigned int pll_desc_id);
 49 #else
 50 static inline struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe,
 51                                            int pll_addr,
 52                                            struct i2c_adapter *i2c,
 53                                            unsigned int pll_desc_id)
 54 {
 55         printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
 56         return NULL;
 57 }
 58 #endif
 59 
 60 #endif
 61 
  This page was automatically generated by the LXR engine.