Go to the documentation of this file.
7 #ifndef DRIVER_ATM_SUNI_H
8 #define DRIVER_ATM_SUNI_H
10 #include <linux/atmdev.h>
12 #include <linux/sonet.h>
23 #define SUNI_CSCS 0x06
24 #define SUNI_CRCS 0x07
26 #define SUNI_RSOP_CIE 0x10
27 #define SUNI_RSOP_SIS 0x11
28 #define SUNI_RSOP_SBL 0x12
29 #define SUNI_RSOP_SBM 0x13
30 #define SUNI_TSOP_CTRL 0x14
31 #define SUNI_TSOP_DIAG 0x15
33 #define SUNI_RLOP_CS 0x18
34 #define SUNI_RLOP_IES 0x19
35 #define SUNI_RLOP_LBL 0x1A
36 #define SUNI_RLOP_LB 0x1B
37 #define SUNI_RLOP_LBM 0x1C
38 #define SUNI_RLOP_LFL 0x1D
39 #define SUNI_RLOP_LF 0x1E
40 #define SUNI_RLOP_LFM 0x1F
41 #define SUNI_TLOP_CTRL 0x20
42 #define SUNI_TLOP_DIAG 0x21
44 #define SUNI_SSTB_CTRL 0x28
45 #define SUNI_RPOP_SC 0x30
46 #define SUNI_RPOP_IS 0x31
48 #define SUNI_RPOP_IE 0x33
50 #define SUNI_RPOP_PSL 0x37
51 #define SUNI_RPOP_PBL 0x38
52 #define SUNI_RPOP_PBM 0x39
53 #define SUNI_RPOP_PFL 0x3A
54 #define SUNI_RPOP_PFM 0x3B
56 #define SUNI_RPOP_PBC 0x3D
57 #define SUNI_RPOP_RC 0x3D
59 #define SUNI_TPOP_CD 0x40
60 #define SUNI_TPOP_PC 0x41
62 #define SUNI_TPOP_APL 0x45
63 #define SUNI_TPOP_APM 0x46
65 #define SUNI_TPOP_PSL 0x48
66 #define SUNI_TPOP_PS 0x49
68 #define SUNI_RACP_CS 0x50
69 #define SUNI_RACP_IES 0x51
70 #define SUNI_RACP_MHP 0x52
71 #define SUNI_RACP_MHM 0x53
72 #define SUNI_RACP_CHEC 0x54
73 #define SUNI_RACP_UHEC 0x55
74 #define SUNI_RACP_RCCL 0x56
75 #define SUNI_RACP_RCC 0x57
76 #define SUNI_RACP_RCCM 0x58
77 #define SUNI_RACP_CFG 0x59
79 #define SUNI_TACP_CS 0x60
80 #define SUNI_TACP_IUCHP 0x61
81 #define SUNI_TACP_IUCPOP 0x62
83 #define SUNI_TACP_FIFO 0x63
84 #define SUNI_TACP_TCCL 0x64
85 #define SUNI_TACP_TCC 0x65
86 #define SUNI_TACP_TCCM 0x66
87 #define SUNI_TACP_CFG 0x67
88 #define SUNI_SPTB_CTRL 0x68
97 #define SUNI_MRI_ID 0x0f
98 #define SUNI_MRI_ID_SHIFT 0
99 #define SUNI_MRI_TYPE 0x70
100 #define SUNI_MRI_TYPE_SHIFT 4
101 #define SUNI_MRI_TYPE_PM5346 0x3
102 #define SUNI_MRI_TYPE_PM5347 0x4
103 #define SUNI_MRI_TYPE_PM5350 0x7
104 #define SUNI_MRI_TYPE_PM5355 0x1
105 #define SUNI_MRI_RESET 0x80
110 #define SUNI_MCM_LLE 0x20
111 #define SUNI_MCM_DLE 0x10
114 #define SUNI_MCT_LOOPT 0x01
116 #define SUNI_MCT_DLE 0x02
117 #define SUNI_MCT_LLE 0x04
118 #define SUNI_MCT_FIXPTR 0x20
123 #define SUNI_MCT_LCDV 0x40
124 #define SUNI_MCT_LCDE 0x80
127 #define SUNI_RSOP_CIE_OOFE 0x01
129 #define SUNI_RSOP_CIE_LOFE 0x02
131 #define SUNI_RSOP_CIE_LOSE 0x04
133 #define SUNI_RSOP_CIE_BIPEE 0x08
135 #define SUNI_RSOP_CIE_FOOF 0x20
137 #define SUNI_RSOP_CIE_DDS 0x40
140 #define SUNI_RSOP_SIS_OOFV 0x01
141 #define SUNI_RSOP_SIS_LOFV 0x02
142 #define SUNI_RSOP_SIS_LOSV 0x04
143 #define SUNI_RSOP_SIS_OOFI 0x08
144 #define SUNI_RSOP_SIS_LOFI 0x10
145 #define SUNI_RSOP_SIS_LOSI 0x20
146 #define SUNI_RSOP_SIS_BIPEI 0x40
149 #define SUNI_TSOP_CTRL_LAIS 0x01
150 #define SUNI_TSOP_CTRL_DS 0x40
153 #define SUNI_TSOP_DIAG_DFP 0x01
154 #define SUNI_TSOP_DIAG_DBIP8 0x02
155 #define SUNI_TSOP_DIAG_DLOS 0x04
158 #define SUNI_TLOP_DIAG_DBIP 0x01
161 #define SUNI_SSTB_CTRL_LEN16 0x01
164 #define SUNI_RPOP_RC_ENSS 0x40
167 #define SUNI_TPOP_DIAG_PAIS 0x01
168 #define SUNI_TPOP_DIAG_DB3 0x02
171 #define SUNI_TPOP_APM_APTR 0x03
173 #define SUNI_TPOP_APM_APTR_SHIFT 0
174 #define SUNI_TPOP_APM_S 0x0c
176 #define SUNI_TPOP_APM_S_SHIFT 2
177 #define SUNI_TPOP_APM_NDF 0xf0
178 #define SUNI_TPOP_APM_NDF_SHIFT 4
180 #define SUNI_TPOP_S_SONET 0
181 #define SUNI_TPOP_S_SDH 2
184 #define SUNI_RACP_IES_FOVRI 0x02
185 #define SUNI_RACP_IES_UHCSI 0x04
186 #define SUNI_RACP_IES_CHCSI 0x08
187 #define SUNI_RACP_IES_OOCDI 0x10
189 #define SUNI_RACP_IES_FIFOE 0x20
190 #define SUNI_RACP_IES_HCSE 0x40
191 #define SUNI_RACP_IES_OOCDE 0x80
195 #define SUNI_TACP_CS_FIFORST 0x01
196 #define SUNI_TACP_CS_DSCR 0x02
197 #define SUNI_TACP_CS_HCAADD 0x04
198 #define SUNI_TACP_CS_DHCS 0x10
199 #define SUNI_TACP_CS_FOVRI 0x20
200 #define SUNI_TACP_CS_TSOCI 0x40
201 #define SUNI_TACP_CS_FIFOE 0x80
204 #define SUNI_TACP_IUCHP_CLP 0x01
206 #define SUNI_TACP_IUCHP_PTI 0x0e
208 #define SUNI_TACP_IUCHP_PTI_SHIFT 1
209 #define SUNI_TACP_IUCHP_GFC 0xf0
211 #define SUNI_TACP_IUCHP_GFC_SHIFT 4
214 #define SUNI_SPTB_CTRL_LEN16 0x01
217 #define SUNI_MT_HIZIO 0x01
219 #define SUNI_MT_HIZDATA 0x02
220 #define SUNI_MT_IOTST 0x04
221 #define SUNI_MT_DBCTRL 0x08
222 #define SUNI_MT_PMCTST 0x10
223 #define SUNI_MT_DS27_53 0x80
226 #define SUNI_IDLE_PATTERN 0x6a
235 struct suni_priv *
next;