Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
it913x.c File Reference
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <media/rc-core.h>
#include "dvb_usb.h"
#include "it913x-fe.h"

Go to the source code of this file.

Data Structures

struct  it913x_state
 

Macros

#define DVB_USB_LOG_PREFIX   "it913x"
 
#define it_debug(var, level, args...)
 
#define deb_info(level, args...)   it_debug(dvb_usb_it913x_debug, level, args)
 
#define info(args...)   pr_info(DVB_USB_LOG_PREFIX": " args)
 
#define FW_IT9137   "dvb-usb-it9137-01.fw"
 
#define FW_IT9135_V1   "dvb-usb-it9135-01.fw"
 
#define FW_IT9135_V2   "dvb-usb-it9135-02.fw"
 
#define IT913X_POLL   250
 
#define TS_MPEG_PKT_SIZE   188
 
#define EP_LOW   21
 
#define TS_BUFFER_SIZE_PID   (EP_LOW*TS_MPEG_PKT_SIZE)
 
#define EP_HIGH   348
 
#define TS_BUFFER_SIZE_MAX   (EP_HIGH*TS_MPEG_PKT_SIZE)
 

Functions

 module_param_named (debug, dvb_usb_it913x_debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"set debugging level (1=info (or-able)).")
 
 module_param_named (firmware, dvb_usb_it913x_firmware, int, 0644)
 
 MODULE_PARM_DESC (firmware,"set firmware 0=auto""1=IT9137 2=IT9135 V1 3=IT9135 V2")
 
 DVB_DEFINE_MOD_OPT_ADAPTER_NR (adapter_nr)
 
 MODULE_DEVICE_TABLE (usb, it913x_id_table)
 
 module_usb_driver (it913x_driver)
 
 MODULE_AUTHOR ("Malcolm Priestley <[email protected]>")
 
 MODULE_DESCRIPTION ("it913x USB 2 Driver")
 
 MODULE_VERSION ("1.32")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_FIRMWARE (FW_IT9135_V1)
 
 MODULE_FIRMWARE (FW_IT9135_V2)
 
 MODULE_FIRMWARE (FW_IT9137)
 

Macro Definition Documentation

#define deb_info (   level,
  args... 
)    it_debug(dvb_usb_it913x_debug, level, args)

Definition at line 40 of file it913x.c.

#define DVB_USB_LOG_PREFIX   "it913x"

Definition at line 26 of file it913x.c.

#define EP_HIGH   348

Definition at line 395 of file it913x.c.

#define EP_LOW   21

Definition at line 393 of file it913x.c.

#define FW_IT9135_V1   "dvb-usb-it9135-01.fw"

Definition at line 51 of file it913x.c.

#define FW_IT9135_V2   "dvb-usb-it9135-02.fw"

Definition at line 52 of file it913x.c.

#define FW_IT9137   "dvb-usb-it9137-01.fw"

Definition at line 50 of file it913x.c.

#define info (   args...)    pr_info(DVB_USB_LOG_PREFIX": " args)

Definition at line 41 of file it913x.c.

#define IT913X_POLL   250

Definition at line 311 of file it913x.c.

#define it_debug (   var,
  level,
  args... 
)
Value:
do { if ((var & level)) pr_debug(DVB_USB_LOG_PREFIX": " args); \
} while (0)

Definition at line 37 of file it913x.c.

#define TS_BUFFER_SIZE_MAX   (EP_HIGH*TS_MPEG_PKT_SIZE)

Definition at line 396 of file it913x.c.

#define TS_BUFFER_SIZE_PID   (EP_LOW*TS_MPEG_PKT_SIZE)

Definition at line 394 of file it913x.c.

#define TS_MPEG_PKT_SIZE   188

Definition at line 392 of file it913x.c.

Function Documentation

DVB_DEFINE_MOD_OPT_ADAPTER_NR ( adapter_nr  )
MODULE_AUTHOR ( "Malcolm Priestley <[email protected]>"  )
MODULE_DESCRIPTION ( "it913x USB 2 Driver"  )
MODULE_DEVICE_TABLE ( usb  ,
it913x_id_table   
)
MODULE_FIRMWARE ( FW_IT9135_V1  )
MODULE_FIRMWARE ( FW_IT9135_V2  )
MODULE_FIRMWARE ( FW_IT9137  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
dvb_usb_it913x_debug  ,
int  ,
0644   
)
module_param_named ( firmware  ,
dvb_usb_it913x_firmware  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"set debugging level (1=info (or-able))."   
)
MODULE_PARM_DESC ( firmware  )
module_usb_driver ( it913x_driver  )
MODULE_VERSION ( "1.32"  )