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

Go to the source code of this file.

Data Structures

struct  sp8870_state
 

Macros

#define SP8870_DEFAULT_FIRMWARE   "dvb-fe-sp8870.fw"
 
#define dprintk(args...)
 
#define SP8870_FIRMWARE_SIZE   16382
 
#define SP8870_FIRMWARE_OFFSET   0x0A
 
#define MAXTRIALS   5
 
#define MAXCHECKS   100
 

Functions

struct dvb_frontendsp8870_attach (const struct sp8870_config *config, struct i2c_adapter *i2c)
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Turn on/off frontend debugging (default:off).")
 
 MODULE_DESCRIPTION ("Spase SP8870 DVB-T Demodulator driver")
 
 MODULE_AUTHOR ("Juergen Peitz")
 
 MODULE_LICENSE ("GPL")
 
 EXPORT_SYMBOL (sp8870_attach)
 

Macro Definition Documentation

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

Definition at line 55 of file sp8870.c.

#define MAXCHECKS   100

Definition at line 455 of file sp8870.c.

#define MAXTRIALS   5

Definition at line 453 of file sp8870.c.

#define SP8870_DEFAULT_FIRMWARE   "dvb-fe-sp8870.fw"

Definition at line 28 of file sp8870.c.

#define SP8870_FIRMWARE_OFFSET   0x0A

Definition at line 64 of file sp8870.c.

#define SP8870_FIRMWARE_SIZE   16382

Definition at line 61 of file sp8870.c.

Function Documentation

EXPORT_SYMBOL ( sp8870_attach  )
MODULE_AUTHOR ( "Juergen Peitz"  )
MODULE_DESCRIPTION ( "Spase SP8870 DVB-T Demodulator driver )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Turn on/off frontend debugging (default:off)."   
)
struct dvb_frontend* sp8870_attach ( const struct sp8870_config config,
struct i2c_adapter i2c 
)
read

Definition at line 556 of file sp8870.c.