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

Go to the source code of this file.

Data Structures

struct  nxt200x_state
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define NXT2002_DEFAULT_FIRMWARE   "dvb-fe-nxt2002.fw"
 
#define NXT2004_DEFAULT_FIRMWARE   "dvb-fe-nxt2004.fw"
 
#define CRC_CCIT_MASK   0x1021
 
#define dprintk(args...)   do { if (debug) pr_debug(args); } while (0)
 

Functions

struct dvb_frontendnxt200x_attach (const struct nxt200x_config *config, struct i2c_adapter *i2c)
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Turn on/off frontend debugging (default:off).")
 
 MODULE_DESCRIPTION ("NXT200X (ATSC 8VSB & ITU-T J.83 AnnexB 64/256 QAM) Demodulator Driver")
 
 MODULE_AUTHOR ("Kirk Lapray, Michael Krufky, Jean-Francois Thibert, and Taylor Jacob")
 
 MODULE_LICENSE ("GPL")
 
 EXPORT_SYMBOL (nxt200x_attach)
 

Macro Definition Documentation

#define CRC_CCIT_MASK   0x1021

Definition at line 44 of file nxt200x.c.

#define dprintk (   args...)    do { if (debug) pr_debug(args); } while (0)

Definition at line 67 of file nxt200x.c.

#define NXT2002_DEFAULT_FIRMWARE   "dvb-fe-nxt2002.fw"

Definition at line 42 of file nxt200x.c.

#define NXT2004_DEFAULT_FIRMWARE   "dvb-fe-nxt2004.fw"

Definition at line 43 of file nxt200x.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 40 of file nxt200x.c.

Function Documentation

EXPORT_SYMBOL ( nxt200x_attach  )
MODULE_AUTHOR ( "Kirk  Lapray,
Michael  Krufky,
Jean-Francois  Thibert,
and Taylor Jacob"   
)
MODULE_DESCRIPTION ( "NXT200X (ATSC 8VSB & ITU-T J.83 AnnexB 64/256 QAM) Demodulator Driver"  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Turn on/off frontend debugging (default:off)."   
)
struct dvb_frontend* nxt200x_attach ( const struct nxt200x_config config,
struct i2c_adapter i2c 
)
read

Definition at line 1146 of file nxt200x.c.