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

Go to the source code of this file.

Data Structures

struct  cx24123_state
 
struct  cx24123_AGC_val
 
struct  cx24123_bandselect_val
 

Macros

#define XTAL   10111000
 
#define info(args...)   do { printk(KERN_INFO "CX24123: " args); } while (0)
 
#define err(args...)   do { printk(KERN_ERR "CX24123: " args); } while (0)
 
#define dprintk(args...)
 
#define cx24123_readreg(state, reg)   cx24123_i2c_readreg(state, state->config->demod_address, reg)
 
#define cx24123_writereg(state, reg, val)   cx24123_i2c_writereg(state, state->config->demod_address, reg, val)
 

Functions

 module_param (force_band, int, 0644)
 
 MODULE_PARM_DESC (force_band,"Force a specific band select ""(1-9, default:off).")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Activates frontend debugging (default:0)")
 
struct i2c_adaptercx24123_get_tuner_i2c_adapter (struct dvb_frontend *fe)
 
 EXPORT_SYMBOL (cx24123_get_tuner_i2c_adapter)
 
struct dvb_frontendcx24123_attach (const struct cx24123_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (cx24123_attach)
 
 MODULE_DESCRIPTION ("DVB Frontend module for Conexant ""CX24123/CX24109/CX24113 hardware")
 
 MODULE_AUTHOR ("Steven Toth")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define cx24123_readreg (   state,
  reg 
)    cx24123_i2c_readreg(state, state->config->demod_address, reg)

Definition at line 286 of file cx24123.c.

#define cx24123_writereg (   state,
  reg,
  val 
)    cx24123_i2c_writereg(state, state->config->demod_address, reg, val)

Definition at line 288 of file cx24123.c.

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

Definition at line 47 of file cx24123.c.

#define err (   args...)    do { printk(KERN_ERR "CX24123: " args); } while (0)

Definition at line 45 of file cx24123.c.

#define info (   args...)    do { printk(KERN_INFO "CX24123: " args); } while (0)

Definition at line 44 of file cx24123.c.

#define XTAL   10111000

Definition at line 33 of file cx24123.c.

Function Documentation

struct dvb_frontend* cx24123_attach ( const struct cx24123_config config,
struct i2c_adapter i2c 
)
read

Definition at line 1068 of file cx24123.c.

struct i2c_adapter* cx24123_get_tuner_i2c_adapter ( struct dvb_frontend fe)
read

Definition at line 1059 of file cx24123.c.

EXPORT_SYMBOL ( cx24123_get_tuner_i2c_adapter  )
EXPORT_SYMBOL ( cx24123_attach  )
MODULE_AUTHOR ( "Steven Toth"  )
MODULE_DESCRIPTION ( "DVB Frontend module for Conexant ""CX24123/CX24109/CX24113 hardware )
MODULE_LICENSE ( "GPL"  )
module_param ( force_band  ,
int  ,
0644   
)
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( force_band  ,
"Force a specific band select ""(1-9, default:off)."   
)
MODULE_PARM_DESC ( debug  ,
"Activates frontend debugging (default:0)"   
)

Variable Documentation

Definition at line 198 of file cx24123.c.

Definition at line 197 of file cx24123.c.