Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
cinergyT2.h File Reference
#include <linux/usb/input.h>
#include "dvb-usb.h"

Go to the source code of this file.

Data Structures

struct  dvbt_get_status_msg
 
struct  dvbt_set_parameters_msg
 

Macros

#define DVB_USB_LOG_PREFIX   "cinergyT2"
 
#define DRIVER_NAME   "TerraTec/qanu USB2.0 Highspeed DVB-T Receiver"
 
#define deb_info(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x001, args)
 
#define deb_xfer(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x002, args)
 
#define deb_pll(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x004, args)
 
#define deb_ts(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x008, args)
 
#define deb_err(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x010, args)
 
#define deb_rc(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x020, args)
 
#define deb_fw(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x040, args)
 
#define deb_mem(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x080, args)
 
#define deb_uxfer(args...)   dprintk(dvb_usb_cinergyt2_debug, 0x100, args)
 

Enumerations

enum  cinergyt2_ep1_cmd {
  CINERGYT2_EP1_PID_TABLE_RESET = 0x01, CINERGYT2_EP1_PID_SETUP = 0x02, CINERGYT2_EP1_CONTROL_STREAM_TRANSFER = 0x03, CINERGYT2_EP1_SET_TUNER_PARAMETERS = 0x04,
  CINERGYT2_EP1_GET_TUNER_STATUS = 0x05, CINERGYT2_EP1_START_SCAN = 0x06, CINERGYT2_EP1_CONTINUE_SCAN = 0x07, CINERGYT2_EP1_GET_RC_EVENTS = 0x08,
  CINERGYT2_EP1_SLEEP_MODE = 0x09, CINERGYT2_EP1_GET_FIRMWARE_VERSION = 0x0A
}
 

Functions

struct dvbt_get_status_msg __attribute__ ((packed))
 
struct dvb_frontendcinergyt2_fe_attach (struct dvb_usb_device *d)
 

Variables

int dvb_usb_cinergyt2_debug
 
uint32_t freq
 
uint8_t bandwidth
 
uint16_t tps
 
uint8_t flags
 
__le16 gain
 
uint8_t snr
 
__le32 viterbi_error_rate
 
uint32_t rs_error_rate
 
__le32 uncorrected_block_count
 
uint8_t lock_bits
 
uint8_t prev_lock_bits
 
uint8_t cmd
 

Macro Definition Documentation

#define deb_err (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x010, args)

Definition at line 46 of file cinergyT2.h.

#define deb_fw (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x040, args)

Definition at line 48 of file cinergyT2.h.

#define deb_info (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x001, args)

Definition at line 42 of file cinergyT2.h.

#define deb_mem (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x080, args)

Definition at line 49 of file cinergyT2.h.

#define deb_pll (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x004, args)

Definition at line 44 of file cinergyT2.h.

#define deb_rc (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x020, args)

Definition at line 47 of file cinergyT2.h.

#define deb_ts (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x008, args)

Definition at line 45 of file cinergyT2.h.

#define deb_uxfer (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x100, args)

Definition at line 50 of file cinergyT2.h.

#define deb_xfer (   args...)    dprintk(dvb_usb_cinergyt2_debug, 0x002, args)

Definition at line 43 of file cinergyT2.h.

#define DRIVER_NAME   "TerraTec/qanu USB2.0 Highspeed DVB-T Receiver"

Definition at line 38 of file cinergyT2.h.

#define DVB_USB_LOG_PREFIX   "cinergyT2"

Definition at line 35 of file cinergyT2.h.

Enumeration Type Documentation

Enumerator:
CINERGYT2_EP1_PID_TABLE_RESET 
CINERGYT2_EP1_PID_SETUP 
CINERGYT2_EP1_CONTROL_STREAM_TRANSFER 
CINERGYT2_EP1_SET_TUNER_PARAMETERS 
CINERGYT2_EP1_GET_TUNER_STATUS 
CINERGYT2_EP1_START_SCAN 
CINERGYT2_EP1_CONTINUE_SCAN 
CINERGYT2_EP1_GET_RC_EVENTS 
CINERGYT2_EP1_SLEEP_MODE 
CINERGYT2_EP1_GET_FIRMWARE_VERSION 

Definition at line 54 of file cinergyT2.h.

Function Documentation

Definition at line 171 of file esd_usb2.c.

struct dvb_frontend* cinergyt2_fe_attach ( struct dvb_usb_device d)
read

Definition at line 309 of file cinergyT2-fe.c.

Variable Documentation

uint8_t bandwidth

Definition at line 82 of file cinergyT2.h.

Definition at line 90 of file cinergyT2.h.

int dvb_usb_cinergyt2_debug

Definition at line 34 of file cinergyT2-core.c.

uint8_t flags

Definition at line 84 of file cinergyT2.h.

__le32 freq

Definition at line 81 of file cinergyT2.h.

__le16 gain

Definition at line 85 of file cinergyT2.h.

uint8_t lock_bits

Definition at line 90 of file cinergyT2.h.

uint8_t prev_lock_bits

Definition at line 91 of file cinergyT2.h.

uint32_t rs_error_rate

Definition at line 88 of file cinergyT2.h.

uint8_t snr

Definition at line 86 of file cinergyT2.h.

__le16 tps

Definition at line 83 of file cinergyT2.h.

__le32 uncorrected_block_count

Definition at line 89 of file cinergyT2.h.

__le32 viterbi_error_rate

Definition at line 87 of file cinergyT2.h.