Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dibusb.h File Reference
#include "dvb-usb.h"
#include "dib3000.h"
#include "dib3000mc.h"
#include "mt2060.h"

Go to the source code of this file.

Data Structures

struct  dibusb_state
 
struct  dibusb_device_state
 

Macros

#define DVB_USB_LOG_PREFIX   "dibusb"
 
#define DIBUSB_REQ_START_READ   0x00
 
#define DIBUSB_REQ_START_DEMOD   0x01
 
#define DIBUSB_REQ_I2C_READ   0x02
 
#define DIBUSB_REQ_I2C_WRITE   0x03
 
#define DIBUSB_REQ_POLL_REMOTE   0x04
 
#define DIBUSB_RC_HAUPPAUGE_KEY_PRESSED   0x01
 
#define DIBUSB_RC_HAUPPAUGE_KEY_EMPTY   0x03
 
#define DIBUSB_REQ_SET_STREAMING_MODE   0x05
 
#define DIBUSB_REQ_INTR_READ   0x06
 
#define DIBUSB_REQ_SET_IOCTL   0x07
 
#define DIBUSB_IOCTL_CMD_POWER_MODE   0x00
 
#define DIBUSB_IOCTL_POWER_SLEEP   0x00
 
#define DIBUSB_IOCTL_POWER_WAKEUP   0x01
 
#define DIBUSB_IOCTL_CMD_ENABLE_STREAM   0x01
 
#define DIBUSB_IOCTL_CMD_DISABLE_STREAM   0x02
 
#define DEFAULT_RC_INTERVAL   150
 

Functions

int dibusb_dib3000mc_frontend_attach (struct dvb_usb_adapter *)
 
int dibusb_dib3000mc_tuner_attach (struct dvb_usb_adapter *)
 
int dibusb_streaming_ctrl (struct dvb_usb_adapter *, int)
 
int dibusb_pid_filter (struct dvb_usb_adapter *, int, u16, int)
 
int dibusb_pid_filter_ctrl (struct dvb_usb_adapter *, int)
 
int dibusb2_0_streaming_ctrl (struct dvb_usb_adapter *, int)
 
int dibusb_power_ctrl (struct dvb_usb_device *, int)
 
int dibusb2_0_power_ctrl (struct dvb_usb_device *, int)
 
int dibusb_rc_query (struct dvb_usb_device *, u32 *, int *)
 
int dibusb_read_eeprom_byte (struct dvb_usb_device *, u8, u8 *)
 

Variables

struct i2c_algorithm dibusb_i2c_algo
 
struct rc_map_table rc_map_dibusb_table []
 

Macro Definition Documentation

#define DEFAULT_RC_INTERVAL   150

Definition at line 124 of file dibusb.h.

#define DIBUSB_IOCTL_CMD_DISABLE_STREAM   0x02

Definition at line 97 of file dibusb.h.

#define DIBUSB_IOCTL_CMD_ENABLE_STREAM   0x01

Definition at line 96 of file dibusb.h.

#define DIBUSB_IOCTL_CMD_POWER_MODE   0x00

Definition at line 91 of file dibusb.h.

#define DIBUSB_IOCTL_POWER_SLEEP   0x00

Definition at line 92 of file dibusb.h.

#define DIBUSB_IOCTL_POWER_WAKEUP   0x01

Definition at line 93 of file dibusb.h.

#define DIBUSB_RC_HAUPPAUGE_KEY_EMPTY   0x03

Definition at line 59 of file dibusb.h.

#define DIBUSB_RC_HAUPPAUGE_KEY_PRESSED   0x01

Definition at line 58 of file dibusb.h.

#define DIBUSB_REQ_I2C_READ   0x02

Definition at line 42 of file dibusb.h.

#define DIBUSB_REQ_I2C_WRITE   0x03

Definition at line 48 of file dibusb.h.

#define DIBUSB_REQ_INTR_READ   0x06

Definition at line 69 of file dibusb.h.

#define DIBUSB_REQ_POLL_REMOTE   0x04

Definition at line 55 of file dibusb.h.

#define DIBUSB_REQ_SET_IOCTL   0x07

Definition at line 86 of file dibusb.h.

#define DIBUSB_REQ_SET_STREAMING_MODE   0x05

Definition at line 66 of file dibusb.h.

#define DIBUSB_REQ_START_DEMOD   0x01

Definition at line 35 of file dibusb.h.

#define DIBUSB_REQ_START_READ   0x00

Definition at line 34 of file dibusb.h.

#define DVB_USB_LOG_PREFIX   "dibusb"

Definition at line 15 of file dibusb.h.

Function Documentation

int dibusb2_0_power_ctrl ( struct dvb_usb_device ,
int   
)

Definition at line 93 of file dibusb-common.c.

int dibusb2_0_streaming_ctrl ( struct dvb_usb_adapter ,
int   
)

Definition at line 72 of file dibusb-common.c.

int dibusb_dib3000mc_frontend_attach ( struct dvb_usb_adapter )
int dibusb_dib3000mc_tuner_attach ( struct dvb_usb_adapter )
int dibusb_pid_filter ( struct dvb_usb_adapter ,
int  ,
u16  ,
int   
)

Definition at line 35 of file dibusb-common.c.

int dibusb_pid_filter_ctrl ( struct dvb_usb_adapter ,
int   
)

Definition at line 47 of file dibusb-common.c.

int dibusb_power_ctrl ( struct dvb_usb_device ,
int   
)

Definition at line 59 of file dibusb-common.c.

int dibusb_rc_query ( struct dvb_usb_device ,
u32 ,
int  
)

Definition at line 470 of file dibusb-common.c.

int dibusb_read_eeprom_byte ( struct dvb_usb_device ,
u8  ,
u8  
)

Definition at line 170 of file dibusb-common.c.

int dibusb_streaming_ctrl ( struct dvb_usb_adapter ,
int   
)

Definition at line 21 of file dibusb-common.c.

Variable Documentation

struct i2c_algorithm dibusb_i2c_algo

Definition at line 164 of file dibusb-common.c.

struct rc_map_table rc_map_dibusb_table[]

Definition at line 339 of file dibusb-common.c.