Lines Matching +full:standard +full:- +full:mode

2   Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc.
59 /*------------------------------------------------------------------------------
61 ------------------------------------------------------------------------------*/
68 * \retval -EIO Initialization failed.
77 * \retval -EIO Termination failed.
97 * \retval -EIO Failure.
98 * \retval -EINVAL Parameter 'wcount' is not zero but parameter
132 #define TUNER_MODE_SUB0 0x0001 /* for sub-mode (e.g. RF-AGC setting) */
133 #define TUNER_MODE_SUB1 0x0002 /* for sub-mode (e.g. RF-AGC setting) */
134 #define TUNER_MODE_SUB2 0x0004 /* for sub-mode (e.g. RF-AGC setting) */
135 #define TUNER_MODE_SUB3 0x0008 /* for sub-mode (e.g. RF-AGC setting) */
136 #define TUNER_MODE_SUB4 0x0010 /* for sub-mode (e.g. RF-AGC setting) */
137 #define TUNER_MODE_SUB5 0x0020 /* for sub-mode (e.g. RF-AGC setting) */
138 #define TUNER_MODE_SUB6 0x0040 /* for sub-mode (e.g. RF-AGC setting) */
139 #define TUNER_MODE_SUB7 0x0080 /* for sub-mode (e.g. RF-AGC setting) */
141 #define TUNER_MODE_DIGITAL 0x0100 /* for digital channel (e.g. DVB-T) */
166 u8 sub_mode; /* Index to sub-mode in use */
167 char ***sub_mode_descriptions; /* Pointer to description of sub-modes */
168 u8 sub_modes; /* Number of available sub-modes */
187 u32 mode,
192 u32 mode,
228 u32 mode,
232 u32 mode,
251 * \brief Enable I2C single or I2C multimaster mode on host.
253 * Set to 1 to enable single master mode
254 * Set to 0 to enable multi master mode
258 * overrides or cannot handle the mode defined below.
340 * \brief OOB-RX capability flag
342 * Device has OOB-RX
354 * \brief DVB-T capability flag
356 * Device has DVB-T
361 * \brief ITU-B capability flag
363 * Device has ITU-B
410 * \brief SMA-TX capability flag
417 * \brief SMA-RX capability flag
424 * \brief ITU-A/C capability flag
426 * Device has ITU-A/C
431 /*-------------------------------------------------------------------------
433 -------------------------------------------------------------------------*/
446 * x->lowbyte(x), highbyte(x)
459 /*-------------------------------------------------------------------------
461 -------------------------------------------------------------------------*/
468 DRX_STANDARD_DVBT = 0, /*< Terrestrial DVB-T. */
488 DRX_STANDARD_DTMB, /*< Terrestrial DTMB standard (China)*/
490 /*< Standard unknown. */
492 /*< Autodetect standard. */
497 * \brief Modulation sub-standards.
500 DRX_SUBSTANDARD_MAIN = 0, /*< Main subvariant of standard */
505 /*< Sub-standard unknown. */
507 /*< Auto (default) sub-standard */
618 * \brief FFT mode.
621 DRX_FFTMODE_2K = 0, /*< 2K FFT mode. */
622 DRX_FFTMODE_4K, /*< 4K FFT mode. */
623 DRX_FFTMODE_8K, /*< 8K FFT mode. */
625 /*< FFT mode unknown. */
627 /*< Autodetect FFT mode. */
637 DRX_CLASSIFICATION_COCHANNEL, /*< Co-channel. */
675 /*< Unknown interleave mode */
677 /*< Autodetect interleave mode */
682 * \brief Channel Carrier Mode.
685 DRX_CARRIER_MULTI = 0, /*< Multi carrier mode */
686 DRX_CARRIER_SINGLE, /*< Single carrier mode */
688 /*< Carrier mode unknown. */
689 DRX_CARRIER_AUTO = DRX_AUTO /*< Autodetect carrier mode */
694 * \brief Channel Frame Mode.
705 /*< Frame mode unknown. */
707 /*< Autodetect frame mode */
712 * \brief Frame number in current super-frame.
749 * enum drxu_code_action - indicate if firmware has to be uploaded or verified.
845 * DRX_UIO_MODE_FIRMWARE is an old uio mode.
872 * \enum enum drxoob_downstream_standard * \brief Used to select OOB standard.
874 * Based on ANSI 55-1 and 55-2
878 /*< ANSI 55-1 */
880 /*< ANSI 55-2 A */
882 /*< ANSI 55-2 B */
885 /*-------------------------------------------------------------------------
887 -------------------------------------------------------------------------*/
903 #define DRX_CFG_PINSAFE (DRX_CFG_BASE + 4) /* Pin safe mode */
915 #define DRX_CFG_ATV_STANDARD (DRX_CFG_BASE + 16) /* ATV standard */
941 * o major number = bits 31-20 (first three nibbles of MSW)
942 * o minor number = bits 19-16 (fourth nibble of MSW)
943 * o patch number = bits 15-0 (remaining nibbles in LSW)
949 * - mc_dev_type == 0 => any device allowed
950 * - mc_base_version == 0.0.0 => full microcode (mc_version is the version)
951 * - mc_base_version != 0.0.0 => patch microcode, the base microcode version
957 u16 aux_type; /* type of aux data - 0x8000 for version record */
988 * Only certain fields need to be used for a specific standard.
1014 /*< frame mode */
1015 enum drx_pilot_mode pilot; /*< pilot mode */
1079 void *ext_params; /*< Standard specific params */
1107 * \struct struct drxtps_info * TPS information, DVB-T specific.
1112 enum drx_fft_mode fftmode; /*< Fft mode */
1130 * \brief Power mode of device.
1136 /*< Generic , Power Up Mode */
1138 /*< Device specific , Power Up Mode */
1140 /*< Device specific , Power Up Mode */
1142 /*< Device specific , Power Up Mode */
1144 /*< Device specific , Power Up Mode */
1146 /*< Device specific , Power Up Mode */
1148 /*< Device specific , Power Up Mode */
1150 /*< Device specific , Power Up Mode */
1152 /*< Device specific , Power Up Mode */
1155 /*< Device specific , Power Down Mode */
1157 /*< Device specific , Power Down Mode */
1159 /*< Device specific , Power Down Mode */
1161 /*< Device specific , Power Down Mode */
1163 /*< Device specific , Power Down Mode */
1165 /*< Device specific , Power Down Mode */
1167 /*< Device specific , Power Down Mode */
1169 /*< Device specific , Power Down Mode */
1171 /*< Generic , Power Down Mode */
1230 enum drxuio_mode mode; member
1231 /*< UIO operational mode */
1257 enum drxoob_downstream_standard standard; member
1258 /*< OOB standard */
1357 * \enum enum drx_aud_standard * \brief Audio standard identifier.
1362 DRX_AUD_STANDARD_BTSC, /*< set BTSC standard (USA) */
1363 DRX_AUD_STANDARD_A2, /*< set A2-Korea FM Stereo */
1365 DRX_AUD_STANDARD_FM_STEREO,/*< set to FM-Stereo Radio */
1368 DRX_AUD_STANDARD_BG_FM, /*< set BG_FM standard */
1369 DRX_AUD_STANDARD_D_K1, /*< set D_K1 standard */
1370 DRX_AUD_STANDARD_D_K2, /*< set D_K2 standard */
1371 DRX_AUD_STANDARD_D_K3, /*< set D_K3 standard */
1373 /*< set BG_NICAM_FM standard */
1375 /*< set L_NICAM_AM standard */
1377 /*< set I_NICAM_FM standard */
1379 /*< set D_K_NICAM_FM standard */
1380 DRX_AUD_STANDARD_NOT_READY,/*< used to detect audio standard */
1382 /*< Automatic Standard Detection */
1387 /* CTRL_AUD_GET_STATUS - struct drx_aud_status */
1413 /* CTRL_AUD_READ_RDS - DRXRDSdata_t */
1424 /* DRX_CFG_AUD_VOLUME - struct drx_cfg_aud_volume - set/get */
1463 s16 volume; /*< volume, range -114 to 12 dB */
1464 enum drx_aud_avc_mode avc_mode; /*< AVC auto volume control mode */
1470 s16 strength_left; /*< quasi-peak, left speaker */
1471 s16 strength_right; /*< quasi-peak, right speaker */
1474 /* DRX_CFG_I2S_OUTPUT - struct drx_cfg_i2s_output - set/get */
1476 * \enum enum drxi2s_mode * \brief I2S output mode.
1479 DRX_I2S_MODE_MASTER, /*< I2S is in master mode */
1480 DRX_I2S_MODE_SLAVE /*< I2S is in slave mode */
1505 DRX_I2S_POLARITY_RIGHT,/*< wordstrobe - right high, left low */
1506 DRX_I2S_POLARITY_LEFT /*< wordstrobe - right low, left high */
1514 u32 frequency; /*< range from 8000-48000 Hz */
1515 enum drxi2s_mode mode; /*< I2S mode, master or slave */ member
1522 /* ------------------------------expert interface-----------------------------*/
1524 * /enum enum drx_aud_fm_deemphasis * setting for FM-Deemphasis in audio demodulator.
1535 * setting for deviation mode in audio demodulator.
1612 * /enum enum drx_aud_fm_matrix * setting for FM-Matrix in audio demodulator.
1634 * \brief Audio/video synchronization, interacts with I2S mode.
1635 * AUTO_1 and AUTO_2 are for automatic video standard detection with preference
1665 * \enum enum drx_aud_btsc_detect * \brief BTSC detetcion mode
1695 * \enum enum drx_qam_lock_range * \brief QAM lock range mode
1727 /* Write 8-bits value to device */
1733 /* Read 8-bits value to device */
1739 /* Read modify write 8-bits value to device */
1746 /* Write 16-bits value to device */
1752 /* Read 16-bits value to device */
1758 /* Read modify write 16-bits value to device */
1765 /* Write 32-bits value to device */
1771 /* Read 32-bits value to device */
1777 /* Read modify write 32-bits value to device */
1853 /* Channel scan - inner loop: demod related */
1856 /* Channel scan - inner loop: SYSObj related */
1858 /* Channel scan - parameters for default DTV scan function in core driver */
1869 /*< current power management mode */
1884 /*< current standard selection */
1886 /*< previous standard selection */
1888 /*< standard in DI cache if available */
1914 /*-------------------------------------------------------------------------
1917 -------------------------------------------------------------------------*/
1919 /* standard */
1922 (x == DRX_STANDARD_DVBT) ? "DVB-T" : \
1930 (x == DRX_STANDARD_ITU_A) ? "ITU-A" : \
1931 (x == DRX_STANDARD_ITU_B) ? "ITU-B" : \
1932 (x == DRX_STANDARD_ITU_C) ? "ITU-C" : \
1933 (x == DRX_STANDARD_ITU_D) ? "ITU-D" : \
2010 (x == DRX_CLASSIFICATION_COCHANNEL) ? "Co-channel" : \
2138 (x == DRX_OOB_MODE_A) ? "ANSI 55-1 " : \
2139 (x == DRX_OOB_MODE_B_GRADE_A) ? "ANSI 55-2 A" : \
2140 (x == DRX_OOB_MODE_B_GRADE_B) ? "ANSI 55-2 B" : \
2149 (x == DRX_AUD_STANDARD_M_MONO) ? "M-Standard Mono" : \
2151 (x == DRX_AUD_STANDARD_BG_FM) ? "B/G-Dual Carrier FM (A2)" : \
2152 (x == DRX_AUD_STANDARD_D_K1) ? "D/K1-Dual Carrier FM" : \
2153 (x == DRX_AUD_STANDARD_D_K2) ? "D/K2-Dual Carrier FM" : \
2154 (x == DRX_AUD_STANDARD_D_K3) ? "D/K3-Dual Carrier FM" : \
2155 (x == DRX_AUD_STANDARD_BG_NICAM_FM) ? "B/G-NICAM-FM" : \
2156 (x == DRX_AUD_STANDARD_L_NICAM_AM) ? "L-NICAM-AM" : \
2157 (x == DRX_AUD_STANDARD_I_NICAM_FM) ? "I-NICAM-FM" : \
2158 (x == DRX_AUD_STANDARD_D_K_NICAM_FM) ? "D/K-NICAM-FM" : \
2192 /*-------------------------------------------------------------------------
2194 -------------------------------------------------------------------------*/
2207 #define DRX_ATTR_MCRECORD(d) ((d)->my_common_attr->mcversion)
2208 #define DRX_ATTR_MIRRORFREQSPECT(d) ((d)->my_common_attr->mirror_freq_spect)
2209 #define DRX_ATTR_CURRENTPOWERMODE(d)((d)->my_common_attr->current_power_mode)
2210 #define DRX_ATTR_ISOPENED(d) ((d)->my_common_attr->is_opened)
2211 #define DRX_ATTR_USEBOOTLOADER(d) ((d)->my_common_attr->use_bootloader)
2212 #define DRX_ATTR_CURRENTSTANDARD(d) ((d)->my_common_attr->current_standard)
2213 #define DRX_ATTR_PREVSTANDARD(d) ((d)->my_common_attr->prev_standard)
2214 #define DRX_ATTR_CACHESTANDARD(d) ((d)->my_common_attr->di_cache_standard)
2215 #define DRX_ATTR_CURRENTCHANNEL(d) ((d)->my_common_attr->current_channel)
2216 #define DRX_ATTR_MICROCODE(d) ((d)->my_common_attr->microcode)
2217 #define DRX_ATTR_VERIFYMICROCODE(d) ((d)->my_common_attr->verify_microcode)
2218 #define DRX_ATTR_CAPABILITIES(d) ((d)->my_common_attr->capabilities)
2219 #define DRX_ATTR_PRODUCTID(d) ((d)->my_common_attr->product_id)
2220 #define DRX_ATTR_INTERMEDIATEFREQ(d) ((d)->my_common_attr->intermediate_freq)
2221 #define DRX_ATTR_SYSCLOCKFREQ(d) ((d)->my_common_attr->sys_clock_freq)
2222 #define DRX_ATTR_TUNERRFAGCPOL(d) ((d)->my_common_attr->tuner_rf_agc_pol)
2223 #define DRX_ATTR_TUNERIFAGCPOL(d) ((d)->my_common_attr->tuner_if_agc_pol)
2224 #define DRX_ATTR_TUNERSLOWMODE(d) ((d)->my_common_attr->tuner_slow_mode)
2225 #define DRX_ATTR_TUNERSPORTNR(d) ((d)->my_common_attr->tuner_port_nr)
2226 #define DRX_ATTR_I2CADDR(d) ((d)->my_i2c_dev_addr->i2c_addr)
2227 #define DRX_ATTR_I2CDEVID(d) ((d)->my_i2c_dev_addr->i2c_dev_id)
2232 /* Macros with device-specific handling are converted to CFG functions */
2269 /* Access Macros with device-specific handling */
2287 * \brief Macro to check if std is an ATV standard
2288 * \retval true std is an ATV standard
2289 * \retval false std is an ATV standard
2300 * \brief Macro to check if std is an QAM standard
2310 * \brief Macro to check if std is VSB standard
2311 * \retval true std is VSB standard
2312 * \retval false std is not VSB standard
2317 * \brief Macro to check if std is DVBT standard
2318 * \retval true std is DVBT standard
2319 * \retval false std is not DVBT standard
2323 /*-------------------------------------------------------------------------
2325 -------------------------------------------------------------------------*/