Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
af9015.h File Reference
#include <linux/hash.h>
#include "dvb_usb.h"
#include "af9013.h"
#include "dvb-pll.h"
#include "mt2060.h"
#include "qt1010.h"
#include "tda18271.h"
#include "mxl5005s.h"
#include "mc44s803.h"
#include "tda18218.h"
#include "mxl5007t.h"

Go to the source code of this file.

Data Structures

struct  req_t
 
struct  af9015_state
 

Macros

#define AF9015_FIRMWARE   "dvb-usb-af9015.fw"
 
#define TS_PACKET_SIZE   188
 
#define TS_USB20_PACKET_COUNT   87
 
#define TS_USB20_FRAME_SIZE   (TS_PACKET_SIZE*TS_USB20_PACKET_COUNT)
 
#define TS_USB11_PACKET_COUNT   5
 
#define TS_USB11_FRAME_SIZE   (TS_PACKET_SIZE*TS_USB11_PACKET_COUNT)
 
#define TS_USB20_MAX_PACKET_SIZE   512
 
#define TS_USB11_MAX_PACKET_SIZE   64
 
#define AF9015_I2C_EEPROM   0xa0
 
#define AF9015_I2C_DEMOD   0x38
 
#define AF9015_USB_TIMEOUT   2000
 
#define AF9015_EEPROM_IR_MODE   0x18
 
#define AF9015_EEPROM_IR_REMOTE_TYPE   0x34
 
#define AF9015_EEPROM_TS_MODE   0x31
 
#define AF9015_EEPROM_DEMOD2_I2C   0x32
 
#define AF9015_EEPROM_SAW_BW1   0x35
 
#define AF9015_EEPROM_XTAL_TYPE1   0x36
 
#define AF9015_EEPROM_SPEC_INV1   0x37
 
#define AF9015_EEPROM_IF1L   0x38
 
#define AF9015_EEPROM_IF1H   0x39
 
#define AF9015_EEPROM_MT2060_IF1L   0x3a
 
#define AF9015_EEPROM_MT2060_IF1H   0x3b
 
#define AF9015_EEPROM_TUNER_ID1   0x3c
 
#define AF9015_EEPROM_SAW_BW2   0x45
 
#define AF9015_EEPROM_XTAL_TYPE2   0x46
 
#define AF9015_EEPROM_SPEC_INV2   0x47
 
#define AF9015_EEPROM_IF2L   0x48
 
#define AF9015_EEPROM_IF2H   0x49
 
#define AF9015_EEPROM_MT2060_IF2L   0x4a
 
#define AF9015_EEPROM_MT2060_IF2H   0x4b
 
#define AF9015_EEPROM_TUNER_ID2   0x4c
 
#define AF9015_EEPROM_OFFSET   (AF9015_EEPROM_SAW_BW2 - AF9015_EEPROM_SAW_BW1)
 

Enumerations

enum  af9015_cmd {
  GET_CONFIG = 0x10, DOWNLOAD_FIRMWARE = 0x11, BOOT = 0x13, READ_MEMORY = 0x20,
  WRITE_MEMORY = 0x21, READ_WRITE_I2C = 0x22, COPY_FIRMWARE = 0x23, RECONNECT_USB = 0x5a,
  WRITE_VIRTUAL_MEMORY = 0x26, GET_IR_CODE = 0x27, READ_I2C, WRITE_I2C
}
 
enum  af9015_ir_mode {
  AF9015_IR_MODE_DISABLED = 0, AF9015_IR_MODE_HID, AF9015_IR_MODE_RLC, AF9015_IR_MODE_RC6,
  AF9015_IR_MODE_POLLING
}
 
enum  af9015_remote {
  AF9015_REMOTE_NONE = 0, AF9015_REMOTE_A_LINK_DTU_M, AF9015_REMOTE_MSI_DIGIVOX_MINI_II_V3, AF9015_REMOTE_MYGICTV_U718,
  AF9015_REMOTE_DIGITTRADE_DVB_T, AF9015_REMOTE_AVERMEDIA_KS
}
 

Macro Definition Documentation

#define AF9015_EEPROM_DEMOD2_I2C   0x32

Definition at line 62 of file af9015.h.

#define AF9015_EEPROM_IF1H   0x39

Definition at line 68 of file af9015.h.

#define AF9015_EEPROM_IF1L   0x38

Definition at line 67 of file af9015.h.

#define AF9015_EEPROM_IF2H   0x49

Definition at line 77 of file af9015.h.

#define AF9015_EEPROM_IF2L   0x48

Definition at line 76 of file af9015.h.

#define AF9015_EEPROM_IR_MODE   0x18

Definition at line 59 of file af9015.h.

#define AF9015_EEPROM_IR_REMOTE_TYPE   0x34

Definition at line 60 of file af9015.h.

#define AF9015_EEPROM_MT2060_IF1H   0x3b

Definition at line 70 of file af9015.h.

#define AF9015_EEPROM_MT2060_IF1L   0x3a

Definition at line 69 of file af9015.h.

#define AF9015_EEPROM_MT2060_IF2H   0x4b

Definition at line 79 of file af9015.h.

#define AF9015_EEPROM_MT2060_IF2L   0x4a

Definition at line 78 of file af9015.h.

#define AF9015_EEPROM_OFFSET   (AF9015_EEPROM_SAW_BW2 - AF9015_EEPROM_SAW_BW1)

Definition at line 82 of file af9015.h.

#define AF9015_EEPROM_SAW_BW1   0x35

Definition at line 64 of file af9015.h.

#define AF9015_EEPROM_SAW_BW2   0x45

Definition at line 73 of file af9015.h.

#define AF9015_EEPROM_SPEC_INV1   0x37

Definition at line 66 of file af9015.h.

#define AF9015_EEPROM_SPEC_INV2   0x47

Definition at line 75 of file af9015.h.

#define AF9015_EEPROM_TS_MODE   0x31

Definition at line 61 of file af9015.h.

#define AF9015_EEPROM_TUNER_ID1   0x3c

Definition at line 71 of file af9015.h.

#define AF9015_EEPROM_TUNER_ID2   0x4c

Definition at line 80 of file af9015.h.

#define AF9015_EEPROM_XTAL_TYPE1   0x36

Definition at line 65 of file af9015.h.

#define AF9015_EEPROM_XTAL_TYPE2   0x46

Definition at line 74 of file af9015.h.

#define AF9015_FIRMWARE   "dvb-usb-af9015.fw"

Definition at line 39 of file af9015.h.

#define AF9015_I2C_DEMOD   0x38

Definition at line 55 of file af9015.h.

#define AF9015_I2C_EEPROM   0xa0

Definition at line 54 of file af9015.h.

#define AF9015_USB_TIMEOUT   2000

Definition at line 56 of file af9015.h.

#define TS_PACKET_SIZE   188

Definition at line 43 of file af9015.h.

#define TS_USB11_FRAME_SIZE   (TS_PACKET_SIZE*TS_USB11_PACKET_COUNT)

Definition at line 49 of file af9015.h.

#define TS_USB11_MAX_PACKET_SIZE   64

Definition at line 52 of file af9015.h.

#define TS_USB11_PACKET_COUNT   5

Definition at line 48 of file af9015.h.

#define TS_USB20_FRAME_SIZE   (TS_PACKET_SIZE*TS_USB20_PACKET_COUNT)

Definition at line 46 of file af9015.h.

#define TS_USB20_MAX_PACKET_SIZE   512

Definition at line 51 of file af9015.h.

#define TS_USB20_PACKET_COUNT   87

Definition at line 45 of file af9015.h.

Enumeration Type Documentation

enum af9015_cmd
Enumerator:
GET_CONFIG 
DOWNLOAD_FIRMWARE 
BOOT 
READ_MEMORY 
WRITE_MEMORY 
READ_WRITE_I2C 
COPY_FIRMWARE 
RECONNECT_USB 
WRITE_VIRTUAL_MEMORY 
GET_IR_CODE 
READ_I2C 
WRITE_I2C 

Definition at line 95 of file af9015.h.

Enumerator:
AF9015_IR_MODE_DISABLED 
AF9015_IR_MODE_HID 
AF9015_IR_MODE_RLC 
AF9015_IR_MODE_RC6 
AF9015_IR_MODE_POLLING 

Definition at line 110 of file af9015.h.

Enumerator:
AF9015_REMOTE_NONE 
AF9015_REMOTE_A_LINK_DTU_M 
AF9015_REMOTE_MSI_DIGIVOX_MINI_II_V3 
AF9015_REMOTE_MYGICTV_U718 
AF9015_REMOTE_DIGITTRADE_DVB_T 
AF9015_REMOTE_AVERMEDIA_KS 

Definition at line 142 of file af9015.h.