Go to the documentation of this file.
31 #define NUM_OF_T1_CHANNELS 24
32 #define NUM_OF_E1_CHANNELS 32
39 #define CMDR_RRES 0x40
40 #define CMDR_XREP 0x20
41 #define CMDR_XRES 0x10
45 #define CMDR_SRES 0x01
49 #define MODE_MDS2 0x80
50 #define MODE_MDS1 0x40
51 #define MODE_MDS0 0x20
52 #define MODE_BRAC 0x10
53 #define MODE_HRAC 0x08
64 #define CCR1_SFLG 0x80
65 #define CCR1_XTS16RA 0x40
67 #define CCR1_CASSYM 0x20
68 #define CCR1_EDLX 0x20
69 #define CCR1_EITS 0x10
71 #define CCR1_RFT1 0x02
72 #define CCR1_RFT0 0x01
77 #define CCR3_PRE1 0x80
78 #define CCR3_PRE0 0x40
80 #define CCR3_RADD 0x10
81 #define CCR3_RCRC 0x04
82 #define CCR3_XCRC 0x02
99 #define RTR2_TS10 0x20
100 #define RTR2_TS11 0x10
101 #define RTR2_TS12 0x08
102 #define RTR2_TS13 0x04
103 #define RTR2_TS14 0x02
104 #define RTR2_TS15 0x01
106 #define RTR3_TS16 0x80
107 #define RTR3_TS17 0x40
108 #define RTR3_TS18 0x20
109 #define RTR3_TS19 0x10
110 #define RTR3_TS20 0x08
111 #define RTR3_TS21 0x04
112 #define RTR3_TS22 0x02
113 #define RTR3_TS23 0x01
115 #define RTR4_TS24 0x80
116 #define RTR4_TS25 0x40
117 #define RTR4_TS26 0x20
118 #define RTR4_TS27 0x10
119 #define RTR4_TS28 0x08
120 #define RTR4_TS29 0x04
121 #define RTR4_TS30 0x02
122 #define RTR4_TS31 0x01
128 #define TTR1_TS0 0x80
129 #define TTR1_TS1 0x40
130 #define TTR1_TS2 0x20
131 #define TTR1_TS3 0x10
132 #define TTR1_TS4 0x08
133 #define TTR1_TS5 0x04
134 #define TTR1_TS6 0x02
135 #define TTR1_TS7 0x01
137 #define TTR2_TS8 0x80
138 #define TTR2_TS9 0x40
139 #define TTR2_TS10 0x20
140 #define TTR2_TS11 0x10
141 #define TTR2_TS12 0x08
142 #define TTR2_TS13 0x04
143 #define TTR2_TS14 0x02
144 #define TTR2_TS15 0x01
146 #define TTR3_TS16 0x80
147 #define TTR3_TS17 0x40
148 #define TTR3_TS18 0x20
149 #define TTR3_TS19 0x10
150 #define TTR3_TS20 0x08
151 #define TTR3_TS21 0x04
152 #define TTR3_TS22 0x02
153 #define TTR3_TS23 0x01
155 #define TTR4_TS24 0x80
156 #define TTR4_TS25 0x40
157 #define TTR4_TS26 0x20
158 #define TTR4_TS27 0x10
159 #define TTR4_TS28 0x08
160 #define TTR4_TS29 0x04
161 #define TTR4_TS30 0x02
162 #define TTR4_TS31 0x01
170 #define IMR0_RME 0x80
171 #define IMR0_RFS 0x40
172 #define IMR0_T8MS 0x20
173 #define IMR0_ISF 0x20
174 #define IMR0_RMB 0x10
175 #define IMR0_CASC 0x08
176 #define IMR0_RSC 0x08
177 #define IMR0_CRC6 0x04
178 #define IMR0_CRC4 0x04
179 #define IMR0_PDEN 0x02
180 #define IMR0_RPF 0x01
182 #define IMR1_CASE 0x80
183 #define IMR1_RDO 0x40
184 #define IMR1_ALLS 0x20
185 #define IMR1_XDU 0x10
186 #define IMR1_XMB 0x08
187 #define IMR1_XLSC 0x02
188 #define IMR1_XPR 0x01
189 #define IMR1_LLBSC 0x80
191 #define IMR2_FAR 0x80
192 #define IMR2_LFA 0x40
193 #define IMR2_MFAR 0x20
194 #define IMR2_T400MS 0x10
195 #define IMR2_LMFA 0x10
196 #define IMR2_AIS 0x08
197 #define IMR2_LOS 0x04
198 #define IMR2_RAR 0x02
202 #define IMR3_SEC 0x40
203 #define IMR3_LMFA16 0x20
204 #define IMR3_AIS16 0x10
205 #define IMR3_RA16 0x08
206 #define IMR3_API 0x04
207 #define IMR3_XSLP 0x20
208 #define IMR3_XSLN 0x10
209 #define IMR3_LLBSC 0x08
210 #define IMR3_XRS 0x04
211 #define IMR3_SLN 0x02
212 #define IMR3_SLP 0x01
214 #define IMR4_LFA 0x80
215 #define IMR4_FER 0x40
216 #define IMR4_CER 0x20
217 #define IMR4_AIS 0x10
218 #define IMR4_LOS 0x08
219 #define IMR4_CVE 0x04
220 #define IMR4_SLIP 0x02
221 #define IMR4_EBE 0x01
225 #define FMR0_XC1 0x80
226 #define FMR0_XC0 0x40
227 #define FMR0_RC1 0x20
228 #define FMR0_RC0 0x10
229 #define FMR0_EXTD 0x08
230 #define FMR0_ALM 0x04
231 #define E1_FMR0_FRS 0x02
232 #define T1_FMR0_FRS 0x08
233 #define FMR0_SRAF 0x04
234 #define FMR0_EXLS 0x02
235 #define FMR0_SIM 0x01
237 #define FMR1_MFCS 0x80
238 #define FMR1_AFR 0x40
239 #define FMR1_ENSA 0x20
240 #define FMR1_CTM 0x80
241 #define FMR1_SIGM 0x40
242 #define FMR1_EDL 0x20
243 #define FMR1_PMOD 0x10
244 #define FMR1_XFS 0x08
245 #define FMR1_CRC 0x08
246 #define FMR1_ECM 0x04
247 #define FMR1_IMOD 0x02
248 #define FMR1_XAIS 0x01
250 #define FMR2_RFS1 0x80
251 #define FMR2_RFS0 0x40
252 #define FMR2_MCSP 0x40
253 #define FMR2_RTM 0x20
254 #define FMR2_SSP 0x20
255 #define FMR2_DAIS 0x10
256 #define FMR2_SAIS 0x08
257 #define FMR2_PLB 0x04
258 #define FMR2_AXRA 0x02
259 #define FMR2_ALMF 0x01
260 #define FMR2_EXZE 0x01
262 #define LOOP_RTM 0x40
263 #define LOOP_SFM 0x40
264 #define LOOP_ECLB 0x20
265 #define LOOP_CLA 0x1f
268 #define FMR3_XLD 0x20
269 #define FMR3_XLU 0x10
272 #define FMR4_AIS3 0x80
274 #define FMR4_XRA 0x20
275 #define FMR4_SSC1 0x10
276 #define FMR4_SSC0 0x08
277 #define FMR4_AUTO 0x04
278 #define FMR4_FM1 0x02
279 #define FMR4_FM0 0x01
281 #define FMR5_SRS 0x80
282 #define FMR5_EIBR 0x40
283 #define FMR5_XLD 0x20
284 #define FMR5_XLU 0x10
291 #define LOOP_SFM 0x40
292 #define LOOP_ECLB 0x20
293 #define LOOP_CLA4 0x10
294 #define LOOP_CLA3 0x08
295 #define LOOP_CLA2 0x04
296 #define LOOP_CLA1 0x02
297 #define LOOP_CLA0 0x01
305 #define XSW_XSIS 0x80
320 #define XSP_CASEN 0x40
324 #define XSP_XSIF 0x04
325 #define XSP_XS13 0x02
326 #define XSP_XS15 0x01
332 #define XC0_SA8E 0x80
333 #define XC0_SA7E 0x40
334 #define XC0_SA6E 0x20
335 #define XC0_SA5E 0x10
336 #define XC0_SA4E 0x08
338 #define XC0_MFBS 0x40
339 #define XC0_SFRZ 0x10
340 #define XC0_XCO2 0x04
341 #define XC0_XCO1 0x02
342 #define XC0_XCO0 0x01
344 #define XC1_XTO5 0x20
345 #define XC1_XTO4 0x10
346 #define XC1_XTO3 0x08
347 #define XC1_XTO2 0x04
348 #define XC1_XTO1 0x02
349 #define XC1_XTO0 0x01
355 #define RC0_SICS 0x40
356 #define RC0_CRCI 0x20
357 #define RC0_XCRCI 0x10
358 #define RC0_RDIS 0x08
359 #define RC0_RCO2 0x04
360 #define RC0_RCO1 0x02
361 #define RC0_RCO0 0x01
364 #define RC1_ASY4 0x40
365 #define RC1_RRAM 0x40
366 #define RC1_RTO5 0x20
367 #define RC1_RTO4 0x10
368 #define RC1_RTO3 0x08
369 #define RC1_RTO2 0x04
370 #define RC1_RTO1 0x02
371 #define RC1_RTO0 0x01
378 #define XPM0_XP12 0x80
379 #define XPM0_XP11 0x40
380 #define XPM0_XP10 0x20
381 #define XPM0_XP04 0x10
382 #define XPM0_XP03 0x08
383 #define XPM0_XP02 0x04
384 #define XPM0_XP01 0x02
385 #define XPM0_XP00 0x01
387 #define XPM1_XP30 0x80
388 #define XPM1_XP24 0x40
389 #define XPM1_XP23 0x20
390 #define XPM1_XP22 0x10
391 #define XPM1_XP21 0x08
392 #define XPM1_XP20 0x04
393 #define XPM1_XP14 0x02
394 #define XPM1_XP13 0x01
396 #define XPM2_XLHP 0x80
397 #define XPM2_XLT 0x40
398 #define XPM2_DAXLT 0x20
399 #define XPM2_XP34 0x08
400 #define XPM2_XP33 0x04
401 #define XPM2_XP32 0x02
402 #define XPM2_XP31 0x01
408 #define TSWM_TSIS 0x80
409 #define TSWM_TSIF 0x40
410 #define TSWM_TRA 0x20
411 #define TSWM_TSA4 0x10
412 #define TSWM_TSA5 0x08
413 #define TSWM_TSA6 0x04
414 #define TSWM_TSA7 0x02
415 #define TSWM_TSA8 0x01
421 #define IDLE_IDL7 0x80
422 #define IDLE_IDL6 0x40
423 #define IDLE_IDL5 0x20
424 #define IDLE_IDL4 0x10
425 #define IDLE_IDL3 0x08
426 #define IDLE_IDL2 0x04
427 #define IDLE_IDL1 0x02
428 #define IDLE_IDL0 0x01
434 #define XSA4_XS47 0x80
435 #define XSA4_XS46 0x40
436 #define XSA4_XS45 0x20
437 #define XSA4_XS44 0x10
438 #define XSA4_XS43 0x08
439 #define XSA4_XS42 0x04
440 #define XSA4_XS41 0x02
441 #define XSA4_XS40 0x01
443 #define XSA5_XS57 0x80
444 #define XSA5_XS56 0x40
445 #define XSA5_XS55 0x20
446 #define XSA5_XS54 0x10
447 #define XSA5_XS53 0x08
448 #define XSA5_XS52 0x04
449 #define XSA5_XS51 0x02
450 #define XSA5_XS50 0x01
452 #define XSA6_XS67 0x80
453 #define XSA6_XS66 0x40
454 #define XSA6_XS65 0x20
455 #define XSA6_XS64 0x10
456 #define XSA6_XS63 0x08
457 #define XSA6_XS62 0x04
458 #define XSA6_XS61 0x02
459 #define XSA6_XS60 0x01
461 #define XSA7_XS77 0x80
462 #define XSA7_XS76 0x40
463 #define XSA7_XS75 0x20
464 #define XSA7_XS74 0x10
465 #define XSA7_XS73 0x08
466 #define XSA7_XS72 0x04
467 #define XSA7_XS71 0x02
468 #define XSA7_XS70 0x01
470 #define XSA8_XS87 0x80
471 #define XSA8_XS86 0x40
472 #define XSA8_XS85 0x20
473 #define XSA8_XS84 0x10
474 #define XSA8_XS83 0x08
475 #define XSA8_XS82 0x04
476 #define XSA8_XS81 0x02
477 #define XSA8_XS80 0x01
483 #define XDL1_XDL17 0x80
484 #define XDL1_XDL16 0x40
485 #define XDL1_XDL15 0x20
486 #define XDL1_XDL14 0x10
487 #define XDL1_XDL13 0x08
488 #define XDL1_XDL12 0x04
489 #define XDL1_XDL11 0x02
490 #define XDL1_XDL10 0x01
492 #define XDL2_XDL27 0x80
493 #define XDL2_XDL26 0x40
494 #define XDL2_XDL25 0x20
495 #define XDL2_XDL24 0x10
496 #define XDL2_XDL23 0x08
497 #define XDL2_XDL22 0x04
498 #define XDL2_XDL21 0x02
499 #define XDL2_XDL20 0x01
501 #define XDL3_XDL37 0x80
502 #define XDL3_XDL36 0x40
503 #define XDL3_XDL35 0x20
504 #define XDL3_XDL34 0x10
505 #define XDL3_XDL33 0x08
506 #define XDL3_XDL32 0x04
507 #define XDL3_XDL31 0x02
508 #define XDL3_XDL30 0x01
514 #define E1_ICB1_IC0 0x80
515 #define E1_ICB1_IC1 0x40
516 #define E1_ICB1_IC2 0x20
517 #define E1_ICB1_IC3 0x10
518 #define E1_ICB1_IC4 0x08
519 #define E1_ICB1_IC5 0x04
520 #define E1_ICB1_IC6 0x02
521 #define E1_ICB1_IC7 0x01
523 #define E1_ICB2_IC8 0x80
524 #define E1_ICB2_IC9 0x40
525 #define E1_ICB2_IC10 0x20
526 #define E1_ICB2_IC11 0x10
527 #define E1_ICB2_IC12 0x08
528 #define E1_ICB2_IC13 0x04
529 #define E1_ICB2_IC14 0x02
530 #define E1_ICB2_IC15 0x01
532 #define E1_ICB3_IC16 0x80
533 #define E1_ICB3_IC17 0x40
534 #define E1_ICB3_IC18 0x20
535 #define E1_ICB3_IC19 0x10
536 #define E1_ICB3_IC20 0x08
537 #define E1_ICB3_IC21 0x04
538 #define E1_ICB3_IC22 0x02
539 #define E1_ICB3_IC23 0x01
541 #define E1_ICB4_IC24 0x80
542 #define E1_ICB4_IC25 0x40
543 #define E1_ICB4_IC26 0x20
544 #define E1_ICB4_IC27 0x10
545 #define E1_ICB4_IC28 0x08
546 #define E1_ICB4_IC29 0x04
547 #define E1_ICB4_IC30 0x02
548 #define E1_ICB4_IC31 0x01
553 #define T1_ICB1_IC1 0x80
554 #define T1_ICB1_IC2 0x40
555 #define T1_ICB1_IC3 0x20
556 #define T1_ICB1_IC4 0x10
557 #define T1_ICB1_IC5 0x08
558 #define T1_ICB1_IC6 0x04
559 #define T1_ICB1_IC7 0x02
560 #define T1_ICB1_IC8 0x01
562 #define T1_ICB2_IC9 0x80
563 #define T1_ICB2_IC10 0x40
564 #define T1_ICB2_IC11 0x20
565 #define T1_ICB2_IC12 0x10
566 #define T1_ICB2_IC13 0x08
567 #define T1_ICB2_IC14 0x04
568 #define T1_ICB2_IC15 0x02
569 #define T1_ICB2_IC16 0x01
571 #define T1_ICB3_IC17 0x80
572 #define T1_ICB3_IC18 0x40
573 #define T1_ICB3_IC19 0x20
574 #define T1_ICB3_IC20 0x10
575 #define T1_ICB3_IC21 0x08
576 #define T1_ICB3_IC22 0x04
577 #define T1_ICB3_IC23 0x02
578 #define T1_ICB3_IC24 0x01
583 #define FMR3_CMI 0x08
584 #define FMR3_SYNSA 0x04
585 #define FMR3_CFRZ 0x02
586 #define FMR3_EXTIW 0x01
593 #define CCB1_CH1 0x80
594 #define CCB1_CH2 0x40
595 #define CCB1_CH3 0x20
596 #define CCB1_CH4 0x10
597 #define CCB1_CH5 0x08
598 #define CCB1_CH6 0x04
599 #define CCB1_CH7 0x02
600 #define CCB1_CH8 0x01
602 #define CCB2_CH9 0x80
603 #define CCB2_CH10 0x40
604 #define CCB2_CH11 0x20
605 #define CCB2_CH12 0x10
606 #define CCB2_CH13 0x08
607 #define CCB2_CH14 0x04
608 #define CCB2_CH15 0x02
609 #define CCB2_CH16 0x01
611 #define CCB3_CH17 0x80
612 #define CCB3_CH18 0x40
613 #define CCB3_CH19 0x20
614 #define CCB3_CH20 0x10
615 #define CCB3_CH21 0x08
616 #define CCB3_CH22 0x04
617 #define CCB3_CH23 0x02
618 #define CCB3_CH24 0x01
624 #define LIM0_XFB 0x80
625 #define LIM0_XDOS 0x40
626 #define LIM0_SCL1 0x20
627 #define LIM0_SCL0 0x10
628 #define LIM0_EQON 0x08
629 #define LIM0_ELOS 0x04
631 #define LIM0_MAS 0x01
633 #define LIM1_EFSC 0x80
634 #define LIM1_RIL2 0x40
635 #define LIM1_RIL1 0x20
636 #define LIM1_RIL0 0x10
637 #define LIM1_DCOC 0x08
638 #define LIM1_JATT 0x04
640 #define LIM1_DRS 0x01
646 #define PCDR_PCD7 0x80
647 #define PCDR_PCD6 0x40
648 #define PCDR_PCD5 0x20
649 #define PCDR_PCD4 0x10
650 #define PCDR_PCD3 0x08
651 #define PCDR_PCD2 0x04
652 #define PCDR_PCD1 0x02
653 #define PCDR_PCD0 0x01
655 #define PCRR_PCR7 0x80
656 #define PCRR_PCR6 0x40
657 #define PCRR_PCR5 0x20
658 #define PCRR_PCR4 0x10
659 #define PCRR_PCR3 0x08
660 #define PCRR_PCR2 0x04
661 #define PCRR_PCR1 0x02
662 #define PCRR_PCR0 0x01
669 #define LIM2_DJA2 0x20
670 #define LIM2_DJA1 0x10
671 #define LIM2_LOS2 0x02
672 #define LIM2_LOS1 0x01
676 #define LCR1_EPRM 0x80
677 #define LCR1_XPRBS 0x40
680 #define SIC1_SRSC 0x80
681 #define SIC1_RBS1 0x20
682 #define SIC1_RBS0 0x10
683 #define SIC1_SXSC 0x08
684 #define SIC1_XBS1 0x02
685 #define SIC1_XBS0 0x01
690 #define DEC_DCEC3 0x20
691 #define DEC_DBEC 0x10
692 #define DEC_DCEC1 0x08
693 #define DEC_DCEC 0x08
694 #define DEC_DEBC 0x04
695 #define DEC_DCVC 0x02
696 #define DEC_DFEC 0x01
706 #define FRS0_LOS 0x80
707 #define FRS0_AIS 0x40
708 #define FRS0_LFA 0x20
709 #define FRS0_RRA 0x10
710 #define FRS0_API 0x08
711 #define FRS0_NMF 0x04
712 #define FRS0_LMFA 0x02
713 #define FRS0_FSRF 0x01
715 #define FRS1_TS16RA 0x40
716 #define FRS1_TS16LOS 0x20
717 #define FRS1_TS16AIS 0x10
718 #define FRS1_TS16LFA 0x08
719 #define FRS1_EXZD 0x80
720 #define FRS1_LLBDD 0x10
721 #define FRS1_LLBAD 0x08
722 #define FRS1_XLS 0x02
723 #define FRS1_XLO 0x01
724 #define FRS1_PDEN 0x40
729 #define FRS2_ESC2 0x80
730 #define FRS2_ESC1 0x40
731 #define FRS2_ESC0 0x20
733 #define FRS3_FEH5 0x20
734 #define FRS3_FEH4 0x10
735 #define FRS3_FEH3 0x08
736 #define FRS3_FEH2 0x04
737 #define FRS3_FEH1 0x02
738 #define FRS3_FEH0 0x01
758 #define RSP_LLBDD 0x10
759 #define RSP_LLBAD 0x08
760 #define RSP_RSIF 0x04
761 #define RSP_RS13 0x02
762 #define RSP_RS15 0x01
768 #define FECL_FE7 0x80
769 #define FECL_FE6 0x40
770 #define FECL_FE5 0x20
771 #define FECL_FE4 0x10
772 #define FECL_FE3 0x08
773 #define FECL_FE2 0x04
774 #define FECL_FE1 0x02
775 #define FECL_FE0 0x01
777 #define FECH_FE15 0x80
778 #define FECH_FE14 0x40
779 #define FECH_FE13 0x20
780 #define FECH_FE12 0x10
781 #define FECH_FE11 0x08
782 #define FECH_FE10 0x04
783 #define FECH_FE9 0x02
784 #define FECH_FE8 0x01
790 #define CVCL_CV7 0x80
791 #define CVCL_CV6 0x40
792 #define CVCL_CV5 0x20
793 #define CVCL_CV4 0x10
794 #define CVCL_CV3 0x08
795 #define CVCL_CV2 0x04
796 #define CVCL_CV1 0x02
797 #define CVCL_CV0 0x01
799 #define CVCH_CV15 0x80
800 #define CVCH_CV14 0x40
801 #define CVCH_CV13 0x20
802 #define CVCH_CV12 0x10
803 #define CVCH_CV11 0x08
804 #define CVCH_CV10 0x04
805 #define CVCH_CV9 0x02
806 #define CVCH_CV8 0x01
812 #define CEC1L_CR7 0x80
813 #define CEC1L_CR6 0x40
814 #define CEC1L_CR5 0x20
815 #define CEC1L_CR4 0x10
816 #define CEC1L_CR3 0x08
817 #define CEC1L_CR2 0x04
818 #define CEC1L_CR1 0x02
819 #define CEC1L_CR0 0x01
821 #define CEC1H_CR15 0x80
822 #define CEC1H_CR14 0x40
823 #define CEC1H_CR13 0x20
824 #define CEC1H_CR12 0x10
825 #define CEC1H_CR11 0x08
826 #define CEC1H_CR10 0x04
827 #define CEC1H_CR9 0x02
828 #define CEC1H_CR8 0x01
830 #define CEC2L_CR7 0x80
831 #define CEC2L_CR6 0x40
832 #define CEC2L_CR5 0x20
833 #define CEC2L_CR4 0x10
834 #define CEC2L_CR3 0x08
835 #define CEC2L_CR2 0x04
836 #define CEC2L_CR1 0x02
837 #define CEC2L_CR0 0x01
839 #define CEC2H_CR15 0x80
840 #define CEC2H_CR14 0x40
841 #define CEC2H_CR13 0x20
842 #define CEC2H_CR12 0x10
843 #define CEC2H_CR11 0x08
844 #define CEC2H_CR10 0x04
845 #define CEC2H_CR9 0x02
846 #define CEC2H_CR8 0x01
848 #define CEC3L_CR7 0x80
849 #define CEC3L_CR6 0x40
850 #define CEC3L_CR5 0x20
851 #define CEC3L_CR4 0x10
852 #define CEC3L_CR3 0x08
853 #define CEC3L_CR2 0x04
854 #define CEC3L_CR1 0x02
855 #define CEC3L_CR0 0x01
857 #define CEC3H_CR15 0x80
858 #define CEC3H_CR14 0x40
859 #define CEC3H_CR13 0x20
860 #define CEC3H_CR12 0x10
861 #define CEC3H_CR11 0x08
862 #define CEC3H_CR10 0x04
863 #define CEC3H_CR9 0x02
864 #define CEC3H_CR8 0x01
871 #define CECL_CR7 0x80
872 #define CECL_CR6 0x40
873 #define CECL_CR5 0x20
874 #define CECL_CR4 0x10
875 #define CECL_CR3 0x08
876 #define CECL_CR2 0x04
877 #define CECL_CR1 0x02
878 #define CECL_CR0 0x01
880 #define CECH_CR15 0x80
881 #define CECH_CR14 0x40
882 #define CECH_CR13 0x20
883 #define CECH_CR12 0x10
884 #define CECH_CR11 0x08
885 #define CECH_CR10 0x04
886 #define CECH_CR9 0x02
887 #define CECH_CR8 0x01
892 #define EBCL_EB7 0x80
893 #define EBCL_EB6 0x40
894 #define EBCL_EB5 0x20
895 #define EBCL_EB4 0x10
896 #define EBCL_EB3 0x08
897 #define EBCL_EB2 0x04
898 #define EBCL_EB1 0x02
899 #define EBCL_EB0 0x01
901 #define EBCH_EB15 0x80
902 #define EBCH_EB14 0x40
903 #define EBCH_EB13 0x20
904 #define EBCH_EB12 0x10
905 #define EBCH_EB11 0x08
906 #define EBCH_EB10 0x04
907 #define EBCH_EB9 0x02
908 #define EBCH_EB8 0x01
914 #define RSA4_RS47 0x80
915 #define RSA4_RS46 0x40
916 #define RSA4_RS45 0x20
917 #define RSA4_RS44 0x10
918 #define RSA4_RS43 0x08
919 #define RSA4_RS42 0x04
920 #define RSA4_RS41 0x02
921 #define RSA4_RS40 0x01
923 #define RSA5_RS57 0x80
924 #define RSA5_RS56 0x40
925 #define RSA5_RS55 0x20
926 #define RSA5_RS54 0x10
927 #define RSA5_RS53 0x08
928 #define RSA5_RS52 0x04
929 #define RSA5_RS51 0x02
930 #define RSA5_RS50 0x01
932 #define RSA6_RS67 0x80
933 #define RSA6_RS66 0x40
934 #define RSA6_RS65 0x20
935 #define RSA6_RS64 0x10
936 #define RSA6_RS63 0x08
937 #define RSA6_RS62 0x04
938 #define RSA6_RS61 0x02
939 #define RSA6_RS60 0x01
941 #define RSA7_RS77 0x80
942 #define RSA7_RS76 0x40
943 #define RSA7_RS75 0x20
944 #define RSA7_RS74 0x10
945 #define RSA7_RS73 0x08
946 #define RSA7_RS72 0x04
947 #define RSA7_RS71 0x02
948 #define RSA7_RS70 0x01
950 #define RSA8_RS87 0x80
951 #define RSA8_RS86 0x40
952 #define RSA8_RS85 0x20
953 #define RSA8_RS84 0x10
954 #define RSA8_RS83 0x08
955 #define RSA8_RS82 0x04
956 #define RSA8_RS81 0x02
957 #define RSA8_RS80 0x01
962 #define RSA6S_SX 0x20
963 #define RSA6S_SF 0x10
964 #define RSA6S_SE 0x08
965 #define RSA6S_SC 0x04
966 #define RSA6S_SA 0x02
967 #define RSA6S_S8 0x01
973 #define RDL1_RDL17 0x80
974 #define RDL1_RDL16 0x40
975 #define RDL1_RDL15 0x20
976 #define RDL1_RDL14 0x10
977 #define RDL1_RDL13 0x08
978 #define RDL1_RDL12 0x04
979 #define RDL1_RDL11 0x02
980 #define RDL1_RDL10 0x01
982 #define RDL2_RDL27 0x80
983 #define RDL2_RDL26 0x40
984 #define RDL2_RDL25 0x20
985 #define RDL2_RDL24 0x10
986 #define RDL2_RDL23 0x08
987 #define RDL2_RDL22 0x04
988 #define RDL2_RDL21 0x02
989 #define RDL2_RDL20 0x01
991 #define RDL3_RDL37 0x80
992 #define RDL3_RDL36 0x40
993 #define RDL3_RDL35 0x20
994 #define RDL3_RDL34 0x10
995 #define RDL3_RDL33 0x08
996 #define RDL3_RDL32 0x04
997 #define RDL3_RDL31 0x02
998 #define RDL3_RDL30 0x01
1005 #define SIS_XDOV 0x80
1006 #define SIS_XFW 0x40
1007 #define SIS_XREP 0x20
1008 #define SIS_RLI 0x08
1009 #define SIS_CEC 0x04
1010 #define SIS_BOM 0x01
1017 #define RSIS_VFR 0x80
1018 #define RSIS_RDO 0x40
1019 #define RSIS_CRC16 0x20
1020 #define RSIS_RAB 0x10
1021 #define RSIS_HA1 0x08
1022 #define RSIS_HA0 0x04
1023 #define RSIS_HFR 0x02
1024 #define RSIS_LA 0x01
1031 #define RBCL_RBC7 0x80
1032 #define RBCL_RBC6 0x40
1033 #define RBCL_RBC5 0x20
1034 #define RBCL_RBC4 0x10
1035 #define RBCL_RBC3 0x08
1036 #define RBCL_RBC2 0x04
1037 #define RBCL_RBC1 0x02
1038 #define RBCL_RBC0 0x01
1040 #define RBCH_OV 0x10
1041 #define RBCH_RBC11 0x08
1042 #define RBCH_RBC10 0x04
1043 #define RBCH_RBC9 0x02
1044 #define RBCH_RBC8 0x01
1051 #define FISR0_RME 0x80
1052 #define FISR0_RFS 0x40
1053 #define FISR0_T8MS 0x20
1054 #define FISR0_ISF 0x20
1055 #define FISR0_RMB 0x10
1056 #define FISR0_CASC 0x08
1057 #define FISR0_RSC 0x08
1058 #define FISR0_CRC6 0x04
1059 #define FISR0_CRC4 0x04
1060 #define FISR0_PDEN 0x02
1061 #define FISR0_RPF 0x01
1063 #define FISR1_CASE 0x80
1064 #define FISR1_LLBSC 0x80
1065 #define FISR1_RDO 0x40
1066 #define FISR1_ALLS 0x20
1067 #define FISR1_XDU 0x10
1068 #define FISR1_XMB 0x08
1069 #define FISR1_XLSC 0x02
1070 #define FISR1_XPR 0x01
1072 #define FISR2_FAR 0x80
1073 #define FISR2_LFA 0x40
1074 #define FISR2_MFAR 0x20
1075 #define FISR2_T400MS 0x10
1076 #define FISR2_LMFA 0x10
1077 #define FISR2_AIS 0x08
1078 #define FISR2_LOS 0x04
1079 #define FISR2_RAR 0x02
1080 #define FISR2_RA 0x01
1082 #define FISR3_ES 0x80
1083 #define FISR3_SEC 0x40
1084 #define FISR3_LMFA16 0x20
1085 #define FISR3_AIS16 0x10
1086 #define FISR3_RA16 0x08
1087 #define FISR3_API 0x04
1088 #define FISR3_XSLP 0x20
1089 #define FISR3_XSLN 0x10
1090 #define FISR3_LLBSC 0x08
1091 #define FISR3_XRS 0x04
1092 #define FISR3_SLN 0x02
1093 #define FISR3_SLP 0x01
1100 #define GIS_ISR3 0x08
1101 #define GIS_ISR2 0x04
1102 #define GIS_ISR1 0x02
1103 #define GIS_ISR0 0x01
1110 #define VSTR_VN3 0x08
1111 #define VSTR_VN2 0x04
1112 #define VSTR_VN1 0x02
1113 #define VSTR_VN0 0x01
1124 #define XS(nbr) (0x70 + (nbr))
1235 #define RS(nbr) (0x70 + (nbr))