Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
bcm3510_priv.h File Reference

Go to the source code of this file.

Data Structures

union  bcm3510_register_value
 
struct  bcm3510_hab_cmd_get_version_info
 
struct  bcm3510_hab_cmd_ext_acquire
 
struct  bcm3510_hab_cmd_int_acquire
 
struct  bcm3510_hab_cmd_set_sr_not_listed
 
struct  bcm3510_hab_cmd_set_if_freq_not_listed
 
struct  bcm3510_hab_cmd_auto_reacquire
 
struct  bcm3510_hab_cmd_set_agc
 
struct  bcm3510_hab_cmd_auto_inversion
 
struct  bcm3510_hab_cmd_bert_control
 
struct  bcm3510_hab_cmd_tri_state
 
struct  bcm3510_hab_cmd_tune_ctrl_data_pair
 
struct  bcm3510_hab_cmd_tune
 
struct  bcm3510_hab_cmd_status1
 
struct  bcm3510_hab_cmd_status2
 

Macros

#define PACKED   __attribute__((packed))
 
#define err(format, arg...)   printk(KERN_ERR "bcm3510: " format "\n" , ## arg)
 
#define info(format, arg...)   printk(KERN_INFO "bcm3510: " format "\n" , ## arg)
 
#define warn(format, arg...)   printk(KERN_WARNING "bcm3510: " format "\n" , ## arg)
 
#define PANASONIC_FIRST_IF_BASE_IN_KHz   1407500
 
#define BCM3510_SYMBOL_RATE   5381000
 
#define JDEC_WAIT_AT_RAM   0x7
 
#define JDEC_EEPROM_LOAD_WAIT   0x4
 
#define CMD_GET_VERSION_INFO   0x3D
 
#define MSGID_GET_VERSION_INFO   0x15
 
#define BCM3510_DEF_MICROCODE_VERSION   0x0E
 
#define BCM3510_DEF_SCRIPT_VERSION   0x06
 
#define BCM3510_DEF_CONFIG_VERSION   0x01
 
#define BCM3510_DEF_DEMOD_VERSION   0xB1
 
#define CMD_ACQUIRE   0x38
 
#define MSGID_EXT_TUNER_ACQUIRE   0x0A
 
#define MSGID_INT_TUNER_ACQUIRE   0x0B
 
#define BCM3510_QAM16   = 0x01
 
#define BCM3510_QAM32   = 0x02
 
#define BCM3510_QAM64   = 0x03
 
#define BCM3510_QAM128   = 0x04
 
#define BCM3510_QAM256   = 0x05
 
#define BCM3510_8VSB   = 0x0B
 
#define BCM3510_16VSB   = 0x0D
 
#define BCM3510_IF_TERRESTRIAL   0x0
 
#define BCM3510_IF_CABLE   0x1
 
#define BCM3510_IF_USE_CMD   0x7
 
#define BCM3510_SR_8VSB   0x0 /* 5381119 s/sec */
 
#define BCM3510_SR_256QAM   0x1 /* 5360537 s/sec */
 
#define BCM3510_SR_16QAM   0x2 /* 5056971 s/sec */
 
#define BCM3510_SR_MISC   0x3 /* 5000000 s/sec */
 
#define BCM3510_SR_USE_CMD   0x7
 
#define CMD_SET_VALUE_NOT_LISTED   0x2d
 
#define MSGID_SET_SYMBOL_RATE_NOT_LISTED   0x0c
 
#define MSGID_SET_IF_FREQ_NOT_LISTED   0x0d
 
#define CMD_AUTO_PARAM   0x2a
 
#define MSGID_AUTO_REACQUIRE   0x0e
 
#define MSGID_SET_RF_AGC_SEL   0x12
 
#define MSGID_SET_AUTO_INVERSION   0x14
 
#define CMD_STATE_CONTROL   0x12
 
#define MSGID_BERT_CONTROL   0x0e
 
#define MSGID_BERT_SET   0xfa
 
#define MSGID_TRI_STATE   0x2e
 
#define CMD_TUNE   0x38
 
#define MSGID_TUNE   0x16
 
#define BITS_8   0x07
 
#define BITS_7   0x06
 
#define BITS_6   0x05
 
#define BITS_5   0x04
 
#define BITS_4   0x03
 
#define BITS_3   0x02
 
#define BITS_2   0x01
 
#define BITS_1   0x00
 
#define CMD_STATUS   0x38
 
#define MSGID_STATUS1   0x08
 
#define MSGID_STATUS2   0x14
 
#define CMD_SET_RF_BW_NOT_LISTED   0x3f
 
#define MSGID_SET_RF_BW_NOT_LISTED   0x11
 

Variables

struct
bcm3510_hab_cmd_get_version_info 
PACKED
 

Macro Definition Documentation

#define BCM3510_16VSB   = 0x0D

Definition at line 247 of file bcm3510_priv.h.

#define BCM3510_8VSB   = 0x0B

Definition at line 246 of file bcm3510_priv.h.

#define BCM3510_DEF_CONFIG_VERSION   0x01

Definition at line 180 of file bcm3510_priv.h.

#define BCM3510_DEF_DEMOD_VERSION   0xB1

Definition at line 181 of file bcm3510_priv.h.

#define BCM3510_DEF_MICROCODE_VERSION   0x0E

Definition at line 178 of file bcm3510_priv.h.

#define BCM3510_DEF_SCRIPT_VERSION   0x06

Definition at line 179 of file bcm3510_priv.h.

#define BCM3510_IF_CABLE   0x1

Definition at line 251 of file bcm3510_priv.h.

#define BCM3510_IF_TERRESTRIAL   0x0

Definition at line 250 of file bcm3510_priv.h.

#define BCM3510_IF_USE_CMD   0x7

Definition at line 252 of file bcm3510_priv.h.

#define BCM3510_QAM128   = 0x04

Definition at line 244 of file bcm3510_priv.h.

#define BCM3510_QAM16   = 0x01

Definition at line 241 of file bcm3510_priv.h.

#define BCM3510_QAM256   = 0x05

Definition at line 245 of file bcm3510_priv.h.

#define BCM3510_QAM32   = 0x02

Definition at line 242 of file bcm3510_priv.h.

#define BCM3510_QAM64   = 0x03

Definition at line 243 of file bcm3510_priv.h.

#define BCM3510_SR_16QAM   0x2 /* 5056971 s/sec */

Definition at line 257 of file bcm3510_priv.h.

#define BCM3510_SR_256QAM   0x1 /* 5360537 s/sec */

Definition at line 256 of file bcm3510_priv.h.

#define BCM3510_SR_8VSB   0x0 /* 5381119 s/sec */

Definition at line 255 of file bcm3510_priv.h.

#define BCM3510_SR_MISC   0x3 /* 5000000 s/sec */

Definition at line 258 of file bcm3510_priv.h.

#define BCM3510_SR_USE_CMD   0x7

Definition at line 259 of file bcm3510_priv.h.

#define BCM3510_SYMBOL_RATE   5381000

Definition at line 36 of file bcm3510_priv.h.

#define BITS_1   0x00

Definition at line 333 of file bcm3510_priv.h.

#define BITS_2   0x01

Definition at line 332 of file bcm3510_priv.h.

#define BITS_3   0x02

Definition at line 331 of file bcm3510_priv.h.

#define BITS_4   0x03

Definition at line 330 of file bcm3510_priv.h.

#define BITS_5   0x04

Definition at line 329 of file bcm3510_priv.h.

#define BITS_6   0x05

Definition at line 328 of file bcm3510_priv.h.

#define BITS_7   0x06

Definition at line 327 of file bcm3510_priv.h.

#define BITS_8   0x07

Definition at line 326 of file bcm3510_priv.h.

#define CMD_ACQUIRE   0x38

Definition at line 184 of file bcm3510_priv.h.

#define CMD_AUTO_PARAM   0x2a

Definition at line 281 of file bcm3510_priv.h.

#define CMD_GET_VERSION_INFO   0x3D

Definition at line 169 of file bcm3510_priv.h.

#define CMD_SET_RF_BW_NOT_LISTED   0x3f

Definition at line 456 of file bcm3510_priv.h.

#define CMD_SET_VALUE_NOT_LISTED   0x2d

Definition at line 262 of file bcm3510_priv.h.

#define CMD_STATE_CONTROL   0x12

Definition at line 303 of file bcm3510_priv.h.

#define CMD_STATUS   0x38

Definition at line 354 of file bcm3510_priv.h.

#define CMD_TUNE   0x38

Definition at line 322 of file bcm3510_priv.h.

#define err (   format,
  arg... 
)    printk(KERN_ERR "bcm3510: " format "\n" , ## arg)

Definition at line 28 of file bcm3510_priv.h.

#define info (   format,
  arg... 
)    printk(KERN_INFO "bcm3510: " format "\n" , ## arg)

Definition at line 30 of file bcm3510_priv.h.

#define JDEC_EEPROM_LOAD_WAIT   0x4

Definition at line 121 of file bcm3510_priv.h.

#define JDEC_WAIT_AT_RAM   0x7

Definition at line 120 of file bcm3510_priv.h.

#define MSGID_AUTO_REACQUIRE   0x0e

Definition at line 282 of file bcm3510_priv.h.

#define MSGID_BERT_CONTROL   0x0e

Definition at line 304 of file bcm3510_priv.h.

#define MSGID_BERT_SET   0xfa

Definition at line 305 of file bcm3510_priv.h.

#define MSGID_EXT_TUNER_ACQUIRE   0x0A

Definition at line 186 of file bcm3510_priv.h.

#define MSGID_GET_VERSION_INFO   0x15

Definition at line 170 of file bcm3510_priv.h.

#define MSGID_INT_TUNER_ACQUIRE   0x0B

Definition at line 211 of file bcm3510_priv.h.

#define MSGID_SET_AUTO_INVERSION   0x14

Definition at line 295 of file bcm3510_priv.h.

#define MSGID_SET_IF_FREQ_NOT_LISTED   0x0d

Definition at line 272 of file bcm3510_priv.h.

#define MSGID_SET_RF_AGC_SEL   0x12

Definition at line 288 of file bcm3510_priv.h.

#define MSGID_SET_RF_BW_NOT_LISTED   0x11

Definition at line 457 of file bcm3510_priv.h.

#define MSGID_SET_SYMBOL_RATE_NOT_LISTED   0x0c

Definition at line 263 of file bcm3510_priv.h.

#define MSGID_STATUS1   0x08

Definition at line 355 of file bcm3510_priv.h.

#define MSGID_STATUS2   0x14

Definition at line 417 of file bcm3510_priv.h.

#define MSGID_TRI_STATE   0x2e

Definition at line 311 of file bcm3510_priv.h.

#define MSGID_TUNE   0x16

Definition at line 323 of file bcm3510_priv.h.

Definition at line 25 of file bcm3510_priv.h.

#define PANASONIC_FIRST_IF_BASE_IN_KHz   1407500

Definition at line 35 of file bcm3510_priv.h.

#define warn (   format,
  arg... 
)    printk(KERN_WARNING "bcm3510: " format "\n" , ## arg)

Definition at line 32 of file bcm3510_priv.h.

Variable Documentation