Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
opera1.c File Reference
#include "dvb-usb.h"
#include "stv0299.h"

Go to the source code of this file.

Data Structures

struct  opera1_state
 
struct  rc_map_opera_table
 

Macros

#define DVB_USB_LOG_PREFIX   "opera"
 
#define OPERA_READ_MSG   0
 
#define OPERA_WRITE_MSG   1
 
#define OPERA_I2C_TUNER   0xd1
 
#define READ_FX2_REG_REQ   0xba
 
#define READ_MAC_ADDR   0x08
 
#define OPERA_WRITE_FX2   0xbb
 
#define OPERA_TUNER_REQ   0xb1
 
#define REG_1F_SYMBOLRATE_BYTE0   0x1f
 
#define REG_20_SYMBOLRATE_BYTE1   0x20
 
#define REG_21_SYMBOLRATE_BYTE2   0x21
 
#define ADDR_B600_VOLTAGE_13V   (0x02)
 
#define ADDR_B601_VOLTAGE_18V   (0x03)
 
#define ADDR_B1A6_STREAM_CTRL   (0x04)
 
#define ADDR_B880_READ_REMOTE   (0x05)
 

Functions

 module_param_named (debug, dvb_usb_opera1_debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"set debugging level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64 (or-able))."DVB_USB_DEBUG_STATUS)
 
 DVB_DEFINE_MOD_OPT_ADAPTER_NR (adapter_nr)
 
 MODULE_DEVICE_TABLE (usb, opera1_table)
 
 module_usb_driver (opera1_driver)
 
 MODULE_AUTHOR ("Mario Hlawitschka (c) [email protected]")
 
 MODULE_AUTHOR ("Marco Gittler (c) [email protected]")
 
 MODULE_DESCRIPTION ("Driver for Opera1 DVB-S device")
 
 MODULE_VERSION ("0.1")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define ADDR_B1A6_STREAM_CTRL   (0x04)

Definition at line 32 of file opera1.c.

#define ADDR_B600_VOLTAGE_13V   (0x02)

Definition at line 30 of file opera1.c.

#define ADDR_B601_VOLTAGE_18V   (0x03)

Definition at line 31 of file opera1.c.

#define ADDR_B880_READ_REMOTE   (0x05)

Definition at line 33 of file opera1.c.

#define DVB_USB_LOG_PREFIX   "opera"

Definition at line 13 of file opera1.c.

#define OPERA_I2C_TUNER   0xd1

Definition at line 20 of file opera1.c.

#define OPERA_READ_MSG   0

Definition at line 18 of file opera1.c.

#define OPERA_TUNER_REQ   0xb1

Definition at line 25 of file opera1.c.

#define OPERA_WRITE_FX2   0xbb

Definition at line 24 of file opera1.c.

#define OPERA_WRITE_MSG   1

Definition at line 19 of file opera1.c.

#define READ_FX2_REG_REQ   0xba

Definition at line 22 of file opera1.c.

#define READ_MAC_ADDR   0x08

Definition at line 23 of file opera1.c.

#define REG_1F_SYMBOLRATE_BYTE0   0x1f

Definition at line 26 of file opera1.c.

#define REG_20_SYMBOLRATE_BYTE1   0x20

Definition at line 27 of file opera1.c.

#define REG_21_SYMBOLRATE_BYTE2   0x21

Definition at line 28 of file opera1.c.

Function Documentation

DVB_DEFINE_MOD_OPT_ADAPTER_NR ( adapter_nr  )
MODULE_AUTHOR ( "Mario Hlawitschka (c) [email protected] )
MODULE_AUTHOR ( "Marco Gittler (c) [email protected] )
MODULE_DESCRIPTION ( "Driver for Opera1 DVB-S device )
MODULE_DEVICE_TABLE ( usb  ,
opera1_table   
)
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
dvb_usb_opera1_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"set debugging level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64 (or-able))."  DVB_USB_DEBUG_STATUS 
)
module_usb_driver ( opera1_driver  )
MODULE_VERSION ( "0.1"  )