Go to the documentation of this file.
17 #ifndef _DVB_USB_GP8PSK_H_
18 #define _DVB_USB_GP8PSK_H_
20 #define DVB_USB_LOG_PREFIX "gp8psk"
24 #define deb_info(args...) dprintk(dvb_usb_gp8psk_debug,0x01,args)
25 #define deb_xfer(args...) dprintk(dvb_usb_gp8psk_debug,0x02,args)
26 #define deb_rc(args...) dprintk(dvb_usb_gp8psk_debug,0x04,args)
27 #define deb_fe(args...) dprintk(dvb_usb_gp8psk_debug,0x08,args)
30 #define TH_COMMAND_IN 0xC0
31 #define TH_COMMAND_OUT 0xC1
35 #define GET_8PSK_CONFIG 0x80
36 #define SET_8PSK_CONFIG 0x81
37 #define I2C_WRITE 0x83
39 #define ARM_TRANSFER 0x85
40 #define TUNE_8PSK 0x86
41 #define GET_SIGNAL_STRENGTH 0x87
42 #define LOAD_BCM4500 0x88
43 #define BOOT_8PSK 0x89
44 #define START_INTERSIL 0x8A
45 #define SET_LNB_VOLTAGE 0x8B
46 #define SET_22KHZ_TONE 0x8C
47 #define SEND_DISEQC_COMMAND 0x8D
48 #define SET_DVB_MODE 0x8E
49 #define SET_DN_SWITCH 0x8F
50 #define GET_SIGNAL_LOCK 0x90
51 #define GET_FW_VERS 0x92
52 #define GET_SERIAL_NUMBER 0x93
53 #define USE_EXTRA_VOLT 0x94
54 #define GET_FPGA_VERS 0x95
55 #define CW3K_INIT 0x9d
58 #define bm8pskStarted 0x01
59 #define bm8pskFW_Loaded 0x02
60 #define bmIntersilOn 0x04
61 #define bmDVBmode 0x08
64 #define bmDCtuned 0x40
68 #define ADV_MOD_DVB_QPSK 0
69 #define ADV_MOD_TURBO_QPSK 1
70 #define ADV_MOD_TURBO_8PSK 2
71 #define ADV_MOD_TURBO_16QAM 3
73 #define ADV_MOD_DCII_C_QPSK 4
74 #define ADV_MOD_DCII_I_QPSK 5
75 #define ADV_MOD_DCII_Q_QPSK 6
76 #define ADV_MOD_DCII_C_OQPSK 7
77 #define ADV_MOD_DSS_QPSK 8
78 #define ADV_MOD_DVB_BPSK 9
80 #define GET_USB_SPEED 0x07
82 #define RESET_FX2 0x13
84 #define FW_VERSION_READ 0x0B
85 #define VENDOR_STRING_READ 0x0C
86 #define PRODUCT_STRING_READ 0x0D
87 #define FW_BCD_VERSION_READ 0x14
90 #define GP8PSK_FW_REV1 0x020604
91 #define GP8PSK_FW_REV2 0x020704
92 #define GP8PSK_FW_VERS(_fw_vers) ((_fw_vers)[2]<<0x10 | (_fw_vers)[1]<<0x08 | (_fw_vers)[0])