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

Go to the source code of this file.

Macros

#define dprintk(arg...)
 

Functions

int au8522_writereg (struct au8522_state *state, u16 reg, u8 data)
 
 EXPORT_SYMBOL (au8522_writereg)
 
u8 au8522_readreg (struct au8522_state *state, u16 reg)
 
 EXPORT_SYMBOL (au8522_readreg)
 
int au8522_i2c_gate_ctrl (struct dvb_frontend *fe, int enable)
 
 EXPORT_SYMBOL (au8522_i2c_gate_ctrl)
 
int au8522_analog_i2c_gate_ctrl (struct dvb_frontend *fe, int enable)
 
 EXPORT_SYMBOL (au8522_analog_i2c_gate_ctrl)
 
int au8522_get_state (struct au8522_state **state, struct i2c_adapter *i2c, u8 client_address)
 
 EXPORT_SYMBOL (au8522_get_state)
 
void au8522_release_state (struct au8522_state *state)
 
 EXPORT_SYMBOL (au8522_release_state)
 
int au8522_led_ctrl (struct au8522_state *state, int led)
 
 EXPORT_SYMBOL (au8522_led_ctrl)
 
int au8522_init (struct dvb_frontend *fe)
 
 EXPORT_SYMBOL (au8522_init)
 
int au8522_sleep (struct dvb_frontend *fe)
 
 EXPORT_SYMBOL (au8522_sleep)
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Enable verbose debug messages")
 
 MODULE_DESCRIPTION ("Auvitek AU8522 QAM-B/ATSC Demodulator driver")
 
 MODULE_AUTHOR ("Steven Toth")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   arg...)
Value:
do { if (debug)\
printk(arg);\
} while (0)

Definition at line 31 of file au8522_common.c.

Function Documentation

int au8522_analog_i2c_gate_ctrl ( struct dvb_frontend fe,
int  enable 
)

Definition at line 102 of file au8522_common.c.

int au8522_get_state ( struct au8522_state **  state,
struct i2c_adapter i2c,
u8  client_address 
)

Definition at line 117 of file au8522_common.c.

int au8522_i2c_gate_ctrl ( struct dvb_frontend fe,
int  enable 
)

Definition at line 81 of file au8522_common.c.

int au8522_init ( struct dvb_frontend fe)

Definition at line 226 of file au8522_common.c.

int au8522_led_ctrl ( struct au8522_state state,
int  led 
)

Definition at line 171 of file au8522_common.c.

u8 au8522_readreg ( struct au8522_state state,
u16  reg 
)

Definition at line 60 of file au8522_common.c.

void au8522_release_state ( struct au8522_state state)

Definition at line 132 of file au8522_common.c.

int au8522_sleep ( struct dvb_frontend fe)

Definition at line 246 of file au8522_common.c.

int au8522_writereg ( struct au8522_state state,
u16  reg,
u8  data 
)

Definition at line 42 of file au8522_common.c.

EXPORT_SYMBOL ( au8522_writereg  )
EXPORT_SYMBOL ( au8522_readreg  )
EXPORT_SYMBOL ( au8522_i2c_gate_ctrl  )
EXPORT_SYMBOL ( au8522_analog_i2c_gate_ctrl  )
EXPORT_SYMBOL ( au8522_get_state  )
EXPORT_SYMBOL ( au8522_release_state  )
EXPORT_SYMBOL ( au8522_led_ctrl  )
EXPORT_SYMBOL ( au8522_init  )
EXPORT_SYMBOL ( au8522_sleep  )
MODULE_AUTHOR ( "Steven Toth"  )
MODULE_DESCRIPTION ( "Auvitek AU8522 QAM-B/ATSC Demodulator driver )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Enable verbose debug messages"   
)