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

Go to the source code of this file.

Data Structures

struct  ds3000_state
 

Macros

#define dprintk(args...)
 
#define DS3000_DEFAULT_FIRMWARE   "dvb-fe-ds3000.fw"
 
#define DS3000_SAMPLE_RATE   96000 /* in kHz */
 
#define DS3000_XTAL_FREQ   27000 /* in kHz */
 

Functions

struct dvb_frontendds3000_attach (const struct ds3000_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (ds3000_attach)
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Activates frontend debugging (default:0)")
 
 module_param (force_fw_upload, int, 0644)
 
 MODULE_PARM_DESC (force_fw_upload,"Force firmware upload (default:0)")
 
 MODULE_DESCRIPTION ("DVB Frontend module for Montage Technology ""DS3000/TS2020 hardware")
 
 MODULE_AUTHOR ("Konstantin Dimitrov")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 35 of file ds3000.c.

#define DS3000_DEFAULT_FIRMWARE   "dvb-fe-ds3000.fw"

Definition at line 43 of file ds3000.c.

#define DS3000_SAMPLE_RATE   96000 /* in kHz */

Definition at line 45 of file ds3000.c.

#define DS3000_XTAL_FREQ   27000 /* in kHz */

Definition at line 46 of file ds3000.c.

Function Documentation

struct dvb_frontend* ds3000_attach ( const struct ds3000_config config,
struct i2c_adapter i2c 
)
read

Definition at line 898 of file ds3000.c.

EXPORT_SYMBOL ( ds3000_attach  )
MODULE_AUTHOR ( "Konstantin Dimitrov"  )
MODULE_DESCRIPTION ( "DVB Frontend module for Montage Technology ""DS3000/TS2020 hardware )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
module_param ( force_fw_upload  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Activates frontend debugging (default:0)"   
)
MODULE_PARM_DESC ( force_fw_upload  ,
"Force firmware upload (default:0)"   
)