Go to the documentation of this file.
22 #ifndef __BCM3510_PRIV_H__
23 #define __BCM3510_PRIV_H__
25 #define PACKED __attribute__((packed))
28 #define err(format, arg...) printk(KERN_ERR "bcm3510: " format "\n" , ## arg)
30 #define info(format, arg...) printk(KERN_INFO "bcm3510: " format "\n" , ## arg)
32 #define warn(format, arg...) printk(KERN_WARNING "bcm3510: " format "\n" , ## arg)
35 #define PANASONIC_FIRST_IF_BASE_IN_KHz 1407500
36 #define BCM3510_SYMBOL_RATE 5381000
120 #define JDEC_WAIT_AT_RAM 0x7
121 #define JDEC_EEPROM_LOAD_WAIT 0x4
169 #define CMD_GET_VERSION_INFO 0x3D
170 #define MSGID_GET_VERSION_INFO 0x15
178 #define BCM3510_DEF_MICROCODE_VERSION 0x0E
179 #define BCM3510_DEF_SCRIPT_VERSION 0x06
180 #define BCM3510_DEF_CONFIG_VERSION 0x01
181 #define BCM3510_DEF_DEMOD_VERSION 0xB1
184 #define CMD_ACQUIRE 0x38
186 #define MSGID_EXT_TUNER_ACQUIRE 0x0A
211 #define MSGID_INT_TUNER_ACQUIRE 0x0B
241 #define BCM3510_QAM16 = 0x01
242 #define BCM3510_QAM32 = 0x02
243 #define BCM3510_QAM64 = 0x03
244 #define BCM3510_QAM128 = 0x04
245 #define BCM3510_QAM256 = 0x05
246 #define BCM3510_8VSB = 0x0B
247 #define BCM3510_16VSB = 0x0D
250 #define BCM3510_IF_TERRESTRIAL 0x0
251 #define BCM3510_IF_CABLE 0x1
252 #define BCM3510_IF_USE_CMD 0x7
255 #define BCM3510_SR_8VSB 0x0
256 #define BCM3510_SR_256QAM 0x1
257 #define BCM3510_SR_16QAM 0x2
258 #define BCM3510_SR_MISC 0x3
259 #define BCM3510_SR_USE_CMD 0x7
262 #define CMD_SET_VALUE_NOT_LISTED 0x2d
263 #define MSGID_SET_SYMBOL_RATE_NOT_LISTED 0x0c
272 #define MSGID_SET_IF_FREQ_NOT_LISTED 0x0d
281 #define CMD_AUTO_PARAM 0x2a
282 #define MSGID_AUTO_REACQUIRE 0x0e
288 #define MSGID_SET_RF_AGC_SEL 0x12
295 #define MSGID_SET_AUTO_INVERSION 0x14
303 #define CMD_STATE_CONTROL 0x12
304 #define MSGID_BERT_CONTROL 0x0e
305 #define MSGID_BERT_SET 0xfa
311 #define MSGID_TRI_STATE 0x2e
322 #define CMD_TUNE 0x38
323 #define MSGID_TUNE 0x16
354 #define CMD_STATUS 0x38
355 #define MSGID_STATUS1 0x08
417 #define MSGID_STATUS2 0x14
456 #define CMD_SET_RF_BW_NOT_LISTED 0x3f
457 #define MSGID_SET_RF_BW_NOT_LISTED 0x11