1 /* 2 * Afatech AF9013 demodulator driver 3 * 4 * Copyright (C) 2007 Antti Palosaari <crope@iki.fi> 5 * Copyright (C) 2011 Antti Palosaari <crope@iki.fi> 6 * 7 * Thanks to Afatech who kindly provided information. 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 */ 20 21 #ifndef AF9013_PRIV_H 22 #define AF9013_PRIV_H 23 24 #include "dvb_frontend.h" 25 #include "af9013.h" 26 #include <linux/firmware.h> 27 28 #define AF9013_FIRMWARE "dvb-fe-af9013.fw" 29 30 struct af9013_reg_bit { 31 u16 addr; 32 u8 pos:4; 33 u8 len:4; 34 u8 val; 35 }; 36 37 struct af9013_snr { 38 u32 val; 39 u8 snr; 40 }; 41 42 struct af9013_coeff { 43 u32 clock; 44 u32 bandwidth_hz; 45 u8 val[24]; 46 }; 47 48 /* pre-calculated coeff lookup table */ 49 static const struct af9013_coeff coeff_lut[] = { 50 /* 28.800 MHz */ 51 { 28800000, 8000000, { 0x02, 0x8a, 0x28, 0xa3, 0x05, 0x14, 52 0x51, 0x11, 0x00, 0xa2, 0x8f, 0x3d, 0x00, 0xa2, 0x8a, 53 0x29, 0x00, 0xa2, 0x85, 0x14, 0x01, 0x45, 0x14, 0x14 } }, 54 { 28800000, 7000000, { 0x02, 0x38, 0xe3, 0x8e, 0x04, 0x71, 55 0xc7, 0x07, 0x00, 0x8e, 0x3d, 0x55, 0x00, 0x8e, 0x38, 56 0xe4, 0x00, 0x8e, 0x34, 0x72, 0x01, 0x1c, 0x71, 0x32 } }, 57 { 28800000, 6000000, { 0x01, 0xe7, 0x9e, 0x7a, 0x03, 0xcf, 58 0x3c, 0x3d, 0x00, 0x79, 0xeb, 0x6e, 0x00, 0x79, 0xe7, 59 0x9e, 0x00, 0x79, 0xe3, 0xcf, 0x00, 0xf3, 0xcf, 0x0f } }, 60 /* 20.480 MHz */ 61 { 20480000, 8000000, { 0x03, 0x92, 0x49, 0x26, 0x07, 0x24, 62 0x92, 0x13, 0x00, 0xe4, 0x99, 0x6e, 0x00, 0xe4, 0x92, 63 0x49, 0x00, 0xe4, 0x8b, 0x25, 0x01, 0xc9, 0x24, 0x25 } }, 64 { 20480000, 7000000, { 0x03, 0x20, 0x00, 0x01, 0x06, 0x40, 65 0x00, 0x00, 0x00, 0xc8, 0x06, 0x40, 0x00, 0xc8, 0x00, 66 0x00, 0x00, 0xc7, 0xf9, 0xc0, 0x01, 0x90, 0x00, 0x00 } }, 67 { 20480000, 6000000, { 0x02, 0xad, 0xb6, 0xdc, 0x05, 0x5b, 68 0x6d, 0x2e, 0x00, 0xab, 0x73, 0x13, 0x00, 0xab, 0x6d, 69 0xb7, 0x00, 0xab, 0x68, 0x5c, 0x01, 0x56, 0xdb, 0x1c } }, 70 /* 28.000 MHz */ 71 { 28000000, 8000000, { 0x02, 0x9c, 0xbc, 0x15, 0x05, 0x39, 72 0x78, 0x0a, 0x00, 0xa7, 0x34, 0x3f, 0x00, 0xa7, 0x2f, 73 0x05, 0x00, 0xa7, 0x29, 0xcc, 0x01, 0x4e, 0x5e, 0x03 } }, 74 { 28000000, 7000000, { 0x02, 0x49, 0x24, 0x92, 0x04, 0x92, 75 0x49, 0x09, 0x00, 0x92, 0x4d, 0xb7, 0x00, 0x92, 0x49, 76 0x25, 0x00, 0x92, 0x44, 0x92, 0x01, 0x24, 0x92, 0x12 } }, 77 { 28000000, 6000000, { 0x01, 0xf5, 0x8d, 0x10, 0x03, 0xeb, 78 0x1a, 0x08, 0x00, 0x7d, 0x67, 0x2f, 0x00, 0x7d, 0x63, 79 0x44, 0x00, 0x7d, 0x5f, 0x59, 0x00, 0xfa, 0xc6, 0x22 } }, 80 /* 25.000 MHz */ 81 { 25000000, 8000000, { 0x02, 0xec, 0xfb, 0x9d, 0x05, 0xd9, 82 0xf7, 0x0e, 0x00, 0xbb, 0x44, 0xc1, 0x00, 0xbb, 0x3e, 83 0xe7, 0x00, 0xbb, 0x39, 0x0d, 0x01, 0x76, 0x7d, 0x34 } }, 84 { 25000000, 7000000, { 0x02, 0x8f, 0x5c, 0x29, 0x05, 0x1e, 85 0xb8, 0x14, 0x00, 0xa3, 0xdc, 0x29, 0x00, 0xa3, 0xd7, 86 0x0a, 0x00, 0xa3, 0xd1, 0xec, 0x01, 0x47, 0xae, 0x05 } }, 87 { 25000000, 6000000, { 0x02, 0x31, 0xbc, 0xb5, 0x04, 0x63, 88 0x79, 0x1b, 0x00, 0x8c, 0x73, 0x91, 0x00, 0x8c, 0x6f, 89 0x2d, 0x00, 0x8c, 0x6a, 0xca, 0x01, 0x18, 0xde, 0x17 } }, 90 }; 91 92 /* QPSK SNR lookup table */ 93 static const struct af9013_snr qpsk_snr_lut[] = { 94 { 0x000000, 0 }, 95 { 0x0b4771, 0 }, 96 { 0x0c1aed, 1 }, 97 { 0x0d0d27, 2 }, 98 { 0x0e4d19, 3 }, 99 { 0x0e5da8, 4 }, 100 { 0x107097, 5 }, 101 { 0x116975, 6 }, 102 { 0x1252d9, 7 }, 103 { 0x131fa4, 8 }, 104 { 0x13d5e1, 9 }, 105 { 0x148e53, 10 }, 106 { 0x15358b, 11 }, 107 { 0x15dd29, 12 }, 108 { 0x168112, 13 }, 109 { 0x170b61, 14 }, 110 { 0xffffff, 15 }, 111 }; 112 113 /* QAM16 SNR lookup table */ 114 static const struct af9013_snr qam16_snr_lut[] = { 115 { 0x000000, 0 }, 116 { 0x05eb62, 5 }, 117 { 0x05fecf, 6 }, 118 { 0x060b80, 7 }, 119 { 0x062501, 8 }, 120 { 0x064865, 9 }, 121 { 0x069604, 10 }, 122 { 0x06f356, 11 }, 123 { 0x07706a, 12 }, 124 { 0x0804d3, 13 }, 125 { 0x089d1a, 14 }, 126 { 0x093e3d, 15 }, 127 { 0x09e35d, 16 }, 128 { 0x0a7c3c, 17 }, 129 { 0x0afaf8, 18 }, 130 { 0x0b719d, 19 }, 131 { 0xffffff, 20 }, 132 }; 133 134 /* QAM64 SNR lookup table */ 135 static const struct af9013_snr qam64_snr_lut[] = { 136 { 0x000000, 0 }, 137 { 0x03109b, 12 }, 138 { 0x0310d4, 13 }, 139 { 0x031920, 14 }, 140 { 0x0322d0, 15 }, 141 { 0x0339fc, 16 }, 142 { 0x0364a1, 17 }, 143 { 0x038bcc, 18 }, 144 { 0x03c7d3, 19 }, 145 { 0x0408cc, 20 }, 146 { 0x043bed, 21 }, 147 { 0x048061, 22 }, 148 { 0x04be95, 23 }, 149 { 0x04fa7d, 24 }, 150 { 0x052405, 25 }, 151 { 0x05570d, 26 }, 152 { 0xffffff, 27 }, 153 }; 154 155 static const struct af9013_reg_bit ofsm_init[] = { 156 { 0xd73a, 0, 8, 0xa1 }, 157 { 0xd73b, 0, 8, 0x1f }, 158 { 0xd73c, 4, 4, 0x0a }, 159 { 0xd732, 3, 1, 0x00 }, 160 { 0xd731, 4, 2, 0x03 }, 161 { 0xd73d, 7, 1, 0x01 }, 162 { 0xd740, 0, 1, 0x00 }, 163 { 0xd740, 1, 1, 0x00 }, 164 { 0xd740, 2, 1, 0x00 }, 165 { 0xd740, 3, 1, 0x01 }, 166 { 0xd3c1, 4, 1, 0x01 }, 167 { 0x9124, 0, 8, 0x58 }, 168 { 0x9125, 0, 2, 0x02 }, 169 { 0xd3a2, 0, 8, 0x00 }, 170 { 0xd3a3, 0, 8, 0x04 }, 171 { 0xd305, 0, 8, 0x32 }, 172 { 0xd306, 0, 8, 0x10 }, 173 { 0xd304, 0, 8, 0x04 }, 174 { 0x9112, 0, 1, 0x01 }, 175 { 0x911d, 0, 1, 0x01 }, 176 { 0x911a, 0, 1, 0x01 }, 177 { 0x911b, 0, 1, 0x01 }, 178 { 0x9bce, 0, 4, 0x02 }, 179 { 0x9116, 0, 1, 0x01 }, 180 { 0x9122, 0, 8, 0xd0 }, 181 { 0xd2e0, 0, 8, 0xd0 }, 182 { 0xd2e9, 0, 4, 0x0d }, 183 { 0xd38c, 0, 8, 0xfc }, 184 { 0xd38d, 0, 8, 0x00 }, 185 { 0xd38e, 0, 8, 0x7e }, 186 { 0xd38f, 0, 8, 0x00 }, 187 { 0xd390, 0, 8, 0x2f }, 188 { 0xd145, 4, 1, 0x01 }, 189 { 0xd1a9, 4, 1, 0x01 }, 190 { 0xd158, 5, 3, 0x01 }, 191 { 0xd159, 0, 6, 0x06 }, 192 { 0xd167, 0, 8, 0x00 }, 193 { 0xd168, 0, 4, 0x07 }, 194 { 0xd1c3, 5, 3, 0x00 }, 195 { 0xd1c4, 0, 6, 0x00 }, 196 { 0xd1c5, 0, 7, 0x10 }, 197 { 0xd1c6, 0, 3, 0x02 }, 198 { 0xd080, 2, 5, 0x03 }, 199 { 0xd081, 4, 4, 0x09 }, 200 { 0xd098, 4, 4, 0x0f }, 201 { 0xd098, 0, 4, 0x03 }, 202 { 0xdbc0, 4, 1, 0x01 }, 203 { 0xdbc7, 0, 8, 0x08 }, 204 { 0xdbc8, 4, 4, 0x00 }, 205 { 0xdbc9, 0, 5, 0x01 }, 206 { 0xd280, 0, 8, 0xe0 }, 207 { 0xd281, 0, 8, 0xff }, 208 { 0xd282, 0, 8, 0xff }, 209 { 0xd283, 0, 8, 0xc3 }, 210 { 0xd284, 0, 8, 0xff }, 211 { 0xd285, 0, 4, 0x01 }, 212 { 0xd0f0, 0, 7, 0x1a }, 213 { 0xd0f1, 4, 1, 0x01 }, 214 { 0xd0f2, 0, 8, 0x0c }, 215 { 0xd101, 5, 3, 0x06 }, 216 { 0xd103, 0, 4, 0x08 }, 217 { 0xd0f8, 0, 7, 0x20 }, 218 { 0xd111, 5, 1, 0x00 }, 219 { 0xd111, 6, 1, 0x00 }, 220 { 0x910b, 0, 8, 0x0a }, 221 { 0x9115, 0, 8, 0x02 }, 222 { 0x910c, 0, 8, 0x02 }, 223 { 0x910d, 0, 8, 0x08 }, 224 { 0x910e, 0, 8, 0x0a }, 225 { 0x9bf6, 0, 8, 0x06 }, 226 { 0x9bf8, 0, 8, 0x02 }, 227 { 0x9bf7, 0, 8, 0x05 }, 228 { 0x9bf9, 0, 8, 0x0f }, 229 { 0x9bfc, 0, 8, 0x13 }, 230 { 0x9bd3, 0, 8, 0xff }, 231 { 0x9bbe, 0, 1, 0x01 }, 232 { 0x9bcc, 0, 1, 0x01 }, 233 }; 234 235 /* Panasonic ENV77H11D5 tuner init 236 AF9013_TUNER_ENV77H11D5 = 129 */ 237 static const struct af9013_reg_bit tuner_init_env77h11d5[] = { 238 { 0x9bd5, 0, 8, 0x01 }, 239 { 0x9bd6, 0, 8, 0x03 }, 240 { 0x9bbe, 0, 8, 0x01 }, 241 { 0xd1a0, 1, 1, 0x01 }, 242 { 0xd000, 0, 1, 0x01 }, 243 { 0xd000, 1, 1, 0x00 }, 244 { 0xd001, 1, 1, 0x01 }, 245 { 0xd001, 0, 1, 0x00 }, 246 { 0xd001, 5, 1, 0x00 }, 247 { 0xd002, 0, 5, 0x19 }, 248 { 0xd003, 0, 5, 0x1a }, 249 { 0xd004, 0, 5, 0x19 }, 250 { 0xd005, 0, 5, 0x1a }, 251 { 0xd00e, 0, 5, 0x10 }, 252 { 0xd00f, 0, 3, 0x04 }, 253 { 0xd00f, 3, 3, 0x05 }, 254 { 0xd010, 0, 3, 0x04 }, 255 { 0xd010, 3, 3, 0x05 }, 256 { 0xd016, 4, 4, 0x03 }, 257 { 0xd01f, 0, 6, 0x0a }, 258 { 0xd020, 0, 6, 0x0a }, 259 { 0x9bda, 0, 8, 0x00 }, 260 { 0x9be3, 0, 8, 0x00 }, 261 { 0xd015, 0, 8, 0x50 }, 262 { 0xd016, 0, 1, 0x00 }, 263 { 0xd044, 0, 8, 0x46 }, 264 { 0xd045, 0, 1, 0x00 }, 265 { 0xd008, 0, 8, 0xdf }, 266 { 0xd009, 0, 2, 0x02 }, 267 { 0xd006, 0, 8, 0x44 }, 268 { 0xd007, 0, 2, 0x01 }, 269 { 0xd00c, 0, 8, 0xeb }, 270 { 0xd00d, 0, 2, 0x02 }, 271 { 0xd00a, 0, 8, 0xf4 }, 272 { 0xd00b, 0, 2, 0x01 }, 273 { 0x9bba, 0, 8, 0xf9 }, 274 { 0x9bc3, 0, 8, 0xdf }, 275 { 0x9bc4, 0, 8, 0x02 }, 276 { 0x9bc5, 0, 8, 0xeb }, 277 { 0x9bc6, 0, 8, 0x02 }, 278 { 0x9bc9, 0, 8, 0x52 }, 279 { 0xd011, 0, 8, 0x3c }, 280 { 0xd012, 0, 2, 0x01 }, 281 { 0xd013, 0, 8, 0xf7 }, 282 { 0xd014, 0, 2, 0x02 }, 283 { 0xd040, 0, 8, 0x0b }, 284 { 0xd041, 0, 2, 0x02 }, 285 { 0xd042, 0, 8, 0x4d }, 286 { 0xd043, 0, 2, 0x00 }, 287 { 0xd045, 1, 1, 0x00 }, 288 { 0x9bcf, 0, 1, 0x01 }, 289 { 0xd045, 2, 1, 0x01 }, 290 { 0xd04f, 0, 8, 0x9a }, 291 { 0xd050, 0, 1, 0x01 }, 292 { 0xd051, 0, 8, 0x5a }, 293 { 0xd052, 0, 1, 0x01 }, 294 { 0xd053, 0, 8, 0x50 }, 295 { 0xd054, 0, 8, 0x46 }, 296 { 0x9bd7, 0, 8, 0x0a }, 297 { 0x9bd8, 0, 8, 0x14 }, 298 { 0x9bd9, 0, 8, 0x08 }, 299 }; 300 301 /* Microtune MT2060 tuner init 302 AF9013_TUNER_MT2060 = 130 */ 303 static const struct af9013_reg_bit tuner_init_mt2060[] = { 304 { 0x9bd5, 0, 8, 0x01 }, 305 { 0x9bd6, 0, 8, 0x07 }, 306 { 0xd1a0, 1, 1, 0x01 }, 307 { 0xd000, 0, 1, 0x01 }, 308 { 0xd000, 1, 1, 0x00 }, 309 { 0xd001, 1, 1, 0x01 }, 310 { 0xd001, 0, 1, 0x00 }, 311 { 0xd001, 5, 1, 0x00 }, 312 { 0xd002, 0, 5, 0x19 }, 313 { 0xd003, 0, 5, 0x1a }, 314 { 0xd004, 0, 5, 0x19 }, 315 { 0xd005, 0, 5, 0x1a }, 316 { 0xd00e, 0, 5, 0x10 }, 317 { 0xd00f, 0, 3, 0x04 }, 318 { 0xd00f, 3, 3, 0x05 }, 319 { 0xd010, 0, 3, 0x04 }, 320 { 0xd010, 3, 3, 0x05 }, 321 { 0xd016, 4, 4, 0x03 }, 322 { 0xd01f, 0, 6, 0x0a }, 323 { 0xd020, 0, 6, 0x0a }, 324 { 0x9bda, 0, 8, 0x00 }, 325 { 0x9be3, 0, 8, 0x00 }, 326 { 0x9bbe, 0, 1, 0x00 }, 327 { 0x9bcc, 0, 1, 0x00 }, 328 { 0x9bb9, 0, 8, 0x75 }, 329 { 0x9bcd, 0, 8, 0x24 }, 330 { 0x9bff, 0, 8, 0x30 }, 331 { 0xd015, 0, 8, 0x46 }, 332 { 0xd016, 0, 1, 0x00 }, 333 { 0xd044, 0, 8, 0x46 }, 334 { 0xd045, 0, 1, 0x00 }, 335 { 0xd008, 0, 8, 0x0f }, 336 { 0xd009, 0, 2, 0x02 }, 337 { 0xd006, 0, 8, 0x32 }, 338 { 0xd007, 0, 2, 0x01 }, 339 { 0xd00c, 0, 8, 0x36 }, 340 { 0xd00d, 0, 2, 0x03 }, 341 { 0xd00a, 0, 8, 0x35 }, 342 { 0xd00b, 0, 2, 0x01 }, 343 { 0x9bc7, 0, 8, 0x07 }, 344 { 0x9bc8, 0, 8, 0x90 }, 345 { 0x9bc3, 0, 8, 0x0f }, 346 { 0x9bc4, 0, 8, 0x02 }, 347 { 0x9bc5, 0, 8, 0x36 }, 348 { 0x9bc6, 0, 8, 0x03 }, 349 { 0x9bba, 0, 8, 0xc9 }, 350 { 0x9bc9, 0, 8, 0x79 }, 351 { 0xd011, 0, 8, 0x10 }, 352 { 0xd012, 0, 2, 0x01 }, 353 { 0xd013, 0, 8, 0x45 }, 354 { 0xd014, 0, 2, 0x03 }, 355 { 0xd040, 0, 8, 0x98 }, 356 { 0xd041, 0, 2, 0x00 }, 357 { 0xd042, 0, 8, 0xcf }, 358 { 0xd043, 0, 2, 0x03 }, 359 { 0xd045, 1, 1, 0x00 }, 360 { 0x9bcf, 0, 1, 0x01 }, 361 { 0xd045, 2, 1, 0x01 }, 362 { 0xd04f, 0, 8, 0x9a }, 363 { 0xd050, 0, 1, 0x01 }, 364 { 0xd051, 0, 8, 0x5a }, 365 { 0xd052, 0, 1, 0x01 }, 366 { 0xd053, 0, 8, 0x50 }, 367 { 0xd054, 0, 8, 0x46 }, 368 { 0x9bd7, 0, 8, 0x0a }, 369 { 0x9bd8, 0, 8, 0x14 }, 370 { 0x9bd9, 0, 8, 0x08 }, 371 { 0x9bd0, 0, 8, 0xcc }, 372 { 0x9be4, 0, 8, 0xa0 }, 373 { 0x9bbd, 0, 8, 0x8e }, 374 { 0x9be2, 0, 8, 0x4d }, 375 { 0x9bee, 0, 1, 0x01 }, 376 }; 377 378 /* Microtune MT2060 tuner init 379 AF9013_TUNER_MT2060_2 = 147 */ 380 static const struct af9013_reg_bit tuner_init_mt2060_2[] = { 381 { 0x9bd5, 0, 8, 0x01 }, 382 { 0x9bd6, 0, 8, 0x06 }, 383 { 0x9bbe, 0, 8, 0x01 }, 384 { 0xd1a0, 1, 1, 0x01 }, 385 { 0xd000, 0, 1, 0x01 }, 386 { 0xd000, 1, 1, 0x00 }, 387 { 0xd001, 1, 1, 0x01 }, 388 { 0xd001, 0, 1, 0x00 }, 389 { 0xd001, 5, 1, 0x00 }, 390 { 0xd002, 0, 5, 0x19 }, 391 { 0xd003, 0, 5, 0x1a }, 392 { 0xd004, 0, 5, 0x19 }, 393 { 0xd005, 0, 5, 0x1a }, 394 { 0xd00e, 0, 5, 0x10 }, 395 { 0xd00f, 0, 3, 0x04 }, 396 { 0xd00f, 3, 3, 0x05 }, 397 { 0xd010, 0, 3, 0x04 }, 398 { 0xd010, 3, 3, 0x05 }, 399 { 0xd016, 4, 4, 0x03 }, 400 { 0xd01f, 0, 6, 0x0a }, 401 { 0xd020, 0, 6, 0x0a }, 402 { 0xd015, 0, 8, 0x46 }, 403 { 0xd016, 0, 1, 0x00 }, 404 { 0xd044, 0, 8, 0x46 }, 405 { 0xd045, 0, 1, 0x00 }, 406 { 0xd008, 0, 8, 0x0f }, 407 { 0xd009, 0, 2, 0x02 }, 408 { 0xd006, 0, 8, 0x32 }, 409 { 0xd007, 0, 2, 0x01 }, 410 { 0xd00c, 0, 8, 0x36 }, 411 { 0xd00d, 0, 2, 0x03 }, 412 { 0xd00a, 0, 8, 0x35 }, 413 { 0xd00b, 0, 2, 0x01 }, 414 { 0x9bc7, 0, 8, 0x07 }, 415 { 0x9bc8, 0, 8, 0x90 }, 416 { 0x9bc3, 0, 8, 0x0f }, 417 { 0x9bc4, 0, 8, 0x02 }, 418 { 0x9bc5, 0, 8, 0x36 }, 419 { 0x9bc6, 0, 8, 0x03 }, 420 { 0x9bba, 0, 8, 0xc9 }, 421 { 0x9bc9, 0, 8, 0x79 }, 422 { 0xd011, 0, 8, 0x10 }, 423 { 0xd012, 0, 2, 0x01 }, 424 { 0xd013, 0, 8, 0x45 }, 425 { 0xd014, 0, 2, 0x03 }, 426 { 0xd040, 0, 8, 0x98 }, 427 { 0xd041, 0, 2, 0x00 }, 428 { 0xd042, 0, 8, 0xcf }, 429 { 0xd043, 0, 2, 0x03 }, 430 { 0xd045, 1, 1, 0x00 }, 431 { 0x9bcf, 0, 8, 0x01 }, 432 { 0xd045, 2, 1, 0x01 }, 433 { 0xd04f, 0, 8, 0x9a }, 434 { 0xd050, 0, 1, 0x01 }, 435 { 0xd051, 0, 8, 0x5a }, 436 { 0xd052, 0, 1, 0x01 }, 437 { 0xd053, 0, 8, 0x96 }, 438 { 0xd054, 0, 8, 0x46 }, 439 { 0xd045, 7, 1, 0x00 }, 440 { 0x9bd7, 0, 8, 0x0a }, 441 { 0x9bd8, 0, 8, 0x14 }, 442 { 0x9bd9, 0, 8, 0x08 }, 443 }; 444 445 /* MaxLinear MXL5003 tuner init 446 AF9013_TUNER_MXL5003D = 3 */ 447 static const struct af9013_reg_bit tuner_init_mxl5003d[] = { 448 { 0x9bd5, 0, 8, 0x01 }, 449 { 0x9bd6, 0, 8, 0x09 }, 450 { 0xd1a0, 1, 1, 0x01 }, 451 { 0xd000, 0, 1, 0x01 }, 452 { 0xd000, 1, 1, 0x00 }, 453 { 0xd001, 1, 1, 0x01 }, 454 { 0xd001, 0, 1, 0x00 }, 455 { 0xd001, 5, 1, 0x00 }, 456 { 0xd002, 0, 5, 0x19 }, 457 { 0xd003, 0, 5, 0x1a }, 458 { 0xd004, 0, 5, 0x19 }, 459 { 0xd005, 0, 5, 0x1a }, 460 { 0xd00e, 0, 5, 0x10 }, 461 { 0xd00f, 0, 3, 0x04 }, 462 { 0xd00f, 3, 3, 0x05 }, 463 { 0xd010, 0, 3, 0x04 }, 464 { 0xd010, 3, 3, 0x05 }, 465 { 0xd016, 4, 4, 0x03 }, 466 { 0xd01f, 0, 6, 0x0a }, 467 { 0xd020, 0, 6, 0x0a }, 468 { 0x9bda, 0, 8, 0x00 }, 469 { 0x9be3, 0, 8, 0x00 }, 470 { 0x9bfc, 0, 8, 0x0f }, 471 { 0x9bf6, 0, 8, 0x01 }, 472 { 0x9bbe, 0, 1, 0x01 }, 473 { 0xd015, 0, 8, 0x33 }, 474 { 0xd016, 0, 1, 0x00 }, 475 { 0xd044, 0, 8, 0x40 }, 476 { 0xd045, 0, 1, 0x00 }, 477 { 0xd008, 0, 8, 0x0f }, 478 { 0xd009, 0, 2, 0x02 }, 479 { 0xd006, 0, 8, 0x6c }, 480 { 0xd007, 0, 2, 0x00 }, 481 { 0xd00c, 0, 8, 0x3d }, 482 { 0xd00d, 0, 2, 0x00 }, 483 { 0xd00a, 0, 8, 0x45 }, 484 { 0xd00b, 0, 2, 0x01 }, 485 { 0x9bc7, 0, 8, 0x07 }, 486 { 0x9bc8, 0, 8, 0x52 }, 487 { 0x9bc3, 0, 8, 0x0f }, 488 { 0x9bc4, 0, 8, 0x02 }, 489 { 0x9bc5, 0, 8, 0x3d }, 490 { 0x9bc6, 0, 8, 0x00 }, 491 { 0x9bba, 0, 8, 0xa2 }, 492 { 0x9bc9, 0, 8, 0xa0 }, 493 { 0xd011, 0, 8, 0x56 }, 494 { 0xd012, 0, 2, 0x00 }, 495 { 0xd013, 0, 8, 0x50 }, 496 { 0xd014, 0, 2, 0x00 }, 497 { 0xd040, 0, 8, 0x56 }, 498 { 0xd041, 0, 2, 0x00 }, 499 { 0xd042, 0, 8, 0x50 }, 500 { 0xd043, 0, 2, 0x00 }, 501 { 0xd045, 1, 1, 0x00 }, 502 { 0x9bcf, 0, 8, 0x01 }, 503 { 0xd045, 2, 1, 0x01 }, 504 { 0xd04f, 0, 8, 0x9a }, 505 { 0xd050, 0, 1, 0x01 }, 506 { 0xd051, 0, 8, 0x5a }, 507 { 0xd052, 0, 1, 0x01 }, 508 { 0xd053, 0, 8, 0x50 }, 509 { 0xd054, 0, 8, 0x46 }, 510 { 0x9bd7, 0, 8, 0x0a }, 511 { 0x9bd8, 0, 8, 0x14 }, 512 { 0x9bd9, 0, 8, 0x08 }, 513 }; 514 515 /* MaxLinear MXL5005S & MXL5007T tuner init 516 AF9013_TUNER_MXL5005D = 13 517 AF9013_TUNER_MXL5005R = 30 518 AF9013_TUNER_MXL5007T = 177 */ 519 static const struct af9013_reg_bit tuner_init_mxl5005[] = { 520 { 0x9bd5, 0, 8, 0x01 }, 521 { 0x9bd6, 0, 8, 0x07 }, 522 { 0xd1a0, 1, 1, 0x01 }, 523 { 0xd000, 0, 1, 0x01 }, 524 { 0xd000, 1, 1, 0x00 }, 525 { 0xd001, 1, 1, 0x01 }, 526 { 0xd001, 0, 1, 0x00 }, 527 { 0xd001, 5, 1, 0x00 }, 528 { 0xd002, 0, 5, 0x19 }, 529 { 0xd003, 0, 5, 0x1a }, 530 { 0xd004, 0, 5, 0x19 }, 531 { 0xd005, 0, 5, 0x1a }, 532 { 0xd00e, 0, 5, 0x10 }, 533 { 0xd00f, 0, 3, 0x04 }, 534 { 0xd00f, 3, 3, 0x05 }, 535 { 0xd010, 0, 3, 0x04 }, 536 { 0xd010, 3, 3, 0x05 }, 537 { 0xd016, 4, 4, 0x03 }, 538 { 0xd01f, 0, 6, 0x0a }, 539 { 0xd020, 0, 6, 0x0a }, 540 { 0x9bda, 0, 8, 0x01 }, 541 { 0x9be3, 0, 8, 0x01 }, 542 { 0x9bbe, 0, 1, 0x01 }, 543 { 0x9bcc, 0, 1, 0x01 }, 544 { 0x9bb9, 0, 8, 0x00 }, 545 { 0x9bcd, 0, 8, 0x28 }, 546 { 0x9bff, 0, 8, 0x24 }, 547 { 0xd015, 0, 8, 0x40 }, 548 { 0xd016, 0, 1, 0x00 }, 549 { 0xd044, 0, 8, 0x40 }, 550 { 0xd045, 0, 1, 0x00 }, 551 { 0xd008, 0, 8, 0x0f }, 552 { 0xd009, 0, 2, 0x02 }, 553 { 0xd006, 0, 8, 0x73 }, 554 { 0xd007, 0, 2, 0x01 }, 555 { 0xd00c, 0, 8, 0xfa }, 556 { 0xd00d, 0, 2, 0x01 }, 557 { 0xd00a, 0, 8, 0xff }, 558 { 0xd00b, 0, 2, 0x01 }, 559 { 0x9bc7, 0, 8, 0x23 }, 560 { 0x9bc8, 0, 8, 0x55 }, 561 { 0x9bc3, 0, 8, 0x01 }, 562 { 0x9bc4, 0, 8, 0x02 }, 563 { 0x9bc5, 0, 8, 0xfa }, 564 { 0x9bc6, 0, 8, 0x01 }, 565 { 0x9bba, 0, 8, 0xff }, 566 { 0x9bc9, 0, 8, 0xff }, 567 { 0x9bd3, 0, 8, 0x95 }, 568 { 0xd011, 0, 8, 0x70 }, 569 { 0xd012, 0, 2, 0x01 }, 570 { 0xd013, 0, 8, 0xfb }, 571 { 0xd014, 0, 2, 0x01 }, 572 { 0xd040, 0, 8, 0x70 }, 573 { 0xd041, 0, 2, 0x01 }, 574 { 0xd042, 0, 8, 0xfb }, 575 { 0xd043, 0, 2, 0x01 }, 576 { 0xd045, 1, 1, 0x00 }, 577 { 0x9bcf, 0, 1, 0x01 }, 578 { 0xd045, 2, 1, 0x01 }, 579 { 0xd04f, 0, 8, 0x9a }, 580 { 0xd050, 0, 1, 0x01 }, 581 { 0xd051, 0, 8, 0x5a }, 582 { 0xd052, 0, 1, 0x01 }, 583 { 0xd053, 0, 8, 0x50 }, 584 { 0xd054, 0, 8, 0x46 }, 585 { 0x9bd7, 0, 8, 0x0a }, 586 { 0x9bd8, 0, 8, 0x14 }, 587 { 0x9bd9, 0, 8, 0x08 }, 588 { 0x9bd0, 0, 8, 0x93 }, 589 { 0x9be4, 0, 8, 0xfe }, 590 { 0x9bbd, 0, 8, 0x63 }, 591 { 0x9be2, 0, 8, 0xfe }, 592 { 0x9bee, 0, 1, 0x01 }, 593 }; 594 595 /* Quantek QT1010 tuner init 596 AF9013_TUNER_QT1010 = 134 597 AF9013_TUNER_QT1010A = 162 */ 598 static const struct af9013_reg_bit tuner_init_qt1010[] = { 599 { 0x9bd5, 0, 8, 0x01 }, 600 { 0x9bd6, 0, 8, 0x09 }, 601 { 0xd1a0, 1, 1, 0x01 }, 602 { 0xd000, 0, 1, 0x01 }, 603 { 0xd000, 1, 1, 0x00 }, 604 { 0xd001, 1, 1, 0x01 }, 605 { 0xd001, 0, 1, 0x00 }, 606 { 0xd001, 5, 1, 0x00 }, 607 { 0xd002, 0, 5, 0x19 }, 608 { 0xd003, 0, 5, 0x1a }, 609 { 0xd004, 0, 5, 0x19 }, 610 { 0xd005, 0, 5, 0x1a }, 611 { 0xd00e, 0, 5, 0x10 }, 612 { 0xd00f, 0, 3, 0x04 }, 613 { 0xd00f, 3, 3, 0x05 }, 614 { 0xd010, 0, 3, 0x04 }, 615 { 0xd010, 3, 3, 0x05 }, 616 { 0xd016, 4, 4, 0x03 }, 617 { 0xd01f, 0, 6, 0x0a }, 618 { 0xd020, 0, 6, 0x0a }, 619 { 0x9bda, 0, 8, 0x01 }, 620 { 0x9be3, 0, 8, 0x01 }, 621 { 0xd015, 0, 8, 0x46 }, 622 { 0xd016, 0, 1, 0x00 }, 623 { 0xd044, 0, 8, 0x46 }, 624 { 0xd045, 0, 1, 0x00 }, 625 { 0x9bbe, 0, 1, 0x01 }, 626 { 0x9bcc, 0, 1, 0x01 }, 627 { 0x9bb9, 0, 8, 0x00 }, 628 { 0x9bcd, 0, 8, 0x28 }, 629 { 0x9bff, 0, 8, 0x20 }, 630 { 0xd008, 0, 8, 0x0f }, 631 { 0xd009, 0, 2, 0x02 }, 632 { 0xd006, 0, 8, 0x99 }, 633 { 0xd007, 0, 2, 0x01 }, 634 { 0xd00c, 0, 8, 0x0f }, 635 { 0xd00d, 0, 2, 0x02 }, 636 { 0xd00a, 0, 8, 0x50 }, 637 { 0xd00b, 0, 2, 0x01 }, 638 { 0x9bc7, 0, 8, 0x00 }, 639 { 0x9bc8, 0, 8, 0x00 }, 640 { 0x9bc3, 0, 8, 0x0f }, 641 { 0x9bc4, 0, 8, 0x02 }, 642 { 0x9bc5, 0, 8, 0x0f }, 643 { 0x9bc6, 0, 8, 0x02 }, 644 { 0x9bba, 0, 8, 0xc5 }, 645 { 0x9bc9, 0, 8, 0xff }, 646 { 0xd011, 0, 8, 0x58 }, 647 { 0xd012, 0, 2, 0x02 }, 648 { 0xd013, 0, 8, 0x89 }, 649 { 0xd014, 0, 2, 0x01 }, 650 { 0xd040, 0, 8, 0x58 }, 651 { 0xd041, 0, 2, 0x02 }, 652 { 0xd042, 0, 8, 0x89 }, 653 { 0xd043, 0, 2, 0x01 }, 654 { 0xd045, 1, 1, 0x00 }, 655 { 0x9bcf, 0, 1, 0x01 }, 656 { 0xd045, 2, 1, 0x01 }, 657 { 0xd04f, 0, 8, 0x9a }, 658 { 0xd050, 0, 1, 0x01 }, 659 { 0xd051, 0, 8, 0x5a }, 660 { 0xd052, 0, 1, 0x01 }, 661 { 0xd053, 0, 8, 0x50 }, 662 { 0xd054, 0, 8, 0x46 }, 663 { 0x9bd7, 0, 8, 0x0a }, 664 { 0x9bd8, 0, 8, 0x14 }, 665 { 0x9bd9, 0, 8, 0x08 }, 666 { 0x9bd0, 0, 8, 0xcd }, 667 { 0x9be4, 0, 8, 0xbb }, 668 { 0x9bbd, 0, 8, 0x93 }, 669 { 0x9be2, 0, 8, 0x80 }, 670 { 0x9bee, 0, 1, 0x01 }, 671 }; 672 673 /* Freescale MC44S803 tuner init 674 AF9013_TUNER_MC44S803 = 133 */ 675 static const struct af9013_reg_bit tuner_init_mc44s803[] = { 676 { 0x9bd5, 0, 8, 0x01 }, 677 { 0x9bd6, 0, 8, 0x06 }, 678 { 0xd1a0, 1, 1, 0x01 }, 679 { 0xd000, 0, 1, 0x01 }, 680 { 0xd000, 1, 1, 0x00 }, 681 { 0xd001, 1, 1, 0x01 }, 682 { 0xd001, 0, 1, 0x00 }, 683 { 0xd001, 5, 1, 0x00 }, 684 { 0xd002, 0, 5, 0x19 }, 685 { 0xd003, 0, 5, 0x1a }, 686 { 0xd004, 0, 5, 0x19 }, 687 { 0xd005, 0, 5, 0x1a }, 688 { 0xd00e, 0, 5, 0x10 }, 689 { 0xd00f, 0, 3, 0x04 }, 690 { 0xd00f, 3, 3, 0x05 }, 691 { 0xd010, 0, 3, 0x04 }, 692 { 0xd010, 3, 3, 0x05 }, 693 { 0xd016, 4, 4, 0x03 }, 694 { 0xd01f, 0, 6, 0x0a }, 695 { 0xd020, 0, 6, 0x0a }, 696 { 0x9bda, 0, 8, 0x00 }, 697 { 0x9be3, 0, 8, 0x00 }, 698 { 0x9bf6, 0, 8, 0x01 }, 699 { 0x9bf8, 0, 8, 0x02 }, 700 { 0x9bf9, 0, 8, 0x02 }, 701 { 0x9bfc, 0, 8, 0x1f }, 702 { 0x9bbe, 0, 1, 0x01 }, 703 { 0x9bcc, 0, 1, 0x01 }, 704 { 0x9bb9, 0, 8, 0x00 }, 705 { 0x9bcd, 0, 8, 0x24 }, 706 { 0x9bff, 0, 8, 0x24 }, 707 { 0xd015, 0, 8, 0x46 }, 708 { 0xd016, 0, 1, 0x00 }, 709 { 0xd044, 0, 8, 0x46 }, 710 { 0xd045, 0, 1, 0x00 }, 711 { 0xd008, 0, 8, 0x01 }, 712 { 0xd009, 0, 2, 0x02 }, 713 { 0xd006, 0, 8, 0x7b }, 714 { 0xd007, 0, 2, 0x00 }, 715 { 0xd00c, 0, 8, 0x7c }, 716 { 0xd00d, 0, 2, 0x02 }, 717 { 0xd00a, 0, 8, 0xfe }, 718 { 0xd00b, 0, 2, 0x01 }, 719 { 0x9bc7, 0, 8, 0x08 }, 720 { 0x9bc8, 0, 8, 0x9a }, 721 { 0x9bc3, 0, 8, 0x01 }, 722 { 0x9bc4, 0, 8, 0x02 }, 723 { 0x9bc5, 0, 8, 0x7c }, 724 { 0x9bc6, 0, 8, 0x02 }, 725 { 0x9bba, 0, 8, 0xfc }, 726 { 0x9bc9, 0, 8, 0xaa }, 727 { 0xd011, 0, 8, 0x6b }, 728 { 0xd012, 0, 2, 0x00 }, 729 { 0xd013, 0, 8, 0x88 }, 730 { 0xd014, 0, 2, 0x02 }, 731 { 0xd040, 0, 8, 0x6b }, 732 { 0xd041, 0, 2, 0x00 }, 733 { 0xd042, 0, 8, 0x7c }, 734 { 0xd043, 0, 2, 0x02 }, 735 { 0xd045, 1, 1, 0x00 }, 736 { 0x9bcf, 0, 1, 0x01 }, 737 { 0xd045, 2, 1, 0x01 }, 738 { 0xd04f, 0, 8, 0x9a }, 739 { 0xd050, 0, 1, 0x01 }, 740 { 0xd051, 0, 8, 0x5a }, 741 { 0xd052, 0, 1, 0x01 }, 742 { 0xd053, 0, 8, 0x50 }, 743 { 0xd054, 0, 8, 0x46 }, 744 { 0x9bd7, 0, 8, 0x0a }, 745 { 0x9bd8, 0, 8, 0x14 }, 746 { 0x9bd9, 0, 8, 0x08 }, 747 { 0x9bd0, 0, 8, 0x9e }, 748 { 0x9be4, 0, 8, 0xff }, 749 { 0x9bbd, 0, 8, 0x9e }, 750 { 0x9be2, 0, 8, 0x25 }, 751 { 0x9bee, 0, 1, 0x01 }, 752 { 0xd73b, 3, 1, 0x00 }, 753 }; 754 755 /* unknown, probably for tin can tuner, tuner init 756 AF9013_TUNER_UNKNOWN = 140 */ 757 static const struct af9013_reg_bit tuner_init_unknown[] = { 758 { 0x9bd5, 0, 8, 0x01 }, 759 { 0x9bd6, 0, 8, 0x02 }, 760 { 0xd1a0, 1, 1, 0x01 }, 761 { 0xd000, 0, 1, 0x01 }, 762 { 0xd000, 1, 1, 0x00 }, 763 { 0xd001, 1, 1, 0x01 }, 764 { 0xd001, 0, 1, 0x00 }, 765 { 0xd001, 5, 1, 0x00 }, 766 { 0xd002, 0, 5, 0x19 }, 767 { 0xd003, 0, 5, 0x1a }, 768 { 0xd004, 0, 5, 0x19 }, 769 { 0xd005, 0, 5, 0x1a }, 770 { 0xd00e, 0, 5, 0x10 }, 771 { 0xd00f, 0, 3, 0x04 }, 772 { 0xd00f, 3, 3, 0x05 }, 773 { 0xd010, 0, 3, 0x04 }, 774 { 0xd010, 3, 3, 0x05 }, 775 { 0xd016, 4, 4, 0x03 }, 776 { 0xd01f, 0, 6, 0x0a }, 777 { 0xd020, 0, 6, 0x0a }, 778 { 0x9bda, 0, 8, 0x01 }, 779 { 0x9be3, 0, 8, 0x01 }, 780 { 0xd1a0, 1, 1, 0x00 }, 781 { 0x9bbe, 0, 1, 0x01 }, 782 { 0x9bcc, 0, 1, 0x01 }, 783 { 0x9bb9, 0, 8, 0x00 }, 784 { 0x9bcd, 0, 8, 0x18 }, 785 { 0x9bff, 0, 8, 0x2c }, 786 { 0xd015, 0, 8, 0x46 }, 787 { 0xd016, 0, 1, 0x00 }, 788 { 0xd044, 0, 8, 0x46 }, 789 { 0xd045, 0, 1, 0x00 }, 790 { 0xd008, 0, 8, 0xdf }, 791 { 0xd009, 0, 2, 0x02 }, 792 { 0xd006, 0, 8, 0x44 }, 793 { 0xd007, 0, 2, 0x01 }, 794 { 0xd00c, 0, 8, 0x00 }, 795 { 0xd00d, 0, 2, 0x02 }, 796 { 0xd00a, 0, 8, 0xf6 }, 797 { 0xd00b, 0, 2, 0x01 }, 798 { 0x9bba, 0, 8, 0xf9 }, 799 { 0x9bc8, 0, 8, 0xaa }, 800 { 0x9bc3, 0, 8, 0xdf }, 801 { 0x9bc4, 0, 8, 0x02 }, 802 { 0x9bc5, 0, 8, 0x00 }, 803 { 0x9bc6, 0, 8, 0x02 }, 804 { 0x9bc9, 0, 8, 0xf0 }, 805 { 0xd011, 0, 8, 0x3c }, 806 { 0xd012, 0, 2, 0x01 }, 807 { 0xd013, 0, 8, 0xf7 }, 808 { 0xd014, 0, 2, 0x02 }, 809 { 0xd040, 0, 8, 0x0b }, 810 { 0xd041, 0, 2, 0x02 }, 811 { 0xd042, 0, 8, 0x4d }, 812 { 0xd043, 0, 2, 0x00 }, 813 { 0xd045, 1, 1, 0x00 }, 814 { 0x9bcf, 0, 1, 0x01 }, 815 { 0xd045, 2, 1, 0x01 }, 816 { 0xd04f, 0, 8, 0x9a }, 817 { 0xd050, 0, 1, 0x01 }, 818 { 0xd051, 0, 8, 0x5a }, 819 { 0xd052, 0, 1, 0x01 }, 820 { 0xd053, 0, 8, 0x50 }, 821 { 0xd054, 0, 8, 0x46 }, 822 { 0x9bd7, 0, 8, 0x0a }, 823 { 0x9bd8, 0, 8, 0x14 }, 824 { 0x9bd9, 0, 8, 0x08 }, 825 }; 826 827 /* NXP TDA18271 & TDA18218 tuner init 828 AF9013_TUNER_TDA18271 = 156 829 AF9013_TUNER_TDA18218 = 179 */ 830 static const struct af9013_reg_bit tuner_init_tda18271[] = { 831 { 0x9bd5, 0, 8, 0x01 }, 832 { 0x9bd6, 0, 8, 0x04 }, 833 { 0xd1a0, 1, 1, 0x01 }, 834 { 0xd000, 0, 1, 0x01 }, 835 { 0xd000, 1, 1, 0x00 }, 836 { 0xd001, 1, 1, 0x01 }, 837 { 0xd001, 0, 1, 0x00 }, 838 { 0xd001, 5, 1, 0x00 }, 839 { 0xd002, 0, 5, 0x19 }, 840 { 0xd003, 0, 5, 0x1a }, 841 { 0xd004, 0, 5, 0x19 }, 842 { 0xd005, 0, 5, 0x1a }, 843 { 0xd00e, 0, 5, 0x10 }, 844 { 0xd00f, 0, 3, 0x04 }, 845 { 0xd00f, 3, 3, 0x05 }, 846 { 0xd010, 0, 3, 0x04 }, 847 { 0xd010, 3, 3, 0x05 }, 848 { 0xd016, 4, 4, 0x03 }, 849 { 0xd01f, 0, 6, 0x0a }, 850 { 0xd020, 0, 6, 0x0a }, 851 { 0x9bda, 0, 8, 0x01 }, 852 { 0x9be3, 0, 8, 0x01 }, 853 { 0xd1a0, 1, 1, 0x00 }, 854 { 0x9bbe, 0, 1, 0x01 }, 855 { 0x9bcc, 0, 1, 0x01 }, 856 { 0x9bb9, 0, 8, 0x00 }, 857 { 0x9bcd, 0, 8, 0x18 }, 858 { 0x9bff, 0, 8, 0x2c }, 859 { 0xd015, 0, 8, 0x46 }, 860 { 0xd016, 0, 1, 0x00 }, 861 { 0xd044, 0, 8, 0x46 }, 862 { 0xd045, 0, 1, 0x00 }, 863 { 0xd008, 0, 8, 0xdf }, 864 { 0xd009, 0, 2, 0x02 }, 865 { 0xd006, 0, 8, 0x44 }, 866 { 0xd007, 0, 2, 0x01 }, 867 { 0xd00c, 0, 8, 0x00 }, 868 { 0xd00d, 0, 2, 0x02 }, 869 { 0xd00a, 0, 8, 0xf6 }, 870 { 0xd00b, 0, 2, 0x01 }, 871 { 0x9bba, 0, 8, 0xf9 }, 872 { 0x9bc8, 0, 8, 0xaa }, 873 { 0x9bc3, 0, 8, 0xdf }, 874 { 0x9bc4, 0, 8, 0x02 }, 875 { 0x9bc5, 0, 8, 0x00 }, 876 { 0x9bc6, 0, 8, 0x02 }, 877 { 0x9bc9, 0, 8, 0xf0 }, 878 { 0xd011, 0, 8, 0x3c }, 879 { 0xd012, 0, 2, 0x01 }, 880 { 0xd013, 0, 8, 0xf7 }, 881 { 0xd014, 0, 2, 0x02 }, 882 { 0xd040, 0, 8, 0x0b }, 883 { 0xd041, 0, 2, 0x02 }, 884 { 0xd042, 0, 8, 0x4d }, 885 { 0xd043, 0, 2, 0x00 }, 886 { 0xd045, 1, 1, 0x00 }, 887 { 0x9bcf, 0, 1, 0x01 }, 888 { 0xd045, 2, 1, 0x01 }, 889 { 0xd04f, 0, 8, 0x9a }, 890 { 0xd050, 0, 1, 0x01 }, 891 { 0xd051, 0, 8, 0x5a }, 892 { 0xd052, 0, 1, 0x01 }, 893 { 0xd053, 0, 8, 0x50 }, 894 { 0xd054, 0, 8, 0x46 }, 895 { 0x9bd7, 0, 8, 0x0a }, 896 { 0x9bd8, 0, 8, 0x14 }, 897 { 0x9bd9, 0, 8, 0x08 }, 898 { 0x9bd0, 0, 8, 0xa8 }, 899 { 0x9be4, 0, 8, 0x7f }, 900 { 0x9bbd, 0, 8, 0xa8 }, 901 { 0x9be2, 0, 8, 0x20 }, 902 { 0x9bee, 0, 1, 0x01 }, 903 }; 904 905 #endif /* AF9013_PRIV_H */ 906