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

Go to the source code of this file.

Data Structures

struct  tuner_custom_parameter_s
 
struct  tuner_ber_rate_s
 
struct  tuner_atv_sig_stat_s
 
struct  tuner_dtv_sig_stat_s
 
struct  tuner_fm_sig_stat_s
 
struct  cmd_firmware_vers_s
 

Macros

#define BULK_ALTERNATE_IFACE   (2)
 
#define ISO_3K_BULK_ALTERNATE_IFACE   (1)
 
#define REQ_SET_CMD   (0X00)
 
#define REQ_GET_CMD   (0X80)
 

Enumerations

enum  tlg__analog_audio_standard {
  TLG_TUNE_ASTD_NONE = 0x00000000, TLG_TUNE_ASTD_A2 = 0x00000001, TLG_TUNE_ASTD_NICAM = 0x00000002, TLG_TUNE_ASTD_EIAJ = 0x00000004,
  TLG_TUNE_ASTD_BTSC = 0x00000008, TLG_TUNE_ASTD_FM_US = 0x00000010, TLG_TUNE_ASTD_FM_EUR = 0x00000020, TLG_TUNE_ASTD_ALL = 0x0000003f
}
 
enum  cmd_custom_param_id {
  CUST_PARM_ID_NONE = 0x00, CUST_PARM_ID_BRIGHTNESS_CTRL = 0x01, CUST_PARM_ID_CONTRAST_CTRL = 0x02, CUST_PARM_ID_HUE_CTRL = 0x03,
  CUST_PARM_ID_SATURATION_CTRL = 0x04, CUST_PARM_ID_AUDIO_SNR_THRESHOLD = 0x10, CUST_PARM_ID_AUDIO_AGC_THRESHOLD = 0x11, CUST_PARM_ID_MAX
}
 
enum  _tag_tlg_tune_srv_cmd { TLG_TUNE_PLAY_SVC_START = 1, TLG_TUNE_PLAY_SVC_STOP }
 
enum  _tag_tune_atv_audio_mode_caps {
  TLG_TUNE_TVAUDIO_MODE_MONO = 0x00000001, TLG_TUNE_TVAUDIO_MODE_STEREO = 0x00000002, TLG_TUNE_TVAUDIO_MODE_LANG_A = 0x00000010, TLG_TUNE_TVAUDIO_MODE_LANG_B = 0x00000020,
  TLG_TUNE_TVAUDIO_MODE_LANG_C = 0x00000040
}
 
enum  _tag_tuner_atv_audio_rates { ATV_AUDIO_RATE_NONE = 0x00, ATV_AUDIO_RATE_32K = 0x01, ATV_AUDIO_RATE_48K = 0x02, ATV_AUDIO_RATE_31_25K = 0x04 }
 
enum  _tag_tune_atv_vid_res_caps { TLG_TUNE_VID_RES_NONE = 0x00000000, TLG_TUNE_VID_RES_720 = 0x00000001, TLG_TUNE_VID_RES_704 = 0x00000002, TLG_TUNE_VID_RES_360 = 0x00000004 }
 
enum  _tag_tuner_analog_video_format { TLG_TUNER_VID_FORMAT_YUV = 0x00000001, TLG_TUNER_VID_FORMAT_YCRCB = 0x00000002, TLG_TUNER_VID_FORMAT_RGB_565 = 0x00000004 }
 
enum  tlg_ext_audio_support { TLG_EXT_AUDIO_NONE = 0x00, TLG_EXT_AUDIO_LR = 0x01 }
 
enum  {
  TLG_MODE_NONE = 0x00, TLG_MODE_ANALOG_TV = 0x01, TLG_MODE_ANALOG_TV_UNCOMP = 0x01, TLG_MODE_ANALOG_TV_COMP = 0x02,
  TLG_MODE_FM_RADIO = 0x04, TLG_MODE_DVB_T = 0x08
}
 
enum  tlg_signal_sources_t {
  TLG_SIG_SRC_NONE = 0x00, TLG_SIG_SRC_ANTENNA = 0x01, TLG_SIG_SRC_CABLE = 0x02, TLG_SIG_SRC_SVIDEO = 0x04,
  TLG_SIG_SRC_COMPOSITE = 0x08
}
 
enum  tuner_analog_video_standard {
  TLG_TUNE_VSTD_NONE = 0x00000000, TLG_TUNE_VSTD_NTSC_M = 0x00000001, TLG_TUNE_VSTD_NTSC_M_J = 0x00000002, TLG_TUNE_VSTD_PAL_B = 0x00000010,
  TLG_TUNE_VSTD_PAL_D = 0x00000020, TLG_TUNE_VSTD_PAL_G = 0x00000040, TLG_TUNE_VSTD_PAL_H = 0x00000080, TLG_TUNE_VSTD_PAL_I = 0x00000100,
  TLG_TUNE_VSTD_PAL_M = 0x00000200, TLG_TUNE_VSTD_PAL_N = 0x00000400, TLG_TUNE_VSTD_SECAM_B = 0x00001000, TLG_TUNE_VSTD_SECAM_D = 0x00002000,
  TLG_TUNE_VSTD_SECAM_G = 0x00004000, TLG_TUNE_VSTD_SECAM_H = 0x00008000, TLG_TUNE_VSTD_SECAM_K = 0x00010000, TLG_TUNE_VSTD_SECAM_K1 = 0x00020000,
  TLG_TUNE_VSTD_SECAM_L = 0x00040000, TLG_TUNE_VSTD_SECAM_L1 = 0x00080000, TLG_TUNE_VSTD_PAL_N_COMBO = 0x00100000
}
 
enum  tlg_mode_caps {
  TLG_MODE_CAPS_NONE = 0x00, TLG_MODE_CAPS_ANALOG_TV_UNCOMP = 0x01, TLG_MODE_CAPS_ANALOG_TV_COMP = 0x02, TLG_MODE_CAPS_FM_RADIO = 0x04,
  TLG_MODE_CAPS_DVB_T = 0x08
}
 
enum  poseidon_vendor_cmds {
  LAST_CMD_STAT = 0x00, GET_CHIP_ID = 0x01, GET_FW_ID = 0x02, PRODUCT_CAPS = 0x03,
  TUNE_MODE_CAP_ATV = 0x10, TUNE_MODE_CAP_ATVCOMP = 0X10, TUNE_MODE_CAP_DVBT = 0x10, TUNE_MODE_CAP_FM = 0x10,
  TUNE_MODE_SELECT = 0x11, TUNE_FREQ_SELECT = 0x12, SGNL_SRC_SEL = 0x13, VIDEO_STD_SEL = 0x14,
  VIDEO_STREAM_FMT_SEL = 0x15, VIDEO_ROSOLU_AVAIL = 0x16, VIDEO_ROSOLU_SEL = 0x17, VIDEO_CONT_PROTECT = 0x20,
  VCR_TIMING_MODSEL = 0x21, EXT_AUDIO_CAP = 0x22, EXT_AUDIO_SEL = 0x23, TEST_PATTERN_SEL = 0x24,
  VBI_DATA_SEL = 0x25, AUDIO_SAMPLE_RATE_CAP = 0x28, AUDIO_SAMPLE_RATE_SEL = 0x29, TUNER_AUD_MODE = 0x2a,
  TUNER_AUD_MODE_AVAIL = 0x2b, TUNER_AUD_ANA_STD = 0x2c, TUNER_CUSTOM_PARAMETER = 0x2f, DVBT_TUNE_MODE_SEL = 0x30,
  DVBT_BANDW_CAP = 0x31, DVBT_BANDW_SEL = 0x32, DVBT_GUARD_INTERV_CAP = 0x33, DVBT_GUARD_INTERV_SEL = 0x34,
  DVBT_MODULATION_CAP = 0x35, DVBT_MODULATION_SEL = 0x36, DVBT_INNER_FEC_RATE_CAP = 0x37, DVBT_INNER_FEC_RATE_SEL = 0x38,
  DVBT_TRANS_MODE_CAP = 0x39, DVBT_TRANS_MODE_SEL = 0x3a, DVBT_SEARCH_RANG = 0x3c, TUNER_SETUP_ANALOG = 0x40,
  TUNER_SETUP_DIGITAL = 0x41, TUNER_SETUP_FM_RADIO = 0x42, TAKE_REQUEST = 0x43, PLAY_SERVICE = 0x44,
  TUNER_STATUS = 0x45, TUNE_PROP_DVBT = 0x46, ERR_RATE_STATS = 0x47, TUNER_BER_RATE = 0x48,
  SCAN_CAPS = 0x50, SCAN_SETUP = 0x51, SCAN_SERVICE = 0x52, SCAN_STATS = 0x53,
  PID_SET = 0x58, PID_UNSET = 0x59, PID_LIST = 0x5a, IRD_CAP = 0x60,
  IRD_MODE_SEL = 0x61, IRD_SETUP = 0x62, PTM_MODE_CAP = 0x70, PTM_MODE_SEL = 0x71,
  PTM_SERVICE = 0x72, TUNER_REG_SCRIPT = 0x73, CMD_CHIP_RST = 0x74
}
 
enum  tlg_bw {
  TLG_BW_5 = 5, TLG_BW_6 = 6, TLG_BW_7 = 7, TLG_BW_8 = 8,
  TLG_BW_12 = 12, TLG_BW_15 = 15
}
 

Macro Definition Documentation

#define BULK_ALTERNATE_IFACE   (2)

Definition at line 4 of file vendorcmds.h.

#define ISO_3K_BULK_ALTERNATE_IFACE   (1)

Definition at line 5 of file vendorcmds.h.

#define REQ_GET_CMD   (0X80)

Definition at line 7 of file vendorcmds.h.

#define REQ_SET_CMD   (0X00)

Definition at line 6 of file vendorcmds.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
TLG_MODE_NONE 
TLG_MODE_ANALOG_TV 
TLG_MODE_ANALOG_TV_UNCOMP 
TLG_MODE_ANALOG_TV_COMP 
TLG_MODE_FM_RADIO 
TLG_MODE_DVB_T 

Definition at line 107 of file vendorcmds.h.

Enumerator:
TLG_TUNE_PLAY_SVC_START 
TLG_TUNE_PLAY_SVC_STOP 

Definition at line 68 of file vendorcmds.h.

Enumerator:
TLG_TUNE_TVAUDIO_MODE_MONO 
TLG_TUNE_TVAUDIO_MODE_STEREO 
TLG_TUNE_TVAUDIO_MODE_LANG_A 
TLG_TUNE_TVAUDIO_MODE_LANG_B 
TLG_TUNE_TVAUDIO_MODE_LANG_C 

Definition at line 73 of file vendorcmds.h.

Enumerator:
TLG_TUNE_VID_RES_NONE 
TLG_TUNE_VID_RES_720 
TLG_TUNE_VID_RES_704 
TLG_TUNE_VID_RES_360 

Definition at line 89 of file vendorcmds.h.

Enumerator:
TLG_TUNER_VID_FORMAT_YUV 
TLG_TUNER_VID_FORMAT_YCRCB 
TLG_TUNER_VID_FORMAT_RGB_565 

Definition at line 96 of file vendorcmds.h.

Enumerator:
ATV_AUDIO_RATE_NONE 
ATV_AUDIO_RATE_32K 
ATV_AUDIO_RATE_48K 
ATV_AUDIO_RATE_31_25K 

Definition at line 82 of file vendorcmds.h.

Enumerator:
CUST_PARM_ID_NONE 
CUST_PARM_ID_BRIGHTNESS_CTRL 
CUST_PARM_ID_CONTRAST_CTRL 
CUST_PARM_ID_HUE_CTRL 
CUST_PARM_ID_SATURATION_CTRL 
CUST_PARM_ID_AUDIO_SNR_THRESHOLD 
CUST_PARM_ID_AUDIO_AGC_THRESHOLD 
CUST_PARM_ID_MAX 

Definition at line 24 of file vendorcmds.h.

Enumerator:
LAST_CMD_STAT 
GET_CHIP_ID 
GET_FW_ID 
PRODUCT_CAPS 
TUNE_MODE_CAP_ATV 
TUNE_MODE_CAP_ATVCOMP 
TUNE_MODE_CAP_DVBT 
TUNE_MODE_CAP_FM 
TUNE_MODE_SELECT 
TUNE_FREQ_SELECT 
SGNL_SRC_SEL 
VIDEO_STD_SEL 
VIDEO_STREAM_FMT_SEL 
VIDEO_ROSOLU_AVAIL 
VIDEO_ROSOLU_SEL 
VIDEO_CONT_PROTECT 
VCR_TIMING_MODSEL 
EXT_AUDIO_CAP 
EXT_AUDIO_SEL 
TEST_PATTERN_SEL 
VBI_DATA_SEL 
AUDIO_SAMPLE_RATE_CAP 
AUDIO_SAMPLE_RATE_SEL 
TUNER_AUD_MODE 
TUNER_AUD_MODE_AVAIL 
TUNER_AUD_ANA_STD 
TUNER_CUSTOM_PARAMETER 
DVBT_TUNE_MODE_SEL 
DVBT_BANDW_CAP 
DVBT_BANDW_SEL 
DVBT_GUARD_INTERV_CAP 
DVBT_GUARD_INTERV_SEL 
DVBT_MODULATION_CAP 
DVBT_MODULATION_SEL 
DVBT_INNER_FEC_RATE_CAP 
DVBT_INNER_FEC_RATE_SEL 
DVBT_TRANS_MODE_CAP 
DVBT_TRANS_MODE_SEL 
DVBT_SEARCH_RANG 
TUNER_SETUP_ANALOG 
TUNER_SETUP_DIGITAL 
TUNER_SETUP_FM_RADIO 
TAKE_REQUEST 
PLAY_SERVICE 
TUNER_STATUS 
TUNE_PROP_DVBT 
ERR_RATE_STATS 
TUNER_BER_RATE 
SCAN_CAPS 
SCAN_SETUP 
SCAN_SERVICE 
SCAN_STATS 
PID_SET 
PID_UNSET 
PID_LIST 
IRD_CAP 
IRD_MODE_SEL 
IRD_SETUP 
PTM_MODE_CAP 
PTM_MODE_SEL 
PTM_SERVICE 
TUNER_REG_SCRIPT 
CMD_CHIP_RST 

Definition at line 154 of file vendorcmds.h.

Enumerator:
TLG_TUNE_ASTD_NONE 
TLG_TUNE_ASTD_A2 
TLG_TUNE_ASTD_NICAM 
TLG_TUNE_ASTD_EIAJ 
TLG_TUNE_ASTD_BTSC 
TLG_TUNE_ASTD_FM_US 
TLG_TUNE_ASTD_FM_EUR 
TLG_TUNE_ASTD_ALL 

Definition at line 9 of file vendorcmds.h.

enum tlg_bw
Enumerator:
TLG_BW_5 
TLG_BW_6 
TLG_BW_7 
TLG_BW_8 
TLG_BW_12 
TLG_BW_15 

Definition at line 229 of file vendorcmds.h.

Enumerator:
TLG_EXT_AUDIO_NONE 
TLG_EXT_AUDIO_LR 

Definition at line 102 of file vendorcmds.h.

Enumerator:
TLG_MODE_CAPS_NONE 
TLG_MODE_CAPS_ANALOG_TV_UNCOMP 
TLG_MODE_CAPS_ANALOG_TV_COMP 
TLG_MODE_CAPS_FM_RADIO 
TLG_MODE_CAPS_DVB_T 

Definition at line 146 of file vendorcmds.h.

Enumerator:
TLG_SIG_SRC_NONE 
TLG_SIG_SRC_ANTENNA 
TLG_SIG_SRC_CABLE 
TLG_SIG_SRC_SVIDEO 
TLG_SIG_SRC_COMPOSITE 

Definition at line 116 of file vendorcmds.h.

Enumerator:
TLG_TUNE_VSTD_NONE 
TLG_TUNE_VSTD_NTSC_M 
TLG_TUNE_VSTD_NTSC_M_J 
TLG_TUNE_VSTD_PAL_B 
TLG_TUNE_VSTD_PAL_D 
TLG_TUNE_VSTD_PAL_G 
TLG_TUNE_VSTD_PAL_H 
TLG_TUNE_VSTD_PAL_I 
TLG_TUNE_VSTD_PAL_M 
TLG_TUNE_VSTD_PAL_N 
TLG_TUNE_VSTD_SECAM_B 
TLG_TUNE_VSTD_SECAM_D 
TLG_TUNE_VSTD_SECAM_G 
TLG_TUNE_VSTD_SECAM_H 
TLG_TUNE_VSTD_SECAM_K 
TLG_TUNE_VSTD_SECAM_K1 
TLG_TUNE_VSTD_SECAM_L 
TLG_TUNE_VSTD_SECAM_L1 
TLG_TUNE_VSTD_PAL_N_COMBO 

Definition at line 124 of file vendorcmds.h.