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

Go to the source code of this file.

Data Structures

struct  bcm3510_state
 

Macros

#define dprintk(level, x...)   if (level & debug) printk(x)
 
#define dbufout(b, l, m)
 
#define deb_info(args...)   dprintk(0x01,args)
 
#define deb_i2c(args...)   dprintk(0x02,args)
 
#define deb_hab(args...)   dprintk(0x04,args)
 
#define BCM3510_DEFAULT_FIRMWARE   "dvb-fe-bcm3510-01.fw"
 

Functions

 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"set debugging level (1=info,2=i2c (|-able)).")
 
struct dvb_frontendbcm3510_attach (const struct bcm3510_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (bcm3510_attach)
 
 MODULE_DESCRIPTION ("Broadcom BCM3510 ATSC (8VSB/16VSB & ITU J83 AnnexB FEC QAM64/256) demodulator driver")
 
 MODULE_AUTHOR ("Patrick Boettcher <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define BCM3510_DEFAULT_FIRMWARE   "dvb-fe-bcm3510-01.fw"

Definition at line 594 of file bcm3510.c.

#define dbufout (   b,
  l,
  m 
)
Value:
{\
int i; \
for (i = 0; i < l; i++) \
m("%02x ",b[i]); \
}

Definition at line 68 of file bcm3510.c.

#define deb_hab (   args...)    dprintk(0x04,args)

Definition at line 75 of file bcm3510.c.

#define deb_i2c (   args...)    dprintk(0x02,args)

Definition at line 74 of file bcm3510.c.

#define deb_info (   args...)    dprintk(0x01,args)

Definition at line 73 of file bcm3510.c.

#define dprintk (   level,
  x... 
)    if (level & debug) printk(x)

Definition at line 67 of file bcm3510.c.

Function Documentation

struct dvb_frontend* bcm3510_attach ( const struct bcm3510_config config,
struct i2c_adapter i2c 
)
read

Definition at line 780 of file bcm3510.c.

EXPORT_SYMBOL ( bcm3510_attach  )
MODULE_AUTHOR ( "Patrick Boettcher <[email protected]>"  )
MODULE_DESCRIPTION ( "Broadcom BCM3510 ATSC (8VSB/16VSB & ITU J83 AnnexB FEC QAM64/256) demodulator driver"  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"set debugging level (1=info,2=i2c (|-able))."   
)