Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mb86a20s.c File Reference
#include <linux/kernel.h>
#include <asm/div64.h>
#include "dvb_frontend.h"
#include "mb86a20s.h"

Go to the source code of this file.

Data Structures

struct  mb86a20s_state
 
struct  regdata
 

Macros

#define rc(args...)
 
#define dprintk(args...)
 
#define mb86a20s_readreg(state, reg)   mb86a20s_i2c_readreg(state, state->config->demod_address, reg)
 
#define mb86a20s_writereg(state, reg, val)   mb86a20s_i2c_writereg(state, state->config->demod_address, reg, val)
 
#define mb86a20s_writeregdata(state, regdata)
 

Functions

 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Activates frontend debugging (default:0)")
 
struct dvb_frontendmb86a20s_attach (const struct mb86a20s_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (mb86a20s_attach)
 
 MODULE_DESCRIPTION ("DVB Frontend module for Fujitsu mb86A20s hardware")
 
 MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   args...)
Value:
do { \
if (debug) { \
printk(KERN_DEBUG "mb86a20s: %s: ", __func__); \
printk(args); \
} \
} while (0)

Definition at line 33 of file mb86a20s.c.

#define mb86a20s_readreg (   state,
  reg 
)    mb86a20s_i2c_readreg(state, state->config->demod_address, reg)

Definition at line 232 of file mb86a20s.c.

#define mb86a20s_writereg (   state,
  reg,
  val 
)    mb86a20s_i2c_writereg(state, state->config->demod_address, reg, val)

Definition at line 234 of file mb86a20s.c.

#define mb86a20s_writeregdata (   state,
  regdata 
)
Value:
mb86a20s_i2c_writeregdata(state, state->config->demod_address, \

Definition at line 236 of file mb86a20s.c.

#define rc (   args...)
Value:
do { \
printk(KERN_ERR "mb86a20s: " args); \
} while (0)

Definition at line 29 of file mb86a20s.c.

Function Documentation

EXPORT_SYMBOL ( mb86a20s_attach  )
struct dvb_frontend* mb86a20s_attach ( const struct mb86a20s_config config,
struct i2c_adapter i2c 
)
read

Definition at line 629 of file mb86a20s.c.

MODULE_AUTHOR ( "Mauro Carvalho Chehab <[email protected]>"  )
MODULE_DESCRIPTION ( "DVB Frontend module for Fujitsu mb86A20s hardware )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Activates frontend debugging (default:0)"   
)