Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mt2060.c File Reference
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/dvb/frontend.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include "dvb_frontend.h"
#include "mt2060.h"
#include "mt2060_priv.h"

Go to the source code of this file.

Macros

#define dprintk(args...)   do { if (debug) {printk(KERN_DEBUG "MT2060: " args); printk("\n"); }} while (0)
 
#define IF2   36150
 
#define FREF   16000
 

Functions

 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Turn on/off debugging (default:off).")
 
struct dvb_frontendmt2060_attach (struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1)
 
 EXPORT_SYMBOL (mt2060_attach)
 
 MODULE_AUTHOR ("Olivier DANET")
 
 MODULE_DESCRIPTION ("Microtune MT2060 silicon tuner driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 39 of file mt2060.c.

#define FREF   16000

Definition at line 154 of file mt2060.c.

#define IF2   36150

Definition at line 153 of file mt2060.c.

Function Documentation

EXPORT_SYMBOL ( mt2060_attach  )
MODULE_AUTHOR ( "Olivier DANET"  )
MODULE_DESCRIPTION ( "Microtune MT2060 silicon tuner driver )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Turn on/off debugging (default:off)."   
)
struct dvb_frontend* mt2060_attach ( struct dvb_frontend fe,
struct i2c_adapter i2c,
struct mt2060_config cfg,
u16  if1 
)
read

Definition at line 362 of file mt2060.c.