Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
stb6100.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "dvb_frontend.h"
#include "stb6100.h"

Go to the source code of this file.

Data Structures

struct  stb6100_lkup
 
struct  stb6100_regmask
 

Macros

#define FE_ERROR   0
 
#define FE_NOTICE   1
 
#define FE_INFO   2
 
#define FE_DEBUG   3
 
#define dprintk(x, y, z, format, arg...)
 

Functions

 module_param (verbose, int, 0644)
 
struct dvb_frontendstb6100_attach (struct dvb_frontend *fe, const struct stb6100_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (stb6100_attach)
 
 MODULE_PARM_DESC (verbose,"Set Verbosity level")
 
 MODULE_AUTHOR ("Manu Abraham")
 
 MODULE_DESCRIPTION ("STB6100 Silicon tuner")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   x,
  y,
  z,
  format,
  arg... 
)
Value:
do { \
if (z) { \
if ((x > FE_ERROR) && (x > y)) \
printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
else if ((x > FE_NOTICE) && (x > y)) \
printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
else if ((x > FE_INFO) && (x > y)) \
printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
else if ((x > FE_DEBUG) && (x > y)) \
printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
} else { \
if (x > y) \
printk(format, ##arg); \
} \
} while (0)

Definition at line 40 of file stb6100.c.

#define FE_DEBUG   3

Definition at line 38 of file stb6100.c.

#define FE_ERROR   0

Definition at line 35 of file stb6100.c.

#define FE_INFO   2

Definition at line 37 of file stb6100.c.

#define FE_NOTICE   1

Definition at line 36 of file stb6100.c.

Function Documentation

EXPORT_SYMBOL ( stb6100_attach  )
MODULE_AUTHOR ( "Manu Abraham"  )
MODULE_DESCRIPTION ( "STB6100 Silicon tuner )
MODULE_LICENSE ( "GPL"  )
module_param ( verbose  ,
int  ,
0644   
)
MODULE_PARM_DESC ( verbose  ,
"Set Verbosity level  
)
struct dvb_frontend* stb6100_attach ( struct dvb_frontend fe,
const struct stb6100_config config,
struct i2c_adapter i2c 
)
read

Definition at line 571 of file stb6100.c.