2 * File: include/asm-blackfin/mach-bf548/defBF549.h
13 * Bugs: Enter bugs at http://blackfin.uclinux.org/
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2, or (at your option)
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with this program; see the file COPYING.
27 * If not, write to the Free Software Foundation,
28 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34 /* Include all Core registers and bit definitions */
35 #include <asm/mach-common/def_LPBlackfin.h>
38 /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF549 */
40 /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
41 #include "defBF54x_base.h"
43 /* The following are the #defines needed by ADSP-BF549 that are not in the common header */
47 #define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */
48 #define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */
49 #define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */
50 #define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */
51 #define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */
52 #define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */
53 #define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */
54 #define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */
55 #define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */
56 #define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */
57 #define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */
58 #define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */
60 /* Timer Group of 3 Registers */
62 #define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */
63 #define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */
64 #define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */
66 /* SPORT0 Registers */
68 #define SPORT0_TCR1 0xffc00800 /* SPORT0 Transmit Configuration 1 Register */
69 #define SPORT0_TCR2 0xffc00804 /* SPORT0 Transmit Configuration 2 Register */
70 #define SPORT0_TCLKDIV 0xffc00808 /* SPORT0 Transmit Serial Clock Divider Register */
71 #define SPORT0_TFSDIV 0xffc0080c /* SPORT0 Transmit Frame Sync Divider Register */
72 #define SPORT0_TX 0xffc00810 /* SPORT0 Transmit Data Register */
73 #define SPORT0_RX 0xffc00818 /* SPORT0 Receive Data Register */
74 #define SPORT0_RCR1 0xffc00820 /* SPORT0 Receive Configuration 1 Register */
75 #define SPORT0_RCR2 0xffc00824 /* SPORT0 Receive Configuration 2 Register */
76 #define SPORT0_RCLKDIV 0xffc00828 /* SPORT0 Receive Serial Clock Divider Register */
77 #define SPORT0_RFSDIV 0xffc0082c /* SPORT0 Receive Frame Sync Divider Register */
78 #define SPORT0_STAT 0xffc00830 /* SPORT0 Status Register */
79 #define SPORT0_CHNL 0xffc00834 /* SPORT0 Current Channel Register */
80 #define SPORT0_MCMC1 0xffc00838 /* SPORT0 Multi channel Configuration Register 1 */
81 #define SPORT0_MCMC2 0xffc0083c /* SPORT0 Multi channel Configuration Register 2 */
82 #define SPORT0_MTCS0 0xffc00840 /* SPORT0 Multi channel Transmit Select Register 0 */
83 #define SPORT0_MTCS1 0xffc00844 /* SPORT0 Multi channel Transmit Select Register 1 */
84 #define SPORT0_MTCS2 0xffc00848 /* SPORT0 Multi channel Transmit Select Register 2 */
85 #define SPORT0_MTCS3 0xffc0084c /* SPORT0 Multi channel Transmit Select Register 3 */
86 #define SPORT0_MRCS0 0xffc00850 /* SPORT0 Multi channel Receive Select Register 0 */
87 #define SPORT0_MRCS1 0xffc00854 /* SPORT0 Multi channel Receive Select Register 1 */
88 #define SPORT0_MRCS2 0xffc00858 /* SPORT0 Multi channel Receive Select Register 2 */
89 #define SPORT0_MRCS3 0xffc0085c /* SPORT0 Multi channel Receive Select Register 3 */
93 #define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */
94 #define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */
95 #define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */
96 #define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */
97 #define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */
98 #define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */
99 #define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */
100 #define EPPI0_CLKDIV 0xffc0101c /* EPPI0 Clock Divide Register */
101 #define EPPI0_CONTROL 0xffc01020 /* EPPI0 Control Register */
102 #define EPPI0_FS1W_HBL 0xffc01024 /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */
103 #define EPPI0_FS1P_AVPL 0xffc01028 /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */
104 #define EPPI0_FS2W_LVB 0xffc0102c /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */
105 #define EPPI0_FS2P_LAVF 0xffc01030 /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */
106 #define EPPI0_CLIP 0xffc01034 /* EPPI0 Clipping Register */
108 /* UART2 Registers */
110 #define UART2_DLL 0xffc02100 /* Divisor Latch Low Byte */
111 #define UART2_DLH 0xffc02104 /* Divisor Latch High Byte */
112 #define UART2_GCTL 0xffc02108 /* Global Control Register */
113 #define UART2_LCR 0xffc0210c /* Line Control Register */
114 #define UART2_MCR 0xffc02110 /* Modem Control Register */
115 #define UART2_LSR 0xffc02114 /* Line Status Register */
116 #define UART2_MSR 0xffc02118 /* Modem Status Register */
117 #define UART2_SCR 0xffc0211c /* Scratch Register */
118 #define UART2_IER_SET 0xffc02120 /* Interrupt Enable Register Set */
119 #define UART2_IER_CLEAR 0xffc02124 /* Interrupt Enable Register Clear */
120 #define UART2_RBR 0xffc0212c /* Receive Buffer Register */
122 /* Two Wire Interface Registers (TWI1) */
124 #define TWI1_CLKDIV 0xffc02200 /* Clock Divider Register */
125 #define TWI1_CONTROL 0xffc02204 /* TWI Control Register */
126 #define TWI1_SLAVE_CTRL 0xffc02208 /* TWI Slave Mode Control Register */
127 #define TWI1_SLAVE_STAT 0xffc0220c /* TWI Slave Mode Status Register */
128 #define TWI1_SLAVE_ADDR 0xffc02210 /* TWI Slave Mode Address Register */
129 #define TWI1_MASTER_CTRL 0xffc02214 /* TWI Master Mode Control Register */
130 #define TWI1_MASTER_STAT 0xffc02218 /* TWI Master Mode Status Register */
131 #define TWI1_MASTER_ADDR 0xffc0221c /* TWI Master Mode Address Register */
132 #define TWI1_INT_STAT 0xffc02220 /* TWI Interrupt Status Register */
133 #define TWI1_INT_MASK 0xffc02224 /* TWI Interrupt Mask Register */
134 #define TWI1_FIFO_CTRL 0xffc02228 /* TWI FIFO Control Register */
135 #define TWI1_FIFO_STAT 0xffc0222c /* TWI FIFO Status Register */
136 #define TWI1_XMT_DATA8 0xffc02280 /* TWI FIFO Transmit Data Single Byte Register */
137 #define TWI1_XMT_DATA16 0xffc02284 /* TWI FIFO Transmit Data Double Byte Register */
138 #define TWI1_RCV_DATA8 0xffc02288 /* TWI FIFO Receive Data Single Byte Register */
139 #define TWI1_RCV_DATA16 0xffc0228c /* TWI FIFO Receive Data Double Byte Register */
143 #define SPI2_CTL 0xffc02400 /* SPI2 Control Register */
144 #define SPI2_FLG 0xffc02404 /* SPI2 Flag Register */
145 #define SPI2_STAT 0xffc02408 /* SPI2 Status Register */
146 #define SPI2_TDBR 0xffc0240c /* SPI2 Transmit Data Buffer Register */
147 #define SPI2_RDBR 0xffc02410 /* SPI2 Receive Data Buffer Register */
148 #define SPI2_BAUD 0xffc02414 /* SPI2 Baud Rate Register */
149 #define SPI2_SHADOW 0xffc02418 /* SPI2 Receive Data Buffer Shadow Register */
153 #define MXVR_CONFIG 0xffc02700 /* MXVR Configuration Register */
154 #define MXVR_STATE_0 0xffc02708 /* MXVR State Register 0 */
155 #define MXVR_STATE_1 0xffc0270c /* MXVR State Register 1 */
156 #define MXVR_INT_STAT_0 0xffc02710 /* MXVR Interrupt Status Register 0 */
157 #define MXVR_INT_STAT_1 0xffc02714 /* MXVR Interrupt Status Register 1 */
158 #define MXVR_INT_EN_0 0xffc02718 /* MXVR Interrupt Enable Register 0 */
159 #define MXVR_INT_EN_1 0xffc0271c /* MXVR Interrupt Enable Register 1 */
160 #define MXVR_POSITION 0xffc02720 /* MXVR Node Position Register */
161 #define MXVR_MAX_POSITION 0xffc02724 /* MXVR Maximum Node Position Register */
162 #define MXVR_DELAY 0xffc02728 /* MXVR Node Frame Delay Register */
163 #define MXVR_MAX_DELAY 0xffc0272c /* MXVR Maximum Node Frame Delay Register */
164 #define MXVR_LADDR 0xffc02730 /* MXVR Logical Address Register */
165 #define MXVR_GADDR 0xffc02734 /* MXVR Group Address Register */
166 #define MXVR_AADDR 0xffc02738 /* MXVR Alternate Address Register */
168 /* MXVR Allocation Table Registers */
170 #define MXVR_ALLOC_0 0xffc0273c /* MXVR Allocation Table Register 0 */
171 #define MXVR_ALLOC_1 0xffc02740 /* MXVR Allocation Table Register 1 */
172 #define MXVR_ALLOC_2 0xffc02744 /* MXVR Allocation Table Register 2 */
173 #define MXVR_ALLOC_3 0xffc02748 /* MXVR Allocation Table Register 3 */
174 #define MXVR_ALLOC_4 0xffc0274c /* MXVR Allocation Table Register 4 */
175 #define MXVR_ALLOC_5 0xffc02750 /* MXVR Allocation Table Register 5 */
176 #define MXVR_ALLOC_6 0xffc02754 /* MXVR Allocation Table Register 6 */
177 #define MXVR_ALLOC_7 0xffc02758 /* MXVR Allocation Table Register 7 */
178 #define MXVR_ALLOC_8 0xffc0275c /* MXVR Allocation Table Register 8 */
179 #define MXVR_ALLOC_9 0xffc02760 /* MXVR Allocation Table Register 9 */
180 #define MXVR_ALLOC_10 0xffc02764 /* MXVR Allocation Table Register 10 */
181 #define MXVR_ALLOC_11 0xffc02768 /* MXVR Allocation Table Register 11 */
182 #define MXVR_ALLOC_12 0xffc0276c /* MXVR Allocation Table Register 12 */
183 #define MXVR_ALLOC_13 0xffc02770 /* MXVR Allocation Table Register 13 */
184 #define MXVR_ALLOC_14 0xffc02774 /* MXVR Allocation Table Register 14 */
186 /* MXVR Channel Assign Registers */
188 #define MXVR_SYNC_LCHAN_0 0xffc02778 /* MXVR Sync Data Logical Channel Assign Register 0 */
189 #define MXVR_SYNC_LCHAN_1 0xffc0277c /* MXVR Sync Data Logical Channel Assign Register 1 */
190 #define MXVR_SYNC_LCHAN_2 0xffc02780 /* MXVR Sync Data Logical Channel Assign Register 2 */
191 #define MXVR_SYNC_LCHAN_3 0xffc02784 /* MXVR Sync Data Logical Channel Assign Register 3 */
192 #define MXVR_SYNC_LCHAN_4 0xffc02788 /* MXVR Sync Data Logical Channel Assign Register 4 */
193 #define MXVR_SYNC_LCHAN_5 0xffc0278c /* MXVR Sync Data Logical Channel Assign Register 5 */
194 #define MXVR_SYNC_LCHAN_6 0xffc02790 /* MXVR Sync Data Logical Channel Assign Register 6 */
195 #define MXVR_SYNC_LCHAN_7 0xffc02794 /* MXVR Sync Data Logical Channel Assign Register 7 */
197 /* MXVR DMA0 Registers */
199 #define MXVR_DMA0_CONFIG 0xffc02798 /* MXVR Sync Data DMA0 Config Register */
200 #define MXVR_DMA0_START_ADDR 0xffc0279c /* MXVR Sync Data DMA0 Start Address */
201 #define MXVR_DMA0_COUNT 0xffc027a0 /* MXVR Sync Data DMA0 Loop Count Register */
202 #define MXVR_DMA0_CURR_ADDR 0xffc027a4 /* MXVR Sync Data DMA0 Current Address */
203 #define MXVR_DMA0_CURR_COUNT 0xffc027a8 /* MXVR Sync Data DMA0 Current Loop Count */
205 /* MXVR DMA1 Registers */
207 #define MXVR_DMA1_CONFIG 0xffc027ac /* MXVR Sync Data DMA1 Config Register */
208 #define MXVR_DMA1_START_ADDR 0xffc027b0 /* MXVR Sync Data DMA1 Start Address */
209 #define MXVR_DMA1_COUNT 0xffc027b4 /* MXVR Sync Data DMA1 Loop Count Register */
210 #define MXVR_DMA1_CURR_ADDR 0xffc027b8 /* MXVR Sync Data DMA1 Current Address */
211 #define MXVR_DMA1_CURR_COUNT 0xffc027bc /* MXVR Sync Data DMA1 Current Loop Count */
213 /* MXVR DMA2 Registers */
215 #define MXVR_DMA2_CONFIG 0xffc027c0 /* MXVR Sync Data DMA2 Config Register */
216 #define MXVR_DMA2_START_ADDR 0xffc027c4 /* MXVR Sync Data DMA2 Start Address */
217 #define MXVR_DMA2_COUNT 0xffc027c8 /* MXVR Sync Data DMA2 Loop Count Register */
218 #define MXVR_DMA2_CURR_ADDR 0xffc027cc /* MXVR Sync Data DMA2 Current Address */
219 #define MXVR_DMA2_CURR_COUNT 0xffc027d0 /* MXVR Sync Data DMA2 Current Loop Count */
221 /* MXVR DMA3 Registers */
223 #define MXVR_DMA3_CONFIG 0xffc027d4 /* MXVR Sync Data DMA3 Config Register */
224 #define MXVR_DMA3_START_ADDR 0xffc027d8 /* MXVR Sync Data DMA3 Start Address */
225 #define MXVR_DMA3_COUNT 0xffc027dc /* MXVR Sync Data DMA3 Loop Count Register */
226 #define MXVR_DMA3_CURR_ADDR 0xffc027e0 /* MXVR Sync Data DMA3 Current Address */
227 #define MXVR_DMA3_CURR_COUNT 0xffc027e4 /* MXVR Sync Data DMA3 Current Loop Count */
229 /* MXVR DMA4 Registers */
231 #define MXVR_DMA4_CONFIG 0xffc027e8 /* MXVR Sync Data DMA4 Config Register */
232 #define MXVR_DMA4_START_ADDR 0xffc027ec /* MXVR Sync Data DMA4 Start Address */
233 #define MXVR_DMA4_COUNT 0xffc027f0 /* MXVR Sync Data DMA4 Loop Count Register */
234 #define MXVR_DMA4_CURR_ADDR 0xffc027f4 /* MXVR Sync Data DMA4 Current Address */
235 #define MXVR_DMA4_CURR_COUNT 0xffc027f8 /* MXVR Sync Data DMA4 Current Loop Count */
237 /* MXVR DMA5 Registers */
239 #define MXVR_DMA5_CONFIG 0xffc027fc /* MXVR Sync Data DMA5 Config Register */
240 #define MXVR_DMA5_START_ADDR 0xffc02800 /* MXVR Sync Data DMA5 Start Address */
241 #define MXVR_DMA5_COUNT 0xffc02804 /* MXVR Sync Data DMA5 Loop Count Register */
242 #define MXVR_DMA5_CURR_ADDR 0xffc02808 /* MXVR Sync Data DMA5 Current Address */
243 #define MXVR_DMA5_CURR_COUNT 0xffc0280c /* MXVR Sync Data DMA5 Current Loop Count */
245 /* MXVR DMA6 Registers */
247 #define MXVR_DMA6_CONFIG 0xffc02810 /* MXVR Sync Data DMA6 Config Register */
248 #define MXVR_DMA6_START_ADDR 0xffc02814 /* MXVR Sync Data DMA6 Start Address */
249 #define MXVR_DMA6_COUNT 0xffc02818 /* MXVR Sync Data DMA6 Loop Count Register */
250 #define MXVR_DMA6_CURR_ADDR 0xffc0281c /* MXVR Sync Data DMA6 Current Address */
251 #define MXVR_DMA6_CURR_COUNT 0xffc02820 /* MXVR Sync Data DMA6 Current Loop Count */
253 /* MXVR DMA7 Registers */
255 #define MXVR_DMA7_CONFIG 0xffc02824 /* MXVR Sync Data DMA7 Config Register */
256 #define MXVR_DMA7_START_ADDR 0xffc02828 /* MXVR Sync Data DMA7 Start Address */
257 #define MXVR_DMA7_COUNT 0xffc0282c /* MXVR Sync Data DMA7 Loop Count Register */
258 #define MXVR_DMA7_CURR_ADDR 0xffc02830 /* MXVR Sync Data DMA7 Current Address */
259 #define MXVR_DMA7_CURR_COUNT 0xffc02834 /* MXVR Sync Data DMA7 Current Loop Count */
261 /* MXVR Asynch Packet Registers */
263 #define MXVR_AP_CTL 0xffc02838 /* MXVR Async Packet Control Register */
264 #define MXVR_APRB_START_ADDR 0xffc0283c /* MXVR Async Packet RX Buffer Start Addr Register */
265 #define MXVR_APRB_CURR_ADDR 0xffc02840 /* MXVR Async Packet RX Buffer Current Addr Register */
266 #define MXVR_APTB_START_ADDR 0xffc02844 /* MXVR Async Packet TX Buffer Start Addr Register */
267 #define MXVR_APTB_CURR_ADDR 0xffc02848 /* MXVR Async Packet TX Buffer Current Addr Register */
269 /* MXVR Control Message Registers */
271 #define MXVR_CM_CTL 0xffc0284c /* MXVR Control Message Control Register */
272 #define MXVR_CMRB_START_ADDR 0xffc02850 /* MXVR Control Message RX Buffer Start Addr Register */
273 #define MXVR_CMRB_CURR_ADDR 0xffc02854 /* MXVR Control Message RX Buffer Current Address */
274 #define MXVR_CMTB_START_ADDR 0xffc02858 /* MXVR Control Message TX Buffer Start Addr Register */
275 #define MXVR_CMTB_CURR_ADDR 0xffc0285c /* MXVR Control Message TX Buffer Current Address */
277 /* MXVR Remote Read Registers */
279 #define MXVR_RRDB_START_ADDR 0xffc02860 /* MXVR Remote Read Buffer Start Addr Register */
280 #define MXVR_RRDB_CURR_ADDR 0xffc02864 /* MXVR Remote Read Buffer Current Addr Register */
282 /* MXVR Pattern Data Registers */
284 #define MXVR_PAT_DATA_0 0xffc02868 /* MXVR Pattern Data Register 0 */
285 #define MXVR_PAT_EN_0 0xffc0286c /* MXVR Pattern Enable Register 0 */
286 #define MXVR_PAT_DATA_1 0xffc02870 /* MXVR Pattern Data Register 1 */
287 #define MXVR_PAT_EN_1 0xffc02874 /* MXVR Pattern Enable Register 1 */
289 /* MXVR Frame Counter Registers */
291 #define MXVR_FRAME_CNT_0 0xffc02878 /* MXVR Frame Counter 0 */
292 #define MXVR_FRAME_CNT_1 0xffc0287c /* MXVR Frame Counter 1 */
294 /* MXVR Routing Table Registers */
296 #define MXVR_ROUTING_0 0xffc02880 /* MXVR Routing Table Register 0 */
297 #define MXVR_ROUTING_1 0xffc02884 /* MXVR Routing Table Register 1 */
298 #define MXVR_ROUTING_2 0xffc02888 /* MXVR Routing Table Register 2 */
299 #define MXVR_ROUTING_3 0xffc0288c /* MXVR Routing Table Register 3 */
300 #define MXVR_ROUTING_4 0xffc02890 /* MXVR Routing Table Register 4 */
301 #define MXVR_ROUTING_5 0xffc02894 /* MXVR Routing Table Register 5 */
302 #define MXVR_ROUTING_6 0xffc02898 /* MXVR Routing Table Register 6 */
303 #define MXVR_ROUTING_7 0xffc0289c /* MXVR Routing Table Register 7 */
304 #define MXVR_ROUTING_8 0xffc028a0 /* MXVR Routing Table Register 8 */
305 #define MXVR_ROUTING_9 0xffc028a4 /* MXVR Routing Table Register 9 */
306 #define MXVR_ROUTING_10 0xffc028a8 /* MXVR Routing Table Register 10 */
307 #define MXVR_ROUTING_11 0xffc028ac /* MXVR Routing Table Register 11 */
308 #define MXVR_ROUTING_12 0xffc028b0 /* MXVR Routing Table Register 12 */
309 #define MXVR_ROUTING_13 0xffc028b4 /* MXVR Routing Table Register 13 */
310 #define MXVR_ROUTING_14 0xffc028b8 /* MXVR Routing Table Register 14 */
312 /* MXVR Counter-Clock-Control Registers */
314 #define MXVR_BLOCK_CNT 0xffc028c0 /* MXVR Block Counter */
315 #define MXVR_CLK_CTL 0xffc028d0 /* MXVR Clock Control Register */
316 #define MXVR_CDRPLL_CTL 0xffc028d4 /* MXVR Clock/Data Recovery PLL Control Register */
317 #define MXVR_FMPLL_CTL 0xffc028d8 /* MXVR Frequency Multiply PLL Control Register */
318 #define MXVR_PIN_CTL 0xffc028dc /* MXVR Pin Control Register */
319 #define MXVR_SCLK_CNT 0xffc028e0 /* MXVR System Clock Counter Register */
321 /* CAN Controller 1 Config 1 Registers */
323 #define CAN1_MC1 0xffc03200 /* CAN Controller 1 Mailbox Configuration Register 1 */
324 #define CAN1_MD1 0xffc03204 /* CAN Controller 1 Mailbox Direction Register 1 */
325 #define CAN1_TRS1 0xffc03208 /* CAN Controller 1 Transmit Request Set Register 1 */
326 #define CAN1_TRR1 0xffc0320c /* CAN Controller 1 Transmit Request Reset Register 1 */
327 #define CAN1_TA1 0xffc03210 /* CAN Controller 1 Transmit Acknowledge Register 1 */
328 #define CAN1_AA1 0xffc03214 /* CAN Controller 1 Abort Acknowledge Register 1 */
329 #define CAN1_RMP1 0xffc03218 /* CAN Controller 1 Receive Message Pending Register 1 */
330 #define CAN1_RML1 0xffc0321c /* CAN Controller 1 Receive Message Lost Register 1 */
331 #define CAN1_MBTIF1 0xffc03220 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 1 */
332 #define CAN1_MBRIF1 0xffc03224 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 1 */
333 #define CAN1_MBIM1 0xffc03228 /* CAN Controller 1 Mailbox Interrupt Mask Register 1 */
334 #define CAN1_RFH1 0xffc0322c /* CAN Controller 1 Remote Frame Handling Enable Register 1 */
335 #define CAN1_OPSS1 0xffc03230 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 1 */
337 /* CAN Controller 1 Config 2 Registers */
339 #define CAN1_MC2 0xffc03240 /* CAN Controller 1 Mailbox Configuration Register 2 */
340 #define CAN1_MD2 0xffc03244 /* CAN Controller 1 Mailbox Direction Register 2 */
341 #define CAN1_TRS2 0xffc03248 /* CAN Controller 1 Transmit Request Set Register 2 */
342 #define CAN1_TRR2 0xffc0324c /* CAN Controller 1 Transmit Request Reset Register 2 */
343 #define CAN1_TA2 0xffc03250 /* CAN Controller 1 Transmit Acknowledge Register 2 */
344 #define CAN1_AA2 0xffc03254 /* CAN Controller 1 Abort Acknowledge Register 2 */
345 #define CAN1_RMP2 0xffc03258 /* CAN Controller 1 Receive Message Pending Register 2 */
346 #define CAN1_RML2 0xffc0325c /* CAN Controller 1 Receive Message Lost Register 2 */
347 #define CAN1_MBTIF2 0xffc03260 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 2 */
348 #define CAN1_MBRIF2 0xffc03264 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 2 */
349 #define CAN1_MBIM2 0xffc03268 /* CAN Controller 1 Mailbox Interrupt Mask Register 2 */
350 #define CAN1_RFH2 0xffc0326c /* CAN Controller 1 Remote Frame Handling Enable Register 2 */
351 #define CAN1_OPSS2 0xffc03270 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 2 */
353 /* CAN Controller 1 Clock/Interrupt/Counter Registers */
355 #define CAN1_CLOCK 0xffc03280 /* CAN Controller 1 Clock Register */
356 #define CAN1_TIMING 0xffc03284 /* CAN Controller 1 Timing Register */
357 #define CAN1_DEBUG 0xffc03288 /* CAN Controller 1 Debug Register */
358 #define CAN1_STATUS 0xffc0328c /* CAN Controller 1 Global Status Register */
359 #define CAN1_CEC 0xffc03290 /* CAN Controller 1 Error Counter Register */
360 #define CAN1_GIS 0xffc03294 /* CAN Controller 1 Global Interrupt Status Register */
361 #define CAN1_GIM 0xffc03298 /* CAN Controller 1 Global Interrupt Mask Register */
362 #define CAN1_GIF 0xffc0329c /* CAN Controller 1 Global Interrupt Flag Register */
363 #define CAN1_CONTROL 0xffc032a0 /* CAN Controller 1 Master Control Register */
364 #define CAN1_INTR 0xffc032a4 /* CAN Controller 1 Interrupt Pending Register */
365 #define CAN1_MBTD 0xffc032ac /* CAN Controller 1 Mailbox Temporary Disable Register */
366 #define CAN1_EWR 0xffc032b0 /* CAN Controller 1 Programmable Warning Level Register */
367 #define CAN1_ESR 0xffc032b4 /* CAN Controller 1 Error Status Register */
368 #define CAN1_UCCNT 0xffc032c4 /* CAN Controller 1 Universal Counter Register */
369 #define CAN1_UCRC 0xffc032c8 /* CAN Controller 1 Universal Counter Force Reload Register */
370 #define CAN1_UCCNF 0xffc032cc /* CAN Controller 1 Universal Counter Configuration Register */
372 /* CAN Controller 1 Mailbox Acceptance Registers */
374 #define CAN1_AM00L 0xffc03300 /* CAN Controller 1 Mailbox 0 Acceptance Mask High Register */
375 #define CAN1_AM00H 0xffc03304 /* CAN Controller 1 Mailbox 0 Acceptance Mask Low Register */
376 #define CAN1_AM01L 0xffc03308 /* CAN Controller 1 Mailbox 1 Acceptance Mask High Register */
377 #define CAN1_AM01H 0xffc0330c /* CAN Controller 1 Mailbox 1 Acceptance Mask Low Register */
378 #define CAN1_AM02L 0xffc03310 /* CAN Controller 1 Mailbox 2 Acceptance Mask High Register */
379 #define CAN1_AM02H 0xffc03314 /* CAN Controller 1 Mailbox 2 Acceptance Mask Low Register */
380 #define CAN1_AM03L 0xffc03318 /* CAN Controller 1 Mailbox 3 Acceptance Mask High Register */
381 #define CAN1_AM03H 0xffc0331c /* CAN Controller 1 Mailbox 3 Acceptance Mask Low Register */
382 #define CAN1_AM04L 0xffc03320 /* CAN Controller 1 Mailbox 4 Acceptance Mask High Register */
383 #define CAN1_AM04H 0xffc03324 /* CAN Controller 1 Mailbox 4 Acceptance Mask Low Register */
384 #define CAN1_AM05L 0xffc03328 /* CAN Controller 1 Mailbox 5 Acceptance Mask High Register */
385 #define CAN1_AM05H 0xffc0332c /* CAN Controller 1 Mailbox 5 Acceptance Mask Low Register */
386 #define CAN1_AM06L 0xffc03330 /* CAN Controller 1 Mailbox 6 Acceptance Mask High Register */
387 #define CAN1_AM06H 0xffc03334 /* CAN Controller 1 Mailbox 6 Acceptance Mask Low Register */
388 #define CAN1_AM07L 0xffc03338 /* CAN Controller 1 Mailbox 7 Acceptance Mask High Register */
389 #define CAN1_AM07H 0xffc0333c /* CAN Controller 1 Mailbox 7 Acceptance Mask Low Register */
390 #define CAN1_AM08L 0xffc03340 /* CAN Controller 1 Mailbox 8 Acceptance Mask High Register */
391 #define CAN1_AM08H 0xffc03344 /* CAN Controller 1 Mailbox 8 Acceptance Mask Low Register */
392 #define CAN1_AM09L 0xffc03348 /* CAN Controller 1 Mailbox 9 Acceptance Mask High Register */
393 #define CAN1_AM09H 0xffc0334c /* CAN Controller 1 Mailbox 9 Acceptance Mask Low Register */
394 #define CAN1_AM10L 0xffc03350 /* CAN Controller 1 Mailbox 10 Acceptance Mask High Register */
395 #define CAN1_AM10H 0xffc03354 /* CAN Controller 1 Mailbox 10 Acceptance Mask Low Register */
396 #define CAN1_AM11L 0xffc03358 /* CAN Controller 1 Mailbox 11 Acceptance Mask High Register */
397 #define CAN1_AM11H 0xffc0335c /* CAN Controller 1 Mailbox 11 Acceptance Mask Low Register */
398 #define CAN1_AM12L 0xffc03360 /* CAN Controller 1 Mailbox 12 Acceptance Mask High Register */
399 #define CAN1_AM12H 0xffc03364 /* CAN Controller 1 Mailbox 12 Acceptance Mask Low Register */
400 #define CAN1_AM13L 0xffc03368 /* CAN Controller 1 Mailbox 13 Acceptance Mask High Register */
401 #define CAN1_AM13H 0xffc0336c /* CAN Controller 1 Mailbox 13 Acceptance Mask Low Register */
402 #define CAN1_AM14L 0xffc03370 /* CAN Controller 1 Mailbox 14 Acceptance Mask High Register */
403 #define CAN1_AM14H 0xffc03374 /* CAN Controller 1 Mailbox 14 Acceptance Mask Low Register */
404 #define CAN1_AM15L 0xffc03378 /* CAN Controller 1 Mailbox 15 Acceptance Mask High Register */
405 #define CAN1_AM15H 0xffc0337c /* CAN Controller 1 Mailbox 15 Acceptance Mask Low Register */
407 /* CAN Controller 1 Mailbox Acceptance Registers */
409 #define CAN1_AM16L 0xffc03380 /* CAN Controller 1 Mailbox 16 Acceptance Mask High Register */
410 #define CAN1_AM16H 0xffc03384 /* CAN Controller 1 Mailbox 16 Acceptance Mask Low Register */
411 #define CAN1_AM17L 0xffc03388 /* CAN Controller 1 Mailbox 17 Acceptance Mask High Register */
412 #define CAN1_AM17H 0xffc0338c /* CAN Controller 1 Mailbox 17 Acceptance Mask Low Register */
413 #define CAN1_AM18L 0xffc03390 /* CAN Controller 1 Mailbox 18 Acceptance Mask High Register */
414 #define CAN1_AM18H 0xffc03394 /* CAN Controller 1 Mailbox 18 Acceptance Mask Low Register */
415 #define CAN1_AM19L 0xffc03398 /* CAN Controller 1 Mailbox 19 Acceptance Mask High Register */
416 #define CAN1_AM19H 0xffc0339c /* CAN Controller 1 Mailbox 19 Acceptance Mask Low Register */
417 #define CAN1_AM20L 0xffc033a0 /* CAN Controller 1 Mailbox 20 Acceptance Mask High Register */
418 #define CAN1_AM20H 0xffc033a4 /* CAN Controller 1 Mailbox 20 Acceptance Mask Low Register */
419 #define CAN1_AM21L 0xffc033a8 /* CAN Controller 1 Mailbox 21 Acceptance Mask High Register */
420 #define CAN1_AM21H 0xffc033ac /* CAN Controller 1 Mailbox 21 Acceptance Mask Low Register */
421 #define CAN1_AM22L 0xffc033b0 /* CAN Controller 1 Mailbox 22 Acceptance Mask High Register */
422 #define CAN1_AM22H 0xffc033b4 /* CAN Controller 1 Mailbox 22 Acceptance Mask Low Register */
423 #define CAN1_AM23L 0xffc033b8 /* CAN Controller 1 Mailbox 23 Acceptance Mask High Register */
424 #define CAN1_AM23H 0xffc033bc /* CAN Controller 1 Mailbox 23 Acceptance Mask Low Register */
425 #define CAN1_AM24L 0xffc033c0 /* CAN Controller 1 Mailbox 24 Acceptance Mask High Register */
426 #define CAN1_AM24H 0xffc033c4 /* CAN Controller 1 Mailbox 24 Acceptance Mask Low Register */
427 #define CAN1_AM25L 0xffc033c8 /* CAN Controller 1 Mailbox 25 Acceptance Mask High Register */
428 #define CAN1_AM25H 0xffc033cc /* CAN Controller 1 Mailbox 25 Acceptance Mask Low Register */
429 #define CAN1_AM26L 0xffc033d0 /* CAN Controller 1 Mailbox 26 Acceptance Mask High Register */
430 #define CAN1_AM26H 0xffc033d4 /* CAN Controller 1 Mailbox 26 Acceptance Mask Low Register */
431 #define CAN1_AM27L 0xffc033d8 /* CAN Controller 1 Mailbox 27 Acceptance Mask High Register */
432 #define CAN1_AM27H 0xffc033dc /* CAN Controller 1 Mailbox 27 Acceptance Mask Low Register */
433 #define CAN1_AM28L 0xffc033e0 /* CAN Controller 1 Mailbox 28 Acceptance Mask High Register */
434 #define CAN1_AM28H 0xffc033e4 /* CAN Controller 1 Mailbox 28 Acceptance Mask Low Register */
435 #define CAN1_AM29L 0xffc033e8 /* CAN Controller 1 Mailbox 29 Acceptance Mask High Register */
436 #define CAN1_AM29H 0xffc033ec /* CAN Controller 1 Mailbox 29 Acceptance Mask Low Register */
437 #define CAN1_AM30L 0xffc033f0 /* CAN Controller 1 Mailbox 30 Acceptance Mask High Register */
438 #define CAN1_AM30H 0xffc033f4 /* CAN Controller 1 Mailbox 30 Acceptance Mask Low Register */
439 #define CAN1_AM31L 0xffc033f8 /* CAN Controller 1 Mailbox 31 Acceptance Mask High Register */
440 #define CAN1_AM31H 0xffc033fc /* CAN Controller 1 Mailbox 31 Acceptance Mask Low Register */
442 /* CAN Controller 1 Mailbox Data Registers */
444 #define CAN1_MB00_DATA0 0xffc03400 /* CAN Controller 1 Mailbox 0 Data 0 Register */
445 #define CAN1_MB00_DATA1 0xffc03404 /* CAN Controller 1 Mailbox 0 Data 1 Register */
446 #define CAN1_MB00_DATA2 0xffc03408 /* CAN Controller 1 Mailbox 0 Data 2 Register */
447 #define CAN1_MB00_DATA3 0xffc0340c /* CAN Controller 1 Mailbox 0 Data 3 Register */
448 #define CAN1_MB00_LENGTH 0xffc03410 /* CAN Controller 1 Mailbox 0 Length Register */
449 #define CAN1_MB00_TIMESTAMP 0xffc03414 /* CAN Controller 1 Mailbox 0 Timestamp Register */
450 #define CAN1_MB00_ID0 0xffc03418 /* CAN Controller 1 Mailbox 0 ID0 Register */
451 #define CAN1_MB00_ID1 0xffc0341c /* CAN Controller 1 Mailbox 0 ID1 Register */
452 #define CAN1_MB01_DATA0 0xffc03420 /* CAN Controller 1 Mailbox 1 Data 0 Register */
453 #define CAN1_MB01_DATA1 0xffc03424 /* CAN Controller 1 Mailbox 1 Data 1 Register */
454 #define CAN1_MB01_DATA2 0xffc03428 /* CAN Controller 1 Mailbox 1 Data 2 Register */
455 #define CAN1_MB01_DATA3 0xffc0342c /* CAN Controller 1 Mailbox 1 Data 3 Register */
456 #define CAN1_MB01_LENGTH 0xffc03430 /* CAN Controller 1 Mailbox 1 Length Register */
457 #define CAN1_MB01_TIMESTAMP 0xffc03434 /* CAN Controller 1 Mailbox 1 Timestamp Register */
458 #define CAN1_MB01_ID0 0xffc03438 /* CAN Controller 1 Mailbox 1 ID0 Register */
459 #define CAN1_MB01_ID1 0xffc0343c /* CAN Controller 1 Mailbox 1 ID1 Register */
460 #define CAN1_MB02_DATA0 0xffc03440 /* CAN Controller 1 Mailbox 2 Data 0 Register */
461 #define CAN1_MB02_DATA1 0xffc03444 /* CAN Controller 1 Mailbox 2 Data 1 Register */
462 #define CAN1_MB02_DATA2 0xffc03448 /* CAN Controller 1 Mailbox 2 Data 2 Register */
463 #define CAN1_MB02_DATA3 0xffc0344c /* CAN Controller 1 Mailbox 2 Data 3 Register */
464 #define CAN1_MB02_LENGTH 0xffc03450 /* CAN Controller 1 Mailbox 2 Length Register */
465 #define CAN1_MB02_TIMESTAMP 0xffc03454 /* CAN Controller 1 Mailbox 2 Timestamp Register */
466 #define CAN1_MB02_ID0 0xffc03458 /* CAN Controller 1 Mailbox 2 ID0 Register */
467 #define CAN1_MB02_ID1 0xffc0345c /* CAN Controller 1 Mailbox 2 ID1 Register */
468 #define CAN1_MB03_DATA0 0xffc03460 /* CAN Controller 1 Mailbox 3 Data 0 Register */
469 #define CAN1_MB03_DATA1 0xffc03464 /* CAN Controller 1 Mailbox 3 Data 1 Register */
470 #define CAN1_MB03_DATA2 0xffc03468 /* CAN Controller 1 Mailbox 3 Data 2 Register */
471 #define CAN1_MB03_DATA3 0xffc0346c /* CAN Controller 1 Mailbox 3 Data 3 Register */
472 #define CAN1_MB03_LENGTH 0xffc03470 /* CAN Controller 1 Mailbox 3 Length Register */
473 #define CAN1_MB03_TIMESTAMP 0xffc03474 /* CAN Controller 1 Mailbox 3 Timestamp Register */
474 #define CAN1_MB03_ID0 0xffc03478 /* CAN Controller 1 Mailbox 3 ID0 Register */
475 #define CAN1_MB03_ID1 0xffc0347c /* CAN Controller 1 Mailbox 3 ID1 Register */
476 #define CAN1_MB04_DATA0 0xffc03480 /* CAN Controller 1 Mailbox 4 Data 0 Register */
477 #define CAN1_MB04_DATA1 0xffc03484 /* CAN Controller 1 Mailbox 4 Data 1 Register */
478 #define CAN1_MB04_DATA2 0xffc03488 /* CAN Controller 1 Mailbox 4 Data 2 Register */
479 #define CAN1_MB04_DATA3 0xffc0348c /* CAN Controller 1 Mailbox 4 Data 3 Register */
480 #define CAN1_MB04_LENGTH 0xffc03490 /* CAN Controller 1 Mailbox 4 Length Register */
481 #define CAN1_MB04_TIMESTAMP 0xffc03494 /* CAN Controller 1 Mailbox 4 Timestamp Register */
482 #define CAN1_MB04_ID0 0xffc03498 /* CAN Controller 1 Mailbox 4 ID0 Register */
483 #define CAN1_MB04_ID1 0xffc0349c /* CAN Controller 1 Mailbox 4 ID1 Register */
484 #define CAN1_MB05_DATA0 0xffc034a0 /* CAN Controller 1 Mailbox 5 Data 0 Register */
485 #define CAN1_MB05_DATA1 0xffc034a4 /* CAN Controller 1 Mailbox 5 Data 1 Register */
486 #define CAN1_MB05_DATA2 0xffc034a8 /* CAN Controller 1 Mailbox 5 Data 2 Register */
487 #define CAN1_MB05_DATA3 0xffc034ac /* CAN Controller 1 Mailbox 5 Data 3 Register */
488 #define CAN1_MB05_LENGTH 0xffc034b0 /* CAN Controller 1 Mailbox 5 Length Register */
489 #define CAN1_MB05_TIMESTAMP 0xffc034b4 /* CAN Controller 1 Mailbox 5 Timestamp Register */
490 #define CAN1_MB05_ID0 0xffc034b8 /* CAN Controller 1 Mailbox 5 ID0 Register */
491 #define CAN1_MB05_ID1 0xffc034bc /* CAN Controller 1 Mailbox 5 ID1 Register */
492 #define CAN1_MB06_DATA0 0xffc034c0 /* CAN Controller 1 Mailbox 6 Data 0 Register */
493 #define CAN1_MB06_DATA1 0xffc034c4 /* CAN Controller 1 Mailbox 6 Data 1 Register */
494 #define CAN1_MB06_DATA2 0xffc034c8 /* CAN Controller 1 Mailbox 6 Data 2 Register */
495 #define CAN1_MB06_DATA3 0xffc034cc /* CAN Controller 1 Mailbox 6 Data 3 Register */
496 #define CAN1_MB06_LENGTH 0xffc034d0 /* CAN Controller 1 Mailbox 6 Length Register */
497 #define CAN1_MB06_TIMESTAMP 0xffc034d4 /* CAN Controller 1 Mailbox 6 Timestamp Register */
498 #define CAN1_MB06_ID0 0xffc034d8 /* CAN Controller 1 Mailbox 6 ID0 Register */
499 #define CAN1_MB06_ID1 0xffc034dc /* CAN Controller 1 Mailbox 6 ID1 Register */
500 #define CAN1_MB07_DATA0 0xffc034e0 /* CAN Controller 1 Mailbox 7 Data 0 Register */
501 #define CAN1_MB07_DATA1 0xffc034e4 /* CAN Controller 1 Mailbox 7 Data 1 Register */
502 #define CAN1_MB07_DATA2 0xffc034e8 /* CAN Controller 1 Mailbox 7 Data 2 Register */
503 #define CAN1_MB07_DATA3 0xffc034ec /* CAN Controller 1 Mailbox 7 Data 3 Register */
504 #define CAN1_MB07_LENGTH 0xffc034f0 /* CAN Controller 1 Mailbox 7 Length Register */
505 #define CAN1_MB07_TIMESTAMP 0xffc034f4 /* CAN Controller 1 Mailbox 7 Timestamp Register */
506 #define CAN1_MB07_ID0 0xffc034f8 /* CAN Controller 1 Mailbox 7 ID0 Register */
507 #define CAN1_MB07_ID1 0xffc034fc /* CAN Controller 1 Mailbox 7 ID1 Register */
508 #define CAN1_MB08_DATA0 0xffc03500 /* CAN Controller 1 Mailbox 8 Data 0 Register */
509 #define CAN1_MB08_DATA1 0xffc03504 /* CAN Controller 1 Mailbox 8 Data 1 Register */
510 #define CAN1_MB08_DATA2 0xffc03508 /* CAN Controller 1 Mailbox 8 Data 2 Register */
511 #define CAN1_MB08_DATA3 0xffc0350c /* CAN Controller 1 Mailbox 8 Data 3 Register */
512 #define CAN1_MB08_LENGTH 0xffc03510 /* CAN Controller 1 Mailbox 8 Length Register */
513 #define CAN1_MB08_TIMESTAMP 0xffc03514 /* CAN Controller 1 Mailbox 8 Timestamp Register */
514 #define CAN1_MB08_ID0 0xffc03518 /* CAN Controller 1 Mailbox 8 ID0 Register */
515 #define CAN1_MB08_ID1 0xffc0351c /* CAN Controller 1 Mailbox 8 ID1 Register */
516 #define CAN1_MB09_DATA0 0xffc03520 /* CAN Controller 1 Mailbox 9 Data 0 Register */
517 #define CAN1_MB09_DATA1 0xffc03524 /* CAN Controller 1 Mailbox 9 Data 1 Register */
518 #define CAN1_MB09_DATA2 0xffc03528 /* CAN Controller 1 Mailbox 9 Data 2 Register */
519 #define CAN1_MB09_DATA3 0xffc0352c /* CAN Controller 1 Mailbox 9 Data 3 Register */
520 #define CAN1_MB09_LENGTH 0xffc03530 /* CAN Controller 1 Mailbox 9 Length Register */
521 #define CAN1_MB09_TIMESTAMP 0xffc03534 /* CAN Controller 1 Mailbox 9 Timestamp Register */
522 #define CAN1_MB09_ID0 0xffc03538 /* CAN Controller 1 Mailbox 9 ID0 Register */
523 #define CAN1_MB09_ID1 0xffc0353c /* CAN Controller 1 Mailbox 9 ID1 Register */
524 #define CAN1_MB10_DATA0 0xffc03540 /* CAN Controller 1 Mailbox 10 Data 0 Register */
525 #define CAN1_MB10_DATA1 0xffc03544 /* CAN Controller 1 Mailbox 10 Data 1 Register */
526 #define CAN1_MB10_DATA2 0xffc03548 /* CAN Controller 1 Mailbox 10 Data 2 Register */
527 #define CAN1_MB10_DATA3 0xffc0354c /* CAN Controller 1 Mailbox 10 Data 3 Register */
528 #define CAN1_MB10_LENGTH 0xffc03550 /* CAN Controller 1 Mailbox 10 Length Register */
529 #define CAN1_MB10_TIMESTAMP 0xffc03554 /* CAN Controller 1 Mailbox 10 Timestamp Register */
530 #define CAN1_MB10_ID0 0xffc03558 /* CAN Controller 1 Mailbox 10 ID0 Register */
531 #define CAN1_MB10_ID1 0xffc0355c /* CAN Controller 1 Mailbox 10 ID1 Register */
532 #define CAN1_MB11_DATA0 0xffc03560 /* CAN Controller 1 Mailbox 11 Data 0 Register */
533 #define CAN1_MB11_DATA1 0xffc03564 /* CAN Controller 1 Mailbox 11 Data 1 Register */
534 #define CAN1_MB11_DATA2 0xffc03568 /* CAN Controller 1 Mailbox 11 Data 2 Register */
535 #define CAN1_MB11_DATA3 0xffc0356c /* CAN Controller 1 Mailbox 11 Data 3 Register */
536 #define CAN1_MB11_LENGTH 0xffc03570 /* CAN Controller 1 Mailbox 11 Length Register */
537 #define CAN1_MB11_TIMESTAMP 0xffc03574 /* CAN Controller 1 Mailbox 11 Timestamp Register */
538 #define CAN1_MB11_ID0 0xffc03578 /* CAN Controller 1 Mailbox 11 ID0 Register */
539 #define CAN1_MB11_ID1 0xffc0357c /* CAN Controller 1 Mailbox 11 ID1 Register */
540 #define CAN1_MB12_DATA0 0xffc03580 /* CAN Controller 1 Mailbox 12 Data 0 Register */
541 #define CAN1_MB12_DATA1 0xffc03584 /* CAN Controller 1 Mailbox 12 Data 1 Register */
542 #define CAN1_MB12_DATA2 0xffc03588 /* CAN Controller 1 Mailbox 12 Data 2 Register */
543 #define CAN1_MB12_DATA3 0xffc0358c /* CAN Controller 1 Mailbox 12 Data 3 Register */
544 #define CAN1_MB12_LENGTH 0xffc03590 /* CAN Controller 1 Mailbox 12 Length Register */
545 #define CAN1_MB12_TIMESTAMP 0xffc03594 /* CAN Controller 1 Mailbox 12 Timestamp Register */
546 #define CAN1_MB12_ID0 0xffc03598 /* CAN Controller 1 Mailbox 12 ID0 Register */
547 #define CAN1_MB12_ID1 0xffc0359c /* CAN Controller 1 Mailbox 12 ID1 Register */
548 #define CAN1_MB13_DATA0 0xffc035a0 /* CAN Controller 1 Mailbox 13 Data 0 Register */
549 #define CAN1_MB13_DATA1 0xffc035a4 /* CAN Controller 1 Mailbox 13 Data 1 Register */
550 #define CAN1_MB13_DATA2 0xffc035a8 /* CAN Controller 1 Mailbox 13 Data 2 Register */
551 #define CAN1_MB13_DATA3 0xffc035ac /* CAN Controller 1 Mailbox 13 Data 3 Register */
552 #define CAN1_MB13_LENGTH 0xffc035b0 /* CAN Controller 1 Mailbox 13 Length Register */
553 #define CAN1_MB13_TIMESTAMP 0xffc035b4 /* CAN Controller 1 Mailbox 13 Timestamp Register */
554 #define CAN1_MB13_ID0 0xffc035b8 /* CAN Controller 1 Mailbox 13 ID0 Register */
555 #define CAN1_MB13_ID1 0xffc035bc /* CAN Controller 1 Mailbox 13 ID1 Register */
556 #define CAN1_MB14_DATA0 0xffc035c0 /* CAN Controller 1 Mailbox 14 Data 0 Register */
557 #define CAN1_MB14_DATA1 0xffc035c4 /* CAN Controller 1 Mailbox 14 Data 1 Register */
558 #define CAN1_MB14_DATA2 0xffc035c8 /* CAN Controller 1 Mailbox 14 Data 2 Register */
559 #define CAN1_MB14_DATA3 0xffc035cc /* CAN Controller 1 Mailbox 14 Data 3 Register */
560 #define CAN1_MB14_LENGTH 0xffc035d0 /* CAN Controller 1 Mailbox 14 Length Register */
561 #define CAN1_MB14_TIMESTAMP 0xffc035d4 /* CAN Controller 1 Mailbox 14 Timestamp Register */
562 #define CAN1_MB14_ID0 0xffc035d8 /* CAN Controller 1 Mailbox 14 ID0 Register */
563 #define CAN1_MB14_ID1 0xffc035dc /* CAN Controller 1 Mailbox 14 ID1 Register */
564 #define CAN1_MB15_DATA0 0xffc035e0 /* CAN Controller 1 Mailbox 15 Data 0 Register */
565 #define CAN1_MB15_DATA1 0xffc035e4 /* CAN Controller 1 Mailbox 15 Data 1 Register */
566 #define CAN1_MB15_DATA2 0xffc035e8 /* CAN Controller 1 Mailbox 15 Data 2 Register */
567 #define CAN1_MB15_DATA3 0xffc035ec /* CAN Controller 1 Mailbox 15 Data 3 Register */
568 #define CAN1_MB15_LENGTH 0xffc035f0 /* CAN Controller 1 Mailbox 15 Length Register */
569 #define CAN1_MB15_TIMESTAMP 0xffc035f4 /* CAN Controller 1 Mailbox 15 Timestamp Register */
570 #define CAN1_MB15_ID0 0xffc035f8 /* CAN Controller 1 Mailbox 15 ID0 Register */
571 #define CAN1_MB15_ID1 0xffc035fc /* CAN Controller 1 Mailbox 15 ID1 Register */
573 /* CAN Controller 1 Mailbox Data Registers */
575 #define CAN1_MB16_DATA0 0xffc03600 /* CAN Controller 1 Mailbox 16 Data 0 Register */
576 #define CAN1_MB16_DATA1 0xffc03604 /* CAN Controller 1 Mailbox 16 Data 1 Register */
577 #define CAN1_MB16_DATA2 0xffc03608 /* CAN Controller 1 Mailbox 16 Data 2 Register */
578 #define CAN1_MB16_DATA3 0xffc0360c /* CAN Controller 1 Mailbox 16 Data 3 Register */
579 #define CAN1_MB16_LENGTH 0xffc03610 /* CAN Controller 1 Mailbox 16 Length Register */
580 #define CAN1_MB16_TIMESTAMP 0xffc03614 /* CAN Controller 1 Mailbox 16 Timestamp Register */
581 #define CAN1_MB16_ID0 0xffc03618 /* CAN Controller 1 Mailbox 16 ID0 Register */
582 #define CAN1_MB16_ID1 0xffc0361c /* CAN Controller 1 Mailbox 16 ID1 Register */
583 #define CAN1_MB17_DATA0 0xffc03620 /* CAN Controller 1 Mailbox 17 Data 0 Register */
584 #define CAN1_MB17_DATA1 0xffc03624 /* CAN Controller 1 Mailbox 17 Data 1 Register */
585 #define CAN1_MB17_DATA2 0xffc03628 /* CAN Controller 1 Mailbox 17 Data 2 Register */
586 #define CAN1_MB17_DATA3 0xffc0362c /* CAN Controller 1 Mailbox 17 Data 3 Register */
587 #define CAN1_MB17_LENGTH 0xffc03630 /* CAN Controller 1 Mailbox 17 Length Register */
588 #define CAN1_MB17_TIMESTAMP 0xffc03634 /* CAN Controller 1 Mailbox 17 Timestamp Register */
589 #define CAN1_MB17_ID0 0xffc03638 /* CAN Controller 1 Mailbox 17 ID0 Register */
590 #define CAN1_MB17_ID1 0xffc0363c /* CAN Controller 1 Mailbox 17 ID1 Register */
591 #define CAN1_MB18_DATA0 0xffc03640 /* CAN Controller 1 Mailbox 18 Data 0 Register */
592 #define CAN1_MB18_DATA1 0xffc03644 /* CAN Controller 1 Mailbox 18 Data 1 Register */
593 #define CAN1_MB18_DATA2 0xffc03648 /* CAN Controller 1 Mailbox 18 Data 2 Register */
594 #define CAN1_MB18_DATA3 0xffc0364c /* CAN Controller 1 Mailbox 18 Data 3 Register */
595 #define CAN1_MB18_LENGTH 0xffc03650 /* CAN Controller 1 Mailbox 18 Length Register */
596 #define CAN1_MB18_TIMESTAMP 0xffc03654 /* CAN Controller 1 Mailbox 18 Timestamp Register */
597 #define CAN1_MB18_ID0 0xffc03658 /* CAN Controller 1 Mailbox 18 ID0 Register */
598 #define CAN1_MB18_ID1 0xffc0365c /* CAN Controller 1 Mailbox 18 ID1 Register */
599 #define CAN1_MB19_DATA0 0xffc03660 /* CAN Controller 1 Mailbox 19 Data 0 Register */
600 #define CAN1_MB19_DATA1 0xffc03664 /* CAN Controller 1 Mailbox 19 Data 1 Register */
601 #define CAN1_MB19_DATA2 0xffc03668 /* CAN Controller 1 Mailbox 19 Data 2 Register */
602 #define CAN1_MB19_DATA3 0xffc0366c /* CAN Controller 1 Mailbox 19 Data 3 Register */
603 #define CAN1_MB19_LENGTH 0xffc03670 /* CAN Controller 1 Mailbox 19 Length Register */
604 #define CAN1_MB19_TIMESTAMP 0xffc03674 /* CAN Controller 1 Mailbox 19 Timestamp Register */
605 #define CAN1_MB19_ID0 0xffc03678 /* CAN Controller 1 Mailbox 19 ID0 Register */
606 #define CAN1_MB19_ID1 0xffc0367c /* CAN Controller 1 Mailbox 19 ID1 Register */
607 #define CAN1_MB20_DATA0 0xffc03680 /* CAN Controller 1 Mailbox 20 Data 0 Register */
608 #define CAN1_MB20_DATA1 0xffc03684 /* CAN Controller 1 Mailbox 20 Data 1 Register */
609 #define CAN1_MB20_DATA2 0xffc03688 /* CAN Controller 1 Mailbox 20 Data 2 Register */
610 #define CAN1_MB20_DATA3 0xffc0368c /* CAN Controller 1 Mailbox 20 Data 3 Register */
611 #define CAN1_MB20_LENGTH 0xffc03690 /* CAN Controller 1 Mailbox 20 Length Register */
612 #define CAN1_MB20_TIMESTAMP 0xffc03694 /* CAN Controller 1 Mailbox 20 Timestamp Register */
613 #define CAN1_MB20_ID0 0xffc03698 /* CAN Controller 1 Mailbox 20 ID0 Register */
614 #define CAN1_MB20_ID1 0xffc0369c /* CAN Controller 1 Mailbox 20 ID1 Register */
615 #define CAN1_MB21_DATA0 0xffc036a0 /* CAN Controller 1 Mailbox 21 Data 0 Register */
616 #define CAN1_MB21_DATA1 0xffc036a4 /* CAN Controller 1 Mailbox 21 Data 1 Register */
617 #define CAN1_MB21_DATA2 0xffc036a8 /* CAN Controller 1 Mailbox 21 Data 2 Register */
618 #define CAN1_MB21_DATA3 0xffc036ac /* CAN Controller 1 Mailbox 21 Data 3 Register */
619 #define CAN1_MB21_LENGTH 0xffc036b0 /* CAN Controller 1 Mailbox 21 Length Register */
620 #define CAN1_MB21_TIMESTAMP 0xffc036b4 /* CAN Controller 1 Mailbox 21 Timestamp Register */
621 #define CAN1_MB21_ID0 0xffc036b8 /* CAN Controller 1 Mailbox 21 ID0 Register */
622 #define CAN1_MB21_ID1 0xffc036bc /* CAN Controller 1 Mailbox 21 ID1 Register */
623 #define CAN1_MB22_DATA0 0xffc036c0 /* CAN Controller 1 Mailbox 22 Data 0 Register */
624 #define CAN1_MB22_DATA1 0xffc036c4 /* CAN Controller 1 Mailbox 22 Data 1 Register */
625 #define CAN1_MB22_DATA2 0xffc036c8 /* CAN Controller 1 Mailbox 22 Data 2 Register */
626 #define CAN1_MB22_DATA3 0xffc036cc /* CAN Controller 1 Mailbox 22 Data 3 Register */
627 #define CAN1_MB22_LENGTH 0xffc036d0 /* CAN Controller 1 Mailbox 22 Length Register */
628 #define CAN1_MB22_TIMESTAMP 0xffc036d4 /* CAN Controller 1 Mailbox 22 Timestamp Register */
629 #define CAN1_MB22_ID0 0xffc036d8 /* CAN Controller 1 Mailbox 22 ID0 Register */
630 #define CAN1_MB22_ID1 0xffc036dc /* CAN Controller 1 Mailbox 22 ID1 Register */
631 #define CAN1_MB23_DATA0 0xffc036e0 /* CAN Controller 1 Mailbox 23 Data 0 Register */
632 #define CAN1_MB23_DATA1 0xffc036e4 /* CAN Controller 1 Mailbox 23 Data 1 Register */
633 #define CAN1_MB23_DATA2 0xffc036e8 /* CAN Controller 1 Mailbox 23 Data 2 Register */
634 #define CAN1_MB23_DATA3 0xffc036ec /* CAN Controller 1 Mailbox 23 Data 3 Register */
635 #define CAN1_MB23_LENGTH 0xffc036f0 /* CAN Controller 1 Mailbox 23 Length Register */
636 #define CAN1_MB23_TIMESTAMP 0xffc036f4 /* CAN Controller 1 Mailbox 23 Timestamp Register */
637 #define CAN1_MB23_ID0 0xffc036f8 /* CAN Controller 1 Mailbox 23 ID0 Register */
638 #define CAN1_MB23_ID1 0xffc036fc /* CAN Controller 1 Mailbox 23 ID1 Register */
639 #define CAN1_MB24_DATA0 0xffc03700 /* CAN Controller 1 Mailbox 24 Data 0 Register */
640 #define CAN1_MB24_DATA1 0xffc03704 /* CAN Controller 1 Mailbox 24 Data 1 Register */
641 #define CAN1_MB24_DATA2 0xffc03708 /* CAN Controller 1 Mailbox 24 Data 2 Register */
642 #define CAN1_MB24_DATA3 0xffc0370c /* CAN Controller 1 Mailbox 24 Data 3 Register */
643 #define CAN1_MB24_LENGTH 0xffc03710 /* CAN Controller 1 Mailbox 24 Length Register */
644 #define CAN1_MB24_TIMESTAMP 0xffc03714 /* CAN Controller 1 Mailbox 24 Timestamp Register */
645 #define CAN1_MB24_ID0 0xffc03718 /* CAN Controller 1 Mailbox 24 ID0 Register */
646 #define CAN1_MB24_ID1 0xffc0371c /* CAN Controller 1 Mailbox 24 ID1 Register */
647 #define CAN1_MB25_DATA0 0xffc03720 /* CAN Controller 1 Mailbox 25 Data 0 Register */
648 #define CAN1_MB25_DATA1 0xffc03724 /* CAN Controller 1 Mailbox 25 Data 1 Register */
649 #define CAN1_MB25_DATA2 0xffc03728 /* CAN Controller 1 Mailbox 25 Data 2 Register */
650 #define CAN1_MB25_DATA3 0xffc0372c /* CAN Controller 1 Mailbox 25 Data 3 Register */
651 #define CAN1_MB25_LENGTH 0xffc03730 /* CAN Controller 1 Mailbox 25 Length Register */
652 #define CAN1_MB25_TIMESTAMP 0xffc03734 /* CAN Controller 1 Mailbox 25 Timestamp Register */
653 #define CAN1_MB25_ID0 0xffc03738 /* CAN Controller 1 Mailbox 25 ID0 Register */
654 #define CAN1_MB25_ID1 0xffc0373c /* CAN Controller 1 Mailbox 25 ID1 Register */
655 #define CAN1_MB26_DATA0 0xffc03740 /* CAN Controller 1 Mailbox 26 Data 0 Register */
656 #define CAN1_MB26_DATA1 0xffc03744 /* CAN Controller 1 Mailbox 26 Data 1 Register */
657 #define CAN1_MB26_DATA2 0xffc03748 /* CAN Controller 1 Mailbox 26 Data 2 Register */
658 #define CAN1_MB26_DATA3 0xffc0374c /* CAN Controller 1 Mailbox 26 Data 3 Register */
659 #define CAN1_MB26_LENGTH 0xffc03750 /* CAN Controller 1 Mailbox 26 Length Register */
660 #define CAN1_MB26_TIMESTAMP 0xffc03754 /* CAN Controller 1 Mailbox 26 Timestamp Register */
661 #define CAN1_MB26_ID0 0xffc03758 /* CAN Controller 1 Mailbox 26 ID0 Register */
662 #define CAN1_MB26_ID1 0xffc0375c /* CAN Controller 1 Mailbox 26 ID1 Register */
663 #define CAN1_MB27_DATA0 0xffc03760 /* CAN Controller 1 Mailbox 27 Data 0 Register */
664 #define CAN1_MB27_DATA1 0xffc03764 /* CAN Controller 1 Mailbox 27 Data 1 Register */
665 #define CAN1_MB27_DATA2 0xffc03768 /* CAN Controller 1 Mailbox 27 Data 2 Register */
666 #define CAN1_MB27_DATA3 0xffc0376c /* CAN Controller 1 Mailbox 27 Data 3 Register */
667 #define CAN1_MB27_LENGTH 0xffc03770 /* CAN Controller 1 Mailbox 27 Length Register */
668 #define CAN1_MB27_TIMESTAMP 0xffc03774 /* CAN Controller 1 Mailbox 27 Timestamp Register */
669 #define CAN1_MB27_ID0 0xffc03778 /* CAN Controller 1 Mailbox 27 ID0 Register */
670 #define CAN1_MB27_ID1 0xffc0377c /* CAN Controller 1 Mailbox 27 ID1 Register */
671 #define CAN1_MB28_DATA0 0xffc03780 /* CAN Controller 1 Mailbox 28 Data 0 Register */
672 #define CAN1_MB28_DATA1 0xffc03784 /* CAN Controller 1 Mailbox 28 Data 1 Register */
673 #define CAN1_MB28_DATA2 0xffc03788 /* CAN Controller 1 Mailbox 28 Data 2 Register */
674 #define CAN1_MB28_DATA3 0xffc0378c /* CAN Controller 1 Mailbox 28 Data 3 Register */
675 #define CAN1_MB28_LENGTH 0xffc03790 /* CAN Controller 1 Mailbox 28 Length Register */
676 #define CAN1_MB28_TIMESTAMP 0xffc03794 /* CAN Controller 1 Mailbox 28 Timestamp Register */
677 #define CAN1_MB28_ID0 0xffc03798 /* CAN Controller 1 Mailbox 28 ID0 Register */
678 #define CAN1_MB28_ID1 0xffc0379c /* CAN Controller 1 Mailbox 28 ID1 Register */
679 #define CAN1_MB29_DATA0 0xffc037a0 /* CAN Controller 1 Mailbox 29 Data 0 Register */
680 #define CAN1_MB29_DATA1 0xffc037a4 /* CAN Controller 1 Mailbox 29 Data 1 Register */
681 #define CAN1_MB29_DATA2 0xffc037a8 /* CAN Controller 1 Mailbox 29 Data 2 Register */
682 #define CAN1_MB29_DATA3 0xffc037ac /* CAN Controller 1 Mailbox 29 Data 3 Register */
683 #define CAN1_MB29_LENGTH 0xffc037b0 /* CAN Controller 1 Mailbox 29 Length Register */
684 #define CAN1_MB29_TIMESTAMP 0xffc037b4 /* CAN Controller 1 Mailbox 29 Timestamp Register */
685 #define CAN1_MB29_ID0 0xffc037b8 /* CAN Controller 1 Mailbox 29 ID0 Register */
686 #define CAN1_MB29_ID1 0xffc037bc /* CAN Controller 1 Mailbox 29 ID1 Register */
687 #define CAN1_MB30_DATA0 0xffc037c0 /* CAN Controller 1 Mailbox 30 Data 0 Register */
688 #define CAN1_MB30_DATA1 0xffc037c4 /* CAN Controller 1 Mailbox 30 Data 1 Register */
689 #define CAN1_MB30_DATA2 0xffc037c8 /* CAN Controller 1 Mailbox 30 Data 2 Register */
690 #define CAN1_MB30_DATA3 0xffc037cc /* CAN Controller 1 Mailbox 30 Data 3 Register */
691 #define CAN1_MB30_LENGTH 0xffc037d0 /* CAN Controller 1 Mailbox 30 Length Register */
692 #define CAN1_MB30_TIMESTAMP 0xffc037d4 /* CAN Controller 1 Mailbox 30 Timestamp Register */
693 #define CAN1_MB30_ID0 0xffc037d8 /* CAN Controller 1 Mailbox 30 ID0 Register */
694 #define CAN1_MB30_ID1 0xffc037dc /* CAN Controller 1 Mailbox 30 ID1 Register */
695 #define CAN1_MB31_DATA0 0xffc037e0 /* CAN Controller 1 Mailbox 31 Data 0 Register */
696 #define CAN1_MB31_DATA1 0xffc037e4 /* CAN Controller 1 Mailbox 31 Data 1 Register */
697 #define CAN1_MB31_DATA2 0xffc037e8 /* CAN Controller 1 Mailbox 31 Data 2 Register */
698 #define CAN1_MB31_DATA3 0xffc037ec /* CAN Controller 1 Mailbox 31 Data 3 Register */
699 #define CAN1_MB31_LENGTH 0xffc037f0 /* CAN Controller 1 Mailbox 31 Length Register */
700 #define CAN1_MB31_TIMESTAMP 0xffc037f4 /* CAN Controller 1 Mailbox 31 Timestamp Register */
701 #define CAN1_MB31_ID0 0xffc037f8 /* CAN Controller 1 Mailbox 31 ID0 Register */
702 #define CAN1_MB31_ID1 0xffc037fc /* CAN Controller 1 Mailbox 31 ID1 Register */
704 /* ATAPI Registers */
706 #define ATAPI_CONTROL 0xffc03800 /* ATAPI Control Register */
707 #define ATAPI_STATUS 0xffc03804 /* ATAPI Status Register */
708 #define ATAPI_DEV_ADDR 0xffc03808 /* ATAPI Device Register Address */
709 #define ATAPI_DEV_TXBUF 0xffc0380c /* ATAPI Device Register Write Data */
710 #define ATAPI_DEV_RXBUF 0xffc03810 /* ATAPI Device Register Read Data */
711 #define ATAPI_INT_MASK 0xffc03814 /* ATAPI Interrupt Mask Register */
712 #define ATAPI_INT_STATUS 0xffc03818 /* ATAPI Interrupt Status Register */
713 #define ATAPI_XFER_LEN 0xffc0381c /* ATAPI Length of Transfer */
714 #define ATAPI_LINE_STATUS 0xffc03820 /* ATAPI Line Status */
715 #define ATAPI_SM_STATE 0xffc03824 /* ATAPI State Machine Status */
716 #define ATAPI_TERMINATE 0xffc03828 /* ATAPI Host Terminate */
717 #define ATAPI_PIO_TFRCNT 0xffc0382c /* ATAPI PIO mode transfer count */
718 #define ATAPI_DMA_TFRCNT 0xffc03830 /* ATAPI DMA mode transfer count */
719 #define ATAPI_UMAIN_TFRCNT 0xffc03834 /* ATAPI UDMAIN transfer count */
720 #define ATAPI_UDMAOUT_TFRCNT 0xffc03838 /* ATAPI UDMAOUT transfer count */
721 #define ATAPI_REG_TIM_0 0xffc03840 /* ATAPI Register Transfer Timing 0 */
722 #define ATAPI_PIO_TIM_0 0xffc03844 /* ATAPI PIO Timing 0 Register */
723 #define ATAPI_PIO_TIM_1 0xffc03848 /* ATAPI PIO Timing 1 Register */
724 #define ATAPI_MULTI_TIM_0 0xffc03850 /* ATAPI Multi-DMA Timing 0 Register */
725 #define ATAPI_MULTI_TIM_1 0xffc03854 /* ATAPI Multi-DMA Timing 1 Register */
726 #define ATAPI_MULTI_TIM_2 0xffc03858 /* ATAPI Multi-DMA Timing 2 Register */
727 #define ATAPI_ULTRA_TIM_0 0xffc03860 /* ATAPI Ultra-DMA Timing 0 Register */
728 #define ATAPI_ULTRA_TIM_1 0xffc03864 /* ATAPI Ultra-DMA Timing 1 Register */
729 #define ATAPI_ULTRA_TIM_2 0xffc03868 /* ATAPI Ultra-DMA Timing 2 Register */
730 #define ATAPI_ULTRA_TIM_3 0xffc0386c /* ATAPI Ultra-DMA Timing 3 Register */
734 #define SDH_PWR_CTL 0xffc03900 /* SDH Power Control */
735 #define SDH_CLK_CTL 0xffc03904 /* SDH Clock Control */
736 #define SDH_ARGUMENT 0xffc03908 /* SDH Argument */
737 #define SDH_COMMAND 0xffc0390c /* SDH Command */
738 #define SDH_RESP_CMD 0xffc03910 /* SDH Response Command */
739 #define SDH_RESPONSE0 0xffc03914 /* SDH Response0 */
740 #define SDH_RESPONSE1 0xffc03918 /* SDH Response1 */
741 #define SDH_RESPONSE2 0xffc0391c /* SDH Response2 */
742 #define SDH_RESPONSE3 0xffc03920 /* SDH Response3 */
743 #define SDH_DATA_TIMER 0xffc03924 /* SDH Data Timer */
744 #define SDH_DATA_LGTH 0xffc03928 /* SDH Data Length */
745 #define SDH_DATA_CTL 0xffc0392c /* SDH Data Control */
746 #define SDH_DATA_CNT 0xffc03930 /* SDH Data Counter */
747 #define SDH_STATUS 0xffc03934 /* SDH Status */
748 #define SDH_STATUS_CLR 0xffc03938 /* SDH Status Clear */
749 #define SDH_MASK0 0xffc0393c /* SDH Interrupt0 Mask */
750 #define SDH_MASK1 0xffc03940 /* SDH Interrupt1 Mask */
751 #define SDH_FIFO_CNT 0xffc03948 /* SDH FIFO Counter */
752 #define SDH_FIFO 0xffc03980 /* SDH Data FIFO */
753 #define SDH_E_STATUS 0xffc039c0 /* SDH Exception Status */
754 #define SDH_E_MASK 0xffc039c4 /* SDH Exception Mask */
755 #define SDH_CFG 0xffc039c8 /* SDH Configuration */
756 #define SDH_RD_WAIT_EN 0xffc039cc /* SDH Read Wait Enable */
757 #define SDH_PID0 0xffc039d0 /* SDH Peripheral Identification0 */
758 #define SDH_PID1 0xffc039d4 /* SDH Peripheral Identification1 */
759 #define SDH_PID2 0xffc039d8 /* SDH Peripheral Identification2 */
760 #define SDH_PID3 0xffc039dc /* SDH Peripheral Identification3 */
761 #define SDH_PID4 0xffc039e0 /* SDH Peripheral Identification4 */
762 #define SDH_PID5 0xffc039e4 /* SDH Peripheral Identification5 */
763 #define SDH_PID6 0xffc039e8 /* SDH Peripheral Identification6 */
764 #define SDH_PID7 0xffc039ec /* SDH Peripheral Identification7 */
766 /* HOST Port Registers */
768 #define HOST_CONTROL 0xffc03a00 /* HOST Control Register */
769 #define HOST_STATUS 0xffc03a04 /* HOST Status Register */
770 #define HOST_TIMEOUT 0xffc03a08 /* HOST Acknowledge Mode Timeout Register */
772 /* USB Control Registers */
774 #define USB_FADDR 0xffc03c00 /* Function address register */
775 #define USB_POWER 0xffc03c04 /* Power management register */
776 #define USB_INTRTX 0xffc03c08 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
777 #define USB_INTRRX 0xffc03c0c /* Interrupt register for Rx endpoints 1 to 7 */
778 #define USB_INTRTXE 0xffc03c10 /* Interrupt enable register for IntrTx */
779 #define USB_INTRRXE 0xffc03c14 /* Interrupt enable register for IntrRx */
780 #define USB_INTRUSB 0xffc03c18 /* Interrupt register for common USB interrupts */
781 #define USB_INTRUSBE 0xffc03c1c /* Interrupt enable register for IntrUSB */
782 #define USB_FRAME 0xffc03c20 /* USB frame number */
783 #define USB_INDEX 0xffc03c24 /* Index register for selecting the indexed endpoint registers */
784 #define USB_TESTMODE 0xffc03c28 /* Enabled USB 20 test modes */
785 #define USB_GLOBINTR 0xffc03c2c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
786 #define USB_GLOBAL_CTL 0xffc03c30 /* Global Clock Control for the core */
788 /* USB Packet Control Registers */
790 #define USB_TX_MAX_PACKET 0xffc03c40 /* Maximum packet size for Host Tx endpoint */
791 #define USB_CSR0 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
792 #define USB_TXCSR 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
793 #define USB_RX_MAX_PACKET 0xffc03c48 /* Maximum packet size for Host Rx endpoint */
794 #define USB_RXCSR 0xffc03c4c /* Control Status register for Host Rx endpoint */
795 #define USB_COUNT0 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
796 #define USB_RXCOUNT 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
797 #define USB_TXTYPE 0xffc03c54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
798 #define USB_NAKLIMIT0 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
799 #define USB_TXINTERVAL 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
800 #define USB_RXTYPE 0xffc03c5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
801 #define USB_RXINTERVAL 0xffc03c60 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
802 #define USB_TXCOUNT 0xffc03c68 /* Number of bytes to be written to the selected endpoint Tx FIFO */
804 /* USB Endpoint FIFO Registers */
806 #define USB_EP0_FIFO 0xffc03c80 /* Endpoint 0 FIFO */
807 #define USB_EP1_FIFO 0xffc03c88 /* Endpoint 1 FIFO */
808 #define USB_EP2_FIFO 0xffc03c90 /* Endpoint 2 FIFO */
809 #define USB_EP3_FIFO 0xffc03c98 /* Endpoint 3 FIFO */
810 #define USB_EP4_FIFO 0xffc03ca0 /* Endpoint 4 FIFO */
811 #define USB_EP5_FIFO 0xffc03ca8 /* Endpoint 5 FIFO */
812 #define USB_EP6_FIFO 0xffc03cb0 /* Endpoint 6 FIFO */
813 #define USB_EP7_FIFO 0xffc03cb8 /* Endpoint 7 FIFO */
815 /* USB OTG Control Registers */
817 #define USB_OTG_DEV_CTL 0xffc03d00 /* OTG Device Control Register */
818 #define USB_OTG_VBUS_IRQ 0xffc03d04 /* OTG VBUS Control Interrupts */
819 #define USB_OTG_VBUS_MASK 0xffc03d08 /* VBUS Control Interrupt Enable */
821 /* USB Phy Control Registers */
823 #define USB_LINKINFO 0xffc03d48 /* Enables programming of some PHY-side delays */
824 #define USB_VPLEN 0xffc03d4c /* Determines duration of VBUS pulse for VBUS charging */
825 #define USB_HS_EOF1 0xffc03d50 /* Time buffer for High-Speed transactions */
826 #define USB_FS_EOF1 0xffc03d54 /* Time buffer for Full-Speed transactions */
827 #define USB_LS_EOF1 0xffc03d58 /* Time buffer for Low-Speed transactions */
829 /* (APHY_CNTRL is for ADI usage only) */
831 #define USB_APHY_CNTRL 0xffc03de0 /* Register that increases visibility of Analog PHY */
833 /* (APHY_CALIB is for ADI usage only) */
835 #define USB_APHY_CALIB 0xffc03de4 /* Register used to set some calibration values */
836 #define USB_APHY_CNTRL2 0xffc03de8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
838 /* (PHY_TEST is for ADI usage only) */
840 #define USB_PHY_TEST 0xffc03dec /* Used for reducing simulation time and simplifies FIFO testability */
841 #define USB_PLLOSC_CTRL 0xffc03df0 /* Used to program different parameters for USB PLL and Oscillator */
842 #define USB_SRP_CLKDIV 0xffc03df4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
844 /* USB Endpoint 0 Control Registers */
846 #define USB_EP_NI0_TXMAXP 0xffc03e00 /* Maximum packet size for Host Tx endpoint0 */
847 #define USB_EP_NI0_TXCSR 0xffc03e04 /* Control Status register for endpoint 0 */
848 #define USB_EP_NI0_RXMAXP 0xffc03e08 /* Maximum packet size for Host Rx endpoint0 */
849 #define USB_EP_NI0_RXCSR 0xffc03e0c /* Control Status register for Host Rx endpoint0 */
850 #define USB_EP_NI0_RXCOUNT 0xffc03e10 /* Number of bytes received in endpoint 0 FIFO */
851 #define USB_EP_NI0_TXTYPE 0xffc03e14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
852 #define USB_EP_NI0_TXINTERVAL 0xffc03e18 /* Sets the NAK response timeout on Endpoint 0 */
853 #define USB_EP_NI0_RXTYPE 0xffc03e1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
854 #define USB_EP_NI0_RXINTERVAL 0xffc03e20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
856 /* USB Endpoint 1 Control Registers */
858 #define USB_EP_NI0_TXCOUNT 0xffc03e28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
859 #define USB_EP_NI1_TXMAXP 0xffc03e40 /* Maximum packet size for Host Tx endpoint1 */
860 #define USB_EP_NI1_TXCSR 0xffc03e44 /* Control Status register for endpoint1 */
861 #define USB_EP_NI1_RXMAXP 0xffc03e48 /* Maximum packet size for Host Rx endpoint1 */
862 #define USB_EP_NI1_RXCSR 0xffc03e4c /* Control Status register for Host Rx endpoint1 */
863 #define USB_EP_NI1_RXCOUNT 0xffc03e50 /* Number of bytes received in endpoint1 FIFO */
864 #define USB_EP_NI1_TXTYPE 0xffc03e54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
865 #define USB_EP_NI1_TXINTERVAL 0xffc03e58 /* Sets the NAK response timeout on Endpoint1 */
866 #define USB_EP_NI1_RXTYPE 0xffc03e5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
867 #define USB_EP_NI1_RXINTERVAL 0xffc03e60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
869 /* USB Endpoint 2 Control Registers */
871 #define USB_EP_NI1_TXCOUNT 0xffc03e68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
872 #define USB_EP_NI2_TXMAXP 0xffc03e80 /* Maximum packet size for Host Tx endpoint2 */
873 #define USB_EP_NI2_TXCSR 0xffc03e84 /* Control Status register for endpoint2 */
874 #define USB_EP_NI2_RXMAXP 0xffc03e88 /* Maximum packet size for Host Rx endpoint2 */
875 #define USB_EP_NI2_RXCSR 0xffc03e8c /* Control Status register for Host Rx endpoint2 */
876 #define USB_EP_NI2_RXCOUNT 0xffc03e90 /* Number of bytes received in endpoint2 FIFO */
877 #define USB_EP_NI2_TXTYPE 0xffc03e94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
878 #define USB_EP_NI2_TXINTERVAL 0xffc03e98 /* Sets the NAK response timeout on Endpoint2 */
879 #define USB_EP_NI2_RXTYPE 0xffc03e9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
880 #define USB_EP_NI2_RXINTERVAL 0xffc03ea0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
882 /* USB Endpoint 3 Control Registers */
884 #define USB_EP_NI2_TXCOUNT 0xffc03ea8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
885 #define USB_EP_NI3_TXMAXP 0xffc03ec0 /* Maximum packet size for Host Tx endpoint3 */
886 #define USB_EP_NI3_TXCSR 0xffc03ec4 /* Control Status register for endpoint3 */
887 #define USB_EP_NI3_RXMAXP 0xffc03ec8 /* Maximum packet size for Host Rx endpoint3 */
888 #define USB_EP_NI3_RXCSR 0xffc03ecc /* Control Status register for Host Rx endpoint3 */
889 #define USB_EP_NI3_RXCOUNT 0xffc03ed0 /* Number of bytes received in endpoint3 FIFO */
890 #define USB_EP_NI3_TXTYPE 0xffc03ed4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
891 #define USB_EP_NI3_TXINTERVAL 0xffc03ed8 /* Sets the NAK response timeout on Endpoint3 */
892 #define USB_EP_NI3_RXTYPE 0xffc03edc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
893 #define USB_EP_NI3_RXINTERVAL 0xffc03ee0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
895 /* USB Endpoint 4 Control Registers */
897 #define USB_EP_NI3_TXCOUNT 0xffc03ee8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
898 #define USB_EP_NI4_TXMAXP 0xffc03f00 /* Maximum packet size for Host Tx endpoint4 */
899 #define USB_EP_NI4_TXCSR 0xffc03f04 /* Control Status register for endpoint4 */
900 #define USB_EP_NI4_RXMAXP 0xffc03f08 /* Maximum packet size for Host Rx endpoint4 */
901 #define USB_EP_NI4_RXCSR 0xffc03f0c /* Control Status register for Host Rx endpoint4 */
902 #define USB_EP_NI4_RXCOUNT 0xffc03f10 /* Number of bytes received in endpoint4 FIFO */
903 #define USB_EP_NI4_TXTYPE 0xffc03f14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
904 #define USB_EP_NI4_TXINTERVAL 0xffc03f18 /* Sets the NAK response timeout on Endpoint4 */
905 #define USB_EP_NI4_RXTYPE 0xffc03f1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
906 #define USB_EP_NI4_RXINTERVAL 0xffc03f20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
908 /* USB Endpoint 5 Control Registers */
910 #define USB_EP_NI4_TXCOUNT 0xffc03f28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
911 #define USB_EP_NI5_TXMAXP 0xffc03f40 /* Maximum packet size for Host Tx endpoint5 */
912 #define USB_EP_NI5_TXCSR 0xffc03f44 /* Control Status register for endpoint5 */
913 #define USB_EP_NI5_RXMAXP 0xffc03f48 /* Maximum packet size for Host Rx endpoint5 */
914 #define USB_EP_NI5_RXCSR 0xffc03f4c /* Control Status register for Host Rx endpoint5 */
915 #define USB_EP_NI5_RXCOUNT 0xffc03f50 /* Number of bytes received in endpoint5 FIFO */
916 #define USB_EP_NI5_TXTYPE 0xffc03f54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
917 #define USB_EP_NI5_TXINTERVAL 0xffc03f58 /* Sets the NAK response timeout on Endpoint5 */
918 #define USB_EP_NI5_RXTYPE 0xffc03f5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
919 #define USB_EP_NI5_RXINTERVAL 0xffc03f60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
921 /* USB Endpoint 6 Control Registers */
923 #define USB_EP_NI5_TXCOUNT 0xffc03f68 /* Number of bytes to be written to the H145endpoint5 Tx FIFO */
924 #define USB_EP_NI6_TXMAXP 0xffc03f80 /* Maximum packet size for Host Tx endpoint6 */
925 #define USB_EP_NI6_TXCSR 0xffc03f84 /* Control Status register for endpoint6 */
926 #define USB_EP_NI6_RXMAXP 0xffc03f88 /* Maximum packet size for Host Rx endpoint6 */
927 #define USB_EP_NI6_RXCSR 0xffc03f8c /* Control Status register for Host Rx endpoint6 */
928 #define USB_EP_NI6_RXCOUNT 0xffc03f90 /* Number of bytes received in endpoint6 FIFO */
929 #define USB_EP_NI6_TXTYPE 0xffc03f94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
930 #define USB_EP_NI6_TXINTERVAL 0xffc03f98 /* Sets the NAK response timeout on Endpoint6 */
931 #define USB_EP_NI6_RXTYPE 0xffc03f9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
932 #define USB_EP_NI6_RXINTERVAL 0xffc03fa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
934 /* USB Endpoint 7 Control Registers */
936 #define USB_EP_NI6_TXCOUNT 0xffc03fa8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
937 #define USB_EP_NI7_TXMAXP 0xffc03fc0 /* Maximum packet size for Host Tx endpoint7 */
938 #define USB_EP_NI7_TXCSR 0xffc03fc4 /* Control Status register for endpoint7 */
939 #define USB_EP_NI7_RXMAXP 0xffc03fc8 /* Maximum packet size for Host Rx endpoint7 */
940 #define USB_EP_NI7_RXCSR 0xffc03fcc /* Control Status register for Host Rx endpoint7 */
941 #define USB_EP_NI7_RXCOUNT 0xffc03fd0 /* Number of bytes received in endpoint7 FIFO */
942 #define USB_EP_NI7_TXTYPE 0xffc03fd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
943 #define USB_EP_NI7_TXINTERVAL 0xffc03fd8 /* Sets the NAK response timeout on Endpoint7 */
944 #define USB_EP_NI7_RXTYPE 0xffc03fdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
945 #define USB_EP_NI7_RXINTERVAL 0xffc03ff0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
946 #define USB_EP_NI7_TXCOUNT 0xffc03ff8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
947 #define USB_DMA_INTERRUPT 0xffc04000 /* Indicates pending interrupts for the DMA channels */
949 /* USB Channel 0 Config Registers */
951 #define USB_DMA0CONTROL 0xffc04004 /* DMA master channel 0 configuration */
952 #define USB_DMA0ADDRLOW 0xffc04008 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
953 #define USB_DMA0ADDRHIGH 0xffc0400c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
954 #define USB_DMA0COUNTLOW 0xffc04010 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
955 #define USB_DMA0COUNTHIGH 0xffc04014 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
957 /* USB Channel 1 Config Registers */
959 #define USB_DMA1CONTROL 0xffc04024 /* DMA master channel 1 configuration */
960 #define USB_DMA1ADDRLOW 0xffc04028 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
961 #define USB_DMA1ADDRHIGH 0xffc0402c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
962 #define USB_DMA1COUNTLOW 0xffc04030 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
963 #define USB_DMA1COUNTHIGH 0xffc04034 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
965 /* USB Channel 2 Config Registers */
967 #define USB_DMA2CONTROL 0xffc04044 /* DMA master channel 2 configuration */
968 #define USB_DMA2ADDRLOW 0xffc04048 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
969 #define USB_DMA2ADDRHIGH 0xffc0404c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
970 #define USB_DMA2COUNTLOW 0xffc04050 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
971 #define USB_DMA2COUNTHIGH 0xffc04054 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
973 /* USB Channel 3 Config Registers */
975 #define USB_DMA3CONTROL 0xffc04064 /* DMA master channel 3 configuration */
976 #define USB_DMA3ADDRLOW 0xffc04068 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
977 #define USB_DMA3ADDRHIGH 0xffc0406c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
978 #define USB_DMA3COUNTLOW 0xffc04070 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
979 #define USB_DMA3COUNTHIGH 0xffc04074 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
981 /* USB Channel 4 Config Registers */
983 #define USB_DMA4CONTROL 0xffc04084 /* DMA master channel 4 configuration */
984 #define USB_DMA4ADDRLOW 0xffc04088 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
985 #define USB_DMA4ADDRHIGH 0xffc0408c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
986 #define USB_DMA4COUNTLOW 0xffc04090 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
987 #define USB_DMA4COUNTHIGH 0xffc04094 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
989 /* USB Channel 5 Config Registers */
991 #define USB_DMA5CONTROL 0xffc040a4 /* DMA master channel 5 configuration */
992 #define USB_DMA5ADDRLOW 0xffc040a8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
993 #define USB_DMA5ADDRHIGH 0xffc040ac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
994 #define USB_DMA5COUNTLOW 0xffc040b0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
995 #define USB_DMA5COUNTHIGH 0xffc040b4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
997 /* USB Channel 6 Config Registers */
999 #define USB_DMA6CONTROL 0xffc040c4 /* DMA master channel 6 configuration */
1000 #define USB_DMA6ADDRLOW 0xffc040c8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
1001 #define USB_DMA6ADDRHIGH 0xffc040cc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
1002 #define USB_DMA6COUNTLOW 0xffc040d0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
1003 #define USB_DMA6COUNTHIGH 0xffc040d4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
1005 /* USB Channel 7 Config Registers */
1007 #define USB_DMA7CONTROL 0xffc040e4 /* DMA master channel 7 configuration */
1008 #define USB_DMA7ADDRLOW 0xffc040e8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
1009 #define USB_DMA7ADDRHIGH 0xffc040ec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
1010 #define USB_DMA7COUNTLOW 0xffc040f0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
1011 #define USB_DMA7COUNTHIGH 0xffc040f4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
1013 /* Keypad Registers */
1015 #define KPAD_CTL 0xffc04100 /* Controls keypad module enable and disable */
1016 #define KPAD_PRESCALE 0xffc04104 /* Establish a time base for programing the KPAD_MSEL register */
1017 #define KPAD_MSEL 0xffc04108 /* Selects delay parameters for keypad interface sensitivity */
1018 #define KPAD_ROWCOL 0xffc0410c /* Captures the row and column output values of the keys pressed */
1019 #define KPAD_STAT 0xffc04110 /* Holds and clears the status of the keypad interface interrupt */
1020 #define KPAD_SOFTEVAL 0xffc04114 /* Lets software force keypad interface to check for keys being pressed */
1022 /* Pixel Compositor (PIXC) Registers */
1024 #define PIXC_CTL 0xffc04400 /* Overlay enable, resampling mode, I/O data format, transparency enable, watermark level, FIFO status */
1025 #define PIXC_PPL 0xffc04404 /* Holds the number of pixels per line of the display */
1026 #define PIXC_LPF 0xffc04408 /* Holds the number of lines per frame of the display */
1027 #define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */
1028 #define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */
1029 #define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */
1030 #define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */
1031 #define PIXC_ATRANSP 0xffc0441c /* Contains the transparency ratio (set A) */
1032 #define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */
1033 #define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */
1034 #define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */
1035 #define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */
1036 #define PIXC_BTRANSP 0xffc04430 /* Contains the transparency ratio (set B) */
1037 #define PIXC_INTRSTAT 0xffc0443c /* Overlay interrupt configuration/status */
1038 #define PIXC_RYCON 0xffc04440 /* Color space conversion matrix register. Contains the R/Y conversion coefficients */
1039 #define PIXC_GUCON 0xffc04444 /* Color space conversion matrix register. Contains the G/U conversion coefficients */
1040 #define PIXC_BVCON 0xffc04448 /* Color space conversion matrix register. Contains the B/V conversion coefficients */
1041 #define PIXC_CCBIAS 0xffc0444c /* Bias values for the color space conversion matrix */
1042 #define PIXC_TC 0xffc04450 /* Holds the transparent color value */
1044 /* Handshake MDMA 0 Registers */
1046 #define HMDMA0_CONTROL 0xffc04500 /* Handshake MDMA0 Control Register */
1047 #define HMDMA0_ECINIT 0xffc04504 /* Handshake MDMA0 Initial Edge Count Register */
1048 #define HMDMA0_BCINIT 0xffc04508 /* Handshake MDMA0 Initial Block Count Register */
1049 #define HMDMA0_ECURGENT 0xffc0450c /* Handshake MDMA0 Urgent Edge Count Threshhold Register */
1050 #define HMDMA0_ECOVERFLOW 0xffc04510 /* Handshake MDMA0 Edge Count Overflow Interrupt Register */
1051 #define HMDMA0_ECOUNT 0xffc04514 /* Handshake MDMA0 Current Edge Count Register */
1052 #define HMDMA0_BCOUNT 0xffc04518 /* Handshake MDMA0 Current Block Count Register */
1054 /* Handshake MDMA 1 Registers */
1056 #define HMDMA1_CONTROL 0xffc04540 /* Handshake MDMA1 Control Register */
1057 #define HMDMA1_ECINIT 0xffc04544 /* Handshake MDMA1 Initial Edge Count Register */
1058 #define HMDMA1_BCINIT 0xffc04548 /* Handshake MDMA1 Initial Block Count Register */
1059 #define HMDMA1_ECURGENT 0xffc0454c /* Handshake MDMA1 Urgent Edge Count Threshhold Register */
1060 #define HMDMA1_ECOVERFLOW 0xffc04550 /* Handshake MDMA1 Edge Count Overflow Interrupt Register */
1061 #define HMDMA1_ECOUNT 0xffc04554 /* Handshake MDMA1 Current Edge Count Register */
1062 #define HMDMA1_BCOUNT 0xffc04558 /* Handshake MDMA1 Current Block Count Register */
1065 /* ********************************************************** */
1066 /* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
1067 /* and MULTI BIT READ MACROS */
1068 /* ********************************************************** */
1070 /* Bit masks for PIXC_CTL */
1072 #define PIXC_EN 0x1 /* Pixel Compositor Enable */
1073 #define nPIXC_EN 0x0
1074 #define OVR_A_EN 0x2 /* Overlay A Enable */
1075 #define nOVR_A_EN 0x0
1076 #define OVR_B_EN 0x4 /* Overlay B Enable */
1077 #define nOVR_B_EN 0x0
1078 #define IMG_FORM 0x8 /* Image Data Format */
1079 #define nIMG_FORM 0x0
1080 #define OVR_FORM 0x10 /* Overlay Data Format */
1081 #define nOVR_FORM 0x0
1082 #define OUT_FORM 0x20 /* Output Data Format */
1083 #define nOUT_FORM 0x0
1084 #define UDS_MOD 0x40 /* Resampling Mode */
1085 #define nUDS_MOD 0x0
1086 #define TC_EN 0x80 /* Transparent Color Enable */
1088 #define IMG_STAT 0x300 /* Image FIFO Status */
1089 #define OVR_STAT 0xc00 /* Overlay FIFO Status */
1090 #define WM_LVL 0x3000 /* FIFO Watermark Level */
1092 /* Bit masks for PIXC_AHSTART */
1094 #define A_HSTART 0xfff /* Horizontal Start Coordinates */
1096 /* Bit masks for PIXC_AHEND */
1098 #define A_HEND 0xfff /* Horizontal End Coordinates */
1100 /* Bit masks for PIXC_AVSTART */
1102 #define A_VSTART 0x3ff /* Vertical Start Coordinates */
1104 /* Bit masks for PIXC_AVEND */
1106 #define A_VEND 0x3ff /* Vertical End Coordinates */
1108 /* Bit masks for PIXC_ATRANSP */
1110 #define A_TRANSP 0xf /* Transparency Value */
1112 /* Bit masks for PIXC_BHSTART */
1114 #define B_HSTART 0xfff /* Horizontal Start Coordinates */
1116 /* Bit masks for PIXC_BHEND */
1118 #define B_HEND 0xfff /* Horizontal End Coordinates */
1120 /* Bit masks for PIXC_BVSTART */
1122 #define B_VSTART 0x3ff /* Vertical Start Coordinates */
1124 /* Bit masks for PIXC_BVEND */
1126 #define B_VEND 0x3ff /* Vertical End Coordinates */
1128 /* Bit masks for PIXC_BTRANSP */
1130 #define B_TRANSP 0xf /* Transparency Value */
1132 /* Bit masks for PIXC_INTRSTAT */
1134 #define OVR_INT_EN 0x1 /* Interrupt at End of Last Valid Overlay */
1135 #define nOVR_INT_EN 0x0
1136 #define FRM_INT_EN 0x2 /* Interrupt at End of Frame */
1137 #define nFRM_INT_EN 0x0
1138 #define OVR_INT_STAT 0x4 /* Overlay Interrupt Status */
1139 #define nOVR_INT_STAT 0x0
1140 #define FRM_INT_STAT 0x8 /* Frame Interrupt Status */
1141 #define nFRM_INT_STAT 0x0
1143 /* Bit masks for PIXC_RYCON */
1145 #define A11 0x3ff /* A11 in the Coefficient Matrix */
1146 #define A12 0xffc00 /* A12 in the Coefficient Matrix */
1147 #define A13 0x3ff00000 /* A13 in the Coefficient Matrix */
1148 #define RY_MULT4 0x40000000 /* Multiply Row by 4 */
1149 #define nRY_MULT4 0x0
1151 /* Bit masks for PIXC_GUCON */
1153 #define A21 0x3ff /* A21 in the Coefficient Matrix */
1154 #define A22 0xffc00 /* A22 in the Coefficient Matrix */
1155 #define A23 0x3ff00000 /* A23 in the Coefficient Matrix */
1156 #define GU_MULT4 0x40000000 /* Multiply Row by 4 */
1157 #define nGU_MULT4 0x0
1159 /* Bit masks for PIXC_BVCON */
1161 #define A31 0x3ff /* A31 in the Coefficient Matrix */
1162 #define A32 0xffc00 /* A32 in the Coefficient Matrix */
1163 #define A33 0x3ff00000 /* A33 in the Coefficient Matrix */
1164 #define BV_MULT4 0x40000000 /* Multiply Row by 4 */
1165 #define nBV_MULT4 0x0
1167 /* Bit masks for PIXC_CCBIAS */
1169 #define A14 0x3ff /* A14 in the Bias Vector */
1170 #define A24 0xffc00 /* A24 in the Bias Vector */
1171 #define A34 0x3ff00000 /* A34 in the Bias Vector */
1173 /* Bit masks for PIXC_TC */
1175 #define RY_TRANS 0xff /* Transparent Color - R/Y Component */
1176 #define GU_TRANS 0xff00 /* Transparent Color - G/U Component */
1177 #define BV_TRANS 0xff0000 /* Transparent Color - B/V Component */
1179 /* Bit masks for HOST_CONTROL */
1181 #define HOST_EN 0x1 /* Host Enable */
1182 #define nHOST_EN 0x0
1183 #define HOST_END 0x2 /* Host Endianess */
1184 #define nHOST_END 0x0
1185 #define DATA_SIZE 0x4 /* Data Size */
1186 #define nDATA_SIZE 0x0
1187 #define HOST_RST 0x8 /* Host Reset */
1188 #define nHOST_RST 0x0
1189 #define HRDY_OVR 0x20 /* Host Ready Override */
1190 #define nHRDY_OVR 0x0
1191 #define INT_MODE 0x40 /* Interrupt Mode */
1192 #define nINT_MODE 0x0
1193 #define BT_EN 0x80 /* Bus Timeout Enable */
1195 #define EHW 0x100 /* Enable Host Write */
1197 #define EHR 0x200 /* Enable Host Read */
1199 #define BDR 0x400 /* Burst DMA Requests */
1202 /* Bit masks for HOST_STATUS */
1204 #define READY 0x1 /* DMA Ready */
1206 #define FIFOFULL 0x2 /* FIFO Full */
1207 #define nFIFOFULL 0x0
1208 #define FIFOEMPTY 0x4 /* FIFO Empty */
1209 #define nFIFOEMPTY 0x0
1210 #define COMPLETE 0x8 /* DMA Complete */
1211 #define nCOMPLETE 0x0
1212 #define HSHK 0x10 /* Host Handshake */
1214 #define TIMEOUT 0x20 /* Host Timeout */
1215 #define nTIMEOUT 0x0
1216 #define HIRQ 0x40 /* Host Interrupt Request */
1218 #define ALLOW_CNFG 0x80 /* Allow New Configuration */
1219 #define nALLOW_CNFG 0x0
1220 #define DMA_DIR 0x100 /* DMA Direction */
1221 #define nDMA_DIR 0x0
1222 #define BTE 0x200 /* Bus Timeout Enabled */
1225 /* Bit masks for HOST_TIMEOUT */
1227 #define COUNT_TIMEOUT 0x7ff /* Host Timeout count */
1229 /* Bit masks for MXVR_CONFIG */
1231 #define MXVREN 0x1 /* MXVR Enable */
1233 #define MMSM 0x2 /* MXVR Master/Slave Mode Select */
1235 #define ACTIVE 0x4 /* Active Mode */
1237 #define SDELAY 0x8 /* Synchronous Data Delay */
1239 #define NCMRXEN 0x10 /* Normal Control Message Receive Enable */
1240 #define nNCMRXEN 0x0
1241 #define RWRRXEN 0x20 /* Remote Write Receive Enable */
1242 #define nRWRRXEN 0x0
1243 #define MTXEN 0x40 /* MXVR Transmit Data Enable */
1245 #define MTXONB 0x80 /* MXVR Phy Transmitter On */
1247 #define EPARITY 0x100 /* Even Parity Select */
1248 #define nEPARITY 0x0
1249 #define MSB 0x1e00 /* Master Synchronous Boundary */
1250 #define APRXEN 0x2000 /* Asynchronous Packet Receive Enable */
1252 #define WAKEUP 0x4000 /* Wake-Up */
1254 #define LMECH 0x8000 /* Lock Mechanism Select */
1257 /* Bit masks for MXVR_STATE_0 */
1259 #define NACT 0x1 /* Network Activity */
1261 #define SBLOCK 0x2 /* Super Block Lock */
1263 #define FMPLLST 0xc /* Frequency Multiply PLL SM State */
1264 #define CDRPLLST 0xe0 /* Clock/Data Recovery PLL SM State */
1265 #define APBSY 0x100 /* Asynchronous Packet Transmit Buffer Busy */
1267 #define APARB 0x200 /* Asynchronous Packet Arbitrating */
1269 #define APTX 0x400 /* Asynchronous Packet Transmitting */
1271 #define APRX 0x800 /* Receiving Asynchronous Packet */
1273 #define CMBSY 0x1000 /* Control Message Transmit Buffer Busy */
1275 #define CMARB 0x2000 /* Control Message Arbitrating */
1277 #define CMTX 0x4000 /* Control Message Transmitting */
1279 #define CMRX 0x8000 /* Receiving Control Message */
1281 #define MRXONB 0x10000 /* MRXONB Pin State */
1283 #define RGSIP 0x20000 /* Remote Get Source In Progress */
1285 #define DALIP 0x40000 /* Resource Deallocate In Progress */
1287 #define ALIP 0x80000 /* Resource Allocate In Progress */
1289 #define RRDIP 0x100000 /* Remote Read In Progress */
1291 #define RWRIP 0x200000 /* Remote Write In Progress */
1293 #define FLOCK 0x400000 /* Frame Lock */
1295 #define BLOCK 0x800000 /* Block Lock */
1297 #define RSB 0xf000000 /* Received Synchronous Boundary */
1298 #define DERRNUM 0xf0000000 /* DMA Error Channel Number */
1300 /* Bit masks for MXVR_STATE_1 */
1302 #define SRXNUMB 0xf /* Synchronous Receive FIFO Number of Bytes */
1303 #define STXNUMB 0xf0 /* Synchronous Transmit FIFO Number of Bytes */
1304 #define APCONT 0x100 /* Asynchronous Packet Continuation */
1306 #define OBERRNUM 0xe00 /* DMA Out of Bounds Error Channel Number */
1307 #define DMAACTIVE0 0x10000 /* DMA0 Active */
1308 #define nDMAACTIVE0 0x0
1309 #define DMAACTIVE1 0x20000 /* DMA1 Active */
1310 #define nDMAACTIVE1 0x0
1311 #define DMAACTIVE2 0x40000 /* DMA2 Active */
1312 #define nDMAACTIVE2 0x0
1313 #define DMAACTIVE3 0x80000 /* DMA3 Active */
1314 #define nDMAACTIVE3 0x0
1315 #define DMAACTIVE4 0x100000 /* DMA4 Active */
1316 #define nDMAACTIVE4 0x0
1317 #define DMAACTIVE5 0x200000 /* DMA5 Active */
1318 #define nDMAACTIVE5 0x0
1319 #define DMAACTIVE6 0x400000 /* DMA6 Active */
1320 #define nDMAACTIVE6 0x0
1321 #define DMAACTIVE7 0x800000 /* DMA7 Active */
1322 #define nDMAACTIVE7 0x0
1323 #define DMAPMEN0 0x1000000 /* DMA0 Pattern Matching Enabled */
1324 #define nDMAPMEN0 0x0
1325 #define DMAPMEN1 0x2000000 /* DMA1 Pattern Matching Enabled */
1326 #define nDMAPMEN1 0x0
1327 #define DMAPMEN2 0x4000000 /* DMA2 Pattern Matching Enabled */
1328 #define nDMAPMEN2 0x0
1329 #define DMAPMEN3 0x8000000 /* DMA3 Pattern Matching Enabled */
1330 #define nDMAPMEN3 0x0
1331 #define DMAPMEN4 0x10000000 /* DMA4 Pattern Matching Enabled */
1332 #define nDMAPMEN4 0x0
1333 #define DMAPMEN5 0x20000000 /* DMA5 Pattern Matching Enabled */
1334 #define nDMAPMEN5 0x0
1335 #define DMAPMEN6 0x40000000 /* DMA6 Pattern Matching Enabled */
1336 #define nDMAPMEN6 0x0
1337 #define DMAPMEN7 0x80000000 /* DMA7 Pattern Matching Enabled */
1338 #define nDMAPMEN7 0x0
1340 /* Bit masks for MXVR_INT_STAT_0 */
1342 #define NI2A 0x1 /* Network Inactive to Active */
1344 #define NA2I 0x2 /* Network Active to Inactive */
1346 #define SBU2L 0x4 /* Super Block Unlock to Lock */
1348 #define SBL2U 0x8 /* Super Block Lock to Unlock */
1350 #define PRU 0x10 /* Position Register Updated */
1352 #define MPRU 0x20 /* Maximum Position Register Updated */
1354 #define DRU 0x40 /* Delay Register Updated */
1356 #define MDRU 0x80 /* Maximum Delay Register Updated */
1358 #define SBU 0x100 /* Synchronous Boundary Updated */
1360 #define ATU 0x200 /* Allocation Table Updated */
1362 #define FCZ0 0x400 /* Frame Counter 0 Zero */
1364 #define FCZ1 0x800 /* Frame Counter 1 Zero */
1366 #define PERR 0x1000 /* Parity Error */
1368 #define MH2L 0x2000 /* MRXONB High to Low */
1370 #define ML2H 0x4000 /* MRXONB Low to High */
1372 #define WUP 0x8000 /* Wake-Up Preamble Received */
1374 #define FU2L 0x10000 /* Frame Unlock to Lock */
1376 #define FL2U 0x20000 /* Frame Lock to Unlock */
1378 #define BU2L 0x40000 /* Block Unlock to Lock */
1380 #define BL2U 0x80000 /* Block Lock to Unlock */
1382 #define OBERR 0x100000 /* DMA Out of Bounds Error */
1384 #define PFL 0x200000 /* PLL Frequency Locked */
1386 #define SCZ 0x400000 /* System Clock Counter Zero */
1388 #define FERR 0x800000 /* FIFO Error */
1390 #define CMR 0x1000000 /* Control Message Received */
1392 #define CMROF 0x2000000 /* Control Message Receive Buffer Overflow */
1394 #define CMTS 0x4000000 /* Control Message Transmit Buffer Successfully Sent */
1396 #define CMTC 0x8000000 /* Control Message Transmit Buffer Successfully Cancelled */
1398 #define RWRC 0x10000000 /* Remote Write Control Message Completed */
1400 #define BCZ 0x20000000 /* Block Counter Zero */
1402 #define BMERR 0x40000000 /* Biphase Mark Coding Error */
1404 #define DERR 0x80000000 /* DMA Error */
1407 /* Bit masks for MXVR_INT_STAT_1 */
1409 #define HDONE0 0x1 /* DMA0 Half Done */
1411 #define DONE0 0x2 /* DMA0 Done */
1413 #define APR 0x4 /* Asynchronous Packet Received */
1415 #define APROF 0x8 /* Asynchronous Packet Receive Buffer Overflow */
1417 #define HDONE1 0x10 /* DMA1 Half Done */
1419 #define DONE1 0x20 /* DMA1 Done */
1421 #define APTS 0x40 /* Asynchronous Packet Transmit Buffer Successfully Sent */
1423 #define APTC 0x80 /* Asynchronous Packet Transmit Buffer Successfully Cancelled */
1425 #define HDONE2 0x100 /* DMA2 Half Done */
1427 #define DONE2 0x200 /* DMA2 Done */
1429 #define APRCE 0x400 /* Asynchronous Packet Receive CRC Error */
1431 #define APRPE 0x800 /* Asynchronous Packet Receive Packet Error */
1433 #define HDONE3 0x1000 /* DMA3 Half Done */
1435 #define DONE3 0x2000 /* DMA3 Done */
1437 #define HDONE4 0x10000 /* DMA4 Half Done */
1439 #define DONE4 0x20000 /* DMA4 Done */
1441 #define HDONE5 0x100000 /* DMA5 Half Done */
1443 #define DONE5 0x200000 /* DMA5 Done */
1445 #define HDONE6 0x1000000 /* DMA6 Half Done */
1447 #define DONE6 0x2000000 /* DMA6 Done */
1449 #define HDONE7 0x10000000 /* DMA7 Half Done */
1451 #define DONE7 0x20000000 /* DMA7 Done */
1454 /* Bit masks for MXVR_INT_EN_0 */
1456 #define NI2AEN 0x1 /* Network Inactive to Active Interrupt Enable */
1458 #define NA2IEN 0x2 /* Network Active to Inactive Interrupt Enable */
1460 #define SBU2LEN 0x4 /* Super Block Unlock to Lock Interrupt Enable */
1461 #define nSBU2LEN 0x0
1462 #define SBL2UEN 0x8 /* Super Block Lock to Unlock Interrupt Enable */
1463 #define nSBL2UEN 0x0
1464 #define PRUEN 0x10 /* Position Register Updated Interrupt Enable */
1466 #define MPRUEN 0x20 /* Maximum Position Register Updated Interrupt Enable */
1468 #define DRUEN 0x40 /* Delay Register Updated Interrupt Enable */
1470 #define MDRUEN 0x80 /* Maximum Delay Register Updated Interrupt Enable */
1472 #define SBUEN 0x100 /* Synchronous Boundary Updated Interrupt Enable */
1474 #define ATUEN 0x200 /* Allocation Table Updated Interrupt Enable */
1476 #define FCZ0EN 0x400 /* Frame Counter 0 Zero Interrupt Enable */
1478 #define FCZ1EN 0x800 /* Frame Counter 1 Zero Interrupt Enable */
1480 #define PERREN 0x1000 /* Parity Error Interrupt Enable */
1482 #define MH2LEN 0x2000 /* MRXONB High to Low Interrupt Enable */
1484 #define ML2HEN 0x4000 /* MRXONB Low to High Interrupt Enable */
1486 #define WUPEN 0x8000 /* Wake-Up Preamble Received Interrupt Enable */
1488 #define FU2LEN 0x10000 /* Frame Unlock to Lock Interrupt Enable */
1490 #define FL2UEN 0x20000 /* Frame Lock to Unlock Interrupt Enable */
1492 #define BU2LEN 0x40000 /* Block Unlock to Lock Interrupt Enable */
1494 #define BL2UEN 0x80000 /* Block Lock to Unlock Interrupt Enable */
1496 #define OBERREN 0x100000 /* DMA Out of Bounds Error Interrupt Enable */
1497 #define nOBERREN 0x0
1498 #define PFLEN 0x200000 /* PLL Frequency Locked Interrupt Enable */
1500 #define SCZEN 0x400000 /* System Clock Counter Zero Interrupt Enable */
1502 #define FERREN 0x800000 /* FIFO Error Interrupt Enable */
1504 #define CMREN 0x1000000 /* Control Message Received Interrupt Enable */
1506 #define CMROFEN 0x2000000 /* Control Message Receive Buffer Overflow Interrupt Enable */
1507 #define nCMROFEN 0x0
1508 #define CMTSEN 0x4000000 /* Control Message Transmit Buffer Successfully Sent Interrupt Enable */
1510 #define CMTCEN 0x8000000 /* Control Message Transmit Buffer Successfully Cancelled Interrupt Enable */
1512 #define RWRCEN 0x10000000 /* Remote Write Control Message Completed Interrupt Enable */
1514 #define BCZEN 0x20000000 /* Block Counter Zero Interrupt Enable */
1516 #define BMERREN 0x40000000 /* Biphase Mark Coding Error Interrupt Enable */
1517 #define nBMERREN 0x0
1518 #define DERREN 0x80000000 /* DMA Error Interrupt Enable */
1521 /* Bit masks for MXVR_INT_EN_1 */
1523 #define HDONEEN0 0x1 /* DMA0 Half Done Interrupt Enable */
1524 #define nHDONEEN0 0x0
1525 #define DONEEN0 0x2 /* DMA0 Done Interrupt Enable */
1526 #define nDONEEN0 0x0
1527 #define APREN 0x4 /* Asynchronous Packet Received Interrupt Enable */
1529 #define APROFEN 0x8 /* Asynchronous Packet Receive Buffer Overflow Interrupt Enable */
1530 #define nAPROFEN 0x0
1531 #define HDONEEN1 0x10 /* DMA1 Half Done Interrupt Enable */
1532 #define nHDONEEN1 0x0
1533 #define DONEEN1 0x20 /* DMA1 Done Interrupt Enable */
1534 #define nDONEEN1 0x0
1535 #define APTSEN 0x40 /* Asynchronous Packet Transmit Buffer Successfully Sent Interrupt Enable */
1537 #define APTCEN 0x80 /* Asynchronous Packet Transmit Buffer Successfully Cancelled Interrupt Enable */
1539 #define HDONEEN2 0x100 /* DMA2 Half Done Interrupt Enable */
1540 #define nHDONEEN2 0x0
1541 #define DONEEN2 0x200 /* DMA2 Done Interrupt Enable */
1542 #define nDONEEN2 0x0
1543 #define APRCEEN 0x400 /* Asynchronous Packet Receive CRC Error Interrupt Enable */
1544 #define nAPRCEEN 0x0
1545 #define APRPEEN 0x800 /* Asynchronous Packet Receive Packet Error Interrupt Enable */
1546 #define nAPRPEEN 0x0
1547 #define HDONEEN3 0x1000 /* DMA3 Half Done Interrupt Enable */
1548 #define nHDONEEN3 0x0
1549 #define DONEEN3 0x2000 /* DMA3 Done Interrupt Enable */
1550 #define nDONEEN3 0x0
1551 #define HDONEEN4 0x10000 /* DMA4 Half Done Interrupt Enable */
1552 #define nHDONEEN4 0x0
1553 #define DONEEN4 0x20000 /* DMA4 Done Interrupt Enable */
1554 #define nDONEEN4 0x0
1555 #define HDONEEN5 0x100000 /* DMA5 Half Done Interrupt Enable */
1556 #define nHDONEEN5 0x0
1557 #define DONEEN5 0x200000 /* DMA5 Done Interrupt Enable */
1558 #define nDONEEN5 0x0
1559 #define HDONEEN6 0x1000000 /* DMA6 Half Done Interrupt Enable */
1560 #define nHDONEEN6 0x0
1561 #define DONEEN6 0x2000000 /* DMA6 Done Interrupt Enable */
1562 #define nDONEEN6 0x0
1563 #define HDONEEN7 0x10000000 /* DMA7 Half Done Interrupt Enable */
1564 #define nHDONEEN7 0x0
1565 #define DONEEN7 0x20000000 /* DMA7 Done Interrupt Enable */
1566 #define nDONEEN7 0x0
1568 /* Bit masks for MXVR_POSITION */
1570 #define POSITION 0x3f /* Node Position */
1571 #define PVALID 0x8000 /* Node Position Valid */
1574 /* Bit masks for MXVR_MAX_POSITION */
1576 #define MPOSITION 0x3f /* Maximum Node Position */
1577 #define MPVALID 0x8000 /* Maximum Node Position Valid */
1578 #define nMPVALID 0x0
1580 /* Bit masks for MXVR_DELAY */
1582 #define DELAY 0x3f /* Node Frame Delay */
1583 #define DVALID 0x8000 /* Node Frame Delay Valid */
1586 /* Bit masks for MXVR_MAX_DELAY */
1588 #define MDELAY 0x3f /* Maximum Node Frame Delay */
1589 #define MDVALID 0x8000 /* Maximum Node Frame Delay Valid */
1590 #define nMDVALID 0x0
1592 /* Bit masks for MXVR_LADDR */
1594 #define LADDR 0xffff /* Logical Address */
1595 #define LVALID 0x80000000 /* Logical Address Valid */
1598 /* Bit masks for MXVR_GADDR */
1600 #define GADDRL 0xff /* Group Address Lower Byte */
1601 #define GVALID 0x8000 /* Group Address Valid */
1604 /* Bit masks for MXVR_AADDR */
1606 #define AADDR 0xffff /* Alternate Address */
1607 #define AVALID 0x80000000 /* Alternate Address Valid */
1610 /* Bit masks for MXVR_ALLOC_0 */
1612 #define CL0 0x7f /* Channel 0 Connection Label */
1613 #define CIU0 0x80 /* Channel 0 In Use */
1615 #define CL1 0x7f00 /* Channel 0 Connection Label */
1616 #define CIU1 0x8000 /* Channel 0 In Use */
1618 #define CL2 0x7f0000 /* Channel 0 Connection Label */
1619 #define CIU2 0x800000 /* Channel 0 In Use */
1621 #define CL3 0x7f000000 /* Channel 0 Connection Label */
1622 #define CIU3 0x80000000 /* Channel 0 In Use */
1625 /* Bit masks for MXVR_ALLOC_1 */
1627 #define CL4 0x7f /* Channel 4 Connection Label */
1628 #define CIU4 0x80 /* Channel 4 In Use */
1630 #define CL5 0x7f00 /* Channel 5 Connection Label */
1631 #define CIU5 0x8000 /* Channel 5 In Use */
1633 #define CL6 0x7f0000 /* Channel 6 Connection Label */
1634 #define CIU6 0x800000 /* Channel 6 In Use */
1636 #define CL7 0x7f000000 /* Channel 7 Connection Label */
1637 #define CIU7 0x80000000 /* Channel 7 In Use */
1640 /* Bit masks for MXVR_ALLOC_2 */
1642 #define CL8 0x7f /* Channel 8 Connection Label */
1643 #define CIU8 0x80 /* Channel 8 In Use */
1645 #define CL9 0x7f00 /* Channel 9 Connection Label */
1646 #define CIU9 0x8000 /* Channel 9 In Use */
1648 #define CL10 0x7f0000 /* Channel 10 Connection Label */
1649 #define CIU10 0x800000 /* Channel 10 In Use */
1651 #define CL11 0x7f000000 /* Channel 11 Connection Label */
1652 #define CIU11 0x80000000 /* Channel 11 In Use */
1655 /* Bit masks for MXVR_ALLOC_3 */
1657 #define CL12 0x7f /* Channel 12 Connection Label */
1658 #define CIU12 0x80 /* Channel 12 In Use */
1660 #define CL13 0x7f00 /* Channel 13 Connection Label */
1661 #define CIU13 0x8000 /* Channel 13 In Use */
1663 #define CL14 0x7f0000 /* Channel 14 Connection Label */
1664 #define CIU14 0x800000 /* Channel 14 In Use */
1666 #define CL15 0x7f000000 /* Channel 15 Connection Label */
1667 #define CIU15 0x80000000 /* Channel 15 In Use */
1670 /* Bit masks for MXVR_ALLOC_4 */
1672 #define CL16 0x7f /* Channel 16 Connection Label */
1673 #define CIU16 0x80 /* Channel 16 In Use */
1675 #define CL17 0x7f00 /* Channel 17 Connection Label */
1676 #define CIU17 0x8000 /* Channel 17 In Use */
1678 #define CL18 0x7f0000 /* Channel 18 Connection Label */
1679 #define CIU18 0x800000 /* Channel 18 In Use */
1681 #define CL19 0x7f000000 /* Channel 19 Connection Label */
1682 #define CIU19 0x80000000 /* Channel 19 In Use */
1685 /* Bit masks for MXVR_ALLOC_5 */
1687 #define CL20 0x7f /* Channel 20 Connection Label */
1688 #define CIU20 0x80 /* Channel 20 In Use */
1690 #define CL21 0x7f00 /* Channel 21 Connection Label */
1691 #define CIU21 0x8000 /* Channel 21 In Use */
1693 #define CL22 0x7f0000 /* Channel 22 Connection Label */
1694 #define CIU22 0x800000 /* Channel 22 In Use */
1696 #define CL23 0x7f000000 /* Channel 23 Connection Label */
1697 #define CIU23 0x80000000 /* Channel 23 In Use */
1700 /* Bit masks for MXVR_ALLOC_6 */
1702 #define CL24 0x7f /* Channel 24 Connection Label */
1703 #define CIU24 0x80 /* Channel 24 In Use */
1705 #define CL25 0x7f00 /* Channel 25 Connection Label */
1706 #define CIU25 0x8000 /* Channel 25 In Use */
1708 #define CL26 0x7f0000 /* Channel 26 Connection Label */
1709 #define CIU26 0x800000 /* Channel 26 In Use */
1711 #define CL27 0x7f000000 /* Channel 27 Connection Label */
1712 #define CIU27 0x80000000 /* Channel 27 In Use */
1715 /* Bit masks for MXVR_ALLOC_7 */
1717 #define CL28 0x7f /* Channel 28 Connection Label */
1718 #define CIU28 0x80 /* Channel 28 In Use */
1720 #define CL29 0x7f00 /* Channel 29 Connection Label */
1721 #define CIU29 0x8000 /* Channel 29 In Use */
1723 #define CL30 0x7f0000 /* Channel 30 Connection Label */
1724 #define CIU30 0x800000 /* Channel 30 In Use */
1726 #define CL31 0x7f000000 /* Channel 31 Connection Label */
1727 #define CIU31 0x80000000 /* Channel 31 In Use */
1730 /* Bit masks for MXVR_ALLOC_8 */
1732 #define CL32 0x7f /* Channel 32 Connection Label */
1733 #define CIU32 0x80 /* Channel 32 In Use */
1735 #define CL33 0x7f00 /* Channel 33 Connection Label */
1736 #define CIU33 0x8000 /* Channel 33 In Use */
1738 #define CL34 0x7f0000 /* Channel 34 Connection Label */
1739 #define CIU34 0x800000 /* Channel 34 In Use */
1741 #define CL35 0x7f000000 /* Channel 35 Connection Label */
1742 #define CIU35 0x80000000 /* Channel 35 In Use */
1745 /* Bit masks for MXVR_ALLOC_9 */
1747 #define CL36 0x7f /* Channel 36 Connection Label */
1748 #define CIU36 0x80 /* Channel 36 In Use */
1750 #define CL37 0x7f00 /* Channel 37 Connection Label */
1751 #define CIU37 0x8000 /* Channel 37 In Use */
1753 #define CL38 0x7f0000 /* Channel 38 Connection Label */
1754 #define CIU38 0x800000 /* Channel 38 In Use */
1756 #define CL39 0x7f000000 /* Channel 39 Connection Label */
1757 #define CIU39 0x80000000 /* Channel 39 In Use */
1760 /* Bit masks for MXVR_ALLOC_10 */
1762 #define CL40 0x7f /* Channel 40 Connection Label */
1763 #define CIU40 0x80 /* Channel 40 In Use */
1765 #define CL41 0x7f00 /* Channel 41 Connection Label */
1766 #define CIU41 0x8000 /* Channel 41 In Use */
1768 #define CL42 0x7f0000 /* Channel 42 Connection Label */
1769 #define CIU42 0x800000 /* Channel 42 In Use */
1771 #define CL43 0x7f000000 /* Channel 43 Connection Label */
1772 #define CIU43 0x80000000 /* Channel 43 In Use */
1775 /* Bit masks for MXVR_ALLOC_11 */
1777 #define CL44 0x7f /* Channel 44 Connection Label */
1778 #define CIU44 0x80 /* Channel 44 In Use */
1780 #define CL45 0x7f00 /* Channel 45 Connection Label */
1781 #define CIU45 0x8000 /* Channel 45 In Use */
1783 #define CL46 0x7f0000 /* Channel 46 Connection Label */
1784 #define CIU46 0x800000 /* Channel 46 In Use */
1786 #define CL47 0x7f000000 /* Channel 47 Connection Label */
1787 #define CIU47 0x80000000 /* Channel 47 In Use */
1790 /* Bit masks for MXVR_ALLOC_12 */
1792 #define CL48 0x7f /* Channel 48 Connection Label */
1793 #define CIU48 0x80 /* Channel 48 In Use */
1795 #define CL49 0x7f00 /* Channel 49 Connection Label */
1796 #define CIU49 0x8000 /* Channel 49 In Use */
1798 #define CL50 0x7f0000 /* Channel 50 Connection Label */
1799 #define CIU50 0x800000 /* Channel 50 In Use */
1801 #define CL51 0x7f000000 /* Channel 51 Connection Label */
1802 #define CIU51 0x80000000 /* Channel 51 In Use */
1805 /* Bit masks for MXVR_ALLOC_13 */
1807 #define CL52 0x7f /* Channel 52 Connection Label */
1808 #define CIU52 0x80 /* Channel 52 In Use */
1810 #define CL53 0x7f00 /* Channel 53 Connection Label */
1811 #define CIU53 0x8000 /* Channel 53 In Use */
1813 #define CL54 0x7f0000 /* Channel 54 Connection Label */
1814 #define CIU54 0x800000 /* Channel 54 In Use */
1816 #define CL55 0x7f000000 /* Channel 55 Connection Label */
1817 #define CIU55 0x80000000 /* Channel 55 In Use */
1820 /* Bit masks for MXVR_ALLOC_14 */
1822 #define CL56 0x7f /* Channel 56 Connection Label */
1823 #define CIU56 0x80 /* Channel 56 In Use */
1825 #define CL57 0x7f00 /* Channel 57 Connection Label */
1826 #define CIU57 0x8000 /* Channel 57 In Use */
1828 #define CL58 0x7f0000 /* Channel 58 Connection Label */
1829 #define CIU58 0x800000 /* Channel 58 In Use */
1831 #define CL59 0x7f000000 /* Channel 59 Connection Label */
1832 #define CIU59 0x80000000 /* Channel 59 In Use */
1835 /* MXVR_SYNC_LCHAN_0 Masks */
1837 #define LCHANPC0 0x0000000Flu
1838 #define LCHANPC1 0x000000F0lu
1839 #define LCHANPC2 0x00000F00lu
1840 #define LCHANPC3 0x0000F000lu
1841 #define LCHANPC4 0x000F0000lu
1842 #define LCHANPC5 0x00F00000lu
1843 #define LCHANPC6 0x0F000000lu
1844 #define LCHANPC7 0xF0000000lu
1847 /* MXVR_SYNC_LCHAN_1 Masks */
1849 #define LCHANPC8 0x0000000Flu
1850 #define LCHANPC9 0x000000F0lu
1851 #define LCHANPC10 0x00000F00lu
1852 #define LCHANPC11 0x0000F000lu
1853 #define LCHANPC12 0x000F0000lu
1854 #define LCHANPC13 0x00F00000lu
1855 #define LCHANPC14 0x0F000000lu
1856 #define LCHANPC15 0xF0000000lu
1859 /* MXVR_SYNC_LCHAN_2 Masks */
1861 #define LCHANPC16 0x0000000Flu
1862 #define LCHANPC17 0x000000F0lu
1863 #define LCHANPC18 0x00000F00lu
1864 #define LCHANPC19 0x0000F000lu
1865 #define LCHANPC20 0x000F0000lu
1866 #define LCHANPC21 0x00F00000lu
1867 #define LCHANPC22 0x0F000000lu
1868 #define LCHANPC23 0xF0000000lu
1871 /* MXVR_SYNC_LCHAN_3 Masks */
1873 #define LCHANPC24 0x0000000Flu
1874 #define LCHANPC25 0x000000F0lu
1875 #define LCHANPC26 0x00000F00lu
1876 #define LCHANPC27 0x0000F000lu
1877 #define LCHANPC28 0x000F0000lu
1878 #define LCHANPC29 0x00F00000lu
1879 #define LCHANPC30 0x0F000000lu
1880 #define LCHANPC31 0xF0000000lu
1883 /* MXVR_SYNC_LCHAN_4 Masks */
1885 #define LCHANPC32 0x0000000Flu
1886 #define LCHANPC33 0x000000F0lu
1887 #define LCHANPC34 0x00000F00lu
1888 #define LCHANPC35 0x0000F000lu
1889 #define LCHANPC36 0x000F0000lu
1890 #define LCHANPC37 0x00F00000lu
1891 #define LCHANPC38 0x0F000000lu
1892 #define LCHANPC39 0xF0000000lu
1895 /* MXVR_SYNC_LCHAN_5 Masks */
1897 #define LCHANPC40 0x0000000Flu
1898 #define LCHANPC41 0x000000F0lu
1899 #define LCHANPC42 0x00000F00lu
1900 #define LCHANPC43 0x0000F000lu
1901 #define LCHANPC44 0x000F0000lu
1902 #define LCHANPC45 0x00F00000lu
1903 #define LCHANPC46 0x0F000000lu
1904 #define LCHANPC47 0xF0000000lu
1907 /* MXVR_SYNC_LCHAN_6 Masks */
1909 #define LCHANPC48 0x0000000Flu
1910 #define LCHANPC49 0x000000F0lu
1911 #define LCHANPC50 0x00000F00lu
1912 #define LCHANPC51 0x0000F000lu
1913 #define LCHANPC52 0x000F0000lu
1914 #define LCHANPC53 0x00F00000lu
1915 #define LCHANPC54 0x0F000000lu
1916 #define LCHANPC55 0xF0000000lu
1919 /* MXVR_SYNC_LCHAN_7 Masks */
1921 #define LCHANPC56 0x0000000Flu
1922 #define LCHANPC57 0x000000F0lu
1923 #define LCHANPC58 0x00000F00lu
1924 #define LCHANPC59 0x0000F000lu
1926 /* Bit masks for MXVR_DMAx_CONFIG */
1928 #define MDMAEN 0x1 /* DMA Channel Enable */
1930 #define DD 0x2 /* DMA Channel Direction */
1932 #define BY4SWAPEN 0x20 /* DMA Channel Four Byte Swap Enable */
1933 #define nBY4SWAPEN 0x0
1934 #define LCHAN 0x3c0 /* DMA Channel Logical Channel */
1935 #define BITSWAPEN 0x400 /* DMA Channel Bit Swap Enable */
1936 #define nBITSWAPEN 0x0
1937 #define BY2SWAPEN 0x800 /* DMA Channel Two Byte Swap Enable */
1938 #define nBY2SWAPEN 0x0
1939 #define MFLOW 0x7000 /* DMA Channel Operation Flow */
1940 #define FIXEDPM 0x80000 /* DMA Channel Fixed Pattern Matching Select */
1941 #define nFIXEDPM 0x0
1942 #define STARTPAT 0x300000 /* DMA Channel Start Pattern Select */
1943 #define STOPPAT 0xc00000 /* DMA Channel Stop Pattern Select */
1944 #define COUNTPOS 0x1c000000 /* DMA Channel Count Position */
1946 /* Bit masks for MXVR_AP_CTL */
1948 #define STARTAP 0x1 /* Start Asynchronous Packet Transmission */
1949 #define nSTARTAP 0x0
1950 #define CANCELAP 0x2 /* Cancel Asynchronous Packet Transmission */
1951 #define nCANCELAP 0x0
1952 #define RESETAP 0x4 /* Reset Asynchronous Packet Arbitration */
1953 #define nRESETAP 0x0
1954 #define APRBE0 0x4000 /* Asynchronous Packet Receive Buffer Entry 0 */
1956 #define APRBE1 0x8000 /* Asynchronous Packet Receive Buffer Entry 1 */
1959 /* Bit masks for MXVR_APRB_START_ADDR */
1961 #define MXVR_APRB_START_ADDR 0x1fffffe /* Asynchronous Packet Receive Buffer Start Address */
1963 /* Bit masks for MXVR_APRB_CURR_ADDR */
1965 #define MXVR_APRB_CURR_ADDR 0xffffffff /* Asynchronous Packet Receive Buffer Current Address */
1967 /* Bit masks for MXVR_APTB_START_ADDR */
1969 #define MXVR_APTB_START_ADDR 0x1fffffe /* Asynchronous Packet Transmit Buffer Start Address */
1971 /* Bit masks for MXVR_APTB_CURR_ADDR */
1973 #define MXVR_APTB_CURR_ADDR 0xffffffff /* Asynchronous Packet Transmit Buffer Current Address */
1975 /* Bit masks for MXVR_CM_CTL */
1977 #define STARTCM 0x1 /* Start Control Message Transmission */
1978 #define nSTARTCM 0x0
1979 #define CANCELCM 0x2 /* Cancel Control Message Transmission */
1980 #define nCANCELCM 0x0
1981 #define CMRBE0 0x10000 /* Control Message Receive Buffer Entry 0 */
1983 #define CMRBE1 0x20000 /* Control Message Receive Buffer Entry 1 */
1985 #define CMRBE2 0x40000 /* Control Message Receive Buffer Entry 2 */
1987 #define CMRBE3 0x80000 /* Control Message Receive Buffer Entry 3 */
1989 #define CMRBE4 0x100000 /* Control Message Receive Buffer Entry 4 */
1991 #define CMRBE5 0x200000 /* Control Message Receive Buffer Entry 5 */
1993 #define CMRBE6 0x400000 /* Control Message Receive Buffer Entry 6 */
1995 #define CMRBE7 0x800000 /* Control Message Receive Buffer Entry 7 */
1997 #define CMRBE8 0x1000000 /* Control Message Receive Buffer Entry 8 */
1999 #define CMRBE9 0x2000000 /* Control Message Receive Buffer Entry 9 */
2001 #define CMRBE10 0x4000000 /* Control Message Receive Buffer Entry 10 */
2002 #define nCMRBE10 0x0
2003 #define CMRBE11 0x8000000 /* Control Message Receive Buffer Entry 11 */
2004 #define nCMRBE11 0x0
2005 #define CMRBE12 0x10000000 /* Control Message Receive Buffer Entry 12 */
2006 #define nCMRBE12 0x0
2007 #define CMRBE13 0x20000000 /* Control Message Receive Buffer Entry 13 */
2008 #define nCMRBE13 0x0
2009 #define CMRBE14 0x40000000 /* Control Message Receive Buffer Entry 14 */
2010 #define nCMRBE14 0x0
2011 #define CMRBE15 0x80000000 /* Control Message Receive Buffer Entry 15 */
2012 #define nCMRBE15 0x0
2014 /* Bit masks for MXVR_CMRB_START_ADDR */
2016 #define MXVR_CMRB_START_ADDR 0x1fffffe /* Control Message Receive Buffer Start Address */
2018 /* Bit masks for MXVR_CMRB_CURR_ADDR */
2020 #define MXVR_CMRB_CURR_ADDR 0xffffffff /* Control Message Receive Buffer Current Address */
2022 /* Bit masks for MXVR_CMTB_START_ADDR */
2024 #define MXVR_CMTB_START_ADDR 0x1fffffe /* Control Message Transmit Buffer Start Address */
2026 /* Bit masks for MXVR_CMTB_CURR_ADDR */
2028 #define MXVR_CMTB_CURR_ADDR 0xffffffff /* Control Message Transmit Buffer Current Address */
2030 /* Bit masks for MXVR_RRDB_START_ADDR */
2032 #define MXVR_RRDB_START_ADDR 0x1fffffe /* Remote Read Buffer Start Address */
2034 /* Bit masks for MXVR_RRDB_CURR_ADDR */
2036 #define MXVR_RRDB_CURR_ADDR 0xffffffff /* Remote Read Buffer Current Address */
2038 /* Bit masks for MXVR_PAT_DATAx */
2040 #define MATCH_DATA_0 0xff /* Pattern Match Data Byte 0 */
2041 #define MATCH_DATA_1 0xff00 /* Pattern Match Data Byte 1 */
2042 #define MATCH_DATA_2 0xff0000 /* Pattern Match Data Byte 2 */
2043 #define MATCH_DATA_3 0xff000000 /* Pattern Match Data Byte 3 */
2045 /* Bit masks for MXVR_PAT_EN_0 */
2047 #define MATCH_EN_0_0 0x1 /* Pattern Match Enable Byte 0 Bit 0 */
2048 #define nMATCH_EN_0_0 0x0
2049 #define MATCH_EN_0_1 0x2 /* Pattern Match Enable Byte 0 Bit 1 */
2050 #define nMATCH_EN_0_1 0x0
2051 #define MATCH_EN_0_2 0x4 /* Pattern Match Enable Byte 0 Bit 2 */
2052 #define nMATCH_EN_0_2 0x0
2053 #define MATCH_EN_0_3 0x8 /* Pattern Match Enable Byte 0 Bit 3 */
2054 #define nMATCH_EN_0_3 0x0
2055 #define MATCH_EN_0_4 0x10 /* Pattern Match Enable Byte 0 Bit 4 */
2056 #define nMATCH_EN_0_4 0x0
2057 #define MATCH_EN_0_5 0x20 /* Pattern Match Enable Byte 0 Bit 5 */
2058 #define nMATCH_EN_0_5 0x0
2059 #define MATCH_EN_0_6 0x40 /* Pattern Match Enable Byte 0 Bit 6 */
2060 #define nMATCH_EN_0_6 0x0
2061 #define MATCH_EN_0_7 0x80 /* Pattern Match Enable Byte 0 Bit 7 */
2062 #define nMATCH_EN_0_7 0x0
2063 #define MATCH_EN_1_0 0x100 /* Pattern Match Enable Byte 1 Bit 0 */
2064 #define nMATCH_EN_1_0 0x0
2065 #define MATCH_EN_1_1 0x200 /* Pattern Match Enable Byte 1 Bit 1 */
2066 #define nMATCH_EN_1_1 0x0
2067 #define MATCH_EN_1_2 0x400 /* Pattern Match Enable Byte 1 Bit 2 */
2068 #define nMATCH_EN_1_2 0x0
2069 #define MATCH_EN_1_3 0x800 /* Pattern Match Enable Byte 1 Bit 3 */
2070 #define nMATCH_EN_1_3 0x0
2071 #define MATCH_EN_1_4 0x1000 /* Pattern Match Enable Byte 1 Bit 4 */
2072 #define nMATCH_EN_1_4 0x0
2073 #define MATCH_EN_1_5 0x2000 /* Pattern Match Enable Byte 1 Bit 5 */
2074 #define nMATCH_EN_1_5 0x0
2075 #define MATCH_EN_1_6 0x4000 /* Pattern Match Enable Byte 1 Bit 6 */
2076 #define nMATCH_EN_1_6 0x0
2077 #define MATCH_EN_1_7 0x8000 /* Pattern Match Enable Byte 1 Bit 7 */
2078 #define nMATCH_EN_1_7 0x0
2079 #define MATCH_EN_2_0 0x10000 /* Pattern Match Enable Byte 2 Bit 0 */
2080 #define nMATCH_EN_2_0 0x0
2081 #define MATCH_EN_2_1 0x20000 /* Pattern Match Enable Byte 2 Bit 1 */
2082 #define nMATCH_EN_2_1 0x0
2083 #define MATCH_EN_2_2 0x40000 /* Pattern Match Enable Byte 2 Bit 2 */
2084 #define nMATCH_EN_2_2 0x0
2085 #define MATCH_EN_2_3 0x80000 /* Pattern Match Enable Byte 2 Bit 3 */
2086 #define nMATCH_EN_2_3 0x0
2087 #define MATCH_EN_2_4 0x100000 /* Pattern Match Enable Byte 2 Bit 4 */
2088 #define nMATCH_EN_2_4 0x0
2089 #define MATCH_EN_2_5 0x200000 /* Pattern Match Enable Byte 2 Bit 5 */
2090 #define nMATCH_EN_2_5 0x0
2091 #define MATCH_EN_2_6 0x400000 /* Pattern Match Enable Byte 2 Bit 6 */
2092 #define nMATCH_EN_2_6 0x0
2093 #define MATCH_EN_2_7 0x800000 /* Pattern Match Enable Byte 2 Bit 7 */
2094 #define nMATCH_EN_2_7 0x0
2095 #define MATCH_EN_3_0 0x1000000 /* Pattern Match Enable Byte 3 Bit 0 */
2096 #define nMATCH_EN_3_0 0x0
2097 #define MATCH_EN_3_1 0x2000000 /* Pattern Match Enable Byte 3 Bit 1 */
2098 #define nMATCH_EN_3_1 0x0
2099 #define MATCH_EN_3_2 0x4000000 /* Pattern Match Enable Byte 3 Bit 2 */
2100 #define nMATCH_EN_3_2 0x0
2101 #define MATCH_EN_3_3 0x8000000 /* Pattern Match Enable Byte 3 Bit 3 */
2102 #define nMATCH_EN_3_3 0x0
2103 #define MATCH_EN_3_4 0x10000000 /* Pattern Match Enable Byte 3 Bit 4 */
2104 #define nMATCH_EN_3_4 0x0
2105 #define MATCH_EN_3_5 0x20000000 /* Pattern Match Enable Byte 3 Bit 5 */
2106 #define nMATCH_EN_3_5 0x0
2107 #define MATCH_EN_3_6 0x40000000 /* Pattern Match Enable Byte 3 Bit 6 */
2108 #define nMATCH_EN_3_6 0x0
2109 #define MATCH_EN_3_7 0x80000000 /* Pattern Match Enable Byte 3 Bit 7 */
2110 #define nMATCH_EN_3_7 0x0
2112 /* Bit masks for MXVR_PAT_EN_1 */
2114 #define MATCH_EN_0_0 0x1 /* Pattern Match Enable Byte 0 Bit 0 */
2115 #define nMATCH_EN_0_0 0x0
2116 #define MATCH_EN_0_1 0x2 /* Pattern Match Enable Byte 0 Bit 1 */
2117 #define nMATCH_EN_0_1 0x0
2118 #define MATCH_EN_0_2 0x4 /* Pattern Match Enable Byte 0 Bit 2 */
2119 #define nMATCH_EN_0_2 0x0
2120 #define MATCH_EN_0_3 0x8 /* Pattern Match Enable Byte 0 Bit 3 */
2121 #define nMATCH_EN_0_3 0x0
2122 #define MATCH_EN_0_4 0x10 /* Pattern Match Enable Byte 0 Bit 4 */
2123 #define nMATCH_EN_0_4 0x0
2124 #define MATCH_EN_0_5 0x20 /* Pattern Match Enable Byte 0 Bit 5 */
2125 #define nMATCH_EN_0_5 0x0
2126 #define MATCH_EN_0_6 0x40 /* Pattern Match Enable Byte 0 Bit 6 */
2127 #define nMATCH_EN_0_6 0x0
2128 #define MATCH_EN_0_7 0x80 /* Pattern Match Enable Byte 0 Bit 7 */
2129 #define nMATCH_EN_0_7 0x0
2130 #define MATCH_EN_1_0 0x100 /* Pattern Match Enable Byte 1 Bit 0 */
2131 #define nMATCH_EN_1_0 0x0
2132 #define MATCH_EN_1_1 0x200 /* Pattern Match Enable Byte 1 Bit 1 */
2133 #define nMATCH_EN_1_1 0x0
2134 #define MATCH_EN_1_2 0x400 /* Pattern Match Enable Byte 1 Bit 2 */
2135 #define nMATCH_EN_1_2 0x0
2136 #define MATCH_EN_1_3 0x800 /* Pattern Match Enable Byte 1 Bit 3 */
2137 #define nMATCH_EN_1_3 0x0
2138 #define MATCH_EN_1_4 0x1000 /* Pattern Match Enable Byte 1 Bit 4 */
2139 #define nMATCH_EN_1_4 0x0
2140 #define MATCH_EN_1_5 0x2000 /* Pattern Match Enable Byte 1 Bit 5 */
2141 #define nMATCH_EN_1_5 0x0
2142 #define MATCH_EN_1_6 0x4000 /* Pattern Match Enable Byte 1 Bit 6 */
2143 #define nMATCH_EN_1_6 0x0
2144 #define MATCH_EN_1_7 0x8000 /* Pattern Match Enable Byte 1 Bit 7 */
2145 #define nMATCH_EN_1_7 0x0
2146 #define MATCH_EN_2_0 0x10000 /* Pattern Match Enable Byte 2 Bit 0 */
2147 #define nMATCH_EN_2_0 0x0
2148 #define MATCH_EN_2_1 0x20000 /* Pattern Match Enable Byte 2 Bit 1 */
2149 #define nMATCH_EN_2_1 0x0
2150 #define MATCH_EN_2_2 0x40000 /* Pattern Match Enable Byte 2 Bit 2 */
2151 #define nMATCH_EN_2_2 0x0
2152 #define MATCH_EN_2_3 0x80000 /* Pattern Match Enable Byte 2 Bit 3 */
2153 #define nMATCH_EN_2_3 0x0
2154 #define MATCH_EN_2_4 0x100000 /* Pattern Match Enable Byte 2 Bit 4 */
2155 #define nMATCH_EN_2_4 0x0
2156 #define MATCH_EN_2_5 0x200000 /* Pattern Match Enable Byte 2 Bit 5 */
2157 #define nMATCH_EN_2_5 0x0
2158 #define MATCH_EN_2_6 0x400000 /* Pattern Match Enable Byte 2 Bit 6 */
2159 #define nMATCH_EN_2_6 0x0
2160 #define MATCH_EN_2_7 0x800000 /* Pattern Match Enable Byte 2 Bit 7 */
2161 #define nMATCH_EN_2_7 0x0
2162 #define MATCH_EN_3_0 0x1000000 /* Pattern Match Enable Byte 3 Bit 0 */
2163 #define nMATCH_EN_3_0 0x0
2164 #define MATCH_EN_3_1 0x2000000 /* Pattern Match Enable Byte 3 Bit 1 */
2165 #define nMATCH_EN_3_1 0x0
2166 #define MATCH_EN_3_2 0x4000000 /* Pattern Match Enable Byte 3 Bit 2 */
2167 #define nMATCH_EN_3_2 0x0
2168 #define MATCH_EN_3_3 0x8000000 /* Pattern Match Enable Byte 3 Bit 3 */
2169 #define nMATCH_EN_3_3 0x0
2170 #define MATCH_EN_3_4 0x10000000 /* Pattern Match Enable Byte 3 Bit 4 */
2171 #define nMATCH_EN_3_4 0x0
2172 #define MATCH_EN_3_5 0x20000000 /* Pattern Match Enable Byte 3 Bit 5 */
2173 #define nMATCH_EN_3_5 0x0
2174 #define MATCH_EN_3_6 0x40000000 /* Pattern Match Enable Byte 3 Bit 6 */
2175 #define nMATCH_EN_3_6 0x0
2176 #define MATCH_EN_3_7 0x80000000 /* Pattern Match Enable Byte 3 Bit 7 */
2177 #define nMATCH_EN_3_7 0x0
2179 /* Bit masks for MXVR_FRAME_CNT_0 */
2181 #define FCNT 0xffff /* Frame Count */
2183 /* Bit masks for MXVR_FRAME_CNT_1 */
2185 #define FCNT 0xffff /* Frame Count */
2187 /* Bit masks for MXVR_ROUTING_0 */
2189 #define TX_CH0 0x3f /* Transmit Channel 0 */
2190 #define MUTE_CH0 0x80 /* Mute Channel 0 */
2191 #define nMUTE_CH0 0x0
2192 #define TX_CH1 0x3f00 /* Transmit Channel 0 */
2193 #define MUTE_CH1 0x8000 /* Mute Channel 0 */
2194 #define nMUTE_CH1 0x0
2195 #define TX_CH2 0x3f0000 /* Transmit Channel 0 */
2196 #define MUTE_CH2 0x800000 /* Mute Channel 0 */
2197 #define nMUTE_CH2 0x0
2198 #define TX_CH3 0x3f000000 /* Transmit Channel 0 */
2199 #define MUTE_CH3 0x80000000 /* Mute Channel 0 */
2200 #define nMUTE_CH3 0x0
2202 /* Bit masks for MXVR_ROUTING_1 */
2204 #define TX_CH4 0x3f /* Transmit Channel 4 */
2205 #define MUTE_CH4 0x80 /* Mute Channel 4 */
2206 #define nMUTE_CH4 0x0
2207 #define TX_CH5 0x3f00 /* Transmit Channel 5 */
2208 #define MUTE_CH5 0x8000 /* Mute Channel 5 */
2209 #define nMUTE_CH5 0x0
2210 #define TX_CH6 0x3f0000 /* Transmit Channel 6 */
2211 #define MUTE_CH6 0x800000 /* Mute Channel 6 */
2212 #define nMUTE_CH6 0x0
2213 #define TX_CH7 0x3f000000 /* Transmit Channel 7 */
2214 #define MUTE_CH7 0x80000000 /* Mute Channel 7 */
2215 #define nMUTE_CH7 0x0
2217 /* Bit masks for MXVR_ROUTING_2 */
2219 #define TX_CH8 0x3f /* Transmit Channel 8 */
2220 #define MUTE_CH8 0x80 /* Mute Channel 8 */
2221 #define nMUTE_CH8 0x0
2222 #define TX_CH9 0x3f00 /* Transmit Channel 9 */
2223 #define MUTE_CH9 0x8000 /* Mute Channel 9 */
2224 #define nMUTE_CH9 0x0
2225 #define TX_CH10 0x3f0000 /* Transmit Channel 10 */
2226 #define MUTE_CH10 0x800000 /* Mute Channel 10 */
2227 #define nMUTE_CH10 0x0
2228 #define TX_CH11 0x3f000000 /* Transmit Channel 11 */
2229 #define MUTE_CH11 0x80000000 /* Mute Channel 11 */
2230 #define nMUTE_CH11 0x0
2232 /* Bit masks for MXVR_ROUTING_3 */
2234 #define TX_CH12 0x3f /* Transmit Channel 12 */
2235 #define MUTE_CH12 0x80 /* Mute Channel 12 */
2236 #define nMUTE_CH12 0x0
2237 #define TX_CH13 0x3f00 /* Transmit Channel 13 */
2238 #define MUTE_CH13 0x8000 /* Mute Channel 13 */
2239 #define nMUTE_CH13 0x0
2240 #define TX_CH14 0x3f0000 /* Transmit Channel 14 */
2241 #define MUTE_CH14 0x800000 /* Mute Channel 14 */
2242 #define nMUTE_CH14 0x0
2243 #define TX_CH15 0x3f000000 /* Transmit Channel 15 */
2244 #define MUTE_CH15 0x80000000 /* Mute Channel 15 */
2245 #define nMUTE_CH15 0x0
2247 /* Bit masks for MXVR_ROUTING_4 */
2249 #define TX_CH16 0x3f /* Transmit Channel 16 */
2250 #define MUTE_CH16 0x80 /* Mute Channel 16 */
2251 #define nMUTE_CH16 0x0
2252 #define TX_CH17 0x3f00 /* Transmit Channel 17 */
2253 #define MUTE_CH17 0x8000 /* Mute Channel 17 */
2254 #define nMUTE_CH17 0x0
2255 #define TX_CH18 0x3f0000 /* Transmit Channel 18 */
2256 #define MUTE_CH18 0x800000 /* Mute Channel 18 */
2257 #define nMUTE_CH18 0x0
2258 #define TX_CH19 0x3f000000 /* Transmit Channel 19 */
2259 #define MUTE_CH19 0x80000000 /* Mute Channel 19 */
2260 #define nMUTE_CH19 0x0
2262 /* Bit masks for MXVR_ROUTING_5 */
2264 #define TX_CH20 0x3f /* Transmit Channel 20 */
2265 #define MUTE_CH20 0x80 /* Mute Channel 20 */
2266 #define nMUTE_CH20 0x0
2267 #define TX_CH21 0x3f00 /* Transmit Channel 21 */
2268 #define MUTE_CH21 0x8000 /* Mute Channel 21 */
2269 #define nMUTE_CH21 0x0
2270 #define TX_CH22 0x3f0000 /* Transmit Channel 22 */
2271 #define MUTE_CH22 0x800000 /* Mute Channel 22 */
2272 #define nMUTE_CH22 0x0
2273 #define TX_CH23 0x3f000000 /* Transmit Channel 23 */
2274 #define MUTE_CH23 0x80000000 /* Mute Channel 23 */
2275 #define nMUTE_CH23 0x0
2277 /* Bit masks for MXVR_ROUTING_6 */
2279 #define TX_CH24 0x3f /* Transmit Channel 24 */
2280 #define MUTE_CH24 0x80 /* Mute Channel 24 */
2281 #define nMUTE_CH24 0x0
2282 #define TX_CH25 0x3f00 /* Transmit Channel 25 */
2283 #define MUTE_CH25 0x8000 /* Mute Channel 25 */
2284 #define nMUTE_CH25 0x0
2285 #define TX_CH26 0x3f0000 /* Transmit Channel 26 */
2286 #define MUTE_CH26 0x800000 /* Mute Channel 26 */
2287 #define nMUTE_CH26 0x0
2288 #define TX_CH27 0x3f000000 /* Transmit Channel 27 */
2289 #define MUTE_CH27 0x80000000 /* Mute Channel 27 */
2290 #define nMUTE_CH27 0x0
2292 /* Bit masks for MXVR_ROUTING_7 */
2294 #define TX_CH28 0x3f /* Transmit Channel 28 */
2295 #define MUTE_CH28 0x80 /* Mute Channel 28 */
2296 #define nMUTE_CH28 0x0
2297 #define TX_CH29 0x3f00 /* Transmit Channel 29 */
2298 #define MUTE_CH29 0x8000 /* Mute Channel 29 */
2299 #define nMUTE_CH29 0x0
2300 #define TX_CH30 0x3f0000 /* Transmit Channel 30 */
2301 #define MUTE_CH30 0x800000 /* Mute Channel 30 */
2302 #define nMUTE_CH30 0x0
2303 #define TX_CH31 0x3f000000 /* Transmit Channel 31 */
2304 #define MUTE_CH31 0x80000000 /* Mute Channel 31 */
2305 #define nMUTE_CH31 0x0
2307 /* Bit masks for MXVR_ROUTING_8 */
2309 #define TX_CH32 0x3f /* Transmit Channel 32 */
2310 #define MUTE_CH32 0x80 /* Mute Channel 32 */
2311 #define nMUTE_CH32 0x0
2312 #define TX_CH33 0x3f00 /* Transmit Channel 33 */
2313 #define MUTE_CH33 0x8000 /* Mute Channel 33 */
2314 #define nMUTE_CH33 0x0
2315 #define TX_CH34 0x3f0000 /* Transmit Channel 34 */
2316 #define MUTE_CH34 0x800000 /* Mute Channel 34 */
2317 #define nMUTE_CH34 0x0
2318 #define TX_CH35 0x3f000000 /* Transmit Channel 35 */
2319 #define MUTE_CH35 0x80000000 /* Mute Channel 35 */
2320 #define nMUTE_CH35 0x0
2322 /* Bit masks for MXVR_ROUTING_9 */
2324 #define TX_CH36 0x3f /* Transmit Channel 36 */
2325 #define MUTE_CH36 0x80 /* Mute Channel 36 */
2326 #define nMUTE_CH36 0x0
2327 #define TX_CH37 0x3f00 /* Transmit Channel 37 */
2328 #define MUTE_CH37 0x8000 /* Mute Channel 37 */
2329 #define nMUTE_CH37 0x0
2330 #define TX_CH38 0x3f0000 /* Transmit Channel 38 */
2331 #define MUTE_CH38 0x800000 /* Mute Channel 38 */
2332 #define nMUTE_CH38 0x0
2333 #define TX_CH39 0x3f000000 /* Transmit Channel 39 */
2334 #define MUTE_CH39 0x80000000 /* Mute Channel 39 */
2335 #define nMUTE_CH39 0x0
2337 /* Bit masks for MXVR_ROUTING_10 */
2339 #define TX_CH40 0x3f /* Transmit Channel 40 */
2340 #define MUTE_CH40 0x80 /* Mute Channel 40 */
2341 #define nMUTE_CH40 0x0
2342 #define TX_CH41 0x3f00 /* Transmit Channel 41 */
2343 #define MUTE_CH41 0x8000 /* Mute Channel 41 */
2344 #define nMUTE_CH41 0x0
2345 #define TX_CH42 0x3f0000 /* Transmit Channel 42 */
2346 #define MUTE_CH42 0x800000 /* Mute Channel 42 */
2347 #define nMUTE_CH42 0x0
2348 #define TX_CH43 0x3f000000 /* Transmit Channel 43 */
2349 #define MUTE_CH43 0x80000000 /* Mute Channel 43 */
2350 #define nMUTE_CH43 0x0
2352 /* Bit masks for MXVR_ROUTING_11 */
2354 #define TX_CH44 0x3f /* Transmit Channel 44 */
2355 #define MUTE_CH44 0x80 /* Mute Channel 44 */
2356 #define nMUTE_CH44 0x0
2357 #define TX_CH45 0x3f00 /* Transmit Channel 45 */
2358 #define MUTE_CH45 0x8000 /* Mute Channel 45 */
2359 #define nMUTE_CH45 0x0
2360 #define TX_CH46 0x3f0000 /* Transmit Channel 46 */
2361 #define MUTE_CH46 0x800000 /* Mute Channel 46 */
2362 #define nMUTE_CH46 0x0
2363 #define TX_CH47 0x3f000000 /* Transmit Channel 47 */
2364 #define MUTE_CH47 0x80000000 /* Mute Channel 47 */
2365 #define nMUTE_CH47 0x0
2367 /* Bit masks for MXVR_ROUTING_12 */
2369 #define TX_CH48 0x3f /* Transmit Channel 48 */
2370 #define MUTE_CH48 0x80 /* Mute Channel 48 */
2371 #define nMUTE_CH48 0x0
2372 #define TX_CH49 0x3f00 /* Transmit Channel 49 */
2373 #define MUTE_CH49 0x8000 /* Mute Channel 49 */
2374 #define nMUTE_CH49 0x0
2375 #define TX_CH50 0x3f0000 /* Transmit Channel 50 */
2376 #define MUTE_CH50 0x800000 /* Mute Channel 50 */
2377 #define nMUTE_CH50 0x0
2378 #define TX_CH51 0x3f000000 /* Transmit Channel 51 */
2379 #define MUTE_CH51 0x80000000 /* Mute Channel 51 */
2380 #define nMUTE_CH51 0x0
2382 /* Bit masks for MXVR_ROUTING_13 */
2384 #define TX_CH52 0x3f /* Transmit Channel 52 */
2385 #define MUTE_CH52 0x80 /* Mute Channel 52 */
2386 #define nMUTE_CH52 0x0
2387 #define TX_CH53 0x3f00 /* Transmit Channel 53 */
2388 #define MUTE_CH53 0x8000 /* Mute Channel 53 */
2389 #define nMUTE_CH53 0x0
2390 #define TX_CH54 0x3f0000 /* Transmit Channel 54 */
2391 #define MUTE_CH54 0x800000 /* Mute Channel 54 */
2392 #define nMUTE_CH54 0x0
2393 #define TX_CH55 0x3f000000 /* Transmit Channel 55 */
2394 #define MUTE_CH55 0x80000000 /* Mute Channel 55 */
2395 #define nMUTE_CH55 0x0
2397 /* Bit masks for MXVR_ROUTING_14 */
2399 #define TX_CH56 0x3f /* Transmit Channel 56 */
2400 #define MUTE_CH56 0x80 /* Mute Channel 56 */
2401 #define nMUTE_CH56 0x0
2402 #define TX_CH57 0x3f00 /* Transmit Channel 57 */
2403 #define MUTE_CH57 0x8000 /* Mute Channel 57 */
2404 #define nMUTE_CH57 0x0
2405 #define TX_CH58 0x3f0000 /* Transmit Channel 58 */
2406 #define MUTE_CH58 0x800000 /* Mute Channel 58 */
2407 #define nMUTE_CH58 0x0
2408 #define TX_CH59 0x3f000000 /* Transmit Channel 59 */
2409 #define MUTE_CH59 0x80000000 /* Mute Channel 59 */
2410 #define nMUTE_CH59 0x0
2412 /* Bit masks for MXVR_BLOCK_CNT */
2414 #define BCNT 0xffff /* Block Count */
2416 /* Bit masks for MXVR_CLK_CTL */
2418 #define MXTALCEN 0x1 /* MXVR Crystal Oscillator Clock Enable */
2419 #define nMXTALCEN 0x0
2420 #define MXTALFEN 0x2 /* MXVR Crystal Oscillator Feedback Enable */
2421 #define nMXTALFEN 0x0
2422 #define MXTALMUL 0x30 /* MXVR Crystal Multiplier */
2423 #define CLKX3SEL 0x80 /* Clock Generation Source Select */
2424 #define nCLKX3SEL 0x0
2425 #define MMCLKEN 0x100 /* Master Clock Enable */
2426 #define nMMCLKEN 0x0
2427 #define MMCLKMUL 0x1e00 /* Master Clock Multiplication Factor */
2428 #define PLLSMPS 0xe000 /* MXVR PLL State Machine Prescaler */
2429 #define MBCLKEN 0x10000 /* Bit Clock Enable */
2430 #define nMBCLKEN 0x0
2431 #define MBCLKDIV 0x1e0000 /* Bit Clock Divide Factor */
2432 #define INVRX 0x800000 /* Invert Receive Data */
2434 #define MFSEN 0x1000000 /* Frame Sync Enable */
2436 #define MFSDIV 0x1e000000 /* Frame Sync Divide Factor */
2437 #define MFSSEL 0x60000000 /* Frame Sync Select */
2438 #define MFSSYNC 0x80000000 /* Frame Sync Synchronization Select */
2439 #define nMFSSYNC 0x0
2441 /* Bit masks for MXVR_CDRPLL_CTL */
2443 #define CDRSMEN 0x1 /* MXVR CDRPLL State Machine Enable */
2444 #define nCDRSMEN 0x0
2445 #define CDRRSTB 0x2 /* MXVR CDRPLL Reset */
2446 #define nCDRRSTB 0x0
2447 #define CDRSVCO 0x4 /* MXVR CDRPLL Start VCO */
2448 #define nCDRSVCO 0x0
2449 #define CDRMODE 0x8 /* MXVR CDRPLL CDR Mode Select */
2450 #define nCDRMODE 0x0
2451 #define CDRSCNT 0x3f0 /* MXVR CDRPLL Start Counter */
2452 #define CDRLCNT 0xfc00 /* MXVR CDRPLL Lock Counter */
2453 #define CDRSHPSEL 0x3f0000 /* MXVR CDRPLL Shaper Select */
2454 #define CDRSHPEN 0x800000 /* MXVR CDRPLL Shaper Enable */
2455 #define nCDRSHPEN 0x0
2456 #define CDRCPSEL 0xff000000 /* MXVR CDRPLL Charge Pump Current Select */
2458 /* Bit masks for MXVR_FMPLL_CTL */
2460 #define FMSMEN 0x1 /* MXVR FMPLL State Machine Enable */
2462 #define FMRSTB 0x2 /* MXVR FMPLL Reset */
2464 #define FMSVCO 0x4 /* MXVR FMPLL Start VCO */
2466 #define FMSCNT 0x3f0 /* MXVR FMPLL Start Counter */
2467 #define FMLCNT 0xfc00 /* MXVR FMPLL Lock Counter */
2468 #define FMCPSEL 0xff000000 /* MXVR FMPLL Charge Pump Current Select */
2470 /* Bit masks for MXVR_PIN_CTL */
2472 #define MTXONBOD 0x1 /* MTXONB Open Drain Select */
2473 #define nMTXONBOD 0x0
2474 #define MTXONBG 0x2 /* MTXONB Gates MTX Select */
2475 #define nMTXONBG 0x0
2476 #define MFSOE 0x10 /* MFS Output Enable */
2478 #define MFSGPSEL 0x20 /* MFS General Purpose Output Select */
2479 #define nMFSGPSEL 0x0
2480 #define MFSGPDAT 0x40 /* MFS General Purpose Output Data */
2481 #define nMFSGPDAT 0x0
2483 /* Bit masks for MXVR_SCLK_CNT */
2485 #define SCNT 0xffff /* System Clock Count */
2487 /* Bit masks for KPAD_CTL */
2489 #define KPAD_EN 0x1 /* Keypad Enable */
2490 #define nKPAD_EN 0x0
2491 #define KPAD_IRQMODE 0x6 /* Key Press Interrupt Enable */
2492 #define KPAD_ROWEN 0x1c00 /* Row Enable Width */
2493 #define KPAD_COLEN 0xe000 /* Column Enable Width */
2495 /* Bit masks for KPAD_PRESCALE */
2497 #define KPAD_PRESCALE_VAL 0x3f /* Key Prescale Value */
2499 /* Bit masks for KPAD_MSEL */
2501 #define DBON_SCALE 0xff /* Debounce Scale Value */
2502 #define COLDRV_SCALE 0xff00 /* Column Driver Scale Value */
2504 /* Bit masks for KPAD_ROWCOL */
2506 #define KPAD_ROW 0xff /* Rows Pressed */
2507 #define KPAD_COL 0xff00 /* Columns Pressed */
2509 /* Bit masks for KPAD_STAT */
2511 #define KPAD_IRQ 0x1 /* Keypad Interrupt Status */
2512 #define nKPAD_IRQ 0x0
2513 #define KPAD_MROWCOL 0x6 /* Multiple Row/Column Keypress Status */
2514 #define KPAD_PRESSED 0x8 /* Key press current status */
2515 #define nKPAD_PRESSED 0x0
2517 /* Bit masks for KPAD_SOFTEVAL */
2519 #define KPAD_SOFTEVAL_E 0x2 /* Software Programmable Force Evaluate */
2520 #define nKPAD_SOFTEVAL_E 0x0
2522 /* Bit masks for SDH_COMMAND */
2524 #define CMD_IDX 0x3f /* Command Index */
2525 #define CMD_RSP 0x40 /* Response */
2526 #define nCMD_RSP 0x0
2527 #define CMD_L_RSP 0x80 /* Long Response */
2528 #define nCMD_L_RSP 0x0
2529 #define CMD_INT_E 0x100 /* Command Interrupt */
2530 #define nCMD_INT_E 0x0
2531 #define CMD_PEND_E 0x200 /* Command Pending */
2532 #define nCMD_PEND_E 0x0
2533 #define CMD_E 0x400 /* Command Enable */
2536 /* Bit masks for SDH_PWR_CTL */
2538 #define PWR_ON 0x3 /* Power On */
2540 #define TBD 0x3c /* TBD */
2542 #define SD_CMD_OD 0x40 /* Open Drain Output */
2543 #define nSD_CMD_OD 0x0
2544 #define ROD_CTL 0x80 /* Rod Control */
2545 #define nROD_CTL 0x0
2547 /* Bit masks for SDH_CLK_CTL */
2549 #define CLKDIV 0xff /* MC_CLK Divisor */
2550 #define CLK_E 0x100 /* MC_CLK Bus Clock Enable */
2552 #define PWR_SV_E 0x200 /* Power Save Enable */
2553 #define nPWR_SV_E 0x0
2554 #define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
2555 #define nCLKDIV_BYPASS 0x0
2556 #define WIDE_BUS 0x800 /* Wide Bus Mode Enable */
2557 #define nWIDE_BUS 0x0
2559 /* Bit masks for SDH_RESP_CMD */
2561 #define RESP_CMD 0x3f /* Response Command */
2563 /* Bit masks for SDH_DATA_CTL */
2565 #define DTX_E 0x1 /* Data Transfer Enable */
2567 #define DTX_DIR 0x2 /* Data Transfer Direction */
2568 #define nDTX_DIR 0x0
2569 #define DTX_MODE 0x4 /* Data Transfer Mode */
2570 #define nDTX_MODE 0x0
2571 #define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
2572 #define nDTX_DMA_E 0x0
2573 #define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
2575 /* Bit masks for SDH_STATUS */
2577 #define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
2578 #define nCMD_CRC_FAIL 0x0
2579 #define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
2580 #define nDAT_CRC_FAIL 0x0
2581 #define CMD_TIMEOUT 0x4 /* CMD Time Out */
2582 #define nCMD_TIMEOUT 0x0
2583 #define DAT_TIMEOUT 0x8 /* Data Time Out */
2584 #define nDAT_TIMEOUT 0x0
2585 #define TX_UNDERRUN 0x10 /* Transmit Underrun */
2586 #define nTX_UNDERRUN 0x0
2587 #define RX_OVERRUN 0x20 /* Receive Overrun */
2588 #define nRX_OVERRUN 0x0
2589 #define CMD_RESP_END 0x40 /* CMD Response End */
2590 #define nCMD_RESP_END 0x0
2591 #define CMD_SENT 0x80 /* CMD Sent */
2592 #define nCMD_SENT 0x0
2593 #define DAT_END 0x100 /* Data End */
2594 #define nDAT_END 0x0
2595 #define START_BIT_ERR 0x200 /* Start Bit Error */
2596 #define nSTART_BIT_ERR 0x0
2597 #define DAT_BLK_END 0x400 /* Data Block End */
2598 #define nDAT_BLK_END 0x0
2599 #define CMD_ACT 0x800 /* CMD Active */
2600 #define nCMD_ACT 0x0
2601 #define TX_ACT 0x1000 /* Transmit Active */
2603 #define RX_ACT 0x2000 /* Receive Active */
2605 #define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
2606 #define nTX_FIFO_STAT 0x0
2607 #define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
2608 #define nRX_FIFO_STAT 0x0
2609 #define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
2610 #define nTX_FIFO_FULL 0x0
2611 #define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
2612 #define nRX_FIFO_FULL 0x0
2613 #define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
2614 #define nTX_FIFO_ZERO 0x0
2615 #define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
2616 #define nRX_DAT_ZERO 0x0
2617 #define TX_DAT_RDY 0x100000 /* Transmit Data Available */
2618 #define nTX_DAT_RDY 0x0
2619 #define RX_FIFO_RDY 0x200000 /* Receive Data Available */
2620 #define nRX_FIFO_RDY 0x0
2622 /* Bit masks for SDH_STATUS_CLR */
2624 #define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
2625 #define nCMD_CRC_FAIL_STAT 0x0
2626 #define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
2627 #define nDAT_CRC_FAIL_STAT 0x0
2628 #define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
2629 #define nCMD_TIMEOUT_STAT 0x0
2630 #define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
2631 #define nDAT_TIMEOUT_STAT 0x0
2632 #define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
2633 #define nTX_UNDERRUN_STAT 0x0
2634 #define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
2635 #define nRX_OVERRUN_STAT 0x0
2636 #define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
2637 #define nCMD_RESP_END_STAT 0x0
2638 #define CMD_SENT_STAT 0x80 /* CMD Sent Status */
2639 #define nCMD_SENT_STAT 0x0
2640 #define DAT_END_STAT 0x100 /* Data End Status */
2641 #define nDAT_END_STAT 0x0
2642 #define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
2643 #define nSTART_BIT_ERR_STAT 0x0
2644 #define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
2645 #define nDAT_BLK_END_STAT 0x0
2647 /* Bit masks for SDH_MASK0 */
2649 #define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
2650 #define nCMD_CRC_FAIL_MASK 0x0
2651 #define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
2652 #define nDAT_CRC_FAIL_MASK 0x0
2653 #define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
2654 #define nCMD_TIMEOUT_MASK 0x0
2655 #define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
2656 #define nDAT_TIMEOUT_MASK 0x0
2657 #define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
2658 #define nTX_UNDERRUN_MASK 0x0
2659 #define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
2660 #define nRX_OVERRUN_MASK 0x0
2661 #define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
2662 #define nCMD_RESP_END_MASK 0x0
2663 #define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
2664 #define nCMD_SENT_MASK 0x0
2665 #define DAT_END_MASK 0x100 /* Data End Mask */
2666 #define nDAT_END_MASK 0x0
2667 #define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
2668 #define nSTART_BIT_ERR_MASK 0x0
2669 #define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
2670 #define nDAT_BLK_END_MASK 0x0
2671 #define CMD_ACT_MASK 0x800 /* CMD Active Mask */
2672 #define nCMD_ACT_MASK 0x0
2673 #define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
2674 #define nTX_ACT_MASK 0x0
2675 #define RX_ACT_MASK 0x2000 /* Receive Active Mask */
2676 #define nRX_ACT_MASK 0x0
2677 #define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
2678 #define nTX_FIFO_STAT_MASK 0x0
2679 #define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
2680 #define nRX_FIFO_STAT_MASK 0x0
2681 #define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
2682 #define nTX_FIFO_FULL_MASK 0x0
2683 #define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
2684 #define nRX_FIFO_FULL_MASK 0x0
2685 #define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
2686 #define nTX_FIFO_ZERO_MASK 0x0
2687 #define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
2688 #define nRX_DAT_ZERO_MASK 0x0
2689 #define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
2690 #define nTX_DAT_RDY_MASK 0x0
2691 #define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
2692 #define nRX_FIFO_RDY_MASK 0x0
2694 /* Bit masks for SDH_FIFO_CNT */
2696 #define FIFO_COUNT 0x7fff /* FIFO Count */
2698 /* Bit masks for SDH_E_STATUS */
2700 #define SDIO_INT_DET 0x2 /* SDIO Int Detected */
2701 #define nSDIO_INT_DET 0x0
2702 #define SD_CARD_DET 0x10 /* SD Card Detect */
2703 #define nSD_CARD_DET 0x0
2705 /* Bit masks for SDH_E_MASK */
2707 #define SDIO_MSK 0x2 /* Mask SDIO Int Detected */
2708 #define nSDIO_MSK 0x0
2709 #define SCD_MSK 0x40 /* Mask Card Detect */
2710 #define nSCD_MSK 0x0
2712 /* Bit masks for SDH_CFG */
2714 #define CLKS_EN 0x1 /* Clocks Enable */
2715 #define nCLKS_EN 0x0
2716 #define SD4E 0x4 /* SDIO 4-Bit Enable */
2718 #define MWE 0x8 /* Moving Window Enable */
2720 #define SD_RST 0x10 /* SDMMC Reset */
2722 #define PUP_SDDAT 0x20 /* Pull-up SD_DAT */
2723 #define nPUP_SDDAT 0x0
2724 #define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */
2725 #define nPUP_SDDAT3 0x0
2726 #define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */
2727 #define nPD_SDDAT3 0x0
2729 /* Bit masks for SDH_RD_WAIT_EN */
2731 #define RWR 0x1 /* Read Wait Request */
2734 /* Bit masks for ATAPI_CONTROL */
2736 #define PIO_START 0x1 /* Start PIO/Reg Op */
2737 #define nPIO_START 0x0
2738 #define MULTI_START 0x2 /* Start Multi-DMA Op */
2739 #define nMULTI_START 0x0
2740 #define ULTRA_START 0x4 /* Start Ultra-DMA Op */
2741 #define nULTRA_START 0x0
2742 #define XFER_DIR 0x8 /* Transfer Direction */
2743 #define nXFER_DIR 0x0
2744 #define IORDY_EN 0x10 /* IORDY Enable */
2745 #define nIORDY_EN 0x0
2746 #define FIFO_FLUSH 0x20 /* Flush FIFOs */
2747 #define nFIFO_FLUSH 0x0
2748 #define SOFT_RST 0x40 /* Soft Reset */
2749 #define nSOFT_RST 0x0
2750 #define DEV_RST 0x80 /* Device Reset */
2751 #define nDEV_RST 0x0
2752 #define TFRCNT_RST 0x100 /* Trans Count Reset */
2753 #define nTFRCNT_RST 0x0
2754 #define END_ON_TERM 0x200 /* End/Terminate Select */
2755 #define nEND_ON_TERM 0x0
2756 #define PIO_USE_DMA 0x400 /* PIO-DMA Enable */
2757 #define nPIO_USE_DMA 0x0
2758 #define UDMAIN_FIFO_THRS 0xf000 /* Ultra DMA-IN FIFO Threshold */
2760 /* Bit masks for ATAPI_STATUS */
2762 #define PIO_XFER_ON 0x1 /* PIO transfer in progress */
2763 #define nPIO_XFER_ON 0x0
2764 #define MULTI_XFER_ON 0x2 /* Multi-word DMA transfer in progress */
2765 #define nMULTI_XFER_ON 0x0
2766 #define ULTRA_XFER_ON 0x4 /* Ultra DMA transfer in progress */
2767 #define nULTRA_XFER_ON 0x0
2768 #define ULTRA_IN_FL 0xf0 /* Ultra DMA Input FIFO Level */
2770 /* Bit masks for ATAPI_DEV_ADDR */
2772 #define DEV_ADDR 0x1f /* Device Address */
2774 /* Bit masks for ATAPI_INT_MASK */
2776 #define ATAPI_DEV_INT_MASK 0x1 /* Device interrupt mask */
2777 #define nATAPI_DEV_INT_MASK 0x0
2778 #define PIO_DONE_MASK 0x2 /* PIO transfer done interrupt mask */
2779 #define nPIO_DONE_MASK 0x0
2780 #define MULTI_DONE_MASK 0x4 /* Multi-DMA transfer done interrupt mask */
2781 #define nMULTI_DONE_MASK 0x0
2782 #define UDMAIN_DONE_MASK 0x8 /* Ultra-DMA in transfer done interrupt mask */
2783 #define nUDMAIN_DONE_MASK 0x0
2784 #define UDMAOUT_DONE_MASK 0x10 /* Ultra-DMA out transfer done interrupt mask */
2785 #define nUDMAOUT_DONE_MASK 0x0
2786 #define HOST_TERM_XFER_MASK 0x20 /* Host terminate current transfer interrupt mask */
2787 #define nHOST_TERM_XFER_MASK 0x0
2788 #define MULTI_TERM_MASK 0x40 /* Device terminate Multi-DMA transfer interrupt mask */
2789 #define nMULTI_TERM_MASK 0x0
2790 #define UDMAIN_TERM_MASK 0x80 /* Device terminate Ultra-DMA-in transfer interrupt mask */
2791 #define nUDMAIN_TERM_MASK 0x0
2792 #define UDMAOUT_TERM_MASK 0x100 /* Device terminate Ultra-DMA-out transfer interrupt mask */
2793 #define nUDMAOUT_TERM_MASK 0x0
2795 /* Bit masks for ATAPI_INT_STATUS */
2797 #define ATAPI_DEV_INT 0x1 /* Device interrupt status */
2798 #define nATAPI_DEV_INT 0x0
2799 #define PIO_DONE_INT 0x2 /* PIO transfer done interrupt status */
2800 #define nPIO_DONE_INT 0x0
2801 #define MULTI_DONE_INT 0x4 /* Multi-DMA transfer done interrupt status */
2802 #define nMULTI_DONE_INT 0x0
2803 #define UDMAIN_DONE_INT 0x8 /* Ultra-DMA in transfer done interrupt status */
2804 #define nUDMAIN_DONE_INT 0x0
2805 #define UDMAOUT_DONE_INT 0x10 /* Ultra-DMA out transfer done interrupt status */
2806 #define nUDMAOUT_DONE_INT 0x0
2807 #define HOST_TERM_XFER_INT 0x20 /* Host terminate current transfer interrupt status */
2808 #define nHOST_TERM_XFER_INT 0x0
2809 #define MULTI_TERM_INT 0x40 /* Device terminate Multi-DMA transfer interrupt status */
2810 #define nMULTI_TERM_INT 0x0
2811 #define UDMAIN_TERM_INT 0x80 /* Device terminate Ultra-DMA-in transfer interrupt status */
2812 #define nUDMAIN_TERM_INT 0x0
2813 #define UDMAOUT_TERM_INT 0x100 /* Device terminate Ultra-DMA-out transfer interrupt status */
2814 #define nUDMAOUT_TERM_INT 0x0
2816 /* Bit masks for ATAPI_LINE_STATUS */
2818 #define ATAPI_INTR 0x1 /* Device interrupt to host line status */
2819 #define nATAPI_INTR 0x0
2820 #define ATAPI_DASP 0x2 /* Device dasp to host line status */
2821 #define nATAPI_DASP 0x0
2822 #define ATAPI_CS0N 0x4 /* ATAPI chip select 0 line status */
2823 #define nATAPI_CS0N 0x0
2824 #define ATAPI_CS1N 0x8 /* ATAPI chip select 1 line status */
2825 #define nATAPI_CS1N 0x0
2826 #define ATAPI_ADDR 0x70 /* ATAPI address line status */
2827 #define ATAPI_DMAREQ 0x80 /* ATAPI DMA request line status */
2828 #define nATAPI_DMAREQ 0x0
2829 #define ATAPI_DMAACKN 0x100 /* ATAPI DMA acknowledge line status */
2830 #define nATAPI_DMAACKN 0x0
2831 #define ATAPI_DIOWN 0x200 /* ATAPI write line status */
2832 #define nATAPI_DIOWN 0x0
2833 #define ATAPI_DIORN 0x400 /* ATAPI read line status */
2834 #define nATAPI_DIORN 0x0
2835 #define ATAPI_IORDY 0x800 /* ATAPI IORDY line status */
2836 #define nATAPI_IORDY 0x0
2838 /* Bit masks for ATAPI_SM_STATE */
2840 #define PIO_CSTATE 0xf /* PIO mode state machine current state */
2841 #define DMA_CSTATE 0xf0 /* DMA mode state machine current state */
2842 #define UDMAIN_CSTATE 0xf00 /* Ultra DMA-In mode state machine current state */
2843 #define UDMAOUT_CSTATE 0xf000 /* ATAPI IORDY line status */
2845 /* Bit masks for ATAPI_TERMINATE */
2847 #define ATAPI_HOST_TERM 0x1 /* Host terminationation */
2848 #define nATAPI_HOST_TERM 0x0
2850 /* Bit masks for ATAPI_REG_TIM_0 */
2852 #define T2_REG 0xff /* End of cycle time for register access transfers */
2853 #define TEOC_REG 0xff00 /* Selects DIOR/DIOW pulsewidth */
2855 /* Bit masks for ATAPI_PIO_TIM_0 */
2857 #define T1_REG 0xf /* Time from address valid to DIOR/DIOW */
2858 #define T2_REG_PIO 0xff0 /* DIOR/DIOW pulsewidth */
2859 #define T4_REG 0xf000 /* DIOW data hold */
2861 /* Bit masks for ATAPI_PIO_TIM_1 */
2863 #define TEOC_REG_PIO 0xff /* End of cycle time for PIO access transfers. */
2865 /* Bit masks for ATAPI_MULTI_TIM_0 */
2867 #define TD 0xff /* DIOR/DIOW asserted pulsewidth */
2868 #define TM 0xff00 /* Time from address valid to DIOR/DIOW */
2870 /* Bit masks for ATAPI_MULTI_TIM_1 */
2872 #define TKW 0xff /* Selects DIOW negated pulsewidth */
2873 #define TKR 0xff00 /* Selects DIOR negated pulsewidth */
2875 /* Bit masks for ATAPI_MULTI_TIM_2 */
2877 #define TH 0xff /* Selects DIOW data hold */
2878 #define TEOC 0xff00 /* Selects end of cycle for DMA */
2880 /* Bit masks for ATAPI_ULTRA_TIM_0 */
2882 #define TACK 0xff /* Selects setup and hold times for TACK */
2883 #define TENV 0xff00 /* Selects envelope time */
2885 /* Bit masks for ATAPI_ULTRA_TIM_1 */
2887 #define TDVS 0xff /* Selects data valid setup time */
2888 #define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */
2890 /* Bit masks for ATAPI_ULTRA_TIM_2 */
2892 #define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */
2893 #define TMLI 0xff00 /* Selects interlock time */
2895 /* Bit masks for ATAPI_ULTRA_TIM_3 */
2897 #define TZAH 0xff /* Selects minimum delay required for output */
2898 #define READY_PAUSE 0xff00 /* Selects ready to pause */
2900 /* Bit masks for TIMER_ENABLE1 */
2902 #define TIMEN8 0x1 /* Timer 8 Enable */
2904 #define TIMEN9 0x2 /* Timer 9 Enable */
2906 #define TIMEN10 0x4 /* Timer 10 Enable */
2907 #define nTIMEN10 0x0
2909 /* Bit masks for TIMER_DISABLE1 */
2911 #define TIMDIS8 0x1 /* Timer 8 Disable */
2912 #define nTIMDIS8 0x0
2913 #define TIMDIS9 0x2 /* Timer 9 Disable */
2914 #define nTIMDIS9 0x0
2915 #define TIMDIS10 0x4 /* Timer 10 Disable */
2916 #define nTIMDIS10 0x0
2918 /* Bit masks for TIMER_STATUS1 */
2920 #define TIMIL8 0x1 /* Timer 8 Interrupt */
2922 #define TIMIL9 0x2 /* Timer 9 Interrupt */
2924 #define TIMIL10 0x4 /* Timer 10 Interrupt */
2925 #define nTIMIL10 0x0
2926 #define TOVF_ERR8 0x10 /* Timer 8 Counter Overflow */
2927 #define nTOVF_ERR8 0x0
2928 #define TOVF_ERR9 0x20 /* Timer 9 Counter Overflow */
2929 #define nTOVF_ERR9 0x0
2930 #define TOVF_ERR10 0x40 /* Timer 10 Counter Overflow */
2931 #define nTOVF_ERR10 0x0
2932 #define TRUN8 0x1000 /* Timer 8 Slave Enable Status */
2934 #define TRUN9 0x2000 /* Timer 9 Slave Enable Status */
2936 #define TRUN10 0x4000 /* Timer 10 Slave Enable Status */
2939 /* Bit masks for EPPI0 are obtained from common base header for EPPIx (EPPI1 and EPPI2) */
2941 /* Bit masks for USB_FADDR */
2943 #define FUNCTION_ADDRESS 0x7f /* Function address */
2945 /* Bit masks for USB_POWER */
2947 #define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
2948 #define nENABLE_SUSPENDM 0x0
2949 #define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
2950 #define nSUSPEND_MODE 0x0
2951 #define RESUME_MODE 0x4 /* DMA Mode */
2952 #define nRESUME_MODE 0x0
2953 #define RESET 0x8 /* Reset indicator */
2955 #define HS_MODE 0x10 /* High Speed mode indicator */
2956 #define nHS_MODE 0x0
2957 #define HS_ENABLE 0x20 /* high Speed Enable */
2958 #define nHS_ENABLE 0x0
2959 #define SOFT_CONN 0x40 /* Soft connect */
2960 #define nSOFT_CONN 0x0
2961 #define ISO_UPDATE 0x80 /* Isochronous update */
2962 #define nISO_UPDATE 0x0
2964 /* Bit masks for USB_INTRTX */
2966 #define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
2968 #define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
2970 #define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
2972 #define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
2974 #define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
2976 #define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
2978 #define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
2980 #define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
2983 /* Bit masks for USB_INTRRX */
2985 #define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
2987 #define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
2989 #define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
2991 #define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
2993 #define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
2995 #define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
2997 #define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
3000 /* Bit masks for USB_INTRTXE */
3002 #define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
3003 #define nEP0_TX_E 0x0
3004 #define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
3005 #define nEP1_TX_E 0x0
3006 #define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
3007 #define nEP2_TX_E 0x0
3008 #define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
3009 #define nEP3_TX_E 0x0
3010 #define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
3011 #define nEP4_TX_E 0x0
3012 #define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
3013 #define nEP5_TX_E 0x0
3014 #define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
3015 #define nEP6_TX_E 0x0
3016 #define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
3017 #define nEP7_TX_E 0x0
3019 /* Bit masks for USB_INTRRXE */
3021 #define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
3022 #define nEP1_RX_E 0x0
3023 #define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
3024 #define nEP2_RX_E 0x0
3025 #define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
3026 #define nEP3_RX_E 0x0
3027 #define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
3028 #define nEP4_RX_E 0x0
3029 #define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
3030 #define nEP5_RX_E 0x0
3031 #define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
3032 #define nEP6_RX_E 0x0
3033 #define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
3034 #define nEP7_RX_E 0x0
3036 /* Bit masks for USB_INTRUSB */
3038 #define SUSPEND_B 0x1 /* Suspend indicator */
3039 #define nSUSPEND_B 0x0
3040 #define RESUME_B 0x2 /* Resume indicator */
3041 #define nRESUME_B 0x0
3042 #define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
3043 #define nRESET_OR_BABLE_B 0x0
3044 #define SOF_B 0x8 /* Start of frame */
3046 #define CONN_B 0x10 /* Connection indicator */
3048 #define DISCON_B 0x20 /* Disconnect indicator */
3049 #define nDISCON_B 0x0
3050 #define SESSION_REQ_B 0x40 /* Session Request */
3051 #define nSESSION_REQ_B 0x0
3052 #define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
3053 #define nVBUS_ERROR_B 0x0
3055 /* Bit masks for USB_INTRUSBE */
3057 #define SUSPEND_BE 0x1 /* Suspend indicator int enable */
3058 #define nSUSPEND_BE 0x0
3059 #define RESUME_BE 0x2 /* Resume indicator int enable */
3060 #define nRESUME_BE 0x0
3061 #define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
3062 #define nRESET_OR_BABLE_BE 0x0
3063 #define SOF_BE 0x8 /* Start of frame int enable */
3065 #define CONN_BE 0x10 /* Connection indicator int enable */
3066 #define nCONN_BE 0x0
3067 #define DISCON_BE 0x20 /* Disconnect indicator int enable */
3068 #define nDISCON_BE 0x0
3069 #define SESSION_REQ_BE 0x40 /* Session Request int enable */
3070 #define nSESSION_REQ_BE 0x0
3071 #define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
3072 #define nVBUS_ERROR_BE 0x0
3074 /* Bit masks for USB_FRAME */
3076 #define FRAME_NUMBER 0x7ff /* Frame number */
3078 /* Bit masks for USB_INDEX */
3080 #define SELECTED_ENDPOINT 0xf /* selected endpoint */
3082 /* Bit masks for USB_GLOBAL_CTL */
3084 #define GLOBAL_ENA 0x1 /* enables USB module */
3085 #define nGLOBAL_ENA 0x0
3086 #define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
3087 #define nEP1_TX_ENA 0x0
3088 #define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
3089 #define nEP2_TX_ENA 0x0
3090 #define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
3091 #define nEP3_TX_ENA 0x0
3092 #define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
3093 #define nEP4_TX_ENA 0x0
3094 #define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
3095 #define nEP5_TX_ENA 0x0
3096 #define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
3097 #define nEP6_TX_ENA 0x0
3098 #define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
3099 #define nEP7_TX_ENA 0x0
3100 #define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
3101 #define nEP1_RX_ENA 0x0
3102 #define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
3103 #define nEP2_RX_ENA 0x0
3104 #define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
3105 #define nEP3_RX_ENA 0x0
3106 #define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
3107 #define nEP4_RX_ENA 0x0
3108 #define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
3109 #define nEP5_RX_ENA 0x0
3110 #define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
3111 #define nEP6_RX_ENA 0x0
3112 #define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
3113 #define nEP7_RX_ENA 0x0
3115 /* Bit masks for USB_OTG_DEV_CTL */
3117 #define SESSION 0x1 /* session indicator */
3118 #define nSESSION 0x0
3119 #define HOST_REQ 0x2 /* Host negotiation request */
3120 #define nHOST_REQ 0x0
3121 #define HOST_MODE 0x4 /* indicates USBDRC is a host */
3122 #define nHOST_MODE 0x0
3123 #define VBUS0 0x8 /* Vbus level indicator[0] */
3125 #define VBUS1 0x10 /* Vbus level indicator[1] */
3127 #define LSDEV 0x20 /* Low-speed indicator */
3129 #define FSDEV 0x40 /* Full or High-speed indicator */
3131 #define B_DEVICE 0x80 /* A' or 'B' device indicator */
3132 #define nB_DEVICE 0x0
3134 /* Bit masks for USB_OTG_VBUS_IRQ */
3136 #define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
3137 #define nDRIVE_VBUS_ON 0x0
3138 #define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
3139 #define nDRIVE_VBUS_OFF 0x0
3140 #define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
3141 #define nCHRG_VBUS_START 0x0
3142 #define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
3143 #define nCHRG_VBUS_END 0x0
3144 #define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
3145 #define nDISCHRG_VBUS_START 0x0
3146 #define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
3147 #define nDISCHRG_VBUS_END 0x0
3149 /* Bit masks for USB_OTG_VBUS_MASK */
3151 #define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
3152 #define nDRIVE_VBUS_ON_ENA 0x0
3153 #define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
3154 #define nDRIVE_VBUS_OFF_ENA 0x0
3155 #define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
3156 #define nCHRG_VBUS_START_ENA 0x0
3157 #define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
3158 #define nCHRG_VBUS_END_ENA 0x0
3159 #define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
3160 #define nDISCHRG_VBUS_START_ENA 0x0
3161 #define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
3162 #define nDISCHRG_VBUS_END_ENA 0x0
3164 /* Bit masks for USB_CSR0 */
3166 #define RXPKTRDY 0x1 /* data packet receive indicator */
3167 #define nRXPKTRDY 0x0
3168 #define TXPKTRDY 0x2 /* data packet in FIFO indicator */
3169 #define nTXPKTRDY 0x0
3170 #define STALL_SENT 0x4 /* STALL handshake sent */
3171 #define nSTALL_SENT 0x0
3172 #define DATAEND 0x8 /* Data end indicator */
3173 #define nDATAEND 0x0
3174 #define SETUPEND 0x10 /* Setup end */
3175 #define nSETUPEND 0x0
3176 #define SENDSTALL 0x20 /* Send STALL handshake */
3177 #define nSENDSTALL 0x0
3178 #define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
3179 #define nSERVICED_RXPKTRDY 0x0
3180 #define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
3181 #define nSERVICED_SETUPEND 0x0
3182 #define FLUSHFIFO 0x100 /* flush endpoint FIFO */
3183 #define nFLUSHFIFO 0x0
3184 #define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
3185 #define nSTALL_RECEIVED_H 0x0
3186 #define SETUPPKT_H 0x8 /* send Setup token host mode */
3187 #define nSETUPPKT_H 0x0
3188 #define ERROR_H 0x10 /* timeout error indicator host mode */
3189 #define nERROR_H 0x0
3190 #define REQPKT_H 0x20 /* Request an IN transaction host mode */
3191 #define nREQPKT_H 0x0
3192 #define STATUSPKT_H 0x40 /* Status stage transaction host mode */
3193 #define nSTATUSPKT_H 0x0
3194 #define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
3195 #define nNAK_TIMEOUT_H 0x0
3197 /* Bit masks for USB_COUNT0 */
3199 #define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
3201 /* Bit masks for USB_NAKLIMIT0 */
3203 #define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
3205 /* Bit masks for USB_TX_MAX_PACKET */
3207 #define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
3209 /* Bit masks for USB_RX_MAX_PACKET */
3211 #define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
3213 /* Bit masks for USB_TXCSR */
3215 #define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
3216 #define nTXPKTRDY_T 0x0
3217 #define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
3218 #define nFIFO_NOT_EMPTY_T 0x0
3219 #define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
3220 #define nUNDERRUN_T 0x0
3221 #define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
3222 #define nFLUSHFIFO_T 0x0
3223 #define STALL_SEND_T 0x10 /* issue a Stall handshake */
3224 #define nSTALL_SEND_T 0x0
3225 #define STALL_SENT_T 0x20 /* Stall handshake transmitted */
3226 #define nSTALL_SENT_T 0x0
3227 #define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
3228 #define nCLEAR_DATATOGGLE_T 0x0
3229 #define INCOMPTX_T 0x80 /* indicates that a large packet is split */
3230 #define nINCOMPTX_T 0x0
3231 #define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
3232 #define nDMAREQMODE_T 0x0
3233 #define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
3234 #define nFORCE_DATATOGGLE_T 0x0
3235 #define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
3236 #define nDMAREQ_ENA_T 0x0
3237 #define ISO_T 0x4000 /* enable Isochronous transfers */
3239 #define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
3240 #define nAUTOSET_T 0x0
3241 #define ERROR_TH 0x4 /* error condition host mode */
3242 #define nERROR_TH 0x0
3243 #define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
3244 #define nSTALL_RECEIVED_TH 0x0
3245 #define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
3246 #define nNAK_TIMEOUT_TH 0x0
3248 /* Bit masks for USB_TXCOUNT */
3250 #define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
3252 /* Bit masks for USB_RXCSR */
3254 #define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
3255 #define nRXPKTRDY_R 0x0
3256 #define FIFO_FULL_R 0x2 /* FIFO not empty */
3257 #define nFIFO_FULL_R 0x0
3258 #define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
3259 #define nOVERRUN_R 0x0
3260 #define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
3261 #define nDATAERROR_R 0x0
3262 #define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
3263 #define nFLUSHFIFO_R 0x0
3264 #define STALL_SEND_R 0x20 /* issue a Stall handshake */
3265 #define nSTALL_SEND_R 0x0
3266 #define STALL_SENT_R 0x40 /* Stall handshake transmitted */
3267 #define nSTALL_SENT_R 0x0
3268 #define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
3269 #define nCLEAR_DATATOGGLE_R 0x0
3270 #define INCOMPRX_R 0x100 /* indicates that a large packet is split */
3271 #define nINCOMPRX_R 0x0
3272 #define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
3273 #define nDMAREQMODE_R 0x0
3274 #define DISNYET_R 0x1000 /* disable Nyet handshakes */
3275 #define nDISNYET_R 0x0
3276 #define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
3277 #define nDMAREQ_ENA_R 0x0
3278 #define ISO_R 0x4000 /* enable Isochronous transfers */
3280 #define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
3281 #define nAUTOCLEAR_R 0x0
3282 #define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
3283 #define nERROR_RH 0x0
3284 #define REQPKT_RH 0x20 /* request an IN transaction host mode */
3285 #define nREQPKT_RH 0x0
3286 #define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
3287 #define nSTALL_RECEIVED_RH 0x0
3288 #define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
3289 #define nINCOMPRX_RH 0x0
3290 #define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
3291 #define nDMAREQMODE_RH 0x0
3292 #define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
3293 #define nAUTOREQ_RH 0x0
3295 /* Bit masks for USB_RXCOUNT */
3297 #define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
3299 /* Bit masks for USB_TXTYPE */
3301 #define TARGET_EP_NO_T 0xf /* EP number */
3302 #define PROTOCOL_T 0xc /* transfer type */
3304 /* Bit masks for USB_TXINTERVAL */
3306 #define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
3308 /* Bit masks for USB_RXTYPE */
3310 #define TARGET_EP_NO_R 0xf /* EP number */
3311 #define PROTOCOL_R 0xc /* transfer type */
3313 /* Bit masks for USB_RXINTERVAL */
3315 #define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
3317 /* Bit masks for USB_DMA_INTERRUPT */
3319 #define DMA0_INT 0x1 /* DMA0 pending interrupt */
3320 #define nDMA0_INT 0x0
3321 #define DMA1_INT 0x2 /* DMA1 pending interrupt */
3322 #define nDMA1_INT 0x0
3323 #define DMA2_INT 0x4 /* DMA2 pending interrupt */
3324 #define nDMA2_INT 0x0
3325 #define DMA3_INT 0x8 /* DMA3 pending interrupt */
3326 #define nDMA3_INT 0x0
3327 #define DMA4_INT 0x10 /* DMA4 pending interrupt */
3328 #define nDMA4_INT 0x0
3329 #define DMA5_INT 0x20 /* DMA5 pending interrupt */
3330 #define nDMA5_INT 0x0
3331 #define DMA6_INT 0x40 /* DMA6 pending interrupt */
3332 #define nDMA6_INT 0x0
3333 #define DMA7_INT 0x80 /* DMA7 pending interrupt */
3334 #define nDMA7_INT 0x0
3336 /* Bit masks for USB_DMAxCONTROL */
3338 #define DMA_ENA 0x1 /* DMA enable */
3339 #define nDMA_ENA 0x0
3340 #define DIRECTION 0x2 /* direction of DMA transfer */
3341 #define nDIRECTION 0x0
3342 #define MODE 0x4 /* DMA Bus error */
3344 #define INT_ENA 0x8 /* Interrupt enable */
3345 #define nINT_ENA 0x0
3346 #define EPNUM 0xf0 /* EP number */
3347 #define BUSERROR 0x100 /* DMA Bus error */
3348 #define nBUSERROR 0x0
3350 /* Bit masks for USB_DMAxADDRHIGH */
3352 #define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
3354 /* Bit masks for USB_DMAxADDRLOW */
3356 #define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
3358 /* Bit masks for USB_DMAxCOUNTHIGH */
3360 #define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
3362 /* Bit masks for USB_DMAxCOUNTLOW */
3364 #define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
3366 /* Bit masks for HMDMAx_CONTROL */
3368 #define HMDMAEN 0x1 /* Handshake MDMA Enable */
3369 #define nHMDMAEN 0x0
3370 #define REP 0x2 /* Handshake MDMA Request Polarity */
3372 #define UTE 0x8 /* Urgency Threshold Enable */
3374 #define OIE 0x10 /* Overflow Interrupt Enable */
3376 #define BDIE 0x20 /* Block Done Interrupt Enable */
3378 #define MBDI 0x40 /* Mask Block Done Interrupt */
3380 #define DRQ 0x300 /* Handshake MDMA Request Type */
3381 #define RBC 0x1000 /* Force Reload of BCOUNT */
3383 #define PS 0x2000 /* Pin Status */
3385 #define OI 0x4000 /* Overflow Interrupt Generated */
3387 #define BDI 0x8000 /* Block Done Interrupt Generated */
3390 /* ******************************************* */
3391 /* MULTI BIT MACRO ENUMERATIONS */
3392 /* ******************************************* */
3394 /* ************************ */
3395 /* MXVR Address Offsets */
3396 /* ************************ */
3398 /* Control Message Receive Buffer (CMRB) Address Offsets */
3400 #define CMRB_STRIDE 0x00000016lu
3402 #define CMRB_DST_OFFSET 0x00000000lu
3403 #define CMRB_SRC_OFFSET 0x00000002lu
3404 #define CMRB_DATA_OFFSET 0x00000005lu
3406 /* Control Message Transmit Buffer (CMTB) Address Offsets */
3408 #define CMTB_PRIO_OFFSET 0x00000000lu
3409 #define CMTB_DST_OFFSET 0x00000002lu
3410 #define CMTB_SRC_OFFSET 0x00000004lu
3411 #define CMTB_TYPE_OFFSET 0x00000006lu
3412 #define CMTB_DATA_OFFSET 0x00000007lu
3414 #define CMTB_ANSWER_OFFSET 0x0000000Alu
3416 #define CMTB_STAT_N_OFFSET 0x00000018lu
3417 #define CMTB_STAT_A_OFFSET 0x00000016lu
3418 #define CMTB_STAT_D_OFFSET 0x0000000Elu
3419 #define CMTB_STAT_R_OFFSET 0x00000014lu
3420 #define CMTB_STAT_W_OFFSET 0x00000014lu
3421 #define CMTB_STAT_G_OFFSET 0x00000014lu
3423 /* Asynchronous Packet Receive Buffer (APRB) Address Offsets */
3425 #define APRB_STRIDE 0x00000400lu
3427 #define APRB_DST_OFFSET 0x00000000lu
3428 #define APRB_LEN_OFFSET 0x00000002lu
3429 #define APRB_SRC_OFFSET 0x00000004lu
3430 #define APRB_DATA_OFFSET 0x00000006lu
3432 /* Asynchronous Packet Transmit Buffer (APTB) Address Offsets */
3434 #define APTB_PRIO_OFFSET 0x00000000lu
3435 #define APTB_DST_OFFSET 0x00000002lu
3436 #define APTB_LEN_OFFSET 0x00000004lu
3437 #define APTB_SRC_OFFSET 0x00000006lu
3438 #define APTB_DATA_OFFSET 0x00000008lu
3440 /* Remote Read Buffer (RRDB) Address Offsets */
3442 #define RRDB_WADDR_OFFSET 0x00000100lu
3443 #define RRDB_WLEN_OFFSET 0x00000101lu
3445 /* **************** */
3447 /* **************** */
3449 /* MXVR_CONFIG Macros */
3451 #define SET_MSB(x) ( ( (x) & 0xF ) << 9)
3453 /* MXVR_INT_STAT_1 Macros */
3455 #define DONEX(x) (0x00000002 << (4 * (x)))
3456 #define HDONEX(x) (0x00000001 << (4 * (x)))
3458 /* MXVR_INT_EN_1 Macros */
3460 #define DONEENX(x) (0x00000002 << (4 * (x)))
3461 #define HDONEENX(x) (0x00000001 << (4 * (x)))
3463 /* MXVR_CDRPLL_CTL Macros */
3465 #define SET_CDRSHPSEL(x) ( ( (x) & 0x3F ) << 16)
3467 /* MXVR_FMPLL_CTL Macros */
3469 #define SET_CDRCPSEL(x) ( ( (x) & 0xFF ) << 24)
3470 #define SET_FMCPSEL(x) ( ( (x) & 0xFF ) << 24)
3472 #endif /* _DEF_BF549_H */