Mercurial > pt1.oyama
annotate driver/pt1_tuner_data.c @ 56:521d796003b2
small build fixes
- added install rule to arib25 top level makefile
- suppress warning in compilation of arib_std_b25.c
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 13 Sep 2009 11:48:40 +0900 |
parents | 65c8ac567074 |
children | 272a8fba970b |
rev | line source |
---|---|
0 | 1 |
2 #include <linux/module.h> | |
3 #include <linux/kernel.h> | |
4 #include <linux/errno.h> | |
5 #include <linux/pci.h> | |
6 #include <linux/init.h> | |
7 #include <linux/interrupt.h> | |
8 | |
9 #include <asm/system.h> | |
10 #include <asm/io.h> | |
11 #include <asm/irq.h> | |
12 #include <asm/uaccess.h> | |
13 | |
14 #include "pt1_com.h" | |
15 #include "pt1_pci.h" | |
16 #include "pt1_i2c.h" | |
17 #include "pt1_tuner.h" | |
18 #include "pt1_tuner_data.h" | |
19 | |
20 /***************************************************************************/ | |
21 /* 省電力テーブル */ | |
22 /***************************************************************************/ | |
23 /* | |
24 ISDB-Sの省電力設定 | |
25 C0 C1 | |
26 送信:7Bit Address Mode(1b/19):17:00 | |
27 ISDB-Sの省電力無効(2コマンド) | |
28 C0 C1 | |
29 送信:7Bit Address Mode(1B/19):fe:c0:f0:04 | |
30 送信:7Bit Address Mode(1B/19):17:01 | |
31 */ | |
32 WBLOCK isdb_s_wake = { | |
33 0, | |
34 4, | |
35 {0xFE, 0xC0, 0xF0, 0x04} | |
36 }; | |
37 WBLOCK isdb_s_sleep = { | |
38 0, | |
39 2, | |
40 {0x17, 0x00} | |
41 }; | |
42 /* | |
43 ISDB-Tの省電力設定 | |
44 C0 C1 | |
45 送信:7Bit Address Mode(1A/18):03:80 | |
46 | |
47 ISDB-Tの省電力無効(2コマンド) | |
48 C0 C1 | |
49 送信:7Bit Address Mode(1A/18):fe:c2 | |
50 送信:7Bit Address Mode(1A/18):03:90 | |
51 */ | |
52 | |
53 WBLOCK isdb_t_wake = { | |
54 0, | |
55 2, | |
56 {0xFE, 0xC2} | |
57 }; | |
58 WBLOCK isdb_t_sleep = { | |
59 0, | |
60 2, | |
61 {0x03, 0x80} | |
62 }; | |
63 | |
64 /***************************************************************************/ | |
65 /* 初期化データ定義(共通) */ | |
66 /***************************************************************************/ | |
67 WBLOCK com_initdata = { | |
68 0, | |
69 2, | |
70 {0x01, 0x80} | |
71 }; | |
72 | |
73 /***************************************************************************/ | |
74 /* 初期化データ定義(ISDB-S) */ | |
75 /***************************************************************************/ | |
76 // ISDB-S初期化値1 | |
77 WBLOCK isdb_s_init1 ={ | |
78 0, | |
79 1, | |
80 {0x07} | |
81 }; | |
82 // ISDB-S初期化値2 | |
83 WBLOCK isdb_s_init2 ={ | |
84 0, | |
85 2, | |
86 {0x04, 0x02} | |
87 }; | |
88 | |
89 // ISDB-S初期化値3 | |
90 WBLOCK isdb_s_init3 ={ | |
91 0, | |
92 2, | |
93 {0x0D, 0x55} | |
94 }; | |
95 // ISDB-S初期化値4 | |
96 WBLOCK isdb_s_init4 ={ | |
97 0, | |
98 2, | |
99 {0x11, 0x40} | |
100 }; | |
101 // ISDB-S初期化値5 | |
102 WBLOCK isdb_s_init5 ={ | |
103 0, | |
104 2, | |
105 {0x13, 0x80} | |
106 }; | |
107 // ISDB-S初期化値6 | |
108 WBLOCK isdb_s_init6 ={ | |
109 0, | |
110 2, | |
111 {0x17, 0x01} | |
112 }; | |
113 // ISDB-S初期化値7 | |
114 WBLOCK isdb_s_init7 ={ | |
115 0, | |
116 2, | |
117 {0x1C, 0x0A} | |
118 }; | |
119 // ISDB-S初期化値8 | |
120 WBLOCK isdb_s_init8 ={ | |
121 0, | |
122 2, | |
123 {0x1D, 0xAA} | |
124 }; | |
125 // ISDB-S初期化値9 | |
126 WBLOCK isdb_s_init9 ={ | |
127 0, | |
128 2, | |
129 {0x1E, 0x20} | |
130 }; | |
131 // ISDB-S初期化値10 | |
132 WBLOCK isdb_s_init10 ={ | |
133 0, | |
134 2, | |
135 {0x1F, 0x88} | |
136 }; | |
137 // ISDB-S初期化値11 | |
138 WBLOCK isdb_s_init11 ={ | |
139 0, | |
140 2, | |
141 {0x51, 0xB0} | |
142 }; | |
143 // ISDB-S初期化値12 | |
144 WBLOCK isdb_s_init12 ={ | |
145 0, | |
146 2, | |
147 {0x52, 0x89} | |
148 }; | |
149 // ISDB-S初期化値13 | |
150 WBLOCK isdb_s_init13 ={ | |
151 0, | |
152 2, | |
153 {0x53, 0xB3} | |
154 }; | |
155 // ISDB-S初期化値14 | |
156 WBLOCK isdb_s_init14 ={ | |
157 0, | |
158 2, | |
159 {0x5A, 0x2D} | |
160 }; | |
161 // ISDB-S初期化値15 | |
162 WBLOCK isdb_s_init15 ={ | |
163 0, | |
164 2, | |
165 {0x5B, 0xD3} | |
166 }; | |
167 // ISDB-S初期化値16 | |
168 WBLOCK isdb_s_init16 ={ | |
169 0, | |
170 2, | |
171 {0x85, 0x69} | |
172 }; | |
173 // ISDB-S初期化値17 | |
174 WBLOCK isdb_s_init17 ={ | |
175 0, | |
176 2, | |
177 {0x87, 0x04} | |
178 }; | |
179 // ISDB-S初期化値18 | |
180 WBLOCK isdb_s_init18 ={ | |
181 0, | |
182 2, | |
183 {0x8E, 0x02} | |
184 }; | |
185 // ISDB-S初期化値19 | |
186 WBLOCK isdb_s_init19 ={ | |
187 0, | |
188 2, | |
189 {0xA3, 0xF7} | |
190 }; | |
191 // ISDB-S初期化値20 | |
192 WBLOCK isdb_s_init20 ={ | |
193 0, | |
194 2, | |
195 {0xA5, 0xC0} | |
196 }; | |
197 // ISDB-S初期化値21 | |
198 WBLOCK isdb_s_init21 ={ | |
199 0, | |
200 4, | |
201 {0xFE, 0xC0, 0xF0, 0x04} | |
202 }; | |
203 /***************************************************************************/ | |
204 /* 初期化データ定義(ISDB-T) */ | |
205 /***************************************************************************/ | |
206 // ISDB-T初期化値1 | |
207 WBLOCK isdb_t_init1 ={ | |
208 0, | |
209 2, | |
210 {0x03, 0x90} | |
211 }; | |
212 // ISDB-T初期化値2 | |
213 WBLOCK isdb_t_init2 ={ | |
214 0, | |
215 2, | |
216 {0x14, 0x8F} | |
217 }; | |
218 // ISDB-T初期化値3 | |
219 WBLOCK isdb_t_init3 ={ | |
220 0, | |
221 2, | |
222 {0x1C, 0x2A} | |
223 }; | |
224 // ISDB-T初期化値4 | |
225 WBLOCK isdb_t_init4 ={ | |
226 0, | |
227 2, | |
228 {0x1D, 0xA8} | |
229 }; | |
230 // ISDB-T初期化値5 | |
231 WBLOCK isdb_t_init5 ={ | |
232 0, | |
233 2, | |
234 {0x1E, 0xA2} | |
235 }; | |
236 // ISDB-T初期化値6 | |
237 WBLOCK isdb_t_init6 ={ | |
238 0, | |
239 2, | |
240 {0x22, 0x83} | |
241 }; | |
242 // ISDB-T初期化値7 | |
243 WBLOCK isdb_t_init7 ={ | |
244 0, | |
245 2, | |
246 {0x31, 0x0D} | |
247 }; | |
248 // ISDB-T初期化値8 | |
249 WBLOCK isdb_t_init8 ={ | |
250 0, | |
251 2, | |
252 {0x32, 0xE0} | |
253 }; | |
254 // ISDB-T初期化値9 | |
255 WBLOCK isdb_t_init9 ={ | |
256 0, | |
257 2, | |
258 {0x39, 0xD3} | |
259 }; | |
260 // ISDB-T初期化値10 | |
261 WBLOCK isdb_t_init10 ={ | |
262 0, | |
263 2, | |
264 {0x3A, 0x00} | |
265 }; | |
266 // ISDB-T初期化値11 | |
267 WBLOCK isdb_t_init11 ={ | |
268 0, | |
269 2, | |
270 {0x5C, 0x40} | |
271 }; | |
272 // ISDB-T初期化値12 | |
273 WBLOCK isdb_t_init12 ={ | |
274 0, | |
275 2, | |
276 {0x5F, 0x80} | |
277 }; | |
278 // ISDB-T初期化値13 | |
279 WBLOCK isdb_t_init13 ={ | |
280 0, | |
281 2, | |
282 {0x75, 0x02} | |
283 }; | |
284 // ISDB-T初期化値14 | |
285 WBLOCK isdb_t_init14 ={ | |
286 0, | |
287 2, | |
288 {0x76, 0x4E} | |
289 }; | |
290 // ISDB-T初期化値15 | |
291 WBLOCK isdb_t_init15 ={ | |
292 0, | |
293 2, | |
294 {0x77, 0x03} | |
295 }; | |
296 // ISDB-T初期化値16 | |
297 WBLOCK isdb_t_init16 ={ | |
298 0, | |
299 2, | |
300 {0xEF, 0x01} | |
301 }; | |
302 // ISDB-T初期化値17 | |
303 WBLOCK isdb_t_init17 ={ | |
304 0, | |
305 7, | |
306 {0xFE, 0xC2, 0x01, 0x8F, 0xC1, 0x80, 0x80} | |
307 }; | |
308 | |
309 /***************************************************************************/ | |
310 /* 初期化データブロック定義(ISDB-S) */ | |
311 /***************************************************************************/ | |
312 WBLOCK *isdb_s_initial[MAX_ISDB_S_INIT] = | |
313 { | |
314 &isdb_s_init2, &isdb_s_init3, &isdb_s_init4, &isdb_s_init5, | |
315 &isdb_s_init6, &isdb_s_init7, &isdb_s_init8, &isdb_s_init9, | |
316 &isdb_s_init10, &isdb_s_init11, &isdb_s_init12, &isdb_s_init13, | |
317 &isdb_s_init14, &isdb_s_init15, &isdb_s_init16, &isdb_s_init17, | |
318 &isdb_s_init18, &isdb_s_init19, &isdb_s_init20 | |
319 }; | |
320 /***************************************************************************/ | |
321 /* 初期化データブロック定義(ISDB-T) */ | |
322 /***************************************************************************/ | |
323 WBLOCK *isdb_t_initial[MAX_ISDB_T_INIT] = | |
324 { | |
325 &isdb_t_init1, &isdb_t_init2, &isdb_t_init3, &isdb_t_init4, | |
326 &isdb_t_init5, &isdb_t_init6, &isdb_t_init7, &isdb_t_init8, | |
327 &isdb_t_init9, &isdb_t_init10, &isdb_t_init11, &isdb_t_init12, | |
328 &isdb_t_init13, &isdb_t_init14, &isdb_t_init15, &isdb_t_init16 | |
329 }; | |
330 /***************************************************************************/ | |
331 /* 地上デジタル用データ */ | |
332 /***************************************************************************/ | |
333 /***************************************************************************/ | |
334 /* 周波数設定基本テーブル */ | |
335 /* 0〜1: 固定 */ | |
336 /* 2〜3: 計算結果 */ | |
337 /* 4〜5: 追加計算結果 */ | |
338 /***************************************************************************/ | |
339 | |
340 WBLOCK isdb_t_pll_base = { | |
341 0, | |
342 2, | |
343 {0xFE, 0xC2, 0, 0, 0, 0, 0, 0} | |
344 }; | |
345 /***************************************************************************/ | |
346 /* 地デジ周波数ロックチェック */ | |
347 /***************************************************************************/ | |
348 WBLOCK isdb_t_pll_lock = { | |
349 0, | |
350 2, | |
351 {0xFE, 0xC3} | |
352 }; | |
353 | |
354 WBLOCK isdb_t_check_tune = { | |
355 0, | |
356 2, | |
357 {0x01, 0x40} | |
358 }; | |
359 | |
360 WBLOCK isdb_t_tune_read = { | |
361 0, | |
362 1, | |
363 {0x80} | |
364 }; | |
365 WBLOCK isdb_t_tmcc_read_1 = { | |
366 0, | |
367 1, | |
368 {0xB2} | |
369 }; | |
370 WBLOCK isdb_t_tmcc_read_2 = { | |
371 0, | |
372 1, | |
373 {0xB6} | |
374 }; | |
375 /***************************************************************************/ | |
376 /* 地デジ周波数ロックチェック */ | |
377 /***************************************************************************/ | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
378 WBLOCK isdb_t_signal1 = { |
0 | 379 0, |
380 1, | |
381 {0x8C} | |
382 }; | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
383 WBLOCK isdb_t_signal2 = { |
0 | 384 0, |
385 1, | |
386 {0x8D} | |
387 }; | |
388 WBLOCK isdb_t_agc2 = { | |
389 0, | |
390 1, | |
391 {0x82} | |
392 }; | |
393 WBLOCK isdb_t_lockedt1 = { | |
394 0, | |
395 1, | |
396 {0x96} | |
397 }; | |
398 WBLOCK isdb_t_lockedt2 = { | |
399 0, | |
400 1, | |
401 {0xB0} | |
402 }; | |
403 WBLOCK isdb_t_get_clock = { | |
404 0, | |
405 1, | |
406 {0x86} | |
407 }; | |
408 WBLOCK isdb_t_get_carrir = { | |
409 0, | |
410 1, | |
411 {0x84} | |
412 }; | |
413 | |
414 /***************************************************************************/ | |
415 /* 地デジ用データ */ | |
416 /***************************************************************************/ | |
417 | |
418 /***************************************************************************/ | |
419 /* BS用データ */ | |
420 /***************************************************************************/ | |
421 /***************************************************************************/ | |
422 /* BS周波数ロックチェック */ | |
423 /***************************************************************************/ | |
424 WBLOCK bs_pll_lock = { | |
425 0, | |
426 2, | |
427 {0xFE, 0xC1} | |
428 }; | |
429 /***************************************************************************/ | |
430 /* TMCC取得 */ | |
431 /***************************************************************************/ | |
432 WBLOCK bs_tmcc_get_1 = { | |
433 0, | |
434 2, | |
435 {0x03, 0x01} | |
436 }; | |
437 WBLOCK bs_tmcc_get_2 = { | |
438 0, | |
439 1, | |
440 {0xC3} | |
441 }; | |
442 /***************************************************************************/ | |
443 /* TMCC取得 */ | |
444 /***************************************************************************/ | |
445 WBLOCK bs_get_slot_ts_id_1 = { | |
446 0, | |
447 1, | |
448 {0xCE} | |
449 }; | |
450 WBLOCK bs_get_slot_ts_id_2 = { | |
451 0, | |
452 1, | |
453 {0xD2} | |
454 }; | |
455 WBLOCK bs_get_slot_ts_id_3 = { | |
456 0, | |
457 1, | |
458 {0xD6} | |
459 }; | |
460 WBLOCK bs_get_slot_ts_id_4 = { | |
461 0, | |
462 1, | |
463 {0xDA} | |
464 }; | |
465 /***************************************************************************/ | |
466 /* TS-IDロック */ | |
467 /***************************************************************************/ | |
468 WBLOCK bs_set_ts_lock = { | |
469 0, | |
470 3, | |
471 {0x8F, 0x00, 0x00} | |
472 }; | |
473 /***************************************************************************/ | |
474 /* TS-ID取得 */ | |
475 /***************************************************************************/ | |
476 WBLOCK bs_get_ts_lock = { | |
477 0, | |
478 1, | |
479 {0xE6} | |
480 }; | |
481 /***************************************************************************/ | |
482 /* スロット取得 */ | |
483 /***************************************************************************/ | |
484 WBLOCK bs_get_slot = { | |
485 0, | |
486 1, | |
487 {0xE8} | |
488 }; | |
489 /***************************************************************************/ | |
490 /* CN/AGC/MAXAGC取得 */ | |
491 /***************************************************************************/ | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
492 WBLOCK bs_get_signal1 = { |
0 | 493 0, |
494 1, | |
495 {0xBC} | |
496 }; | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
497 WBLOCK bs_get_signal2 = { |
0 | 498 0, |
499 1, | |
500 {0xBD} | |
501 }; | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
502 WBLOCK bs_get_agc = { |
0 | 503 0, |
504 1, | |
505 {0xBA} | |
506 }; | |
507 /***************************************************************************/ | |
508 /* クロック周波数誤差取得 */ | |
509 /***************************************************************************/ | |
510 WBLOCK bs_get_clock = { | |
511 0, | |
512 1, | |
513 {0xBE} | |
514 }; | |
515 /***************************************************************************/ | |
516 /* キャリア周波数誤差取得 */ | |
517 /***************************************************************************/ | |
518 WBLOCK bs_get_carrir = { | |
519 0, | |
520 1, | |
521 {0xBB} | |
522 }; | |
523 /***************************************************************************/ | |
524 /* 周波数設定テーブル */ | |
525 /* BSに関してのみ。とりあえずテーブルとしたが、計算で算出出来るなら */ | |
526 /* 計算で算出させる。 */ | |
527 /***************************************************************************/ | |
528 /***************************************************************************/ | |
529 /* BS共通テーブル */ | |
530 /***************************************************************************/ | |
531 WBLOCK bs_com_step2 = { | |
532 0, | |
533 3, | |
534 {0xFE, 0xC0, 0xE4} | |
535 }; | |
536 /***************************************************************************/ | |
537 /* BS-1 */ | |
538 /***************************************************************************/ | |
539 WBLOCK bs_1_step1 = { | |
540 0, | |
541 6, | |
542 {0xFE, 0xC0, 0x48, 0x29, 0xE0, 0xD2} | |
543 }; | |
544 WBLOCK bs_1_step3 = { | |
545 0, | |
546 4, | |
547 {0xFE, 0xC0, 0xF4, 0xD6} | |
548 }; | |
549 /***************************************************************************/ | |
550 /* BS-3 */ | |
551 /***************************************************************************/ | |
552 WBLOCK bs_3_step1 = { | |
553 0, | |
554 6, | |
555 {0xFE, 0xC0, 0x44, 0x40, 0xE0, 0xE2} | |
556 }; | |
557 WBLOCK bs_3_step3 = { | |
558 0, | |
559 4, | |
560 {0xFE, 0xC0, 0xF4, 0xE6} | |
561 }; | |
562 /***************************************************************************/ | |
563 /* BS-5 */ | |
564 /***************************************************************************/ | |
565 WBLOCK bs_5_step1 = { | |
566 0, | |
567 6, | |
568 {0xFE, 0xC0, 0x44, 0x66, 0xE0, 0xE2} | |
569 }; | |
570 WBLOCK bs_5_step3 = { | |
571 0, | |
572 4, | |
573 {0xFE, 0xC0, 0xF4, 0xE6} | |
574 }; | |
575 /***************************************************************************/ | |
576 /* BS-7 */ | |
577 /***************************************************************************/ | |
578 WBLOCK bs_7_step1 = { | |
579 0, | |
580 6, | |
581 {0xFE, 0xC0, 0x44, 0x8D, 0xE0, 0x20} | |
582 }; | |
583 WBLOCK bs_7_step3 = { | |
584 0, | |
585 4, | |
586 {0xFE, 0xC0, 0xF4, 0x24} | |
587 }; | |
588 /***************************************************************************/ | |
589 /* BS-9 */ | |
590 /***************************************************************************/ | |
591 WBLOCK bs_9_step1 = { | |
592 0, | |
593 6, | |
594 {0xFE, 0xC0, 0x44, 0xB3, 0xE0, 0x20} | |
595 }; | |
596 WBLOCK bs_9_step3 = { | |
597 0, | |
598 4, | |
599 {0xFE, 0xC0, 0xF4, 0x24} | |
600 }; | |
601 /***************************************************************************/ | |
602 /* BS-11 */ | |
603 /***************************************************************************/ | |
604 WBLOCK bs_11_step1 = { | |
605 0, | |
606 6, | |
607 {0xFE, 0xC0, 0x44, 0xD9, 0xE0, 0x20} | |
608 }; | |
609 WBLOCK bs_11_step3 = { | |
610 0, | |
611 4, | |
612 {0xFE, 0xC0, 0xF4, 0x24} | |
613 }; | |
614 /***************************************************************************/ | |
615 /* BS-13 */ | |
616 /***************************************************************************/ | |
617 WBLOCK bs_13_step1 = { | |
618 0, | |
619 6, | |
620 {0xFE, 0xC0, 0x45, 0x00, 0xE0, 0x20} | |
621 }; | |
622 WBLOCK bs_13_step3 = { | |
623 0, | |
624 4, | |
625 {0xFE, 0xC0, 0xF4, 0x24} | |
626 }; | |
627 /***************************************************************************/ | |
628 /* BS-15 */ | |
629 /***************************************************************************/ | |
630 WBLOCK bs_15_step1 = { | |
631 0, | |
632 6, | |
633 {0xFE, 0xC0, 0x45, 0x26, 0xE0, 0x40} | |
634 }; | |
635 WBLOCK bs_15_step3 = { | |
636 0, | |
637 4, | |
638 {0xFE, 0xC0, 0xF4, 0x44} | |
639 }; | |
640 /***************************************************************************/ | |
641 /* BS-17 */ | |
642 /***************************************************************************/ | |
643 WBLOCK bs_17_step1 = { | |
644 0, | |
645 6, | |
646 {0xFE, 0xC0, 0x45, 0x73, 0xE0, 0x40} | |
647 }; | |
648 WBLOCK bs_17_step3 = { | |
649 0, | |
650 4, | |
651 {0xFE, 0xC0, 0xF4, 0X44} | |
652 }; | |
653 /***************************************************************************/ | |
654 /* BS-19 */ | |
655 /***************************************************************************/ | |
656 WBLOCK bs_19_step1 = { | |
657 0, | |
658 6, | |
659 {0xFE, 0xC0, 0x45, 0x73, 0xE0, 0x40} | |
660 }; | |
661 WBLOCK bs_19_step3 = { | |
662 0, | |
663 4, | |
664 {0xFE, 0xC0, 0xF4, 0x44} | |
665 }; | |
666 /***************************************************************************/ | |
667 /* BS-21 */ | |
668 /***************************************************************************/ | |
669 WBLOCK bs_21_step1 = { | |
670 0, | |
671 6, | |
672 {0xFE, 0xC0, 0x45, 0x99, 0xE0, 0x40} | |
673 }; | |
674 WBLOCK bs_21_step3 = { | |
675 0, | |
676 4, | |
677 {0xFE, 0xC0, 0xF4, 0x44} | |
678 }; | |
679 /***************************************************************************/ | |
680 /* BS-23 */ | |
681 /***************************************************************************/ | |
682 WBLOCK bs_23_step1 = { | |
683 0, | |
684 6, | |
685 {0xFE, 0xC0, 0x45, 0xBF, 0xE0, 0x60} | |
686 }; | |
687 WBLOCK bs_23_step3 = { | |
688 0, | |
689 4, | |
690 {0xFE, 0xC0, 0xF4, 0x64} | |
691 }; | |
692 | |
693 /***************************************************************************/ | |
694 /* ND 2 */ | |
695 /***************************************************************************/ | |
696 WBLOCK nd_2_step1 = { | |
697 0, | |
698 6, | |
699 {0xFE, 0xC0, 0x46, 0x4D, 0xE0, 0x60} | |
700 }; | |
701 WBLOCK nd_2_step3 = { | |
702 0, | |
703 4, | |
704 {0xFE, 0xC0, 0xF4, 0x64} | |
705 }; | |
706 | |
707 /***************************************************************************/ | |
708 /* ND 4 */ | |
709 /***************************************************************************/ | |
710 WBLOCK nd_4_step1 = { | |
711 0, | |
712 6, | |
713 {0xFE, 0xC0, 0x46, 0x75, 0xE0, 0x80} | |
714 }; | |
715 WBLOCK nd_4_step3 = { | |
716 0, | |
717 4, | |
718 {0xFE, 0xC0, 0xF4, 0x84} | |
719 }; | |
720 | |
721 /***************************************************************************/ | |
722 /* ND 6 */ | |
723 /***************************************************************************/ | |
724 WBLOCK nd_6_step1 = { | |
725 0, | |
726 6, | |
727 {0xFE, 0xC0, 0x46, 0x9D, 0xE0, 0x80} | |
728 }; | |
729 WBLOCK nd_6_step3 = { | |
730 0, | |
731 4, | |
732 {0xFE, 0xC0, 0xF4, 0x84} | |
733 }; | |
734 | |
735 /***************************************************************************/ | |
736 /* ND 8 */ | |
737 /***************************************************************************/ | |
738 WBLOCK nd_8_step1 = { | |
739 0, | |
740 6, | |
741 {0xFE, 0xC0, 0x46, 0xC5, 0xE0, 0x80} | |
742 }; | |
743 WBLOCK nd_8_step3 = { | |
744 0, | |
745 4, | |
746 {0xFE, 0xC0, 0xF4, 0x84} | |
747 }; | |
748 | |
749 /***************************************************************************/ | |
750 /* ND 10 */ | |
751 /***************************************************************************/ | |
752 WBLOCK nd_10_step1 = { | |
753 0, | |
754 6, | |
755 {0xFE, 0xC0, 0x46, 0xED, 0xE0, 0x80} | |
756 }; | |
757 WBLOCK nd_10_step3 = { | |
758 0, | |
759 4, | |
760 {0xFE, 0xC0, 0xF4, 0x84} | |
761 }; | |
762 | |
763 /***************************************************************************/ | |
764 /* ND 12 */ | |
765 /***************************************************************************/ | |
766 WBLOCK nd_12_step1 = { | |
767 0, | |
768 6, | |
769 {0xFE, 0xC0, 0x47, 0x15, 0xE0, 0xA0} | |
770 }; | |
771 WBLOCK nd_12_step3 = { | |
772 0, | |
773 4, | |
774 {0xFE, 0xC0, 0xF4, 0xA4} | |
775 }; | |
776 | |
777 /***************************************************************************/ | |
778 /* ND 14 */ | |
779 /***************************************************************************/ | |
780 WBLOCK nd_14_step1 = { | |
781 0, | |
782 6, | |
783 {0xFE, 0xC0, 0x47, 0x3D, 0xE0, 0xA0} | |
784 }; | |
785 WBLOCK nd_14_step3 = { | |
786 0, | |
787 4, | |
788 {0xFE, 0xC0, 0xF4, 0xA4} | |
789 }; | |
790 | |
791 /***************************************************************************/ | |
792 /* ND 16 */ | |
793 /***************************************************************************/ | |
794 WBLOCK nd_16_step1 = { | |
795 0, | |
796 6, | |
797 {0xFE, 0xC0, 0x47, 0x65, 0xE0, 0xA0} | |
798 }; | |
799 WBLOCK nd_16_step3 = { | |
800 0, | |
801 4, | |
802 {0xFE, 0xC0, 0xF4, 0xA4} | |
803 }; | |
804 | |
805 /***************************************************************************/ | |
806 /* ND 18 */ | |
807 /***************************************************************************/ | |
808 WBLOCK nd_18_step1 = { | |
809 0, | |
810 6, | |
811 {0xFE, 0xC0, 0x47, 0x8D, 0xE0, 0xA0} | |
812 }; | |
813 WBLOCK nd_18_step3 = { | |
814 0, | |
815 4, | |
816 {0xFE, 0xC0, 0xF4, 0xA4} | |
817 }; | |
818 | |
819 /***************************************************************************/ | |
820 /* ND 20 */ | |
821 /***************************************************************************/ | |
822 WBLOCK nd_20_step1 = { | |
823 0, | |
824 6, | |
825 {0xFE, 0xC0, 0x47, 0xB5, 0xE0, 0xC0} | |
826 }; | |
827 WBLOCK nd_20_step3 = { | |
828 0, | |
829 4, | |
830 {0xFE, 0xC0, 0xF4, 0xC4} | |
831 }; | |
832 | |
833 /***************************************************************************/ | |
834 /* ND 22 */ | |
835 /***************************************************************************/ | |
836 WBLOCK nd_22_step1 = { | |
837 0, | |
838 6, | |
839 {0xFE, 0xC0, 0x47, 0xDD, 0xE0, 0xC0} | |
840 }; | |
841 WBLOCK nd_22_step3 = { | |
842 0, | |
843 4, | |
844 {0xFE, 0xC0, 0xF4, 0xC4} | |
845 }; | |
846 | |
847 /***************************************************************************/ | |
848 /* ND 24 */ | |
849 /***************************************************************************/ | |
850 WBLOCK nd_24_step1 = { | |
851 0, | |
852 6, | |
853 {0xFE, 0xC0, 0x48, 0x05, 0xE0, 0xC0} | |
854 }; | |
855 WBLOCK nd_24_step3 = { | |
856 0, | |
857 4, | |
858 {0xFE, 0xC0, 0xF4, 0xC4} | |
859 }; | |
860 | |
861 /***************************************************************************/ | |
862 /* ND 1 */ | |
863 /***************************************************************************/ | |
864 WBLOCK nd_1_step1 = { | |
865 0, | |
866 6, | |
867 {0xFE, 0xC0, 0x46, 0x39, 0xE0, 0x60} | |
868 }; | |
869 WBLOCK nd_1_step3 = { | |
870 0, | |
871 4, | |
872 {0xFE, 0xC0, 0xF4, 0x64} | |
873 }; | |
874 | |
875 /***************************************************************************/ | |
876 /* ND 3 */ | |
877 /***************************************************************************/ | |
878 WBLOCK nd_3_step1 = { | |
879 0, | |
880 6, | |
881 {0xFE, 0xC0, 0x46, 0x61, 0xE0, 0x80} | |
882 }; | |
883 WBLOCK nd_3_step3 = { | |
884 0, | |
885 4, | |
886 {0xFE, 0xC0, 0xF4, 0x84} | |
887 }; | |
888 | |
889 /***************************************************************************/ | |
890 /* ND 5 */ | |
891 /***************************************************************************/ | |
892 WBLOCK nd_5_step1 = { | |
893 0, | |
894 6, | |
895 {0xFE, 0xC0, 0x46, 0x89, 0xE0, 0x80} | |
896 }; | |
897 WBLOCK nd_5_step3 = { | |
898 0, | |
899 4, | |
900 {0xFE, 0xC0, 0xF4, 0x84} | |
901 }; | |
902 | |
903 /***************************************************************************/ | |
904 /* ND 7 */ | |
905 /***************************************************************************/ | |
906 WBLOCK nd_7_step1 = { | |
907 0, | |
908 6, | |
909 {0xFE, 0xC0, 0x46, 0xB1, 0xE0, 0x80} | |
910 }; | |
911 WBLOCK nd_7_step3 = { | |
912 0, | |
913 4, | |
914 {0xFE, 0xC0, 0xF4, 0x84} | |
915 }; | |
916 | |
917 /***************************************************************************/ | |
918 /* ND 9 */ | |
919 /***************************************************************************/ | |
920 WBLOCK nd_9_step1 = { | |
921 0, | |
922 6, | |
923 {0xFE, 0xC0, 0x46, 0xD9, 0xE0, 0x80} | |
924 }; | |
925 WBLOCK nd_9_step3 = { | |
926 0, | |
927 4, | |
928 {0xFE, 0xC0, 0xF4, 0x84} | |
929 }; | |
930 | |
931 /***************************************************************************/ | |
932 /* ND 11 */ | |
933 /***************************************************************************/ | |
934 WBLOCK nd_11_step1 = { | |
935 0, | |
936 6, | |
937 {0xFE, 0xC0, 0x47, 0x01, 0xE0, 0xA0} | |
938 }; | |
939 WBLOCK nd_11_step3 = { | |
940 0, | |
941 4, | |
942 {0xFE, 0xC0, 0xF4, 0xA4} | |
943 }; | |
944 | |
945 /***************************************************************************/ | |
946 /* ND 13 */ | |
947 /***************************************************************************/ | |
948 WBLOCK nd_13_step1 = { | |
949 0, | |
950 6, | |
951 {0xFE, 0xC0, 0x47, 0x29, 0xE0, 0xA0} | |
952 }; | |
953 WBLOCK nd_13_step3 = { | |
954 0, | |
955 4, | |
956 {0xFE, 0xC0, 0xF4, 0xA4} | |
957 }; | |
958 | |
959 /***************************************************************************/ | |
960 /* ND 15 */ | |
961 /***************************************************************************/ | |
962 WBLOCK nd_15_step1 = { | |
963 0, | |
964 6, | |
965 {0xFE, 0xC0, 0x47, 0x51, 0xE0, 0xA0} | |
966 }; | |
967 WBLOCK nd_15_step3 = { | |
968 0, | |
969 4, | |
970 {0xFE, 0xC0, 0xF4, 0xA4} | |
971 }; | |
972 | |
973 /***************************************************************************/ | |
974 /* ND 17 */ | |
975 /***************************************************************************/ | |
976 WBLOCK nd_17_step1 = { | |
977 0, | |
978 6, | |
979 {0xFE, 0xC0, 0x47, 0x79, 0xE0, 0xA0} | |
980 }; | |
981 WBLOCK nd_17_step3 = { | |
982 0, | |
983 4, | |
984 {0xFE, 0xC0, 0xF4, 0xA4} | |
985 }; | |
986 | |
987 /***************************************************************************/ | |
988 /* ND 19 */ | |
989 /***************************************************************************/ | |
990 WBLOCK nd_19_step1 = { | |
991 0, | |
992 6, | |
993 {0xFE, 0xC0, 0x47, 0xA1, 0xE0, 0xA0} | |
994 }; | |
995 WBLOCK nd_19_step3 = { | |
996 0, | |
997 4, | |
998 {0xFE, 0xC0, 0xF4, 0xA4} | |
999 }; | |
1000 | |
1001 /***************************************************************************/ | |
1002 /* ND 21 */ | |
1003 /***************************************************************************/ | |
1004 WBLOCK nd_21_step1 = { | |
1005 0, | |
1006 6, | |
1007 {0xFE, 0xC0, 0x47, 0xC9, 0xE0, 0xC0} | |
1008 }; | |
1009 WBLOCK nd_21_step3 = { | |
1010 0, | |
1011 4, | |
1012 {0xFE, 0xC0, 0xF4, 0xC4} | |
1013 }; | |
1014 | |
1015 /***************************************************************************/ | |
1016 /* ND 23 */ | |
1017 /***************************************************************************/ | |
1018 WBLOCK nd_23_step1 = { | |
1019 0, | |
1020 6, | |
1021 {0xFE, 0xC0, 0x47, 0xF1, 0xE0, 0xC0} | |
1022 }; | |
1023 WBLOCK nd_23_step3 = { | |
1024 0, | |
1025 4, | |
1026 {0xFE, 0xC0, 0xF4, 0xC4} | |
1027 }; | |
1028 | |
1029 /***************************************************************************/ | |
1030 /* BS-周波数テーブル */ | |
1031 /***************************************************************************/ | |
1032 WBLOCK_BS_PLL bs_pll[MAX_BS_CHANNEL] = { | |
36 | 1033 {{&bs_1_step1, &bs_com_step2, &bs_1_step3}}, |
1034 {{&bs_3_step1, &bs_com_step2, &bs_3_step3}}, | |
1035 {{&bs_5_step1, &bs_com_step2, &bs_5_step3}}, | |
1036 {{&bs_7_step1, &bs_com_step2, &bs_7_step3}}, | |
1037 {{&bs_9_step1, &bs_com_step2, &bs_9_step3}}, | |
1038 {{&bs_11_step1, &bs_com_step2, &bs_11_step3}}, | |
1039 {{&bs_13_step1, &bs_com_step2, &bs_13_step3}}, | |
1040 {{&bs_15_step1, &bs_com_step2, &bs_15_step3}}, | |
1041 {{&bs_17_step1, &bs_com_step2, &bs_17_step3}}, | |
1042 {{&bs_19_step1, &bs_com_step2, &bs_19_step3}}, | |
1043 {{&bs_21_step1, &bs_com_step2, &bs_21_step3}}, | |
1044 {{&bs_23_step1, &bs_com_step2, &bs_21_step3}}, | |
1045 {{&nd_2_step1, &bs_com_step2, &nd_2_step3}}, | |
1046 {{&nd_4_step1, &bs_com_step2, &nd_4_step3}}, | |
1047 {{&nd_6_step1, &bs_com_step2, &nd_6_step3}}, | |
1048 {{&nd_8_step1, &bs_com_step2, &nd_8_step3}}, | |
1049 {{&nd_10_step1, &bs_com_step2, &nd_10_step3}}, | |
1050 {{&nd_12_step1, &bs_com_step2, &nd_12_step3}}, | |
1051 {{&nd_14_step1, &bs_com_step2, &nd_14_step3}}, | |
1052 {{&nd_16_step1, &bs_com_step2, &nd_16_step3}}, | |
1053 {{&nd_18_step1, &bs_com_step2, &nd_18_step3}}, | |
1054 {{&nd_20_step1, &bs_com_step2, &nd_20_step3}}, | |
1055 {{&nd_22_step1, &bs_com_step2, &nd_22_step3}}, | |
1056 {{&nd_24_step1, &bs_com_step2, &nd_24_step3}}, | |
1057 {{&nd_1_step1, &bs_com_step2, &nd_1_step3}}, | |
1058 {{&nd_3_step1, &bs_com_step2, &nd_3_step3}}, | |
1059 {{&nd_5_step1, &bs_com_step2, &nd_5_step3}}, | |
1060 {{&nd_7_step1, &bs_com_step2, &nd_7_step3}}, | |
1061 {{&nd_9_step1, &bs_com_step2, &nd_9_step3}}, | |
1062 {{&nd_11_step1, &bs_com_step2, &nd_11_step3}}, | |
1063 {{&nd_13_step1, &bs_com_step2, &nd_13_step3}}, | |
1064 {{&nd_15_step1, &bs_com_step2, &nd_15_step3}}, | |
1065 {{&nd_17_step1, &bs_com_step2, &nd_17_step3}}, | |
1066 {{&nd_19_step1, &bs_com_step2, &nd_19_step3}}, | |
1067 {{&nd_21_step1, &bs_com_step2, &nd_21_step3}}, | |
1068 {{&nd_23_step1, &bs_com_step2, &nd_23_step3}} | |
0 | 1069 }; |
1070 WBLOCK *bs_get_ts_id[(MAX_BS_TS_ID / 2)] = { | |
1071 &bs_get_slot_ts_id_1, | |
1072 &bs_get_slot_ts_id_2, | |
1073 &bs_get_slot_ts_id_3, | |
1074 &bs_get_slot_ts_id_4 | |
1075 }; |