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

Go to the source code of this file.

Data Structures

struct  or51132_state
 

Macros

#define OR51132_VSB_FIRMWARE   "dvb-fe-or51132-vsb.fw"
 
#define OR51132_QAM_FIRMWARE   "dvb-fe-or51132-qam.fw"
 
#define dprintk(args...)
 
#define or51132_writebytes(state, data...)
 
#define MOD_FWCLASS_UNKNOWN   0
 
#define MOD_FWCLASS_VSB   1
 
#define MOD_FWCLASS_QAM   2
 

Functions

struct dvb_frontendor51132_attach (const struct or51132_config *config, struct i2c_adapter *i2c)
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Turn on/off frontend debugging (default:off).")
 
 MODULE_DESCRIPTION ("OR51132 ATSC [pcHDTV HD-3000] (8VSB & ITU J83 AnnexB FEC QAM64/256) Demodulator Driver")
 
 MODULE_AUTHOR ("Kirk Lapray")
 
 MODULE_AUTHOR ("Trent Piepho")
 
 MODULE_LICENSE ("GPL")
 
 EXPORT_SYMBOL (or51132_attach)
 

Macro Definition Documentation

#define dprintk (   args...)
Value:
do { \
if (debug) printk(KERN_DEBUG "or51132: " args); \
} while (0)

Definition at line 50 of file or51132.c.

#define MOD_FWCLASS_QAM   2

Definition at line 294 of file or51132.c.

#define MOD_FWCLASS_UNKNOWN   0

Definition at line 292 of file or51132.c.

#define MOD_FWCLASS_VSB   1

Definition at line 293 of file or51132.c.

#define OR51132_QAM_FIRMWARE   "dvb-fe-or51132-qam.fw"

Definition at line 35 of file or51132.c.

#define OR51132_VSB_FIRMWARE   "dvb-fe-or51132-vsb.fw"

Definition at line 34 of file or51132.c.

#define or51132_writebytes (   state,
  data... 
)
Value:
({ static const u8 _data[] = {data}; \
or51132_writebuf(state, _data, sizeof(_data)); })

Definition at line 93 of file or51132.c.

Function Documentation

EXPORT_SYMBOL ( or51132_attach  )
MODULE_AUTHOR ( "Kirk Lapray"  )
MODULE_AUTHOR ( "Trent Piepho"  )
MODULE_DESCRIPTION ( "OR51132 ATSC (8VSB & ITU J83 AnnexB FEC QAM64/256) Demodulator Driver"  [pcHDTV HD-3000])
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Turn on/off frontend debugging (default:off)."   
)
struct dvb_frontend* or51132_attach ( const struct or51132_config config,
struct i2c_adapter i2c 
)
read

Definition at line 566 of file or51132.c.