Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
rtl2832.c File Reference
#include "rtl2832_priv.h"
#include "dvb_math.h"
#include <linux/bitops.h>

Go to the source code of this file.

Macros

#define REG_MASK(b)   (BIT(b + 1) - 1)
 
#define CONSTELLATION_NUM   3
 
#define HIERARCHY_NUM   4
 

Functions

 module_param_named (debug, rtl2832_debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Turn on/off frontend debugging (default:off).")
 
int rtl2832_rd_demod_reg (struct rtl2832_priv *priv, int reg, u32 *val)
 
int rtl2832_wr_demod_reg (struct rtl2832_priv *priv, int reg, u32 val)
 
int rtl2832_get_tune_settings (struct dvb_frontend *fe, struct dvb_frontend_tune_settings *s)
 
struct dvb_frontendrtl2832_attach (const struct rtl2832_config *cfg, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (rtl2832_attach)
 
 MODULE_AUTHOR ("Thomas Mair <[email protected]>")
 
 MODULE_DESCRIPTION ("Realtek RTL2832 DVB-T demodulator driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("0.5")
 

Variables

int rtl2832_debug
 

Macro Definition Documentation

#define CONSTELLATION_NUM   3
#define HIERARCHY_NUM   4
#define REG_MASK (   b)    (BIT(b + 1) - 1)

Definition at line 29 of file rtl2832.c.

Function Documentation

EXPORT_SYMBOL ( rtl2832_attach  )
MODULE_AUTHOR ( "Thomas Mair <[email protected]>"  )
MODULE_DESCRIPTION ( "Realtek RTL2832 DVB-T demodulator driver )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
rtl2832_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Turn on/off frontend debugging (default:off)."   
)
MODULE_VERSION ( "0.5"  )
struct dvb_frontend* rtl2832_attach ( const struct rtl2832_config cfg,
struct i2c_adapter i2c 
)
read

Definition at line 849 of file rtl2832.c.

int rtl2832_get_tune_settings ( struct dvb_frontend fe,
struct dvb_frontend_tune_settings s 
)

Definition at line 513 of file rtl2832.c.

int rtl2832_rd_demod_reg ( struct rtl2832_priv priv,
int  reg,
u32 val 
)

Definition at line 268 of file rtl2832.c.

int rtl2832_wr_demod_reg ( struct rtl2832_priv priv,
int  reg,
u32  val 
)

Definition at line 308 of file rtl2832.c.

Variable Documentation

int rtl2832_debug

Definition at line 25 of file rtl2832.c.