comparison driver/pt1_tuner_data.c @ 0:67e8eca28a80

initial import
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 16 Feb 2009 15:41:49 +0900
parents
children 07b2fc07ff48
comparison
equal deleted inserted replaced
-1:000000000000 0:67e8eca28a80
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 /***************************************************************************/
378 WBLOCK isdb_t_cn_1 = {
379 0,
380 1,
381 {0x8B}
382 };
383 WBLOCK isdb_t_cn_2 = {
384 0,
385 1,
386 {0x8C}
387 };
388 WBLOCK isdb_t_agc1 = {
389 0,
390 1,
391 {0x8D}
392 };
393 WBLOCK isdb_t_agc2 = {
394 0,
395 1,
396 {0x82}
397 };
398 WBLOCK isdb_t_lockedt1 = {
399 0,
400 1,
401 {0x96}
402 };
403 WBLOCK isdb_t_lockedt2 = {
404 0,
405 1,
406 {0xB0}
407 };
408 WBLOCK isdb_t_get_clock = {
409 0,
410 1,
411 {0x86}
412 };
413 WBLOCK isdb_t_get_carrir = {
414 0,
415 1,
416 {0x84}
417 };
418
419 /***************************************************************************/
420 /* 地デジ用データ */
421 /***************************************************************************/
422
423 /***************************************************************************/
424 /* BS用データ */
425 /***************************************************************************/
426 /***************************************************************************/
427 /* BS周波数ロックチェック */
428 /***************************************************************************/
429 WBLOCK bs_pll_lock = {
430 0,
431 2,
432 {0xFE, 0xC1}
433 };
434 /***************************************************************************/
435 /* TMCC取得 */
436 /***************************************************************************/
437 WBLOCK bs_tmcc_get_1 = {
438 0,
439 2,
440 {0x03, 0x01}
441 };
442 WBLOCK bs_tmcc_get_2 = {
443 0,
444 1,
445 {0xC3}
446 };
447 /***************************************************************************/
448 /* TMCC取得 */
449 /***************************************************************************/
450 WBLOCK bs_get_slot_ts_id_1 = {
451 0,
452 1,
453 {0xCE}
454 };
455 WBLOCK bs_get_slot_ts_id_2 = {
456 0,
457 1,
458 {0xD2}
459 };
460 WBLOCK bs_get_slot_ts_id_3 = {
461 0,
462 1,
463 {0xD6}
464 };
465 WBLOCK bs_get_slot_ts_id_4 = {
466 0,
467 1,
468 {0xDA}
469 };
470 /***************************************************************************/
471 /* TS-IDロック */
472 /***************************************************************************/
473 WBLOCK bs_set_ts_lock = {
474 0,
475 3,
476 {0x8F, 0x00, 0x00}
477 };
478 /***************************************************************************/
479 /* TS-ID取得 */
480 /***************************************************************************/
481 WBLOCK bs_get_ts_lock = {
482 0,
483 1,
484 {0xE6}
485 };
486 /***************************************************************************/
487 /* スロット取得 */
488 /***************************************************************************/
489 WBLOCK bs_get_slot = {
490 0,
491 1,
492 {0xE8}
493 };
494 /***************************************************************************/
495 /* CN/AGC/MAXAGC取得 */
496 /***************************************************************************/
497 WBLOCK bs_get_cn = {
498 0,
499 1,
500 {0xBC}
501 };
502 WBLOCK bs_get_agc = {
503 0,
504 1,
505 {0xBD}
506 };
507 WBLOCK bs_get_maxagc = {
508 0,
509 1,
510 {0xBA}
511 };
512 /***************************************************************************/
513 /* クロック周波数誤差取得 */
514 /***************************************************************************/
515 WBLOCK bs_get_clock = {
516 0,
517 1,
518 {0xBE}
519 };
520 /***************************************************************************/
521 /* キャリア周波数誤差取得 */
522 /***************************************************************************/
523 WBLOCK bs_get_carrir = {
524 0,
525 1,
526 {0xBB}
527 };
528 /***************************************************************************/
529 /* 周波数設定テーブル */
530 /* BSに関してのみ。とりあえずテーブルとしたが、計算で算出出来るなら */
531 /* 計算で算出させる。 */
532 /***************************************************************************/
533 /***************************************************************************/
534 /* BS共通テーブル */
535 /***************************************************************************/
536 WBLOCK bs_com_step2 = {
537 0,
538 3,
539 {0xFE, 0xC0, 0xE4}
540 };
541 /***************************************************************************/
542 /* BS-1 */
543 /***************************************************************************/
544 WBLOCK bs_1_step1 = {
545 0,
546 6,
547 {0xFE, 0xC0, 0x48, 0x29, 0xE0, 0xD2}
548 };
549 WBLOCK bs_1_step3 = {
550 0,
551 4,
552 {0xFE, 0xC0, 0xF4, 0xD6}
553 };
554 /***************************************************************************/
555 /* BS-3 */
556 /***************************************************************************/
557 WBLOCK bs_3_step1 = {
558 0,
559 6,
560 {0xFE, 0xC0, 0x44, 0x40, 0xE0, 0xE2}
561 };
562 WBLOCK bs_3_step3 = {
563 0,
564 4,
565 {0xFE, 0xC0, 0xF4, 0xE6}
566 };
567 /***************************************************************************/
568 /* BS-5 */
569 /***************************************************************************/
570 WBLOCK bs_5_step1 = {
571 0,
572 6,
573 {0xFE, 0xC0, 0x44, 0x66, 0xE0, 0xE2}
574 };
575 WBLOCK bs_5_step3 = {
576 0,
577 4,
578 {0xFE, 0xC0, 0xF4, 0xE6}
579 };
580 /***************************************************************************/
581 /* BS-7 */
582 /***************************************************************************/
583 WBLOCK bs_7_step1 = {
584 0,
585 6,
586 {0xFE, 0xC0, 0x44, 0x8D, 0xE0, 0x20}
587 };
588 WBLOCK bs_7_step3 = {
589 0,
590 4,
591 {0xFE, 0xC0, 0xF4, 0x24}
592 };
593 /***************************************************************************/
594 /* BS-9 */
595 /***************************************************************************/
596 WBLOCK bs_9_step1 = {
597 0,
598 6,
599 {0xFE, 0xC0, 0x44, 0xB3, 0xE0, 0x20}
600 };
601 WBLOCK bs_9_step3 = {
602 0,
603 4,
604 {0xFE, 0xC0, 0xF4, 0x24}
605 };
606 /***************************************************************************/
607 /* BS-11 */
608 /***************************************************************************/
609 WBLOCK bs_11_step1 = {
610 0,
611 6,
612 {0xFE, 0xC0, 0x44, 0xD9, 0xE0, 0x20}
613 };
614 WBLOCK bs_11_step3 = {
615 0,
616 4,
617 {0xFE, 0xC0, 0xF4, 0x24}
618 };
619 /***************************************************************************/
620 /* BS-13 */
621 /***************************************************************************/
622 WBLOCK bs_13_step1 = {
623 0,
624 6,
625 {0xFE, 0xC0, 0x45, 0x00, 0xE0, 0x20}
626 };
627 WBLOCK bs_13_step3 = {
628 0,
629 4,
630 {0xFE, 0xC0, 0xF4, 0x24}
631 };
632 /***************************************************************************/
633 /* BS-15 */
634 /***************************************************************************/
635 WBLOCK bs_15_step1 = {
636 0,
637 6,
638 {0xFE, 0xC0, 0x45, 0x26, 0xE0, 0x40}
639 };
640 WBLOCK bs_15_step3 = {
641 0,
642 4,
643 {0xFE, 0xC0, 0xF4, 0x44}
644 };
645 /***************************************************************************/
646 /* BS-17 */
647 /***************************************************************************/
648 WBLOCK bs_17_step1 = {
649 0,
650 6,
651 {0xFE, 0xC0, 0x45, 0x73, 0xE0, 0x40}
652 };
653 WBLOCK bs_17_step3 = {
654 0,
655 4,
656 {0xFE, 0xC0, 0xF4, 0X44}
657 };
658 /***************************************************************************/
659 /* BS-19 */
660 /***************************************************************************/
661 WBLOCK bs_19_step1 = {
662 0,
663 6,
664 {0xFE, 0xC0, 0x45, 0x73, 0xE0, 0x40}
665 };
666 WBLOCK bs_19_step3 = {
667 0,
668 4,
669 {0xFE, 0xC0, 0xF4, 0x44}
670 };
671 /***************************************************************************/
672 /* BS-21 */
673 /***************************************************************************/
674 WBLOCK bs_21_step1 = {
675 0,
676 6,
677 {0xFE, 0xC0, 0x45, 0x99, 0xE0, 0x40}
678 };
679 WBLOCK bs_21_step3 = {
680 0,
681 4,
682 {0xFE, 0xC0, 0xF4, 0x44}
683 };
684 /***************************************************************************/
685 /* BS-23 */
686 /***************************************************************************/
687 WBLOCK bs_23_step1 = {
688 0,
689 6,
690 {0xFE, 0xC0, 0x45, 0xBF, 0xE0, 0x60}
691 };
692 WBLOCK bs_23_step3 = {
693 0,
694 4,
695 {0xFE, 0xC0, 0xF4, 0x64}
696 };
697
698 /***************************************************************************/
699 /* ND 2 */
700 /***************************************************************************/
701 WBLOCK nd_2_step1 = {
702 0,
703 6,
704 {0xFE, 0xC0, 0x46, 0x4D, 0xE0, 0x60}
705 };
706 WBLOCK nd_2_step3 = {
707 0,
708 4,
709 {0xFE, 0xC0, 0xF4, 0x64}
710 };
711
712 /***************************************************************************/
713 /* ND 4 */
714 /***************************************************************************/
715 WBLOCK nd_4_step1 = {
716 0,
717 6,
718 {0xFE, 0xC0, 0x46, 0x75, 0xE0, 0x80}
719 };
720 WBLOCK nd_4_step3 = {
721 0,
722 4,
723 {0xFE, 0xC0, 0xF4, 0x84}
724 };
725
726 /***************************************************************************/
727 /* ND 6 */
728 /***************************************************************************/
729 WBLOCK nd_6_step1 = {
730 0,
731 6,
732 {0xFE, 0xC0, 0x46, 0x9D, 0xE0, 0x80}
733 };
734 WBLOCK nd_6_step3 = {
735 0,
736 4,
737 {0xFE, 0xC0, 0xF4, 0x84}
738 };
739
740 /***************************************************************************/
741 /* ND 8 */
742 /***************************************************************************/
743 WBLOCK nd_8_step1 = {
744 0,
745 6,
746 {0xFE, 0xC0, 0x46, 0xC5, 0xE0, 0x80}
747 };
748 WBLOCK nd_8_step3 = {
749 0,
750 4,
751 {0xFE, 0xC0, 0xF4, 0x84}
752 };
753
754 /***************************************************************************/
755 /* ND 10 */
756 /***************************************************************************/
757 WBLOCK nd_10_step1 = {
758 0,
759 6,
760 {0xFE, 0xC0, 0x46, 0xED, 0xE0, 0x80}
761 };
762 WBLOCK nd_10_step3 = {
763 0,
764 4,
765 {0xFE, 0xC0, 0xF4, 0x84}
766 };
767
768 /***************************************************************************/
769 /* ND 12 */
770 /***************************************************************************/
771 WBLOCK nd_12_step1 = {
772 0,
773 6,
774 {0xFE, 0xC0, 0x47, 0x15, 0xE0, 0xA0}
775 };
776 WBLOCK nd_12_step3 = {
777 0,
778 4,
779 {0xFE, 0xC0, 0xF4, 0xA4}
780 };
781
782 /***************************************************************************/
783 /* ND 14 */
784 /***************************************************************************/
785 WBLOCK nd_14_step1 = {
786 0,
787 6,
788 {0xFE, 0xC0, 0x47, 0x3D, 0xE0, 0xA0}
789 };
790 WBLOCK nd_14_step3 = {
791 0,
792 4,
793 {0xFE, 0xC0, 0xF4, 0xA4}
794 };
795
796 /***************************************************************************/
797 /* ND 16 */
798 /***************************************************************************/
799 WBLOCK nd_16_step1 = {
800 0,
801 6,
802 {0xFE, 0xC0, 0x47, 0x65, 0xE0, 0xA0}
803 };
804 WBLOCK nd_16_step3 = {
805 0,
806 4,
807 {0xFE, 0xC0, 0xF4, 0xA4}
808 };
809
810 /***************************************************************************/
811 /* ND 18 */
812 /***************************************************************************/
813 WBLOCK nd_18_step1 = {
814 0,
815 6,
816 {0xFE, 0xC0, 0x47, 0x8D, 0xE0, 0xA0}
817 };
818 WBLOCK nd_18_step3 = {
819 0,
820 4,
821 {0xFE, 0xC0, 0xF4, 0xA4}
822 };
823
824 /***************************************************************************/
825 /* ND 20 */
826 /***************************************************************************/
827 WBLOCK nd_20_step1 = {
828 0,
829 6,
830 {0xFE, 0xC0, 0x47, 0xB5, 0xE0, 0xC0}
831 };
832 WBLOCK nd_20_step3 = {
833 0,
834 4,
835 {0xFE, 0xC0, 0xF4, 0xC4}
836 };
837
838 /***************************************************************************/
839 /* ND 22 */
840 /***************************************************************************/
841 WBLOCK nd_22_step1 = {
842 0,
843 6,
844 {0xFE, 0xC0, 0x47, 0xDD, 0xE0, 0xC0}
845 };
846 WBLOCK nd_22_step3 = {
847 0,
848 4,
849 {0xFE, 0xC0, 0xF4, 0xC4}
850 };
851
852 /***************************************************************************/
853 /* ND 24 */
854 /***************************************************************************/
855 WBLOCK nd_24_step1 = {
856 0,
857 6,
858 {0xFE, 0xC0, 0x48, 0x05, 0xE0, 0xC0}
859 };
860 WBLOCK nd_24_step3 = {
861 0,
862 4,
863 {0xFE, 0xC0, 0xF4, 0xC4}
864 };
865
866 /***************************************************************************/
867 /* ND 1 */
868 /***************************************************************************/
869 WBLOCK nd_1_step1 = {
870 0,
871 6,
872 {0xFE, 0xC0, 0x46, 0x39, 0xE0, 0x60}
873 };
874 WBLOCK nd_1_step3 = {
875 0,
876 4,
877 {0xFE, 0xC0, 0xF4, 0x64}
878 };
879
880 /***************************************************************************/
881 /* ND 3 */
882 /***************************************************************************/
883 WBLOCK nd_3_step1 = {
884 0,
885 6,
886 {0xFE, 0xC0, 0x46, 0x61, 0xE0, 0x80}
887 };
888 WBLOCK nd_3_step3 = {
889 0,
890 4,
891 {0xFE, 0xC0, 0xF4, 0x84}
892 };
893
894 /***************************************************************************/
895 /* ND 5 */
896 /***************************************************************************/
897 WBLOCK nd_5_step1 = {
898 0,
899 6,
900 {0xFE, 0xC0, 0x46, 0x89, 0xE0, 0x80}
901 };
902 WBLOCK nd_5_step3 = {
903 0,
904 4,
905 {0xFE, 0xC0, 0xF4, 0x84}
906 };
907
908 /***************************************************************************/
909 /* ND 7 */
910 /***************************************************************************/
911 WBLOCK nd_7_step1 = {
912 0,
913 6,
914 {0xFE, 0xC0, 0x46, 0xB1, 0xE0, 0x80}
915 };
916 WBLOCK nd_7_step3 = {
917 0,
918 4,
919 {0xFE, 0xC0, 0xF4, 0x84}
920 };
921
922 /***************************************************************************/
923 /* ND 9 */
924 /***************************************************************************/
925 WBLOCK nd_9_step1 = {
926 0,
927 6,
928 {0xFE, 0xC0, 0x46, 0xD9, 0xE0, 0x80}
929 };
930 WBLOCK nd_9_step3 = {
931 0,
932 4,
933 {0xFE, 0xC0, 0xF4, 0x84}
934 };
935
936 /***************************************************************************/
937 /* ND 11 */
938 /***************************************************************************/
939 WBLOCK nd_11_step1 = {
940 0,
941 6,
942 {0xFE, 0xC0, 0x47, 0x01, 0xE0, 0xA0}
943 };
944 WBLOCK nd_11_step3 = {
945 0,
946 4,
947 {0xFE, 0xC0, 0xF4, 0xA4}
948 };
949
950 /***************************************************************************/
951 /* ND 13 */
952 /***************************************************************************/
953 WBLOCK nd_13_step1 = {
954 0,
955 6,
956 {0xFE, 0xC0, 0x47, 0x29, 0xE0, 0xA0}
957 };
958 WBLOCK nd_13_step3 = {
959 0,
960 4,
961 {0xFE, 0xC0, 0xF4, 0xA4}
962 };
963
964 /***************************************************************************/
965 /* ND 15 */
966 /***************************************************************************/
967 WBLOCK nd_15_step1 = {
968 0,
969 6,
970 {0xFE, 0xC0, 0x47, 0x51, 0xE0, 0xA0}
971 };
972 WBLOCK nd_15_step3 = {
973 0,
974 4,
975 {0xFE, 0xC0, 0xF4, 0xA4}
976 };
977
978 /***************************************************************************/
979 /* ND 17 */
980 /***************************************************************************/
981 WBLOCK nd_17_step1 = {
982 0,
983 6,
984 {0xFE, 0xC0, 0x47, 0x79, 0xE0, 0xA0}
985 };
986 WBLOCK nd_17_step3 = {
987 0,
988 4,
989 {0xFE, 0xC0, 0xF4, 0xA4}
990 };
991
992 /***************************************************************************/
993 /* ND 19 */
994 /***************************************************************************/
995 WBLOCK nd_19_step1 = {
996 0,
997 6,
998 {0xFE, 0xC0, 0x47, 0xA1, 0xE0, 0xA0}
999 };
1000 WBLOCK nd_19_step3 = {
1001 0,
1002 4,
1003 {0xFE, 0xC0, 0xF4, 0xA4}
1004 };
1005
1006 /***************************************************************************/
1007 /* ND 21 */
1008 /***************************************************************************/
1009 WBLOCK nd_21_step1 = {
1010 0,
1011 6,
1012 {0xFE, 0xC0, 0x47, 0xC9, 0xE0, 0xC0}
1013 };
1014 WBLOCK nd_21_step3 = {
1015 0,
1016 4,
1017 {0xFE, 0xC0, 0xF4, 0xC4}
1018 };
1019
1020 /***************************************************************************/
1021 /* ND 23 */
1022 /***************************************************************************/
1023 WBLOCK nd_23_step1 = {
1024 0,
1025 6,
1026 {0xFE, 0xC0, 0x47, 0xF1, 0xE0, 0xC0}
1027 };
1028 WBLOCK nd_23_step3 = {
1029 0,
1030 4,
1031 {0xFE, 0xC0, 0xF4, 0xC4}
1032 };
1033
1034 /***************************************************************************/
1035 /* BS-周波数テーブル */
1036 /***************************************************************************/
1037 WBLOCK_BS_PLL bs_pll[MAX_BS_CHANNEL] = {
1038 {&bs_1_step1, &bs_com_step2, &bs_1_step3},
1039 {&bs_3_step1, &bs_com_step2, &bs_3_step3},
1040 {&bs_5_step1, &bs_com_step2, &bs_5_step3},
1041 {&bs_7_step1, &bs_com_step2, &bs_7_step3},
1042 {&bs_9_step1, &bs_com_step2, &bs_9_step3},
1043 {&bs_11_step1, &bs_com_step2, &bs_11_step3},
1044 {&bs_13_step1, &bs_com_step2, &bs_13_step3},
1045 {&bs_15_step1, &bs_com_step2, &bs_15_step3},
1046 {&bs_17_step1, &bs_com_step2, &bs_17_step3},
1047 {&bs_19_step1, &bs_com_step2, &bs_19_step3},
1048 {&bs_21_step1, &bs_com_step2, &bs_21_step3},
1049 {&bs_23_step1, &bs_com_step2, &bs_21_step3},
1050 {&nd_2_step1, &bs_com_step2, &nd_2_step3},
1051 {&nd_4_step1, &bs_com_step2, &nd_4_step3},
1052 {&nd_6_step1, &bs_com_step2, &nd_6_step3},
1053 {&nd_8_step1, &bs_com_step2, &nd_8_step3},
1054 {&nd_10_step1, &bs_com_step2, &nd_10_step3},
1055 {&nd_12_step1, &bs_com_step2, &nd_12_step3},
1056 {&nd_14_step1, &bs_com_step2, &nd_14_step3},
1057 {&nd_16_step1, &bs_com_step2, &nd_16_step3},
1058 {&nd_18_step1, &bs_com_step2, &nd_18_step3},
1059 {&nd_20_step1, &bs_com_step2, &nd_20_step3},
1060 {&nd_22_step1, &bs_com_step2, &nd_22_step3},
1061 {&nd_24_step1, &bs_com_step2, &nd_24_step3},
1062 {&nd_1_step1, &bs_com_step2, &nd_1_step3},
1063 {&nd_3_step1, &bs_com_step2, &nd_3_step3},
1064 {&nd_5_step1, &bs_com_step2, &nd_5_step3},
1065 {&nd_7_step1, &bs_com_step2, &nd_7_step3},
1066 {&nd_9_step1, &bs_com_step2, &nd_9_step3},
1067 {&nd_11_step1, &bs_com_step2, &nd_11_step3},
1068 {&nd_13_step1, &bs_com_step2, &nd_13_step3},
1069 {&nd_15_step1, &bs_com_step2, &nd_15_step3},
1070 {&nd_17_step1, &bs_com_step2, &nd_17_step3},
1071 {&nd_19_step1, &bs_com_step2, &nd_19_step3},
1072 {&nd_21_step1, &bs_com_step2, &nd_21_step3},
1073 {&nd_23_step1, &bs_com_step2, &nd_23_step3}
1074 };
1075 WBLOCK *bs_get_ts_id[(MAX_BS_TS_ID / 2)] = {
1076 &bs_get_slot_ts_id_1,
1077 &bs_get_slot_ts_id_2,
1078 &bs_get_slot_ts_id_3,
1079 &bs_get_slot_ts_id_4
1080 };