Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dib0700_core.c File Reference
#include "dib0700.h"

Go to the source code of this file.

Data Structures

struct  dib0700_rc_response
 

Macros

#define RC_REPEAT_DELAY_V1_20   10
 
#define RC_MSG_SIZE_V1_20   6
 

Functions

 module_param_named (debug, dvb_usb_dib0700_debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"set debugging level (1=info,2=fw,4=fwdata,8=data (or-able))."DVB_USB_DEBUG_STATUS)
 
 module_param (nb_packet_buffer_size, int, 0644)
 
 MODULE_PARM_DESC (nb_packet_buffer_size,"Set the dib0700 driver data buffer size. This parameter ""corresponds to the number of TS packets. The actual size of ""the data buffer corresponds to this parameter ""multiplied by 188 (default: 21)")
 
 DVB_DEFINE_MOD_OPT_ADAPTER_NR (adapter_nr)
 
int dib0700_get_version (struct dvb_usb_device *d, u32 *hwversion, u32 *romversion, u32 *ramversion, u32 *fwtype)
 
int dib0700_ctrl_rd (struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen)
 
int dib0700_set_gpio (struct dvb_usb_device *d, enum dib07x0_gpios gpio, u8 gpio_dir, u8 gpio_val)
 
int dib0700_identify_state (struct usb_device *udev, struct dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, int *cold)
 
int dib0700_set_i2c_speed (struct dvb_usb_device *d, u16 scl_kHz)
 
int dib0700_ctrl_clock (struct dvb_usb_device *d, u32 clk_MHz, u8 clock_out_gp3)
 
int dib0700_download_firmware (struct usb_device *udev, const struct firmware *fw)
 
int dib0700_streaming_ctrl (struct dvb_usb_adapter *adap, int onoff)
 
int dib0700_change_protocol (struct rc_dev *rc, u64 rc_type)
 
int dib0700_rc_setup (struct dvb_usb_device *d)
 
 module_usb_driver (dib0700_driver)
 
 MODULE_FIRMWARE ("dvb-usb-dib0700-1.20.fw")
 
 MODULE_AUTHOR ("Patrick Boettcher <[email protected]>")
 
 MODULE_DESCRIPTION ("Driver for devices based on DiBcom DiB0700 - USB bridge")
 
 MODULE_VERSION ("1.0")
 
 MODULE_LICENSE ("GPL")
 

Variables

int dvb_usb_dib0700_debug
 
struct i2c_algorithm dib0700_i2c_algo
 

Macro Definition Documentation

#define RC_MSG_SIZE_V1_20   6

Definition at line 672 of file dib0700_core.c.

#define RC_REPEAT_DELAY_V1_20   10

Definition at line 656 of file dib0700_core.c.

Function Documentation

int dib0700_change_protocol ( struct rc_dev rc,
u64  rc_type 
)

Definition at line 608 of file dib0700_core.c.

int dib0700_ctrl_clock ( struct dvb_usb_device d,
u32  clk_MHz,
u8  clock_out_gp3 
)

Definition at line 432 of file dib0700_core.c.

int dib0700_ctrl_rd ( struct dvb_usb_device d,
u8 tx,
u8  txlen,
u8 rx,
u8  rxlen 
)

Definition at line 77 of file dib0700_core.c.

int dib0700_download_firmware ( struct usb_device *  udev,
const struct firmware fw 
)

Definition at line 472 of file dib0700_core.c.

int dib0700_get_version ( struct dvb_usb_device d,
u32 hwversion,
u32 romversion,
u32 ramversion,
u32 fwtype 
)

Definition at line 27 of file dib0700_core.c.

int dib0700_identify_state ( struct usb_device *  udev,
struct dvb_usb_device_properties props,
struct dvb_usb_device_description **  desc,
int cold 
)

Definition at line 342 of file dib0700_core.c.

int dib0700_rc_setup ( struct dvb_usb_device d)

Definition at line 758 of file dib0700_core.c.

int dib0700_set_gpio ( struct dvb_usb_device d,
enum dib07x0_gpios  gpio,
u8  gpio_dir,
u8  gpio_val 
)

Definition at line 114 of file dib0700_core.c.

int dib0700_set_i2c_speed ( struct dvb_usb_device d,
u16  scl_kHz 
)

Definition at line 395 of file dib0700_core.c.

int dib0700_streaming_ctrl ( struct dvb_usb_adapter adap,
int  onoff 
)

Definition at line 548 of file dib0700_core.c.

DVB_DEFINE_MOD_OPT_ADAPTER_NR ( adapter_nr  )
MODULE_AUTHOR ( "Patrick Boettcher <[email protected]>"  )
MODULE_DESCRIPTION ( "Driver for devices based on DiBcom DiB0700 - USB bridge )
MODULE_FIRMWARE ( "dvb-usb-dib0700-1.20.fw )
MODULE_LICENSE ( "GPL"  )
module_param ( nb_packet_buffer_size  ,
int  ,
0644   
)
module_param_named ( debug  ,
dvb_usb_dib0700_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"set debugging level (1=info,2=fw,4=fwdata,8=data (or-able))."  DVB_USB_DEBUG_STATUS 
)
MODULE_PARM_DESC ( nb_packet_buffer_size  ,
"Set the dib0700 driver data buffer size. This parameter ""corresponds to the number of TS packets. The actual size of ""the data buffer corresponds to this parameter ""multiplied by 188 (default: 21)"   
)
module_usb_driver ( dib0700_driver  )
MODULE_VERSION ( "1.0"  )

Variable Documentation

struct i2c_algorithm dib0700_i2c_algo
Initial value:
= {
.master_xfer = dib0700_i2c_xfer,
.functionality = dib0700_i2c_func,
}

Definition at line 337 of file dib0700_core.c.

int dvb_usb_dib0700_debug

Definition at line 12 of file dib0700_core.c.