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

Go to the source code of this file.

Data Structures

struct  s5h1409_state
 
struct  init_tab
 
struct  vsb_snr_tab
 
struct  qam64_snr_tab
 
struct  qam256_snr_tab
 

Macros

#define QAM_STATE_UNTUNED   0
 
#define QAM_STATE_TUNING_STARTED   1
 
#define QAM_STATE_INTERLEAVE_SET   2
 
#define QAM_STATE_QAM_OPTIMIZED_L1   3
 
#define QAM_STATE_QAM_OPTIMIZED_L2   4
 
#define QAM_STATE_QAM_OPTIMIZED_L3   5
 
#define dprintk   if (debug) printk
 
#define S5H1409_VSB_IF_FREQ   5380
 
#define S5H1409_QAM_IF_FREQ   (state->config->qam_if)
 

Functions

 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Enable verbose debug messages")
 
struct dvb_frontends5h1409_attach (const struct s5h1409_config *config, struct i2c_adapter *i2c)
 
 EXPORT_SYMBOL (s5h1409_attach)
 
 MODULE_DESCRIPTION ("Samsung S5H1409 QAM-B/ATSC Demodulator driver")
 
 MODULE_AUTHOR ("Steven Toth")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk   if (debug) printk

Definition at line 62 of file s5h1409.c.

#define QAM_STATE_INTERLEAVE_SET   2

Definition at line 51 of file s5h1409.c.

#define QAM_STATE_QAM_OPTIMIZED_L1   3

Definition at line 52 of file s5h1409.c.

#define QAM_STATE_QAM_OPTIMIZED_L2   4

Definition at line 53 of file s5h1409.c.

#define QAM_STATE_QAM_OPTIMIZED_L3   5

Definition at line 54 of file s5h1409.c.

#define QAM_STATE_TUNING_STARTED   1

Definition at line 50 of file s5h1409.c.

#define QAM_STATE_UNTUNED   0

Definition at line 49 of file s5h1409.c.

#define S5H1409_QAM_IF_FREQ   (state->config->qam_if)

Definition at line 363 of file s5h1409.c.

#define S5H1409_VSB_IF_FREQ   5380

Definition at line 362 of file s5h1409.c.

Function Documentation

EXPORT_SYMBOL ( s5h1409_attach  )
MODULE_AUTHOR ( "Steven Toth"  )
MODULE_DESCRIPTION ( "Samsung S5H1409 QAM-B/ATSC Demodulator driver )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Enable verbose debug messages"   
)
struct dvb_frontend* s5h1409_attach ( const struct s5h1409_config config,
struct i2c_adapter i2c 
)
read

Definition at line 954 of file s5h1409.c.