Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#include <linux/i2c.h>
#include "dvb_frontend.h"
#include "au8522.h"
#include "tuner-i2c.h"
Go to the source code of this file.
Data Structures | |
struct | au8522_state |
Functions | |
int | au8522_writereg (struct au8522_state *state, u16 reg, u8 data) |
u8 | au8522_readreg (struct au8522_state *state, u16 reg) |
int | au8522_init (struct dvb_frontend *fe) |
int | au8522_sleep (struct dvb_frontend *fe) |
int | au8522_get_state (struct au8522_state **state, struct i2c_adapter *i2c, u8 client_address) |
void | au8522_release_state (struct au8522_state *state) |
int | au8522_i2c_gate_ctrl (struct dvb_frontend *fe, int enable) |
int | au8522_analog_i2c_gate_ctrl (struct dvb_frontend *fe, int enable) |
int | au8522_led_ctrl (struct au8522_state *state, int led) |
#define AU8522_AGC_CONTROL_RANGE_REG0A6H 0x0A6 |
Definition at line 96 of file au8522_priv.h.
#define AU8522_ANALOG_MODE 0 |
Definition at line 37 of file au8522_priv.h.
#define AU8522_AUDIO_MODE_REG0F1H 0x0F1 |
Definition at line 316 of file au8522_priv.h.
#define AU8522_AUDIO_STATUS_REG0F0H 0x0F0 |
Definition at line 315 of file au8522_priv.h.
#define AU8522_AUDIO_VOLUME_L_REG0F2H 0x0F2 |
Definition at line 317 of file au8522_priv.h.
#define AU8522_AUDIO_VOLUME_R_REG0F3H 0x0F3 |
Definition at line 318 of file au8522_priv.h.
#define AU8522_AUDIO_VOLUME_REG0F4H 0x0F4 |
Definition at line 319 of file au8522_priv.h.
#define AU8522_AUDIOAGC2_REG605H 0x605 |
Definition at line 323 of file au8522_priv.h.
#define AU8522_AUDIOAGC_REG0EEH 0x0EE |
Definition at line 314 of file au8522_priv.h.
#define AU8522_AUDIOFREQ_REG606H 0x606 |
Definition at line 324 of file au8522_priv.h.
#define AU8522_CARRFREQOFFSET0_REG201H 0x201 |
Definition at line 162 of file au8522_priv.h.
#define AU8522_CARRFREQOFFSET1_REG202H 0x202 |
Definition at line 163 of file au8522_priv.h.
#define AU8522_CHIP_MODE_REG0FEH 0x0FE |
Definition at line 130 of file au8522_priv.h.
#define AU8522_CLAMPING_CONTROL_REG083H 0x083 |
Definition at line 91 of file au8522_priv.h.
#define AU8522_DAGC_GAIN_ADJUSTMENT_REG21EH 0x21E |
Definition at line 169 of file au8522_priv.h.
#define AU8522_DECIMATION_GAIN_REG21AH 0x21A |
Definition at line 165 of file au8522_priv.h.
#define AU8522_DEMODULATION_STATUS_REG088H 0x088 |
Definition at line 287 of file au8522_priv.h.
#define AU8522_DFE_AVERAGE_REG302H 0x302 |
Definition at line 292 of file au8522_priv.h.
#define AU8522_DIGITAL_MODE 1 |
Definition at line 38 of file au8522_priv.h.
#define AU8522_ENA_USB_REG101H 0x101 |
Definition at line 153 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R410 0x410 |
Definition at line 228 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R411 0x411 |
Definition at line 229 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R412 0x412 |
Definition at line 230 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R413 0x413 |
Definition at line 231 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R414 0x414 |
Definition at line 232 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R415 0x415 |
Definition at line 233 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R416 0x416 |
Definition at line 234 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R417 0x417 |
Definition at line 235 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R418 0x418 |
Definition at line 236 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R419 0x419 |
Definition at line 237 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R41A 0x41A |
Definition at line 238 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R41B 0x41B |
Definition at line 239 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R41C 0x41C |
Definition at line 240 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R41D 0x41D |
Definition at line 241 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R41E 0x41E |
Definition at line 242 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R41F 0x41F |
Definition at line 243 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R420 0x420 |
Definition at line 244 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R421 0x421 |
Definition at line 245 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R422 0x422 |
Definition at line 246 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R423 0x423 |
Definition at line 247 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R424 0x424 |
Definition at line 248 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R425 0x425 |
Definition at line 249 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R426 0x426 |
Definition at line 250 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R427 0x427 |
Definition at line 251 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R428 0x428 |
Definition at line 252 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R429 0x429 |
Definition at line 253 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R42A 0x42A |
Definition at line 254 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R42B 0x42B |
Definition at line 255 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R42C 0x42C |
Definition at line 256 of file au8522_priv.h.
#define AU8522_FILTER_COEF_R42D 0x42D |
Definition at line 257 of file au8522_priv.h.
#define AU8522_FRAME_COUNT0_REG084H 0x084 |
Definition at line 283 of file au8522_priv.h.
#define AU8522_FRMREGAGC1H_REG0B1H 0x0B1 |
Definition at line 109 of file au8522_priv.h.
#define AU8522_FRMREGAGC2H_REG0D9H 0x0D9 |
Definition at line 118 of file au8522_priv.h.
#define AU8522_FRMREGAUPHASE_REG0F7H 0x0F7 |
Definition at line 320 of file au8522_priv.h.
#define AU8522_FRMREGBBH_REG0B5H 0x0B5 |
Definition at line 113 of file au8522_priv.h.
#define AU8522_FRMREGBBL_REG0B7H 0x0B7 |
Definition at line 115 of file au8522_priv.h.
#define AU8522_FRMREGBBM_REG0B6H 0x0B6 |
Definition at line 114 of file au8522_priv.h.
#define AU8522_FRMREGCRLOCK0THH_REG223H 0x223 |
Definition at line 174 of file au8522_priv.h.
#define AU8522_FRMREGCRLOCK0THL_REG225H 0x225 |
Definition at line 176 of file au8522_priv.h.
#define AU8522_FRMREGCRLOCK1THH_REG224H 0x224 |
Definition at line 175 of file au8522_priv.h.
#define AU8522_FRMREGCRLOCK1THL_REG226H 0x226 |
Definition at line 177 of file au8522_priv.h.
#define AU8522_FRMREGCRLOCKDMAX_REG221H 0x221 |
Definition at line 172 of file au8522_priv.h.
#define AU8522_FRMREGCRPERIODMASK_REG222H 0x222 |
Definition at line 173 of file au8522_priv.h.
#define AU8522_FRMREGCSTHRD_REG220H 0x220 |
Definition at line 171 of file au8522_priv.h.
#define AU8522_FRMREGDFECONTROL1_REG305H 0x305 |
Definition at line 295 of file au8522_priv.h.
#define AU8522_FRMREGDFECONTROL_REG122H 0x122 |
Definition at line 160 of file au8522_priv.h.
#define AU8522_FRMREGDFEKEEP_REG301H 0x301 |
Definition at line 291 of file au8522_priv.h.
#define AU8522_FRMREGEQLERRLOW_REG306H 0x306 |
Definition at line 296 of file au8522_priv.h.
#define AU8522_FRMREGEQLERRWIN_REG303H 0x303 |
Definition at line 293 of file au8522_priv.h.
#define AU8522_FRMREGFFECONTROL_REG121H 0x121 |
Definition at line 159 of file au8522_priv.h.
#define AU8522_FRMREGFFEKEEP_REG304H 0x304 |
Definition at line 294 of file au8522_priv.h.
#define AU8522_FRMREGFREQFBCTRL_REG228H 0x228 |
Definition at line 179 of file au8522_priv.h.
#define AU8522_FRMREGIFSLP_REG21BH 0x21B |
Definition at line 166 of file au8522_priv.h.
#define AU8522_FRMREGPILOTH_REG0DCH 0x0DC |
Definition at line 121 of file au8522_priv.h.
#define AU8522_FRMREGPILOTL_REG0DEH 0x0DE |
Definition at line 123 of file au8522_priv.h.
#define AU8522_FRMREGPILOTM_REG0DDH 0x0DD |
Definition at line 122 of file au8522_priv.h.
#define AU8522_FRMREGPLLMODE_REG21FH 0x21F |
Definition at line 170 of file au8522_priv.h.
#define AU8522_FRMREGSHIFT1_REG0B2H 0x0B2 |
Definition at line 110 of file au8522_priv.h.
#define AU8522_FRMREGSTEP3DB_REG21DH 0x21D |
Definition at line 168 of file au8522_priv.h.
#define AU8522_FRMREGTHRD1_REG0B0H 0x0B0 |
Definition at line 108 of file au8522_priv.h.
#define AU8522_FRMREGTHRD2_REG0D8H 0x0D8 |
Definition at line 117 of file au8522_priv.h.
#define AU8522_FRMREGTHRDL2_REG21CH 0x21C |
Definition at line 167 of file au8522_priv.h.
#define AU8522_GPIO_CONTROL_REG0E0H 0x0E0 |
Definition at line 309 of file au8522_priv.h.
#define AU8522_GPIO_DATA_REG0E2H 0x0E2 |
Definition at line 311 of file au8522_priv.h.
#define AU8522_GPIO_STATUS_REG0E1H 0x0E1 |
Definition at line 310 of file au8522_priv.h.
#define AU8522_I2C_CONTROL_REG0_REG090H 0x090 |
Definition at line 133 of file au8522_priv.h.
#define AU8522_I2C_CONTROL_REG1_REG091H 0x091 |
Definition at line 134 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA0_REG09BH 0x09B |
Definition at line 144 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA1_REG09CH 0x09C |
Definition at line 145 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA2_REG09DH 0x09D |
Definition at line 146 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA3_REG09EH 0x09E |
Definition at line 147 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA4_REG09FH 0x09F |
Definition at line 148 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA5_REG0A0H 0x0A0 |
Definition at line 149 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA6_REG0A1H 0x0A1 |
Definition at line 150 of file au8522_priv.h.
#define AU8522_I2C_RD_DATA7_REG0A2H 0x0A2 |
Definition at line 151 of file au8522_priv.h.
#define AU8522_I2C_STATUS_REG092H 0x092 |
Definition at line 135 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA0_REG093H 0x093 |
Definition at line 136 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA1_REG094H 0x094 |
Definition at line 137 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA2_REG095H 0x095 |
Definition at line 138 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA3_REG096H 0x096 |
Definition at line 139 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA4_REG097H 0x097 |
Definition at line 140 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA5_REG098H 0x098 |
Definition at line 141 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA6_REG099H 0x099 |
Definition at line 142 of file au8522_priv.h.
#define AU8522_I2C_WR_DATA7_REG09AH 0x09A |
Definition at line 143 of file au8522_priv.h.
#define AU8522_I2S_CTRL_0_REG110H 0x110 |
Definition at line 155 of file au8522_priv.h.
#define AU8522_I2S_CTRL_1_REG111H 0x111 |
Definition at line 156 of file au8522_priv.h.
#define AU8522_I2S_CTRL_2_REG112H 0x112 |
Definition at line 157 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H 0x081 |
Definition at line 89 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_ATSC 0xC4 |
Definition at line 354 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_ATVRF 0xC4 |
Definition at line 355 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_ATVRF13 0xC4 |
Definition at line 356 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_CVBS 0x20 |
Definition at line 359 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_CVBS_CH1 0xA2 |
Definition at line 360 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_CVBS_CH2 0xA0 |
Definition at line 361 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_CVBS_CH3 0x69 |
Definition at line 362 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_CVBS_CH4 0x68 |
Definition at line 363 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_CVBS_CH4_SIF 0x28 |
Definition at line 364 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_J83B256 0xC4 |
Definition at line 358 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_J83B64 0xC4 |
Definition at line 357 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_SVIDEO_CH13 0x23 |
Definition at line 366 of file au8522_priv.h.
#define AU8522_INPUT_CONTROL_REG081H_SVIDEO_CH24 0x20 |
Definition at line 368 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H 0x0A3 |
Definition at line 93 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H_ATSC 0x0C |
Definition at line 369 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H_ATVRF 0x1A |
Definition at line 373 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H_ATVRF13 0x1A |
Definition at line 374 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H_CVBS 0x12 |
Definition at line 372 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H_J83B256 0x09 |
Definition at line 371 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H_J83B64 0x09 |
Definition at line 370 of file au8522_priv.h.
#define AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO 0x02 |
Definition at line 375 of file au8522_priv.h.
#define AU8522_PGA_CONTROL_REG082H 0x082 |
Definition at line 90 of file au8522_priv.h.
#define AU8522_REG016H 0x016 |
Definition at line 196 of file au8522_priv.h.
#define AU8522_REG016H_CVBS 0x00 |
Definition at line 412 of file au8522_priv.h.
#define AU8522_REG071H 0x071 |
Definition at line 277 of file au8522_priv.h.
#define AU8522_REG071H_CVBS 0x18 |
Definition at line 431 of file au8522_priv.h.
#define AU8522_REG072H 0x072 |
Definition at line 278 of file au8522_priv.h.
#define AU8522_REG072H_CVBS 0x30 |
Definition at line 432 of file au8522_priv.h.
#define AU8522_REG074H 0x074 |
Definition at line 279 of file au8522_priv.h.
#define AU8522_REG074H_CVBS 0x80 |
Definition at line 434 of file au8522_priv.h.
#define AU8522_REG075H 0x075 |
Definition at line 280 of file au8522_priv.h.
#define AU8522_REG075H_CVBS 0xF0 |
Definition at line 435 of file au8522_priv.h.
#define AU8522_REG0F9H 0x0F9 |
Definition at line 321 of file au8522_priv.h.
#define AU8522_REG0F9H_AUDIO 0x20 |
Definition at line 415 of file au8522_priv.h.
#define AU8522_REG42EH 0x42E |
Definition at line 298 of file au8522_priv.h.
#define AU8522_REG42FH 0x42F |
Definition at line 299 of file au8522_priv.h.
#define AU8522_REG430H 0x430 |
Definition at line 300 of file au8522_priv.h.
#define AU8522_REG431H 0x431 |
Definition at line 301 of file au8522_priv.h.
#define AU8522_REG432H 0x432 |
Definition at line 302 of file au8522_priv.h.
#define AU8522_REG433H 0x433 |
Definition at line 303 of file au8522_priv.h.
#define AU8522_REG434H 0x434 |
Definition at line 304 of file au8522_priv.h.
#define AU8522_REG435H 0x435 |
Definition at line 305 of file au8522_priv.h.
#define AU8522_REG436H 0x436 |
Definition at line 306 of file au8522_priv.h.
#define AU8522_RS_STATUS_B0_REG086H 0x086 |
Definition at line 285 of file au8522_priv.h.
#define AU8522_RS_STATUS_E_REG087H 0x087 |
Definition at line 286 of file au8522_priv.h.
#define AU8522_RS_STATUS_G0_REG085H 0x085 |
Definition at line 284 of file au8522_priv.h.
#define AU8522_RX_PGA_IFOUT_REG0ECH 0x0EC |
Definition at line 127 of file au8522_priv.h.
#define AU8522_RX_PGA_PGAOUT_REG0EDH 0x0ED |
Definition at line 128 of file au8522_priv.h.
#define AU8522_RX_PGA_RFOUT_REG0EBH 0x0EB |
Definition at line 126 of file au8522_priv.h.
#define AU8522_SYSTEM_GAIN_CONTROL_REG0A7H 0x0A7 |
Definition at line 97 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H 0x0A4 |
Definition at line 94 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_ATSC 0xE8 |
Definition at line 380 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_ATVRF 0xDD |
Definition at line 383 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_ATVRF13 0xDD |
Definition at line 384 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CLEAR 0x00 |
Definition at line 377 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS 0x9D |
Definition at line 379 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_FM 0xDD |
Definition at line 386 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_J83B256 0xCA |
Definition at line 381 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_J83B64 0xCA |
Definition at line 382 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_PAL 0xDD |
Definition at line 385 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_SVIDEO 0x9C |
Definition at line 378 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H 0x0A5 |
Definition at line 95 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_ATSC 0x80 |
Definition at line 388 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_ATVRF 0x01 |
Definition at line 395 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_ATVRF13 0x01 |
Definition at line 396 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_CVBS 0x01 |
Definition at line 398 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_DONGLE_ATSC 0x40 |
Definition at line 391 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_DONGLE_CLEAR 0x00 |
Definition at line 394 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_DONGLE_J83B256 0x40 |
Definition at line 392 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_DONGLE_J83B64 0x40 |
Definition at line 393 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_FM 0x01 |
Definition at line 402 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_IIS 0x09 |
Definition at line 400 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_J83B256 0x80 |
Definition at line 389 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_J83B64 0x80 |
Definition at line 390 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_PAL 0x01 |
Definition at line 401 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_PWM 0x03 |
Definition at line 399 of file au8522_priv.h.
#define AU8522_SYSTEM_MODULE_CONTROL_1_REG0A5H_SVIDEO 0x04 |
Definition at line 397 of file au8522_priv.h.
#define AU8522_TOREGAAGC_REG0E5H 0x0E5 |
Definition at line 224 of file au8522_priv.h.
#define AU8522_TOREGAAGC_REG0E5H_CVBS 0x00 |
Definition at line 442 of file au8522_priv.h.
#define AU8522_TOREGAGC1_REG0B3H 0x0B3 |
Definition at line 111 of file au8522_priv.h.
#define AU8522_TOREGAGC2_REG0DAH 0x0DA |
Definition at line 119 of file au8522_priv.h.
#define AU8522_TOREGASHIFT1_REG0B4H 0x0B4 |
Definition at line 112 of file au8522_priv.h.
#define AU8522_TOREGFREQ_REG0DFH 0x0DF |
Definition at line 124 of file au8522_priv.h.
#define AU8522_TOREGSHIFT2_REG0DBH 0x0DB |
Definition at line 120 of file au8522_priv.h.
#define AU8522_TOREGTRESTATUS_REG0E6H 0x0E6 |
Definition at line 288 of file au8522_priv.h.
#define AU8522_TSPORT_CONTROL_REG10BH 0x10B |
Definition at line 289 of file au8522_priv.h.
#define AU8522_TSTHES_REG10CH 0x10C |
Definition at line 290 of file au8522_priv.h.
#define AU8522_TUNER_AGC_IF_DEFAULT_REG0ADH 0x0AD |
Definition at line 103 of file au8522_priv.h.
#define AU8522_TUNER_AGC_IF_START_REG0ACH 0x0AC |
Definition at line 102 of file au8522_priv.h.
#define AU8522_TUNER_AGC_IF_STOP_REG0ABH 0x0AB |
Definition at line 101 of file au8522_priv.h.
#define AU8522_TUNER_AGC_RF_START_REG0A9H 0x0A9 |
Definition at line 99 of file au8522_priv.h.
#define AU8522_TUNER_AGC_RF_STOP_REG0A8H 0x0A8 |
Definition at line 98 of file au8522_priv.h.
#define AU8522_TUNER_AGC_STEP_REG0AEH 0x0AE |
Definition at line 104 of file au8522_priv.h.
#define AU8522_TUNER_GAIN_STEP_REG0AFH 0x0AF |
Definition at line 105 of file au8522_priv.h.
#define AU8522_TUNER_RF_AGC_DEFAULT_REG0AAH 0x0AA |
Definition at line 100 of file au8522_priv.h.
#define AU8522_TVDEC_AGC_HIGH_LIMIT_REG079H 0x079 |
Definition at line 217 of file au8522_priv.h.
#define AU8522_TVDEC_AGC_HIGH_LIMIT_REG079H_CVBS 0x00 |
Definition at line 438 of file au8522_priv.h.
#define AU8522_TVDEC_AGC_LOW_LIMIT_REG0E4H 0x0E4 |
Definition at line 223 of file au8522_priv.h.
#define AU8522_TVDEC_AGC_LOW_LIMIT_REG0E4H_CVBS 0xFE |
Definition at line 441 of file au8522_priv.h.
#define AU8522_TVDEC_BRIGHTNESS_REG00AH 0x00A |
Definition at line 186 of file au8522_priv.h.
#define AU8522_TVDEC_CHROMA_AGC_REG401H 0x401 |
Definition at line 226 of file au8522_priv.h.
#define AU8522_TVDEC_CHROMA_SFT_REG402H 0x402 |
Definition at line 227 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DC_THR1_NTSC_REG070H 0x070 |
Definition at line 213 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DC_THR1_NTSC_REG070H_CVBS 0x80 |
Definition at line 430 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DC_THR2_NTSC_REG073H 0x073 |
Definition at line 214 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DC_THR2_NTSC_REG073H_CVBS 0xF0 |
Definition at line 433 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR1_REG06CH 0x06C |
Definition at line 209 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR1_REG06CH_CVBS 0x34 |
Definition at line 424 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR1_REG06CH_SVIDEO 0x2a |
Definition at line 425 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR2_REG06DH 0x06D |
Definition at line 210 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR2_REG06DH_CVBS 0x05 |
Definition at line 426 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR2_REG06DH_SVIDEO 0x15 |
Definition at line 427 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR3_REG06EH 0x06E |
Definition at line 211 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_DCDIF_THR3_REG06EH_CVBS 0x6E |
Definition at line 428 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_HDIF_THR1_REG069H 0x069 |
Definition at line 206 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_HDIF_THR1_REG069H_CVBS 0x41 |
Definition at line 421 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_HDIF_THR2_REG06AH 0x06A |
Definition at line 207 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_HDIF_THR2_REG06AH_CVBS 0x0A |
Definition at line 422 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_HDIF_THR3_REG06BH 0x06B |
Definition at line 208 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_HDIF_THR3_REG06BH_CVBS 0x32 |
Definition at line 423 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_MODE_REG015H 0x015 |
Definition at line 195 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_MODE_REG015H_CVBS 0x00 |
Definition at line 411 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_NOTCH_THR_REG068H 0x068 |
Definition at line 205 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_NOTCH_THR_REG068H_CVBS 0x23 |
Definition at line 420 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_VDIF_THR1_REG065H 0x065 |
Definition at line 202 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_VDIF_THR1_REG065H_CVBS 0x0A |
Definition at line 417 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_VDIF_THR2_REG066H 0x066 |
Definition at line 203 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_VDIF_THR2_REG066H_CVBS 0x32 |
Definition at line 418 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_VDIF_THR3_REG067H 0x067 |
Definition at line 204 of file au8522_priv.h.
#define AU8522_TVDEC_COMB_VDIF_THR3_REG067H_CVBS 0x19 |
Definition at line 419 of file au8522_priv.h.
#define AU8522_TVDEC_CONTRAST_REG00BH 0x00B |
Definition at line 187 of file au8522_priv.h.
#define AU8522_TVDEC_CONTRAST_REG00BH_CVBS 0x79 |
Definition at line 405 of file au8522_priv.h.
#define AU8522_TVDEC_DCAGC_CTRL_REG077H 0x077 |
Definition at line 215 of file au8522_priv.h.
#define AU8522_TVDEC_DCAGC_CTRL_REG077H_CVBS 0xFB |
Definition at line 436 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H 0x061 |
Definition at line 198 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_FIELD_LEN_525 0x10 |
Definition at line 337 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_FIELD_LEN_625 0x20 |
Definition at line 336 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_FIELD_LEN_AUTO 0x00 |
Definition at line 338 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_LINE_LEN_63_492 0x08 |
Definition at line 341 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_LINE_LEN_63_556 0x04 |
Definition at line 342 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_LINE_LEN_64_000 0x0b |
Definition at line 340 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_SUBCARRIER_NTSC_443 0x02 |
Definition at line 345 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_SUBCARRIER_NTSC_50 0x00 |
Definition at line 347 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_SUBCARRIER_NTSC_AUTO 0x03 |
Definition at line 344 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_SUBCARRIER_NTSC_MN 0x01 |
Definition at line 346 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_VCR_MODE_AUTO 0x00 |
Definition at line 334 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_VCR_MODE_NO 0x40 |
Definition at line 333 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL1_REG061H_VCR_MODE_YES 0x80 |
Definition at line 332 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL2_REG062H 0x062 |
Definition at line 199 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL2_REG062H_STD_AUTODETECT 0x00 |
Definition at line 350 of file au8522_priv.h.
#define AU8522_TVDEC_FORMAT_CTRL2_REG062H_STD_NTSC 0x01 |
Definition at line 351 of file au8522_priv.h.
#define AU8522_TVDEC_FSC_FREQ_REG07FH 0x07F |
Definition at line 221 of file au8522_priv.h.
#define AU8522_TVDEC_HUE_H_REG00EH 0x00E |
Definition at line 190 of file au8522_priv.h.
#define AU8522_TVDEC_HUE_H_REG00EH_CVBS 0x00 |
Definition at line 408 of file au8522_priv.h.
#define AU8522_TVDEC_HUE_L_REG00FH 0x00F |
Definition at line 191 of file au8522_priv.h.
#define AU8522_TVDEC_HUE_L_REG00FH_CVBS 0x00 |
Definition at line 409 of file au8522_priv.h.
#define AU8522_TVDEC_INT_MASK_REG010H 0x010 |
Definition at line 192 of file au8522_priv.h.
#define AU8522_TVDEC_INT_STATUS_REG001H 0x001 |
Definition at line 183 of file au8522_priv.h.
#define AU8522_TVDEC_INTRP_CTRL_REG07BH 0x07B |
Definition at line 219 of file au8522_priv.h.
#define AU8522_TVDEC_INTRP_CTRL_REG07BH_CVBS 0xEE |
Definition at line 440 of file au8522_priv.h.
#define AU8522_TVDEC_MACROVISION_STATUS_REG002H 0x002 |
Definition at line 184 of file au8522_priv.h.
#define AU8522_TVDEC_MACROVISION_SYNC_THR_REG07AH 0x07A |
Definition at line 218 of file au8522_priv.h.
#define AU8522_TVDEC_MACROVISION_SYNC_THR_REG07AH_CVBS 0x00 |
Definition at line 439 of file au8522_priv.h.
#define AU8522_TVDEC_PGA_REG012H 0x012 |
Definition at line 194 of file au8522_priv.h.
#define AU8522_TVDEC_PGA_REG012H_CVBS 0x0F |
Definition at line 410 of file au8522_priv.h.
#define AU8522_TVDEC_PIC_START_ADJ_REG078H 0x078 |
Definition at line 216 of file au8522_priv.h.
#define AU8522_TVDEC_PIC_START_ADJ_REG078H_CVBS 0x04 |
Definition at line 437 of file au8522_priv.h.
#define AU8522_TVDEC_PLL_STATUS_REG07EH 0x07E |
Definition at line 220 of file au8522_priv.h.
#define AU8522_TVDEC_SATURATION_CB_REG00CH 0x00C |
Definition at line 188 of file au8522_priv.h.
#define AU8522_TVDEC_SATURATION_CB_REG00CH_CVBS 0x80 |
Definition at line 406 of file au8522_priv.h.
#define AU8522_TVDEC_SATURATION_CR_REG00DH 0x00D |
Definition at line 189 of file au8522_priv.h.
#define AU8522_TVDEC_SATURATION_CR_REG00DH_CVBS 0x80 |
Definition at line 407 of file au8522_priv.h.
#define AU8522_TVDEC_SHARPNESSREG009H 0x009 |
Definition at line 185 of file au8522_priv.h.
#define AU8522_TVDEC_STATUS_REG000H 0x000 |
Definition at line 182 of file au8522_priv.h.
#define AU8522_TVDEC_UV_SEP_THR_REG06FH 0x06F |
Definition at line 212 of file au8522_priv.h.
#define AU8522_TVDEC_UV_SEP_THR_REG06FH_CVBS 0x0F |
Definition at line 429 of file au8522_priv.h.
#define AU8522_TVDEC_VBI6A_REG035H_CVBS 0x40 |
Definition at line 443 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_CTRL_H_REG017H 0x017 |
Definition at line 264 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON 0x21 |
Definition at line 446 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_CTRL_L_REG018H 0x018 |
Definition at line 265 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_FIFO_STATUS_REG007H 0x007 |
Definition at line 263 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_RX_FIFO_CONTAIN_REG004H 0x004 |
Definition at line 260 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_RX_FIFO_READ_REG006H 0x006 |
Definition at line 262 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_TX_FIFO_CONTAIN_REG005H 0x005 |
Definition at line 261 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H 0x023 |
Definition at line 275 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H 0x022 |
Definition at line 274 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H 0x021 |
Definition at line 273 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H 0x020 |
Definition at line 272 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH 0x01F |
Definition at line 271 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH 0x01E |
Definition at line 270 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_THRESH1_REG01CH 0x01C |
Definition at line 269 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H 0x019 |
Definition at line 266 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH 0x01A |
Definition at line 267 of file au8522_priv.h.
#define AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH 0x01B |
Definition at line 268 of file au8522_priv.h.
#define AU8522_TVDEC_VCR_DET_HLIM_REG064H 0x064 |
Definition at line 201 of file au8522_priv.h.
#define AU8522_TVDEC_VCR_DET_HLIM_REG064H_CVBS 0xA7 |
Definition at line 416 of file au8522_priv.h.
#define AU8522_TVDEC_VCR_DET_LLIM_REG063H 0x063 |
Definition at line 200 of file au8522_priv.h.
#define AU8522_TVDEC_VCR_DET_LLIM_REG063H_CVBS 0x19 |
Definition at line 414 of file au8522_priv.h.
#define AU8522_TVDED_DBG_MODE_REG060H 0x060 |
Definition at line 197 of file au8522_priv.h.
#define AU8522_TVDED_DBG_MODE_REG060H_CVBS 0x00 |
Definition at line 413 of file au8522_priv.h.
#define AU8522_VIDEO_MODE_REG011H 0x011 |
Definition at line 193 of file au8522_priv.h.
#define AU_FRMREGPLLACQPHASESCL_REG227H 0x227 |
Definition at line 178 of file au8522_priv.h.
int au8522_analog_i2c_gate_ctrl | ( | struct dvb_frontend * | fe, |
int | enable | ||
) |
Definition at line 102 of file au8522_common.c.
int au8522_get_state | ( | struct au8522_state ** | state, |
struct i2c_adapter * | i2c, | ||
u8 | client_address | ||
) |
Definition at line 117 of file au8522_common.c.
int au8522_i2c_gate_ctrl | ( | struct dvb_frontend * | fe, |
int | enable | ||
) |
Definition at line 81 of file au8522_common.c.
int au8522_init | ( | struct dvb_frontend * | fe | ) |
Definition at line 226 of file au8522_common.c.
int au8522_led_ctrl | ( | struct au8522_state * | state, |
int | led | ||
) |
Definition at line 171 of file au8522_common.c.
u8 au8522_readreg | ( | struct au8522_state * | state, |
u16 | reg | ||
) |
Definition at line 60 of file au8522_common.c.
void au8522_release_state | ( | struct au8522_state * | state | ) |
Definition at line 132 of file au8522_common.c.
int au8522_sleep | ( | struct dvb_frontend * | fe | ) |
Definition at line 246 of file au8522_common.c.
int au8522_writereg | ( | struct au8522_state * | state, |
u16 | reg, | ||
u8 | data | ||
) |
Definition at line 42 of file au8522_common.c.