Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
zl10036.c File Reference
#include <linux/module.h>
#include <linux/dvb/frontend.h>
#include <linux/slab.h>
#include <linux/types.h>
#include "zl10036.h"

Go to the source code of this file.

Data Structures

struct  zl10036_state
 

Macros

#define dprintk(level, args...)
 
#define deb_info(args...)   dprintk(0x01, args)
 
#define deb_i2c(args...)   dprintk(0x02, args)
 
#define _XTAL   10111
 
#define _RDIV   10
 
#define _RDIV_REG   0x0a
 
#define _FR   (_XTAL/_RDIV)
 
#define STATUS_POR   0x80 /* Power on Reset */
 
#define STATUS_FL   0x40 /* Frequency & Phase Lock */
 
#define _BR_MAXIMUM   (_XTAL/575) /* _XTAL / 575kHz = 17 */
 

Functions

struct dvb_frontendzl10036_attach (struct dvb_frontend *fe, const struct zl10036_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (zl10036_attach)
 
 module_param_named (debug, zl10036_debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Turn on/off frontend debugging (default:off).")
 
 MODULE_DESCRIPTION ("DVB ZL10036 driver")
 
 MODULE_AUTHOR ("Tino Reichardt")
 
 MODULE_AUTHOR ("Matthias Schwarzott")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define _BR_MAXIMUM   (_XTAL/575) /* _XTAL / 575kHz = 17 */
#define _FR   (_XTAL/_RDIV)

Definition at line 64 of file zl10036.c.

#define _RDIV   10

Definition at line 62 of file zl10036.c.

#define _RDIV_REG   0x0a

Definition at line 63 of file zl10036.c.

#define _XTAL   10111

Definition at line 54 of file zl10036.c.

#define deb_i2c (   args...)    dprintk(0x02, args)

Definition at line 43 of file zl10036.c.

#define deb_info (   args...)    dprintk(0x01, args)

Definition at line 42 of file zl10036.c.

#define dprintk (   level,
  args... 
)
Value:
do { if (zl10036_debug & level) printk(KERN_DEBUG "zl10036: " args); \
} while (0)

Definition at line 38 of file zl10036.c.

#define STATUS_FL   0x40 /* Frequency & Phase Lock */

Definition at line 67 of file zl10036.c.

#define STATUS_POR   0x80 /* Power on Reset */

Definition at line 66 of file zl10036.c.

Function Documentation

EXPORT_SYMBOL ( zl10036_attach  )
MODULE_AUTHOR ( "Tino Reichardt"  )
MODULE_AUTHOR ( "Matthias Schwarzott"  )
MODULE_DESCRIPTION ( "DVB ZL10036 driver )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
zl10036_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Turn on/off frontend debugging (default:off)."   
)
struct dvb_frontend* zl10036_attach ( struct dvb_frontend fe,
const struct zl10036_config config,
struct i2c_adapter i2c 
)
read

Definition at line 462 of file zl10036.c.