blob: 211ba884edc9223f4c14f2fe47ba9abdac844e00 [file] [log] [blame]
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001/* DO NOT EDIT THIS FILE
2 * Automatically generated by generate-cdef-headers.xsl
3 * DO NOT EDIT THIS FILE
4 */
5
6#ifndef __BFIN_CDEF_ADSP_BF561_proc__
7#define __BFIN_CDEF_ADSP_BF561_proc__
8
9#include "../mach-common/ADSP-EDN-core_cdef.h"
10
Mike Frysingere45613c2010-07-26 01:27:17 -040011#define bfin_read_PLL_CTL() bfin_read16(PLL_CTL)
12#define bfin_write_PLL_CTL(val) bfin_write16(PLL_CTL, val)
13#define bfin_read_PLL_DIV() bfin_read16(PLL_DIV)
14#define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val)
15#define bfin_read_VR_CTL() bfin_read16(VR_CTL)
16#define bfin_write_VR_CTL(val) bfin_write16(VR_CTL, val)
17#define bfin_read_PLL_STAT() bfin_read16(PLL_STAT)
18#define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val)
19#define bfin_read_PLL_LOCKCNT() bfin_read16(PLL_LOCKCNT)
20#define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
21#define bfin_read_CHIPID() bfin_read32(CHIPID)
22#define bfin_write_CHIPID(val) bfin_write32(CHIPID, val)
23#define bfin_read_SPI_CTL() bfin_read16(SPI_CTL)
24#define bfin_write_SPI_CTL(val) bfin_write16(SPI_CTL, val)
25#define bfin_read_SPI_FLG() bfin_read16(SPI_FLG)
26#define bfin_write_SPI_FLG(val) bfin_write16(SPI_FLG, val)
27#define bfin_read_SPI_STAT() bfin_read16(SPI_STAT)
28#define bfin_write_SPI_STAT(val) bfin_write16(SPI_STAT, val)
29#define bfin_read_SPI_TDBR() bfin_read16(SPI_TDBR)
30#define bfin_write_SPI_TDBR(val) bfin_write16(SPI_TDBR, val)
31#define bfin_read_SPI_RDBR() bfin_read16(SPI_RDBR)
32#define bfin_write_SPI_RDBR(val) bfin_write16(SPI_RDBR, val)
33#define bfin_read_SPI_BAUD() bfin_read16(SPI_BAUD)
34#define bfin_write_SPI_BAUD(val) bfin_write16(SPI_BAUD, val)
35#define bfin_read_SPI_SHADOW() bfin_read16(SPI_SHADOW)
36#define bfin_write_SPI_SHADOW(val) bfin_write16(SPI_SHADOW, val)
37#define bfin_read_WDOGA_CTL() bfin_read16(WDOGA_CTL)
38#define bfin_write_WDOGA_CTL(val) bfin_write16(WDOGA_CTL, val)
39#define bfin_read_WDOGA_CNT() bfin_read32(WDOGA_CNT)
40#define bfin_write_WDOGA_CNT(val) bfin_write32(WDOGA_CNT, val)
41#define bfin_read_WDOGA_STAT() bfin_read32(WDOGA_STAT)
42#define bfin_write_WDOGA_STAT(val) bfin_write32(WDOGA_STAT, val)
43#define bfin_read_WDOGB_CTL() bfin_read16(WDOGB_CTL)
44#define bfin_write_WDOGB_CTL(val) bfin_write16(WDOGB_CTL, val)
45#define bfin_read_WDOGB_CNT() bfin_read32(WDOGB_CNT)
46#define bfin_write_WDOGB_CNT(val) bfin_write32(WDOGB_CNT, val)
47#define bfin_read_WDOGB_STAT() bfin_read32(WDOGB_STAT)
48#define bfin_write_WDOGB_STAT(val) bfin_write32(WDOGB_STAT, val)
49#define bfin_read_DMA1_TC_PER() bfin_read16(DMA1_TC_PER)
50#define bfin_write_DMA1_TC_PER(val) bfin_write16(DMA1_TC_PER, val)
51#define bfin_read_DMA1_TC_CNT() bfin_read16(DMA1_TC_CNT)
52#define bfin_write_DMA1_TC_CNT(val) bfin_write16(DMA1_TC_CNT, val)
53#define bfin_read_DMA1_0_CONFIG() bfin_read16(DMA1_0_CONFIG)
54#define bfin_write_DMA1_0_CONFIG(val) bfin_write16(DMA1_0_CONFIG, val)
55#define bfin_read_DMA1_0_NEXT_DESC_PTR() bfin_readPTR(DMA1_0_NEXT_DESC_PTR)
56#define bfin_write_DMA1_0_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_0_NEXT_DESC_PTR, val)
57#define bfin_read_DMA1_0_START_ADDR() bfin_readPTR(DMA1_0_START_ADDR)
58#define bfin_write_DMA1_0_START_ADDR(val) bfin_writePTR(DMA1_0_START_ADDR, val)
59#define bfin_read_DMA1_0_X_COUNT() bfin_read16(DMA1_0_X_COUNT)
60#define bfin_write_DMA1_0_X_COUNT(val) bfin_write16(DMA1_0_X_COUNT, val)
61#define bfin_read_DMA1_0_Y_COUNT() bfin_read16(DMA1_0_Y_COUNT)
62#define bfin_write_DMA1_0_Y_COUNT(val) bfin_write16(DMA1_0_Y_COUNT, val)
63#define bfin_read_DMA1_0_X_MODIFY() bfin_read16(DMA1_0_X_MODIFY)
64#define bfin_write_DMA1_0_X_MODIFY(val) bfin_write16(DMA1_0_X_MODIFY, val)
65#define bfin_read_DMA1_0_Y_MODIFY() bfin_read16(DMA1_0_Y_MODIFY)
66#define bfin_write_DMA1_0_Y_MODIFY(val) bfin_write16(DMA1_0_Y_MODIFY, val)
67#define bfin_read_DMA1_0_CURR_DESC_PTR() bfin_readPTR(DMA1_0_CURR_DESC_PTR)
68#define bfin_write_DMA1_0_CURR_DESC_PTR(val) bfin_writePTR(DMA1_0_CURR_DESC_PTR, val)
69#define bfin_read_DMA1_0_CURR_ADDR() bfin_readPTR(DMA1_0_CURR_ADDR)
70#define bfin_write_DMA1_0_CURR_ADDR(val) bfin_writePTR(DMA1_0_CURR_ADDR, val)
71#define bfin_read_DMA1_0_CURR_X_COUNT() bfin_read16(DMA1_0_CURR_X_COUNT)
72#define bfin_write_DMA1_0_CURR_X_COUNT(val) bfin_write16(DMA1_0_CURR_X_COUNT, val)
73#define bfin_read_DMA1_0_CURR_Y_COUNT() bfin_read16(DMA1_0_CURR_Y_COUNT)
74#define bfin_write_DMA1_0_CURR_Y_COUNT(val) bfin_write16(DMA1_0_CURR_Y_COUNT, val)
75#define bfin_read_DMA1_0_IRQ_STATUS() bfin_read16(DMA1_0_IRQ_STATUS)
76#define bfin_write_DMA1_0_IRQ_STATUS(val) bfin_write16(DMA1_0_IRQ_STATUS, val)
77#define bfin_read_DMA1_0_PERIPHERAL_MAP() bfin_read16(DMA1_0_PERIPHERAL_MAP)
78#define bfin_write_DMA1_0_PERIPHERAL_MAP(val) bfin_write16(DMA1_0_PERIPHERAL_MAP, val)
79#define bfin_read_DMA1_1_CONFIG() bfin_read16(DMA1_1_CONFIG)
80#define bfin_write_DMA1_1_CONFIG(val) bfin_write16(DMA1_1_CONFIG, val)
81#define bfin_read_DMA1_1_NEXT_DESC_PTR() bfin_readPTR(DMA1_1_NEXT_DESC_PTR)
82#define bfin_write_DMA1_1_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_1_NEXT_DESC_PTR, val)
83#define bfin_read_DMA1_1_START_ADDR() bfin_readPTR(DMA1_1_START_ADDR)
84#define bfin_write_DMA1_1_START_ADDR(val) bfin_writePTR(DMA1_1_START_ADDR, val)
85#define bfin_read_DMA1_1_X_COUNT() bfin_read16(DMA1_1_X_COUNT)
86#define bfin_write_DMA1_1_X_COUNT(val) bfin_write16(DMA1_1_X_COUNT, val)
87#define bfin_read_DMA1_1_Y_COUNT() bfin_read16(DMA1_1_Y_COUNT)
88#define bfin_write_DMA1_1_Y_COUNT(val) bfin_write16(DMA1_1_Y_COUNT, val)
89#define bfin_read_DMA1_1_X_MODIFY() bfin_read16(DMA1_1_X_MODIFY)
90#define bfin_write_DMA1_1_X_MODIFY(val) bfin_write16(DMA1_1_X_MODIFY, val)
91#define bfin_read_DMA1_1_Y_MODIFY() bfin_read16(DMA1_1_Y_MODIFY)
92#define bfin_write_DMA1_1_Y_MODIFY(val) bfin_write16(DMA1_1_Y_MODIFY, val)
93#define bfin_read_DMA1_1_CURR_DESC_PTR() bfin_readPTR(DMA1_1_CURR_DESC_PTR)
94#define bfin_write_DMA1_1_CURR_DESC_PTR(val) bfin_writePTR(DMA1_1_CURR_DESC_PTR, val)
95#define bfin_read_DMA1_1_CURR_ADDR() bfin_readPTR(DMA1_1_CURR_ADDR)
96#define bfin_write_DMA1_1_CURR_ADDR(val) bfin_writePTR(DMA1_1_CURR_ADDR, val)
97#define bfin_read_DMA1_1_CURR_X_COUNT() bfin_read16(DMA1_1_CURR_X_COUNT)
98#define bfin_write_DMA1_1_CURR_X_COUNT(val) bfin_write16(DMA1_1_CURR_X_COUNT, val)
99#define bfin_read_DMA1_1_CURR_Y_COUNT() bfin_read16(DMA1_1_CURR_Y_COUNT)
100#define bfin_write_DMA1_1_CURR_Y_COUNT(val) bfin_write16(DMA1_1_CURR_Y_COUNT, val)
101#define bfin_read_DMA1_1_IRQ_STATUS() bfin_read16(DMA1_1_IRQ_STATUS)
102#define bfin_write_DMA1_1_IRQ_STATUS(val) bfin_write16(DMA1_1_IRQ_STATUS, val)
103#define bfin_read_DMA1_1_PERIPHERAL_MAP() bfin_read16(DMA1_1_PERIPHERAL_MAP)
104#define bfin_write_DMA1_1_PERIPHERAL_MAP(val) bfin_write16(DMA1_1_PERIPHERAL_MAP, val)
105#define bfin_read_DMA1_2_CONFIG() bfin_read16(DMA1_2_CONFIG)
106#define bfin_write_DMA1_2_CONFIG(val) bfin_write16(DMA1_2_CONFIG, val)
107#define bfin_read_DMA1_2_NEXT_DESC_PTR() bfin_readPTR(DMA1_2_NEXT_DESC_PTR)
108#define bfin_write_DMA1_2_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_2_NEXT_DESC_PTR, val)
109#define bfin_read_DMA1_2_START_ADDR() bfin_readPTR(DMA1_2_START_ADDR)
110#define bfin_write_DMA1_2_START_ADDR(val) bfin_writePTR(DMA1_2_START_ADDR, val)
111#define bfin_read_DMA1_2_X_COUNT() bfin_read16(DMA1_2_X_COUNT)
112#define bfin_write_DMA1_2_X_COUNT(val) bfin_write16(DMA1_2_X_COUNT, val)
113#define bfin_read_DMA1_2_Y_COUNT() bfin_read16(DMA1_2_Y_COUNT)
114#define bfin_write_DMA1_2_Y_COUNT(val) bfin_write16(DMA1_2_Y_COUNT, val)
115#define bfin_read_DMA1_2_X_MODIFY() bfin_read16(DMA1_2_X_MODIFY)
116#define bfin_write_DMA1_2_X_MODIFY(val) bfin_write16(DMA1_2_X_MODIFY, val)
117#define bfin_read_DMA1_2_Y_MODIFY() bfin_read16(DMA1_2_Y_MODIFY)
118#define bfin_write_DMA1_2_Y_MODIFY(val) bfin_write16(DMA1_2_Y_MODIFY, val)
119#define bfin_read_DMA1_2_CURR_DESC_PTR() bfin_readPTR(DMA1_2_CURR_DESC_PTR)
120#define bfin_write_DMA1_2_CURR_DESC_PTR(val) bfin_writePTR(DMA1_2_CURR_DESC_PTR, val)
121#define bfin_read_DMA1_2_CURR_ADDR() bfin_readPTR(DMA1_2_CURR_ADDR)
122#define bfin_write_DMA1_2_CURR_ADDR(val) bfin_writePTR(DMA1_2_CURR_ADDR, val)
123#define bfin_read_DMA1_2_CURR_X_COUNT() bfin_read16(DMA1_2_CURR_X_COUNT)
124#define bfin_write_DMA1_2_CURR_X_COUNT(val) bfin_write16(DMA1_2_CURR_X_COUNT, val)
125#define bfin_read_DMA1_2_CURR_Y_COUNT() bfin_read16(DMA1_2_CURR_Y_COUNT)
126#define bfin_write_DMA1_2_CURR_Y_COUNT(val) bfin_write16(DMA1_2_CURR_Y_COUNT, val)
127#define bfin_read_DMA1_2_IRQ_STATUS() bfin_read16(DMA1_2_IRQ_STATUS)
128#define bfin_write_DMA1_2_IRQ_STATUS(val) bfin_write16(DMA1_2_IRQ_STATUS, val)
129#define bfin_read_DMA1_2_PERIPHERAL_MAP() bfin_read16(DMA1_2_PERIPHERAL_MAP)
130#define bfin_write_DMA1_2_PERIPHERAL_MAP(val) bfin_write16(DMA1_2_PERIPHERAL_MAP, val)
131#define bfin_read_DMA1_3_CONFIG() bfin_read16(DMA1_3_CONFIG)
132#define bfin_write_DMA1_3_CONFIG(val) bfin_write16(DMA1_3_CONFIG, val)
133#define bfin_read_DMA1_3_NEXT_DESC_PTR() bfin_readPTR(DMA1_3_NEXT_DESC_PTR)
134#define bfin_write_DMA1_3_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_3_NEXT_DESC_PTR, val)
135#define bfin_read_DMA1_3_START_ADDR() bfin_readPTR(DMA1_3_START_ADDR)
136#define bfin_write_DMA1_3_START_ADDR(val) bfin_writePTR(DMA1_3_START_ADDR, val)
137#define bfin_read_DMA1_3_X_COUNT() bfin_read16(DMA1_3_X_COUNT)
138#define bfin_write_DMA1_3_X_COUNT(val) bfin_write16(DMA1_3_X_COUNT, val)
139#define bfin_read_DMA1_3_Y_COUNT() bfin_read16(DMA1_3_Y_COUNT)
140#define bfin_write_DMA1_3_Y_COUNT(val) bfin_write16(DMA1_3_Y_COUNT, val)
141#define bfin_read_DMA1_3_X_MODIFY() bfin_read16(DMA1_3_X_MODIFY)
142#define bfin_write_DMA1_3_X_MODIFY(val) bfin_write16(DMA1_3_X_MODIFY, val)
143#define bfin_read_DMA1_3_Y_MODIFY() bfin_read16(DMA1_3_Y_MODIFY)
144#define bfin_write_DMA1_3_Y_MODIFY(val) bfin_write16(DMA1_3_Y_MODIFY, val)
145#define bfin_read_DMA1_3_CURR_DESC_PTR() bfin_readPTR(DMA1_3_CURR_DESC_PTR)
146#define bfin_write_DMA1_3_CURR_DESC_PTR(val) bfin_writePTR(DMA1_3_CURR_DESC_PTR, val)
147#define bfin_read_DMA1_3_CURR_ADDR() bfin_readPTR(DMA1_3_CURR_ADDR)
148#define bfin_write_DMA1_3_CURR_ADDR(val) bfin_writePTR(DMA1_3_CURR_ADDR, val)
149#define bfin_read_DMA1_3_CURR_X_COUNT() bfin_read16(DMA1_3_CURR_X_COUNT)
150#define bfin_write_DMA1_3_CURR_X_COUNT(val) bfin_write16(DMA1_3_CURR_X_COUNT, val)
151#define bfin_read_DMA1_3_CURR_Y_COUNT() bfin_read16(DMA1_3_CURR_Y_COUNT)
152#define bfin_write_DMA1_3_CURR_Y_COUNT(val) bfin_write16(DMA1_3_CURR_Y_COUNT, val)
153#define bfin_read_DMA1_3_IRQ_STATUS() bfin_read16(DMA1_3_IRQ_STATUS)
154#define bfin_write_DMA1_3_IRQ_STATUS(val) bfin_write16(DMA1_3_IRQ_STATUS, val)
155#define bfin_read_DMA1_3_PERIPHERAL_MAP() bfin_read16(DMA1_3_PERIPHERAL_MAP)
156#define bfin_write_DMA1_3_PERIPHERAL_MAP(val) bfin_write16(DMA1_3_PERIPHERAL_MAP, val)
157#define bfin_read_DMA1_4_CONFIG() bfin_read16(DMA1_4_CONFIG)
158#define bfin_write_DMA1_4_CONFIG(val) bfin_write16(DMA1_4_CONFIG, val)
159#define bfin_read_DMA1_4_NEXT_DESC_PTR() bfin_readPTR(DMA1_4_NEXT_DESC_PTR)
160#define bfin_write_DMA1_4_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_4_NEXT_DESC_PTR, val)
161#define bfin_read_DMA1_4_START_ADDR() bfin_readPTR(DMA1_4_START_ADDR)
162#define bfin_write_DMA1_4_START_ADDR(val) bfin_writePTR(DMA1_4_START_ADDR, val)
163#define bfin_read_DMA1_4_X_COUNT() bfin_read16(DMA1_4_X_COUNT)
164#define bfin_write_DMA1_4_X_COUNT(val) bfin_write16(DMA1_4_X_COUNT, val)
165#define bfin_read_DMA1_4_Y_COUNT() bfin_read16(DMA1_4_Y_COUNT)
166#define bfin_write_DMA1_4_Y_COUNT(val) bfin_write16(DMA1_4_Y_COUNT, val)
167#define bfin_read_DMA1_4_X_MODIFY() bfin_read16(DMA1_4_X_MODIFY)
168#define bfin_write_DMA1_4_X_MODIFY(val) bfin_write16(DMA1_4_X_MODIFY, val)
169#define bfin_read_DMA1_4_Y_MODIFY() bfin_read16(DMA1_4_Y_MODIFY)
170#define bfin_write_DMA1_4_Y_MODIFY(val) bfin_write16(DMA1_4_Y_MODIFY, val)
171#define bfin_read_DMA1_4_CURR_DESC_PTR() bfin_readPTR(DMA1_4_CURR_DESC_PTR)
172#define bfin_write_DMA1_4_CURR_DESC_PTR(val) bfin_writePTR(DMA1_4_CURR_DESC_PTR, val)
173#define bfin_read_DMA1_4_CURR_ADDR() bfin_readPTR(DMA1_4_CURR_ADDR)
174#define bfin_write_DMA1_4_CURR_ADDR(val) bfin_writePTR(DMA1_4_CURR_ADDR, val)
175#define bfin_read_DMA1_4_CURR_X_COUNT() bfin_read16(DMA1_4_CURR_X_COUNT)
176#define bfin_write_DMA1_4_CURR_X_COUNT(val) bfin_write16(DMA1_4_CURR_X_COUNT, val)
177#define bfin_read_DMA1_4_CURR_Y_COUNT() bfin_read16(DMA1_4_CURR_Y_COUNT)
178#define bfin_write_DMA1_4_CURR_Y_COUNT(val) bfin_write16(DMA1_4_CURR_Y_COUNT, val)
179#define bfin_read_DMA1_4_IRQ_STATUS() bfin_read16(DMA1_4_IRQ_STATUS)
180#define bfin_write_DMA1_4_IRQ_STATUS(val) bfin_write16(DMA1_4_IRQ_STATUS, val)
181#define bfin_read_DMA1_4_PERIPHERAL_MAP() bfin_read16(DMA1_4_PERIPHERAL_MAP)
182#define bfin_write_DMA1_4_PERIPHERAL_MAP(val) bfin_write16(DMA1_4_PERIPHERAL_MAP, val)
183#define bfin_read_DMA1_5_CONFIG() bfin_read16(DMA1_5_CONFIG)
184#define bfin_write_DMA1_5_CONFIG(val) bfin_write16(DMA1_5_CONFIG, val)
185#define bfin_read_DMA1_5_NEXT_DESC_PTR() bfin_readPTR(DMA1_5_NEXT_DESC_PTR)
186#define bfin_write_DMA1_5_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_5_NEXT_DESC_PTR, val)
187#define bfin_read_DMA1_5_START_ADDR() bfin_readPTR(DMA1_5_START_ADDR)
188#define bfin_write_DMA1_5_START_ADDR(val) bfin_writePTR(DMA1_5_START_ADDR, val)
189#define bfin_read_DMA1_5_X_COUNT() bfin_read16(DMA1_5_X_COUNT)
190#define bfin_write_DMA1_5_X_COUNT(val) bfin_write16(DMA1_5_X_COUNT, val)
191#define bfin_read_DMA1_5_Y_COUNT() bfin_read16(DMA1_5_Y_COUNT)
192#define bfin_write_DMA1_5_Y_COUNT(val) bfin_write16(DMA1_5_Y_COUNT, val)
193#define bfin_read_DMA1_5_X_MODIFY() bfin_read16(DMA1_5_X_MODIFY)
194#define bfin_write_DMA1_5_X_MODIFY(val) bfin_write16(DMA1_5_X_MODIFY, val)
195#define bfin_read_DMA1_5_Y_MODIFY() bfin_read16(DMA1_5_Y_MODIFY)
196#define bfin_write_DMA1_5_Y_MODIFY(val) bfin_write16(DMA1_5_Y_MODIFY, val)
197#define bfin_read_DMA1_5_CURR_DESC_PTR() bfin_readPTR(DMA1_5_CURR_DESC_PTR)
198#define bfin_write_DMA1_5_CURR_DESC_PTR(val) bfin_writePTR(DMA1_5_CURR_DESC_PTR, val)
199#define bfin_read_DMA1_5_CURR_ADDR() bfin_readPTR(DMA1_5_CURR_ADDR)
200#define bfin_write_DMA1_5_CURR_ADDR(val) bfin_writePTR(DMA1_5_CURR_ADDR, val)
201#define bfin_read_DMA1_5_CURR_X_COUNT() bfin_read16(DMA1_5_CURR_X_COUNT)
202#define bfin_write_DMA1_5_CURR_X_COUNT(val) bfin_write16(DMA1_5_CURR_X_COUNT, val)
203#define bfin_read_DMA1_5_CURR_Y_COUNT() bfin_read16(DMA1_5_CURR_Y_COUNT)
204#define bfin_write_DMA1_5_CURR_Y_COUNT(val) bfin_write16(DMA1_5_CURR_Y_COUNT, val)
205#define bfin_read_DMA1_5_IRQ_STATUS() bfin_read16(DMA1_5_IRQ_STATUS)
206#define bfin_write_DMA1_5_IRQ_STATUS(val) bfin_write16(DMA1_5_IRQ_STATUS, val)
207#define bfin_read_DMA1_5_PERIPHERAL_MAP() bfin_read16(DMA1_5_PERIPHERAL_MAP)
208#define bfin_write_DMA1_5_PERIPHERAL_MAP(val) bfin_write16(DMA1_5_PERIPHERAL_MAP, val)
209#define bfin_read_DMA1_6_CONFIG() bfin_read16(DMA1_6_CONFIG)
210#define bfin_write_DMA1_6_CONFIG(val) bfin_write16(DMA1_6_CONFIG, val)
211#define bfin_read_DMA1_6_NEXT_DESC_PTR() bfin_readPTR(DMA1_6_NEXT_DESC_PTR)
212#define bfin_write_DMA1_6_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_6_NEXT_DESC_PTR, val)
213#define bfin_read_DMA1_6_START_ADDR() bfin_readPTR(DMA1_6_START_ADDR)
214#define bfin_write_DMA1_6_START_ADDR(val) bfin_writePTR(DMA1_6_START_ADDR, val)
215#define bfin_read_DMA1_6_X_COUNT() bfin_read16(DMA1_6_X_COUNT)
216#define bfin_write_DMA1_6_X_COUNT(val) bfin_write16(DMA1_6_X_COUNT, val)
217#define bfin_read_DMA1_6_Y_COUNT() bfin_read16(DMA1_6_Y_COUNT)
218#define bfin_write_DMA1_6_Y_COUNT(val) bfin_write16(DMA1_6_Y_COUNT, val)
219#define bfin_read_DMA1_6_X_MODIFY() bfin_read16(DMA1_6_X_MODIFY)
220#define bfin_write_DMA1_6_X_MODIFY(val) bfin_write16(DMA1_6_X_MODIFY, val)
221#define bfin_read_DMA1_6_Y_MODIFY() bfin_read16(DMA1_6_Y_MODIFY)
222#define bfin_write_DMA1_6_Y_MODIFY(val) bfin_write16(DMA1_6_Y_MODIFY, val)
223#define bfin_read_DMA1_6_CURR_DESC_PTR() bfin_readPTR(DMA1_6_CURR_DESC_PTR)
224#define bfin_write_DMA1_6_CURR_DESC_PTR(val) bfin_writePTR(DMA1_6_CURR_DESC_PTR, val)
225#define bfin_read_DMA1_6_CURR_ADDR() bfin_readPTR(DMA1_6_CURR_ADDR)
226#define bfin_write_DMA1_6_CURR_ADDR(val) bfin_writePTR(DMA1_6_CURR_ADDR, val)
227#define bfin_read_DMA1_6_CURR_X_COUNT() bfin_read16(DMA1_6_CURR_X_COUNT)
228#define bfin_write_DMA1_6_CURR_X_COUNT(val) bfin_write16(DMA1_6_CURR_X_COUNT, val)
229#define bfin_read_DMA1_6_CURR_Y_COUNT() bfin_read16(DMA1_6_CURR_Y_COUNT)
230#define bfin_write_DMA1_6_CURR_Y_COUNT(val) bfin_write16(DMA1_6_CURR_Y_COUNT, val)
231#define bfin_read_DMA1_6_IRQ_STATUS() bfin_read16(DMA1_6_IRQ_STATUS)
232#define bfin_write_DMA1_6_IRQ_STATUS(val) bfin_write16(DMA1_6_IRQ_STATUS, val)
233#define bfin_read_DMA1_6_PERIPHERAL_MAP() bfin_read16(DMA1_6_PERIPHERAL_MAP)
234#define bfin_write_DMA1_6_PERIPHERAL_MAP(val) bfin_write16(DMA1_6_PERIPHERAL_MAP, val)
235#define bfin_read_DMA1_7_CONFIG() bfin_read16(DMA1_7_CONFIG)
236#define bfin_write_DMA1_7_CONFIG(val) bfin_write16(DMA1_7_CONFIG, val)
237#define bfin_read_DMA1_7_NEXT_DESC_PTR() bfin_readPTR(DMA1_7_NEXT_DESC_PTR)
238#define bfin_write_DMA1_7_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_7_NEXT_DESC_PTR, val)
239#define bfin_read_DMA1_7_START_ADDR() bfin_readPTR(DMA1_7_START_ADDR)
240#define bfin_write_DMA1_7_START_ADDR(val) bfin_writePTR(DMA1_7_START_ADDR, val)
241#define bfin_read_DMA1_7_X_COUNT() bfin_read16(DMA1_7_X_COUNT)
242#define bfin_write_DMA1_7_X_COUNT(val) bfin_write16(DMA1_7_X_COUNT, val)
243#define bfin_read_DMA1_7_Y_COUNT() bfin_read16(DMA1_7_Y_COUNT)
244#define bfin_write_DMA1_7_Y_COUNT(val) bfin_write16(DMA1_7_Y_COUNT, val)
245#define bfin_read_DMA1_7_X_MODIFY() bfin_read16(DMA1_7_X_MODIFY)
246#define bfin_write_DMA1_7_X_MODIFY(val) bfin_write16(DMA1_7_X_MODIFY, val)
247#define bfin_read_DMA1_7_Y_MODIFY() bfin_read16(DMA1_7_Y_MODIFY)
248#define bfin_write_DMA1_7_Y_MODIFY(val) bfin_write16(DMA1_7_Y_MODIFY, val)
249#define bfin_read_DMA1_7_CURR_DESC_PTR() bfin_readPTR(DMA1_7_CURR_DESC_PTR)
250#define bfin_write_DMA1_7_CURR_DESC_PTR(val) bfin_writePTR(DMA1_7_CURR_DESC_PTR, val)
251#define bfin_read_DMA1_7_CURR_ADDR() bfin_readPTR(DMA1_7_CURR_ADDR)
252#define bfin_write_DMA1_7_CURR_ADDR(val) bfin_writePTR(DMA1_7_CURR_ADDR, val)
253#define bfin_read_DMA1_7_CURR_X_COUNT() bfin_read16(DMA1_7_CURR_X_COUNT)
254#define bfin_write_DMA1_7_CURR_X_COUNT(val) bfin_write16(DMA1_7_CURR_X_COUNT, val)
255#define bfin_read_DMA1_7_CURR_Y_COUNT() bfin_read16(DMA1_7_CURR_Y_COUNT)
256#define bfin_write_DMA1_7_CURR_Y_COUNT(val) bfin_write16(DMA1_7_CURR_Y_COUNT, val)
257#define bfin_read_DMA1_7_IRQ_STATUS() bfin_read16(DMA1_7_IRQ_STATUS)
258#define bfin_write_DMA1_7_IRQ_STATUS(val) bfin_write16(DMA1_7_IRQ_STATUS, val)
259#define bfin_read_DMA1_7_PERIPHERAL_MAP() bfin_read16(DMA1_7_PERIPHERAL_MAP)
260#define bfin_write_DMA1_7_PERIPHERAL_MAP(val) bfin_write16(DMA1_7_PERIPHERAL_MAP, val)
261#define bfin_read_DMA1_8_CONFIG() bfin_read16(DMA1_8_CONFIG)
262#define bfin_write_DMA1_8_CONFIG(val) bfin_write16(DMA1_8_CONFIG, val)
263#define bfin_read_DMA1_8_NEXT_DESC_PTR() bfin_readPTR(DMA1_8_NEXT_DESC_PTR)
264#define bfin_write_DMA1_8_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_8_NEXT_DESC_PTR, val)
265#define bfin_read_DMA1_8_START_ADDR() bfin_readPTR(DMA1_8_START_ADDR)
266#define bfin_write_DMA1_8_START_ADDR(val) bfin_writePTR(DMA1_8_START_ADDR, val)
267#define bfin_read_DMA1_8_X_COUNT() bfin_read16(DMA1_8_X_COUNT)
268#define bfin_write_DMA1_8_X_COUNT(val) bfin_write16(DMA1_8_X_COUNT, val)
269#define bfin_read_DMA1_8_Y_COUNT() bfin_read16(DMA1_8_Y_COUNT)
270#define bfin_write_DMA1_8_Y_COUNT(val) bfin_write16(DMA1_8_Y_COUNT, val)
271#define bfin_read_DMA1_8_X_MODIFY() bfin_read16(DMA1_8_X_MODIFY)
272#define bfin_write_DMA1_8_X_MODIFY(val) bfin_write16(DMA1_8_X_MODIFY, val)
273#define bfin_read_DMA1_8_Y_MODIFY() bfin_read16(DMA1_8_Y_MODIFY)
274#define bfin_write_DMA1_8_Y_MODIFY(val) bfin_write16(DMA1_8_Y_MODIFY, val)
275#define bfin_read_DMA1_8_CURR_DESC_PTR() bfin_readPTR(DMA1_8_CURR_DESC_PTR)
276#define bfin_write_DMA1_8_CURR_DESC_PTR(val) bfin_writePTR(DMA1_8_CURR_DESC_PTR, val)
277#define bfin_read_DMA1_8_CURR_ADDR() bfin_readPTR(DMA1_8_CURR_ADDR)
278#define bfin_write_DMA1_8_CURR_ADDR(val) bfin_writePTR(DMA1_8_CURR_ADDR, val)
279#define bfin_read_DMA1_8_CURR_X_COUNT() bfin_read16(DMA1_8_CURR_X_COUNT)
280#define bfin_write_DMA1_8_CURR_X_COUNT(val) bfin_write16(DMA1_8_CURR_X_COUNT, val)
281#define bfin_read_DMA1_8_CURR_Y_COUNT() bfin_read16(DMA1_8_CURR_Y_COUNT)
282#define bfin_write_DMA1_8_CURR_Y_COUNT(val) bfin_write16(DMA1_8_CURR_Y_COUNT, val)
283#define bfin_read_DMA1_8_IRQ_STATUS() bfin_read16(DMA1_8_IRQ_STATUS)
284#define bfin_write_DMA1_8_IRQ_STATUS(val) bfin_write16(DMA1_8_IRQ_STATUS, val)
285#define bfin_read_DMA1_8_PERIPHERAL_MAP() bfin_read16(DMA1_8_PERIPHERAL_MAP)
286#define bfin_write_DMA1_8_PERIPHERAL_MAP(val) bfin_write16(DMA1_8_PERIPHERAL_MAP, val)
287#define bfin_read_DMA1_9_CONFIG() bfin_read16(DMA1_9_CONFIG)
288#define bfin_write_DMA1_9_CONFIG(val) bfin_write16(DMA1_9_CONFIG, val)
289#define bfin_read_DMA1_9_NEXT_DESC_PTR() bfin_readPTR(DMA1_9_NEXT_DESC_PTR)
290#define bfin_write_DMA1_9_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_9_NEXT_DESC_PTR, val)
291#define bfin_read_DMA1_9_START_ADDR() bfin_readPTR(DMA1_9_START_ADDR)
292#define bfin_write_DMA1_9_START_ADDR(val) bfin_writePTR(DMA1_9_START_ADDR, val)
293#define bfin_read_DMA1_9_X_COUNT() bfin_read16(DMA1_9_X_COUNT)
294#define bfin_write_DMA1_9_X_COUNT(val) bfin_write16(DMA1_9_X_COUNT, val)
295#define bfin_read_DMA1_9_Y_COUNT() bfin_read16(DMA1_9_Y_COUNT)
296#define bfin_write_DMA1_9_Y_COUNT(val) bfin_write16(DMA1_9_Y_COUNT, val)
297#define bfin_read_DMA1_9_X_MODIFY() bfin_read16(DMA1_9_X_MODIFY)
298#define bfin_write_DMA1_9_X_MODIFY(val) bfin_write16(DMA1_9_X_MODIFY, val)
299#define bfin_read_DMA1_9_Y_MODIFY() bfin_read16(DMA1_9_Y_MODIFY)
300#define bfin_write_DMA1_9_Y_MODIFY(val) bfin_write16(DMA1_9_Y_MODIFY, val)
301#define bfin_read_DMA1_9_CURR_DESC_PTR() bfin_readPTR(DMA1_9_CURR_DESC_PTR)
302#define bfin_write_DMA1_9_CURR_DESC_PTR(val) bfin_writePTR(DMA1_9_CURR_DESC_PTR, val)
303#define bfin_read_DMA1_9_CURR_ADDR() bfin_readPTR(DMA1_9_CURR_ADDR)
304#define bfin_write_DMA1_9_CURR_ADDR(val) bfin_writePTR(DMA1_9_CURR_ADDR, val)
305#define bfin_read_DMA1_9_CURR_X_COUNT() bfin_read16(DMA1_9_CURR_X_COUNT)
306#define bfin_write_DMA1_9_CURR_X_COUNT(val) bfin_write16(DMA1_9_CURR_X_COUNT, val)
307#define bfin_read_DMA1_9_CURR_Y_COUNT() bfin_read16(DMA1_9_CURR_Y_COUNT)
308#define bfin_write_DMA1_9_CURR_Y_COUNT(val) bfin_write16(DMA1_9_CURR_Y_COUNT, val)
309#define bfin_read_DMA1_9_IRQ_STATUS() bfin_read16(DMA1_9_IRQ_STATUS)
310#define bfin_write_DMA1_9_IRQ_STATUS(val) bfin_write16(DMA1_9_IRQ_STATUS, val)
311#define bfin_read_DMA1_9_PERIPHERAL_MAP() bfin_read16(DMA1_9_PERIPHERAL_MAP)
312#define bfin_write_DMA1_9_PERIPHERAL_MAP(val) bfin_write16(DMA1_9_PERIPHERAL_MAP, val)
313#define bfin_read_DMA1_10_CONFIG() bfin_read16(DMA1_10_CONFIG)
314#define bfin_write_DMA1_10_CONFIG(val) bfin_write16(DMA1_10_CONFIG, val)
315#define bfin_read_DMA1_10_NEXT_DESC_PTR() bfin_readPTR(DMA1_10_NEXT_DESC_PTR)
316#define bfin_write_DMA1_10_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_10_NEXT_DESC_PTR, val)
317#define bfin_read_DMA1_10_START_ADDR() bfin_readPTR(DMA1_10_START_ADDR)
318#define bfin_write_DMA1_10_START_ADDR(val) bfin_writePTR(DMA1_10_START_ADDR, val)
319#define bfin_read_DMA1_10_X_COUNT() bfin_read16(DMA1_10_X_COUNT)
320#define bfin_write_DMA1_10_X_COUNT(val) bfin_write16(DMA1_10_X_COUNT, val)
321#define bfin_read_DMA1_10_Y_COUNT() bfin_read16(DMA1_10_Y_COUNT)
322#define bfin_write_DMA1_10_Y_COUNT(val) bfin_write16(DMA1_10_Y_COUNT, val)
323#define bfin_read_DMA1_10_X_MODIFY() bfin_read16(DMA1_10_X_MODIFY)
324#define bfin_write_DMA1_10_X_MODIFY(val) bfin_write16(DMA1_10_X_MODIFY, val)
325#define bfin_read_DMA1_10_Y_MODIFY() bfin_read16(DMA1_10_Y_MODIFY)
326#define bfin_write_DMA1_10_Y_MODIFY(val) bfin_write16(DMA1_10_Y_MODIFY, val)
327#define bfin_read_DMA1_10_CURR_DESC_PTR() bfin_readPTR(DMA1_10_CURR_DESC_PTR)
328#define bfin_write_DMA1_10_CURR_DESC_PTR(val) bfin_writePTR(DMA1_10_CURR_DESC_PTR, val)
329#define bfin_read_DMA1_10_CURR_ADDR() bfin_readPTR(DMA1_10_CURR_ADDR)
330#define bfin_write_DMA1_10_CURR_ADDR(val) bfin_writePTR(DMA1_10_CURR_ADDR, val)
331#define bfin_read_DMA1_10_CURR_X_COUNT() bfin_read16(DMA1_10_CURR_X_COUNT)
332#define bfin_write_DMA1_10_CURR_X_COUNT(val) bfin_write16(DMA1_10_CURR_X_COUNT, val)
333#define bfin_read_DMA1_10_CURR_Y_COUNT() bfin_read16(DMA1_10_CURR_Y_COUNT)
334#define bfin_write_DMA1_10_CURR_Y_COUNT(val) bfin_write16(DMA1_10_CURR_Y_COUNT, val)
335#define bfin_read_DMA1_10_IRQ_STATUS() bfin_read16(DMA1_10_IRQ_STATUS)
336#define bfin_write_DMA1_10_IRQ_STATUS(val) bfin_write16(DMA1_10_IRQ_STATUS, val)
337#define bfin_read_DMA1_10_PERIPHERAL_MAP() bfin_read16(DMA1_10_PERIPHERAL_MAP)
338#define bfin_write_DMA1_10_PERIPHERAL_MAP(val) bfin_write16(DMA1_10_PERIPHERAL_MAP, val)
339#define bfin_read_DMA1_11_CONFIG() bfin_read16(DMA1_11_CONFIG)
340#define bfin_write_DMA1_11_CONFIG(val) bfin_write16(DMA1_11_CONFIG, val)
341#define bfin_read_DMA1_11_NEXT_DESC_PTR() bfin_readPTR(DMA1_11_NEXT_DESC_PTR)
342#define bfin_write_DMA1_11_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_11_NEXT_DESC_PTR, val)
343#define bfin_read_DMA1_11_START_ADDR() bfin_readPTR(DMA1_11_START_ADDR)
344#define bfin_write_DMA1_11_START_ADDR(val) bfin_writePTR(DMA1_11_START_ADDR, val)
345#define bfin_read_DMA1_11_X_COUNT() bfin_read16(DMA1_11_X_COUNT)
346#define bfin_write_DMA1_11_X_COUNT(val) bfin_write16(DMA1_11_X_COUNT, val)
347#define bfin_read_DMA1_11_Y_COUNT() bfin_read16(DMA1_11_Y_COUNT)
348#define bfin_write_DMA1_11_Y_COUNT(val) bfin_write16(DMA1_11_Y_COUNT, val)
349#define bfin_read_DMA1_11_X_MODIFY() bfin_read16(DMA1_11_X_MODIFY)
350#define bfin_write_DMA1_11_X_MODIFY(val) bfin_write16(DMA1_11_X_MODIFY, val)
351#define bfin_read_DMA1_11_Y_MODIFY() bfin_read16(DMA1_11_Y_MODIFY)
352#define bfin_write_DMA1_11_Y_MODIFY(val) bfin_write16(DMA1_11_Y_MODIFY, val)
353#define bfin_read_DMA1_11_CURR_DESC_PTR() bfin_readPTR(DMA1_11_CURR_DESC_PTR)
354#define bfin_write_DMA1_11_CURR_DESC_PTR(val) bfin_writePTR(DMA1_11_CURR_DESC_PTR, val)
355#define bfin_read_DMA1_11_CURR_ADDR() bfin_readPTR(DMA1_11_CURR_ADDR)
356#define bfin_write_DMA1_11_CURR_ADDR(val) bfin_writePTR(DMA1_11_CURR_ADDR, val)
357#define bfin_read_DMA1_11_CURR_X_COUNT() bfin_read16(DMA1_11_CURR_X_COUNT)
358#define bfin_write_DMA1_11_CURR_X_COUNT(val) bfin_write16(DMA1_11_CURR_X_COUNT, val)
359#define bfin_read_DMA1_11_CURR_Y_COUNT() bfin_read16(DMA1_11_CURR_Y_COUNT)
360#define bfin_write_DMA1_11_CURR_Y_COUNT(val) bfin_write16(DMA1_11_CURR_Y_COUNT, val)
361#define bfin_read_DMA1_11_IRQ_STATUS() bfin_read16(DMA1_11_IRQ_STATUS)
362#define bfin_write_DMA1_11_IRQ_STATUS(val) bfin_write16(DMA1_11_IRQ_STATUS, val)
363#define bfin_read_DMA1_11_PERIPHERAL_MAP() bfin_read16(DMA1_11_PERIPHERAL_MAP)
364#define bfin_write_DMA1_11_PERIPHERAL_MAP(val) bfin_write16(DMA1_11_PERIPHERAL_MAP, val)
365#define bfin_read_DMA2_TC_PER() bfin_read16(DMA2_TC_PER)
366#define bfin_write_DMA2_TC_PER(val) bfin_write16(DMA2_TC_PER, val)
367#define bfin_read_DMA2_TC_CNT() bfin_read16(DMA2_TC_CNT)
368#define bfin_write_DMA2_TC_CNT(val) bfin_write16(DMA2_TC_CNT, val)
369#define bfin_read_DMA2_0_CONFIG() bfin_read16(DMA2_0_CONFIG)
370#define bfin_write_DMA2_0_CONFIG(val) bfin_write16(DMA2_0_CONFIG, val)
371#define bfin_read_DMA2_0_NEXT_DESC_PTR() bfin_readPTR(DMA2_0_NEXT_DESC_PTR)
372#define bfin_write_DMA2_0_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_0_NEXT_DESC_PTR, val)
373#define bfin_read_DMA2_0_START_ADDR() bfin_readPTR(DMA2_0_START_ADDR)
374#define bfin_write_DMA2_0_START_ADDR(val) bfin_writePTR(DMA2_0_START_ADDR, val)
375#define bfin_read_DMA2_0_X_COUNT() bfin_read16(DMA2_0_X_COUNT)
376#define bfin_write_DMA2_0_X_COUNT(val) bfin_write16(DMA2_0_X_COUNT, val)
377#define bfin_read_DMA2_0_Y_COUNT() bfin_read16(DMA2_0_Y_COUNT)
378#define bfin_write_DMA2_0_Y_COUNT(val) bfin_write16(DMA2_0_Y_COUNT, val)
379#define bfin_read_DMA2_0_X_MODIFY() bfin_read16(DMA2_0_X_MODIFY)
380#define bfin_write_DMA2_0_X_MODIFY(val) bfin_write16(DMA2_0_X_MODIFY, val)
381#define bfin_read_DMA2_0_Y_MODIFY() bfin_read16(DMA2_0_Y_MODIFY)
382#define bfin_write_DMA2_0_Y_MODIFY(val) bfin_write16(DMA2_0_Y_MODIFY, val)
383#define bfin_read_DMA2_0_CURR_DESC_PTR() bfin_readPTR(DMA2_0_CURR_DESC_PTR)
384#define bfin_write_DMA2_0_CURR_DESC_PTR(val) bfin_writePTR(DMA2_0_CURR_DESC_PTR, val)
385#define bfin_read_DMA2_0_CURR_ADDR() bfin_readPTR(DMA2_0_CURR_ADDR)
386#define bfin_write_DMA2_0_CURR_ADDR(val) bfin_writePTR(DMA2_0_CURR_ADDR, val)
387#define bfin_read_DMA2_0_CURR_X_COUNT() bfin_read16(DMA2_0_CURR_X_COUNT)
388#define bfin_write_DMA2_0_CURR_X_COUNT(val) bfin_write16(DMA2_0_CURR_X_COUNT, val)
389#define bfin_read_DMA2_0_CURR_Y_COUNT() bfin_read16(DMA2_0_CURR_Y_COUNT)
390#define bfin_write_DMA2_0_CURR_Y_COUNT(val) bfin_write16(DMA2_0_CURR_Y_COUNT, val)
391#define bfin_read_DMA2_0_IRQ_STATUS() bfin_read16(DMA2_0_IRQ_STATUS)
392#define bfin_write_DMA2_0_IRQ_STATUS(val) bfin_write16(DMA2_0_IRQ_STATUS, val)
393#define bfin_read_DMA2_0_PERIPHERAL_MAP() bfin_read16(DMA2_0_PERIPHERAL_MAP)
394#define bfin_write_DMA2_0_PERIPHERAL_MAP(val) bfin_write16(DMA2_0_PERIPHERAL_MAP, val)
395#define bfin_read_DMA2_1_CONFIG() bfin_read16(DMA2_1_CONFIG)
396#define bfin_write_DMA2_1_CONFIG(val) bfin_write16(DMA2_1_CONFIG, val)
397#define bfin_read_DMA2_1_NEXT_DESC_PTR() bfin_readPTR(DMA2_1_NEXT_DESC_PTR)
398#define bfin_write_DMA2_1_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_1_NEXT_DESC_PTR, val)
399#define bfin_read_DMA2_1_START_ADDR() bfin_readPTR(DMA2_1_START_ADDR)
400#define bfin_write_DMA2_1_START_ADDR(val) bfin_writePTR(DMA2_1_START_ADDR, val)
401#define bfin_read_DMA2_1_X_COUNT() bfin_read16(DMA2_1_X_COUNT)
402#define bfin_write_DMA2_1_X_COUNT(val) bfin_write16(DMA2_1_X_COUNT, val)
403#define bfin_read_DMA2_1_Y_COUNT() bfin_read16(DMA2_1_Y_COUNT)
404#define bfin_write_DMA2_1_Y_COUNT(val) bfin_write16(DMA2_1_Y_COUNT, val)
405#define bfin_read_DMA2_1_X_MODIFY() bfin_read16(DMA2_1_X_MODIFY)
406#define bfin_write_DMA2_1_X_MODIFY(val) bfin_write16(DMA2_1_X_MODIFY, val)
407#define bfin_read_DMA2_1_Y_MODIFY() bfin_read16(DMA2_1_Y_MODIFY)
408#define bfin_write_DMA2_1_Y_MODIFY(val) bfin_write16(DMA2_1_Y_MODIFY, val)
409#define bfin_read_DMA2_1_CURR_DESC_PTR() bfin_readPTR(DMA2_1_CURR_DESC_PTR)
410#define bfin_write_DMA2_1_CURR_DESC_PTR(val) bfin_writePTR(DMA2_1_CURR_DESC_PTR, val)
411#define bfin_read_DMA2_1_CURR_ADDR() bfin_readPTR(DMA2_1_CURR_ADDR)
412#define bfin_write_DMA2_1_CURR_ADDR(val) bfin_writePTR(DMA2_1_CURR_ADDR, val)
413#define bfin_read_DMA2_1_CURR_X_COUNT() bfin_read16(DMA2_1_CURR_X_COUNT)
414#define bfin_write_DMA2_1_CURR_X_COUNT(val) bfin_write16(DMA2_1_CURR_X_COUNT, val)
415#define bfin_read_DMA2_1_CURR_Y_COUNT() bfin_read16(DMA2_1_CURR_Y_COUNT)
416#define bfin_write_DMA2_1_CURR_Y_COUNT(val) bfin_write16(DMA2_1_CURR_Y_COUNT, val)
417#define bfin_read_DMA2_1_IRQ_STATUS() bfin_read16(DMA2_1_IRQ_STATUS)
418#define bfin_write_DMA2_1_IRQ_STATUS(val) bfin_write16(DMA2_1_IRQ_STATUS, val)
419#define bfin_read_DMA2_1_PERIPHERAL_MAP() bfin_read16(DMA2_1_PERIPHERAL_MAP)
420#define bfin_write_DMA2_1_PERIPHERAL_MAP(val) bfin_write16(DMA2_1_PERIPHERAL_MAP, val)
421#define bfin_read_DMA2_2_CONFIG() bfin_read16(DMA2_2_CONFIG)
422#define bfin_write_DMA2_2_CONFIG(val) bfin_write16(DMA2_2_CONFIG, val)
423#define bfin_read_DMA2_2_NEXT_DESC_PTR() bfin_readPTR(DMA2_2_NEXT_DESC_PTR)
424#define bfin_write_DMA2_2_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_2_NEXT_DESC_PTR, val)
425#define bfin_read_DMA2_2_START_ADDR() bfin_readPTR(DMA2_2_START_ADDR)
426#define bfin_write_DMA2_2_START_ADDR(val) bfin_writePTR(DMA2_2_START_ADDR, val)
427#define bfin_read_DMA2_2_X_COUNT() bfin_read16(DMA2_2_X_COUNT)
428#define bfin_write_DMA2_2_X_COUNT(val) bfin_write16(DMA2_2_X_COUNT, val)
429#define bfin_read_DMA2_2_Y_COUNT() bfin_read16(DMA2_2_Y_COUNT)
430#define bfin_write_DMA2_2_Y_COUNT(val) bfin_write16(DMA2_2_Y_COUNT, val)
431#define bfin_read_DMA2_2_X_MODIFY() bfin_read16(DMA2_2_X_MODIFY)
432#define bfin_write_DMA2_2_X_MODIFY(val) bfin_write16(DMA2_2_X_MODIFY, val)
433#define bfin_read_DMA2_2_Y_MODIFY() bfin_read16(DMA2_2_Y_MODIFY)
434#define bfin_write_DMA2_2_Y_MODIFY(val) bfin_write16(DMA2_2_Y_MODIFY, val)
435#define bfin_read_DMA2_2_CURR_DESC_PTR() bfin_readPTR(DMA2_2_CURR_DESC_PTR)
436#define bfin_write_DMA2_2_CURR_DESC_PTR(val) bfin_writePTR(DMA2_2_CURR_DESC_PTR, val)
437#define bfin_read_DMA2_2_CURR_ADDR() bfin_readPTR(DMA2_2_CURR_ADDR)
438#define bfin_write_DMA2_2_CURR_ADDR(val) bfin_writePTR(DMA2_2_CURR_ADDR, val)
439#define bfin_read_DMA2_2_CURR_X_COUNT() bfin_read16(DMA2_2_CURR_X_COUNT)
440#define bfin_write_DMA2_2_CURR_X_COUNT(val) bfin_write16(DMA2_2_CURR_X_COUNT, val)
441#define bfin_read_DMA2_2_CURR_Y_COUNT() bfin_read16(DMA2_2_CURR_Y_COUNT)
442#define bfin_write_DMA2_2_CURR_Y_COUNT(val) bfin_write16(DMA2_2_CURR_Y_COUNT, val)
443#define bfin_read_DMA2_2_IRQ_STATUS() bfin_read16(DMA2_2_IRQ_STATUS)
444#define bfin_write_DMA2_2_IRQ_STATUS(val) bfin_write16(DMA2_2_IRQ_STATUS, val)
445#define bfin_read_DMA2_2_PERIPHERAL_MAP() bfin_read16(DMA2_2_PERIPHERAL_MAP)
446#define bfin_write_DMA2_2_PERIPHERAL_MAP(val) bfin_write16(DMA2_2_PERIPHERAL_MAP, val)
447#define bfin_read_DMA2_3_CONFIG() bfin_read16(DMA2_3_CONFIG)
448#define bfin_write_DMA2_3_CONFIG(val) bfin_write16(DMA2_3_CONFIG, val)
449#define bfin_read_DMA2_3_NEXT_DESC_PTR() bfin_readPTR(DMA2_3_NEXT_DESC_PTR)
450#define bfin_write_DMA2_3_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_3_NEXT_DESC_PTR, val)
451#define bfin_read_DMA2_3_START_ADDR() bfin_readPTR(DMA2_3_START_ADDR)
452#define bfin_write_DMA2_3_START_ADDR(val) bfin_writePTR(DMA2_3_START_ADDR, val)
453#define bfin_read_DMA2_3_X_COUNT() bfin_read16(DMA2_3_X_COUNT)
454#define bfin_write_DMA2_3_X_COUNT(val) bfin_write16(DMA2_3_X_COUNT, val)
455#define bfin_read_DMA2_3_Y_COUNT() bfin_read16(DMA2_3_Y_COUNT)
456#define bfin_write_DMA2_3_Y_COUNT(val) bfin_write16(DMA2_3_Y_COUNT, val)
457#define bfin_read_DMA2_3_X_MODIFY() bfin_read16(DMA2_3_X_MODIFY)
458#define bfin_write_DMA2_3_X_MODIFY(val) bfin_write16(DMA2_3_X_MODIFY, val)
459#define bfin_read_DMA2_3_Y_MODIFY() bfin_read16(DMA2_3_Y_MODIFY)
460#define bfin_write_DMA2_3_Y_MODIFY(val) bfin_write16(DMA2_3_Y_MODIFY, val)
461#define bfin_read_DMA2_3_CURR_DESC_PTR() bfin_readPTR(DMA2_3_CURR_DESC_PTR)
462#define bfin_write_DMA2_3_CURR_DESC_PTR(val) bfin_writePTR(DMA2_3_CURR_DESC_PTR, val)
463#define bfin_read_DMA2_3_CURR_ADDR() bfin_readPTR(DMA2_3_CURR_ADDR)
464#define bfin_write_DMA2_3_CURR_ADDR(val) bfin_writePTR(DMA2_3_CURR_ADDR, val)
465#define bfin_read_DMA2_3_CURR_X_COUNT() bfin_read16(DMA2_3_CURR_X_COUNT)
466#define bfin_write_DMA2_3_CURR_X_COUNT(val) bfin_write16(DMA2_3_CURR_X_COUNT, val)
467#define bfin_read_DMA2_3_CURR_Y_COUNT() bfin_read16(DMA2_3_CURR_Y_COUNT)
468#define bfin_write_DMA2_3_CURR_Y_COUNT(val) bfin_write16(DMA2_3_CURR_Y_COUNT, val)
469#define bfin_read_DMA2_3_IRQ_STATUS() bfin_read16(DMA2_3_IRQ_STATUS)
470#define bfin_write_DMA2_3_IRQ_STATUS(val) bfin_write16(DMA2_3_IRQ_STATUS, val)
471#define bfin_read_DMA2_3_PERIPHERAL_MAP() bfin_read16(DMA2_3_PERIPHERAL_MAP)
472#define bfin_write_DMA2_3_PERIPHERAL_MAP(val) bfin_write16(DMA2_3_PERIPHERAL_MAP, val)
473#define bfin_read_DMA2_4_CONFIG() bfin_read16(DMA2_4_CONFIG)
474#define bfin_write_DMA2_4_CONFIG(val) bfin_write16(DMA2_4_CONFIG, val)
475#define bfin_read_DMA2_4_NEXT_DESC_PTR() bfin_readPTR(DMA2_4_NEXT_DESC_PTR)
476#define bfin_write_DMA2_4_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_4_NEXT_DESC_PTR, val)
477#define bfin_read_DMA2_4_START_ADDR() bfin_readPTR(DMA2_4_START_ADDR)
478#define bfin_write_DMA2_4_START_ADDR(val) bfin_writePTR(DMA2_4_START_ADDR, val)
479#define bfin_read_DMA2_4_X_COUNT() bfin_read16(DMA2_4_X_COUNT)
480#define bfin_write_DMA2_4_X_COUNT(val) bfin_write16(DMA2_4_X_COUNT, val)
481#define bfin_read_DMA2_4_Y_COUNT() bfin_read16(DMA2_4_Y_COUNT)
482#define bfin_write_DMA2_4_Y_COUNT(val) bfin_write16(DMA2_4_Y_COUNT, val)
483#define bfin_read_DMA2_4_X_MODIFY() bfin_read16(DMA2_4_X_MODIFY)
484#define bfin_write_DMA2_4_X_MODIFY(val) bfin_write16(DMA2_4_X_MODIFY, val)
485#define bfin_read_DMA2_4_Y_MODIFY() bfin_read16(DMA2_4_Y_MODIFY)
486#define bfin_write_DMA2_4_Y_MODIFY(val) bfin_write16(DMA2_4_Y_MODIFY, val)
487#define bfin_read_DMA2_4_CURR_DESC_PTR() bfin_readPTR(DMA2_4_CURR_DESC_PTR)
488#define bfin_write_DMA2_4_CURR_DESC_PTR(val) bfin_writePTR(DMA2_4_CURR_DESC_PTR, val)
489#define bfin_read_DMA2_4_CURR_ADDR() bfin_readPTR(DMA2_4_CURR_ADDR)
490#define bfin_write_DMA2_4_CURR_ADDR(val) bfin_writePTR(DMA2_4_CURR_ADDR, val)
491#define bfin_read_DMA2_4_CURR_X_COUNT() bfin_read16(DMA2_4_CURR_X_COUNT)
492#define bfin_write_DMA2_4_CURR_X_COUNT(val) bfin_write16(DMA2_4_CURR_X_COUNT, val)
493#define bfin_read_DMA2_4_CURR_Y_COUNT() bfin_read16(DMA2_4_CURR_Y_COUNT)
494#define bfin_write_DMA2_4_CURR_Y_COUNT(val) bfin_write16(DMA2_4_CURR_Y_COUNT, val)
495#define bfin_read_DMA2_4_IRQ_STATUS() bfin_read16(DMA2_4_IRQ_STATUS)
496#define bfin_write_DMA2_4_IRQ_STATUS(val) bfin_write16(DMA2_4_IRQ_STATUS, val)
497#define bfin_read_DMA2_4_PERIPHERAL_MAP() bfin_read16(DMA2_4_PERIPHERAL_MAP)
498#define bfin_write_DMA2_4_PERIPHERAL_MAP(val) bfin_write16(DMA2_4_PERIPHERAL_MAP, val)
499#define bfin_read_DMA2_5_CONFIG() bfin_read16(DMA2_5_CONFIG)
500#define bfin_write_DMA2_5_CONFIG(val) bfin_write16(DMA2_5_CONFIG, val)
501#define bfin_read_DMA2_5_NEXT_DESC_PTR() bfin_readPTR(DMA2_5_NEXT_DESC_PTR)
502#define bfin_write_DMA2_5_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_5_NEXT_DESC_PTR, val)
503#define bfin_read_DMA2_5_START_ADDR() bfin_readPTR(DMA2_5_START_ADDR)
504#define bfin_write_DMA2_5_START_ADDR(val) bfin_writePTR(DMA2_5_START_ADDR, val)
505#define bfin_read_DMA2_5_X_COUNT() bfin_read16(DMA2_5_X_COUNT)
506#define bfin_write_DMA2_5_X_COUNT(val) bfin_write16(DMA2_5_X_COUNT, val)
507#define bfin_read_DMA2_5_Y_COUNT() bfin_read16(DMA2_5_Y_COUNT)
508#define bfin_write_DMA2_5_Y_COUNT(val) bfin_write16(DMA2_5_Y_COUNT, val)
509#define bfin_read_DMA2_5_X_MODIFY() bfin_read16(DMA2_5_X_MODIFY)
510#define bfin_write_DMA2_5_X_MODIFY(val) bfin_write16(DMA2_5_X_MODIFY, val)
511#define bfin_read_DMA2_5_Y_MODIFY() bfin_read16(DMA2_5_Y_MODIFY)
512#define bfin_write_DMA2_5_Y_MODIFY(val) bfin_write16(DMA2_5_Y_MODIFY, val)
513#define bfin_read_DMA2_5_CURR_DESC_PTR() bfin_readPTR(DMA2_5_CURR_DESC_PTR)
514#define bfin_write_DMA2_5_CURR_DESC_PTR(val) bfin_writePTR(DMA2_5_CURR_DESC_PTR, val)
515#define bfin_read_DMA2_5_CURR_ADDR() bfin_readPTR(DMA2_5_CURR_ADDR)
516#define bfin_write_DMA2_5_CURR_ADDR(val) bfin_writePTR(DMA2_5_CURR_ADDR, val)
517#define bfin_read_DMA2_5_CURR_X_COUNT() bfin_read16(DMA2_5_CURR_X_COUNT)
518#define bfin_write_DMA2_5_CURR_X_COUNT(val) bfin_write16(DMA2_5_CURR_X_COUNT, val)
519#define bfin_read_DMA2_5_CURR_Y_COUNT() bfin_read16(DMA2_5_CURR_Y_COUNT)
520#define bfin_write_DMA2_5_CURR_Y_COUNT(val) bfin_write16(DMA2_5_CURR_Y_COUNT, val)
521#define bfin_read_DMA2_5_IRQ_STATUS() bfin_read16(DMA2_5_IRQ_STATUS)
522#define bfin_write_DMA2_5_IRQ_STATUS(val) bfin_write16(DMA2_5_IRQ_STATUS, val)
523#define bfin_read_DMA2_5_PERIPHERAL_MAP() bfin_read16(DMA2_5_PERIPHERAL_MAP)
524#define bfin_write_DMA2_5_PERIPHERAL_MAP(val) bfin_write16(DMA2_5_PERIPHERAL_MAP, val)
525#define bfin_read_DMA2_6_CONFIG() bfin_read16(DMA2_6_CONFIG)
526#define bfin_write_DMA2_6_CONFIG(val) bfin_write16(DMA2_6_CONFIG, val)
527#define bfin_read_DMA2_6_NEXT_DESC_PTR() bfin_readPTR(DMA2_6_NEXT_DESC_PTR)
528#define bfin_write_DMA2_6_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_6_NEXT_DESC_PTR, val)
529#define bfin_read_DMA2_6_START_ADDR() bfin_readPTR(DMA2_6_START_ADDR)
530#define bfin_write_DMA2_6_START_ADDR(val) bfin_writePTR(DMA2_6_START_ADDR, val)
531#define bfin_read_DMA2_6_X_COUNT() bfin_read16(DMA2_6_X_COUNT)
532#define bfin_write_DMA2_6_X_COUNT(val) bfin_write16(DMA2_6_X_COUNT, val)
533#define bfin_read_DMA2_6_Y_COUNT() bfin_read16(DMA2_6_Y_COUNT)
534#define bfin_write_DMA2_6_Y_COUNT(val) bfin_write16(DMA2_6_Y_COUNT, val)
535#define bfin_read_DMA2_6_X_MODIFY() bfin_read16(DMA2_6_X_MODIFY)
536#define bfin_write_DMA2_6_X_MODIFY(val) bfin_write16(DMA2_6_X_MODIFY, val)
537#define bfin_read_DMA2_6_Y_MODIFY() bfin_read16(DMA2_6_Y_MODIFY)
538#define bfin_write_DMA2_6_Y_MODIFY(val) bfin_write16(DMA2_6_Y_MODIFY, val)
539#define bfin_read_DMA2_6_CURR_DESC_PTR() bfin_readPTR(DMA2_6_CURR_DESC_PTR)
540#define bfin_write_DMA2_6_CURR_DESC_PTR(val) bfin_writePTR(DMA2_6_CURR_DESC_PTR, val)
541#define bfin_read_DMA2_6_CURR_ADDR() bfin_readPTR(DMA2_6_CURR_ADDR)
542#define bfin_write_DMA2_6_CURR_ADDR(val) bfin_writePTR(DMA2_6_CURR_ADDR, val)
543#define bfin_read_DMA2_6_CURR_X_COUNT() bfin_read16(DMA2_6_CURR_X_COUNT)
544#define bfin_write_DMA2_6_CURR_X_COUNT(val) bfin_write16(DMA2_6_CURR_X_COUNT, val)
545#define bfin_read_DMA2_6_CURR_Y_COUNT() bfin_read16(DMA2_6_CURR_Y_COUNT)
546#define bfin_write_DMA2_6_CURR_Y_COUNT(val) bfin_write16(DMA2_6_CURR_Y_COUNT, val)
547#define bfin_read_DMA2_6_IRQ_STATUS() bfin_read16(DMA2_6_IRQ_STATUS)
548#define bfin_write_DMA2_6_IRQ_STATUS(val) bfin_write16(DMA2_6_IRQ_STATUS, val)
549#define bfin_read_DMA2_6_PERIPHERAL_MAP() bfin_read16(DMA2_6_PERIPHERAL_MAP)
550#define bfin_write_DMA2_6_PERIPHERAL_MAP(val) bfin_write16(DMA2_6_PERIPHERAL_MAP, val)
551#define bfin_read_DMA2_7_CONFIG() bfin_read16(DMA2_7_CONFIG)
552#define bfin_write_DMA2_7_CONFIG(val) bfin_write16(DMA2_7_CONFIG, val)
553#define bfin_read_DMA2_7_NEXT_DESC_PTR() bfin_readPTR(DMA2_7_NEXT_DESC_PTR)
554#define bfin_write_DMA2_7_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_7_NEXT_DESC_PTR, val)
555#define bfin_read_DMA2_7_START_ADDR() bfin_readPTR(DMA2_7_START_ADDR)
556#define bfin_write_DMA2_7_START_ADDR(val) bfin_writePTR(DMA2_7_START_ADDR, val)
557#define bfin_read_DMA2_7_X_COUNT() bfin_read16(DMA2_7_X_COUNT)
558#define bfin_write_DMA2_7_X_COUNT(val) bfin_write16(DMA2_7_X_COUNT, val)
559#define bfin_read_DMA2_7_Y_COUNT() bfin_read16(DMA2_7_Y_COUNT)
560#define bfin_write_DMA2_7_Y_COUNT(val) bfin_write16(DMA2_7_Y_COUNT, val)
561#define bfin_read_DMA2_7_X_MODIFY() bfin_read16(DMA2_7_X_MODIFY)
562#define bfin_write_DMA2_7_X_MODIFY(val) bfin_write16(DMA2_7_X_MODIFY, val)
563#define bfin_read_DMA2_7_Y_MODIFY() bfin_read16(DMA2_7_Y_MODIFY)
564#define bfin_write_DMA2_7_Y_MODIFY(val) bfin_write16(DMA2_7_Y_MODIFY, val)
565#define bfin_read_DMA2_7_CURR_DESC_PTR() bfin_readPTR(DMA2_7_CURR_DESC_PTR)
566#define bfin_write_DMA2_7_CURR_DESC_PTR(val) bfin_writePTR(DMA2_7_CURR_DESC_PTR, val)
567#define bfin_read_DMA2_7_CURR_ADDR() bfin_readPTR(DMA2_7_CURR_ADDR)
568#define bfin_write_DMA2_7_CURR_ADDR(val) bfin_writePTR(DMA2_7_CURR_ADDR, val)
569#define bfin_read_DMA2_7_CURR_X_COUNT() bfin_read16(DMA2_7_CURR_X_COUNT)
570#define bfin_write_DMA2_7_CURR_X_COUNT(val) bfin_write16(DMA2_7_CURR_X_COUNT, val)
571#define bfin_read_DMA2_7_CURR_Y_COUNT() bfin_read16(DMA2_7_CURR_Y_COUNT)
572#define bfin_write_DMA2_7_CURR_Y_COUNT(val) bfin_write16(DMA2_7_CURR_Y_COUNT, val)
573#define bfin_read_DMA2_7_IRQ_STATUS() bfin_read16(DMA2_7_IRQ_STATUS)
574#define bfin_write_DMA2_7_IRQ_STATUS(val) bfin_write16(DMA2_7_IRQ_STATUS, val)
575#define bfin_read_DMA2_7_PERIPHERAL_MAP() bfin_read16(DMA2_7_PERIPHERAL_MAP)
576#define bfin_write_DMA2_7_PERIPHERAL_MAP(val) bfin_write16(DMA2_7_PERIPHERAL_MAP, val)
577#define bfin_read_DMA2_8_CONFIG() bfin_read16(DMA2_8_CONFIG)
578#define bfin_write_DMA2_8_CONFIG(val) bfin_write16(DMA2_8_CONFIG, val)
579#define bfin_read_DMA2_8_NEXT_DESC_PTR() bfin_readPTR(DMA2_8_NEXT_DESC_PTR)
580#define bfin_write_DMA2_8_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_8_NEXT_DESC_PTR, val)
581#define bfin_read_DMA2_8_START_ADDR() bfin_readPTR(DMA2_8_START_ADDR)
582#define bfin_write_DMA2_8_START_ADDR(val) bfin_writePTR(DMA2_8_START_ADDR, val)
583#define bfin_read_DMA2_8_X_COUNT() bfin_read16(DMA2_8_X_COUNT)
584#define bfin_write_DMA2_8_X_COUNT(val) bfin_write16(DMA2_8_X_COUNT, val)
585#define bfin_read_DMA2_8_Y_COUNT() bfin_read16(DMA2_8_Y_COUNT)
586#define bfin_write_DMA2_8_Y_COUNT(val) bfin_write16(DMA2_8_Y_COUNT, val)
587#define bfin_read_DMA2_8_X_MODIFY() bfin_read16(DMA2_8_X_MODIFY)
588#define bfin_write_DMA2_8_X_MODIFY(val) bfin_write16(DMA2_8_X_MODIFY, val)
589#define bfin_read_DMA2_8_Y_MODIFY() bfin_read16(DMA2_8_Y_MODIFY)
590#define bfin_write_DMA2_8_Y_MODIFY(val) bfin_write16(DMA2_8_Y_MODIFY, val)
591#define bfin_read_DMA2_8_CURR_DESC_PTR() bfin_readPTR(DMA2_8_CURR_DESC_PTR)
592#define bfin_write_DMA2_8_CURR_DESC_PTR(val) bfin_writePTR(DMA2_8_CURR_DESC_PTR, val)
593#define bfin_read_DMA2_8_CURR_ADDR() bfin_readPTR(DMA2_8_CURR_ADDR)
594#define bfin_write_DMA2_8_CURR_ADDR(val) bfin_writePTR(DMA2_8_CURR_ADDR, val)
595#define bfin_read_DMA2_8_CURR_X_COUNT() bfin_read16(DMA2_8_CURR_X_COUNT)
596#define bfin_write_DMA2_8_CURR_X_COUNT(val) bfin_write16(DMA2_8_CURR_X_COUNT, val)
597#define bfin_read_DMA2_8_CURR_Y_COUNT() bfin_read16(DMA2_8_CURR_Y_COUNT)
598#define bfin_write_DMA2_8_CURR_Y_COUNT(val) bfin_write16(DMA2_8_CURR_Y_COUNT, val)
599#define bfin_read_DMA2_8_IRQ_STATUS() bfin_read16(DMA2_8_IRQ_STATUS)
600#define bfin_write_DMA2_8_IRQ_STATUS(val) bfin_write16(DMA2_8_IRQ_STATUS, val)
601#define bfin_read_DMA2_8_PERIPHERAL_MAP() bfin_read16(DMA2_8_PERIPHERAL_MAP)
602#define bfin_write_DMA2_8_PERIPHERAL_MAP(val) bfin_write16(DMA2_8_PERIPHERAL_MAP, val)
603#define bfin_read_DMA2_9_CONFIG() bfin_read16(DMA2_9_CONFIG)
604#define bfin_write_DMA2_9_CONFIG(val) bfin_write16(DMA2_9_CONFIG, val)
605#define bfin_read_DMA2_9_NEXT_DESC_PTR() bfin_readPTR(DMA2_9_NEXT_DESC_PTR)
606#define bfin_write_DMA2_9_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_9_NEXT_DESC_PTR, val)
607#define bfin_read_DMA2_9_START_ADDR() bfin_readPTR(DMA2_9_START_ADDR)
608#define bfin_write_DMA2_9_START_ADDR(val) bfin_writePTR(DMA2_9_START_ADDR, val)
609#define bfin_read_DMA2_9_X_COUNT() bfin_read16(DMA2_9_X_COUNT)
610#define bfin_write_DMA2_9_X_COUNT(val) bfin_write16(DMA2_9_X_COUNT, val)
611#define bfin_read_DMA2_9_Y_COUNT() bfin_read16(DMA2_9_Y_COUNT)
612#define bfin_write_DMA2_9_Y_COUNT(val) bfin_write16(DMA2_9_Y_COUNT, val)
613#define bfin_read_DMA2_9_X_MODIFY() bfin_read16(DMA2_9_X_MODIFY)
614#define bfin_write_DMA2_9_X_MODIFY(val) bfin_write16(DMA2_9_X_MODIFY, val)
615#define bfin_read_DMA2_9_Y_MODIFY() bfin_read16(DMA2_9_Y_MODIFY)
616#define bfin_write_DMA2_9_Y_MODIFY(val) bfin_write16(DMA2_9_Y_MODIFY, val)
617#define bfin_read_DMA2_9_CURR_DESC_PTR() bfin_readPTR(DMA2_9_CURR_DESC_PTR)
618#define bfin_write_DMA2_9_CURR_DESC_PTR(val) bfin_writePTR(DMA2_9_CURR_DESC_PTR, val)
619#define bfin_read_DMA2_9_CURR_ADDR() bfin_readPTR(DMA2_9_CURR_ADDR)
620#define bfin_write_DMA2_9_CURR_ADDR(val) bfin_writePTR(DMA2_9_CURR_ADDR, val)
621#define bfin_read_DMA2_9_CURR_X_COUNT() bfin_read16(DMA2_9_CURR_X_COUNT)
622#define bfin_write_DMA2_9_CURR_X_COUNT(val) bfin_write16(DMA2_9_CURR_X_COUNT, val)
623#define bfin_read_DMA2_9_CURR_Y_COUNT() bfin_read16(DMA2_9_CURR_Y_COUNT)
624#define bfin_write_DMA2_9_CURR_Y_COUNT(val) bfin_write16(DMA2_9_CURR_Y_COUNT, val)
625#define bfin_read_DMA2_9_IRQ_STATUS() bfin_read16(DMA2_9_IRQ_STATUS)
626#define bfin_write_DMA2_9_IRQ_STATUS(val) bfin_write16(DMA2_9_IRQ_STATUS, val)
627#define bfin_read_DMA2_9_PERIPHERAL_MAP() bfin_read16(DMA2_9_PERIPHERAL_MAP)
628#define bfin_write_DMA2_9_PERIPHERAL_MAP(val) bfin_write16(DMA2_9_PERIPHERAL_MAP, val)
629#define bfin_read_DMA2_10_CONFIG() bfin_read16(DMA2_10_CONFIG)
630#define bfin_write_DMA2_10_CONFIG(val) bfin_write16(DMA2_10_CONFIG, val)
631#define bfin_read_DMA2_10_NEXT_DESC_PTR() bfin_readPTR(DMA2_10_NEXT_DESC_PTR)
632#define bfin_write_DMA2_10_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_10_NEXT_DESC_PTR, val)
633#define bfin_read_DMA2_10_START_ADDR() bfin_readPTR(DMA2_10_START_ADDR)
634#define bfin_write_DMA2_10_START_ADDR(val) bfin_writePTR(DMA2_10_START_ADDR, val)
635#define bfin_read_DMA2_10_X_COUNT() bfin_read16(DMA2_10_X_COUNT)
636#define bfin_write_DMA2_10_X_COUNT(val) bfin_write16(DMA2_10_X_COUNT, val)
637#define bfin_read_DMA2_10_Y_COUNT() bfin_read16(DMA2_10_Y_COUNT)
638#define bfin_write_DMA2_10_Y_COUNT(val) bfin_write16(DMA2_10_Y_COUNT, val)
639#define bfin_read_DMA2_10_X_MODIFY() bfin_read16(DMA2_10_X_MODIFY)
640#define bfin_write_DMA2_10_X_MODIFY(val) bfin_write16(DMA2_10_X_MODIFY, val)
641#define bfin_read_DMA2_10_Y_MODIFY() bfin_read16(DMA2_10_Y_MODIFY)
642#define bfin_write_DMA2_10_Y_MODIFY(val) bfin_write16(DMA2_10_Y_MODIFY, val)
643#define bfin_read_DMA2_10_CURR_DESC_PTR() bfin_readPTR(DMA2_10_CURR_DESC_PTR)
644#define bfin_write_DMA2_10_CURR_DESC_PTR(val) bfin_writePTR(DMA2_10_CURR_DESC_PTR, val)
645#define bfin_read_DMA2_10_CURR_ADDR() bfin_readPTR(DMA2_10_CURR_ADDR)
646#define bfin_write_DMA2_10_CURR_ADDR(val) bfin_writePTR(DMA2_10_CURR_ADDR, val)
647#define bfin_read_DMA2_10_CURR_X_COUNT() bfin_read16(DMA2_10_CURR_X_COUNT)
648#define bfin_write_DMA2_10_CURR_X_COUNT(val) bfin_write16(DMA2_10_CURR_X_COUNT, val)
649#define bfin_read_DMA2_10_CURR_Y_COUNT() bfin_read16(DMA2_10_CURR_Y_COUNT)
650#define bfin_write_DMA2_10_CURR_Y_COUNT(val) bfin_write16(DMA2_10_CURR_Y_COUNT, val)
651#define bfin_read_DMA2_10_IRQ_STATUS() bfin_read16(DMA2_10_IRQ_STATUS)
652#define bfin_write_DMA2_10_IRQ_STATUS(val) bfin_write16(DMA2_10_IRQ_STATUS, val)
653#define bfin_read_DMA2_10_PERIPHERAL_MAP() bfin_read16(DMA2_10_PERIPHERAL_MAP)
654#define bfin_write_DMA2_10_PERIPHERAL_MAP(val) bfin_write16(DMA2_10_PERIPHERAL_MAP, val)
655#define bfin_read_DMA2_11_CONFIG() bfin_read16(DMA2_11_CONFIG)
656#define bfin_write_DMA2_11_CONFIG(val) bfin_write16(DMA2_11_CONFIG, val)
657#define bfin_read_DMA2_11_NEXT_DESC_PTR() bfin_readPTR(DMA2_11_NEXT_DESC_PTR)
658#define bfin_write_DMA2_11_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_11_NEXT_DESC_PTR, val)
659#define bfin_read_DMA2_11_START_ADDR() bfin_readPTR(DMA2_11_START_ADDR)
660#define bfin_write_DMA2_11_START_ADDR(val) bfin_writePTR(DMA2_11_START_ADDR, val)
661#define bfin_read_DMA2_11_X_COUNT() bfin_read16(DMA2_11_X_COUNT)
662#define bfin_write_DMA2_11_X_COUNT(val) bfin_write16(DMA2_11_X_COUNT, val)
663#define bfin_read_DMA2_11_Y_COUNT() bfin_read16(DMA2_11_Y_COUNT)
664#define bfin_write_DMA2_11_Y_COUNT(val) bfin_write16(DMA2_11_Y_COUNT, val)
665#define bfin_read_DMA2_11_X_MODIFY() bfin_read16(DMA2_11_X_MODIFY)
666#define bfin_write_DMA2_11_X_MODIFY(val) bfin_write16(DMA2_11_X_MODIFY, val)
667#define bfin_read_DMA2_11_Y_MODIFY() bfin_read16(DMA2_11_Y_MODIFY)
668#define bfin_write_DMA2_11_Y_MODIFY(val) bfin_write16(DMA2_11_Y_MODIFY, val)
669#define bfin_read_DMA2_11_CURR_DESC_PTR() bfin_readPTR(DMA2_11_CURR_DESC_PTR)
670#define bfin_write_DMA2_11_CURR_DESC_PTR(val) bfin_writePTR(DMA2_11_CURR_DESC_PTR, val)
671#define bfin_read_DMA2_11_CURR_ADDR() bfin_readPTR(DMA2_11_CURR_ADDR)
672#define bfin_write_DMA2_11_CURR_ADDR(val) bfin_writePTR(DMA2_11_CURR_ADDR, val)
673#define bfin_read_DMA2_11_CURR_X_COUNT() bfin_read16(DMA2_11_CURR_X_COUNT)
674#define bfin_write_DMA2_11_CURR_X_COUNT(val) bfin_write16(DMA2_11_CURR_X_COUNT, val)
675#define bfin_read_DMA2_11_CURR_Y_COUNT() bfin_read16(DMA2_11_CURR_Y_COUNT)
676#define bfin_write_DMA2_11_CURR_Y_COUNT(val) bfin_write16(DMA2_11_CURR_Y_COUNT, val)
677#define bfin_read_DMA2_11_IRQ_STATUS() bfin_read16(DMA2_11_IRQ_STATUS)
678#define bfin_write_DMA2_11_IRQ_STATUS(val) bfin_write16(DMA2_11_IRQ_STATUS, val)
679#define bfin_read_DMA2_11_PERIPHERAL_MAP() bfin_read16(DMA2_11_PERIPHERAL_MAP)
680#define bfin_write_DMA2_11_PERIPHERAL_MAP(val) bfin_write16(DMA2_11_PERIPHERAL_MAP, val)
681#define bfin_read_IMDMA_S0_CONFIG() bfin_read16(IMDMA_S0_CONFIG)
682#define bfin_write_IMDMA_S0_CONFIG(val) bfin_write16(IMDMA_S0_CONFIG, val)
683#define bfin_read_IMDMA_S0_NEXT_DESC_PTR() bfin_readPTR(IMDMA_S0_NEXT_DESC_PTR)
684#define bfin_write_IMDMA_S0_NEXT_DESC_PTR(val) bfin_writePTR(IMDMA_S0_NEXT_DESC_PTR, val)
685#define bfin_read_IMDMA_S0_START_ADDR() bfin_readPTR(IMDMA_S0_START_ADDR)
686#define bfin_write_IMDMA_S0_START_ADDR(val) bfin_writePTR(IMDMA_S0_START_ADDR, val)
687#define bfin_read_IMDMA_S0_X_COUNT() bfin_read16(IMDMA_S0_X_COUNT)
688#define bfin_write_IMDMA_S0_X_COUNT(val) bfin_write16(IMDMA_S0_X_COUNT, val)
689#define bfin_read_IMDMA_S0_Y_COUNT() bfin_read16(IMDMA_S0_Y_COUNT)
690#define bfin_write_IMDMA_S0_Y_COUNT(val) bfin_write16(IMDMA_S0_Y_COUNT, val)
691#define bfin_read_IMDMA_S0_X_MODIFY() bfin_read16(IMDMA_S0_X_MODIFY)
692#define bfin_write_IMDMA_S0_X_MODIFY(val) bfin_write16(IMDMA_S0_X_MODIFY, val)
693#define bfin_read_IMDMA_S0_Y_MODIFY() bfin_read16(IMDMA_S0_Y_MODIFY)
694#define bfin_write_IMDMA_S0_Y_MODIFY(val) bfin_write16(IMDMA_S0_Y_MODIFY, val)
695#define bfin_read_IMDMA_S0_CURR_DESC_PTR() bfin_readPTR(IMDMA_S0_CURR_DESC_PTR)
696#define bfin_write_IMDMA_S0_CURR_DESC_PTR(val) bfin_writePTR(IMDMA_S0_CURR_DESC_PTR, val)
697#define bfin_read_IMDMA_S0_CURR_ADDR() bfin_readPTR(IMDMA_S0_CURR_ADDR)
698#define bfin_write_IMDMA_S0_CURR_ADDR(val) bfin_writePTR(IMDMA_S0_CURR_ADDR, val)
699#define bfin_read_IMDMA_S0_CURR_X_COUNT() bfin_read16(IMDMA_S0_CURR_X_COUNT)
700#define bfin_write_IMDMA_S0_CURR_X_COUNT(val) bfin_write16(IMDMA_S0_CURR_X_COUNT, val)
701#define bfin_read_IMDMA_S0_CURR_Y_COUNT() bfin_read16(IMDMA_S0_CURR_Y_COUNT)
702#define bfin_write_IMDMA_S0_CURR_Y_COUNT(val) bfin_write16(IMDMA_S0_CURR_Y_COUNT, val)
703#define bfin_read_IMDMA_S0_IRQ_STATUS() bfin_read16(IMDMA_S0_IRQ_STATUS)
704#define bfin_write_IMDMA_S0_IRQ_STATUS(val) bfin_write16(IMDMA_S0_IRQ_STATUS, val)
705#define bfin_read_IMDMA_D0_CONFIG() bfin_read16(IMDMA_D0_CONFIG)
706#define bfin_write_IMDMA_D0_CONFIG(val) bfin_write16(IMDMA_D0_CONFIG, val)
707#define bfin_read_IMDMA_D0_NEXT_DESC_PTR() bfin_readPTR(IMDMA_D0_NEXT_DESC_PTR)
708#define bfin_write_IMDMA_D0_NEXT_DESC_PTR(val) bfin_writePTR(IMDMA_D0_NEXT_DESC_PTR, val)
709#define bfin_read_IMDMA_D0_START_ADDR() bfin_readPTR(IMDMA_D0_START_ADDR)
710#define bfin_write_IMDMA_D0_START_ADDR(val) bfin_writePTR(IMDMA_D0_START_ADDR, val)
711#define bfin_read_IMDMA_D0_X_COUNT() bfin_read16(IMDMA_D0_X_COUNT)
712#define bfin_write_IMDMA_D0_X_COUNT(val) bfin_write16(IMDMA_D0_X_COUNT, val)
713#define bfin_read_IMDMA_D0_Y_COUNT() bfin_read16(IMDMA_D0_Y_COUNT)
714#define bfin_write_IMDMA_D0_Y_COUNT(val) bfin_write16(IMDMA_D0_Y_COUNT, val)
715#define bfin_read_IMDMA_D0_X_MODIFY() bfin_read16(IMDMA_D0_X_MODIFY)
716#define bfin_write_IMDMA_D0_X_MODIFY(val) bfin_write16(IMDMA_D0_X_MODIFY, val)
717#define bfin_read_IMDMA_D0_Y_MODIFY() bfin_read16(IMDMA_D0_Y_MODIFY)
718#define bfin_write_IMDMA_D0_Y_MODIFY(val) bfin_write16(IMDMA_D0_Y_MODIFY, val)
719#define bfin_read_IMDMA_D0_CURR_DESC_PTR() bfin_readPTR(IMDMA_D0_CURR_DESC_PTR)
720#define bfin_write_IMDMA_D0_CURR_DESC_PTR(val) bfin_writePTR(IMDMA_D0_CURR_DESC_PTR, val)
721#define bfin_read_IMDMA_D0_CURR_ADDR() bfin_readPTR(IMDMA_D0_CURR_ADDR)
722#define bfin_write_IMDMA_D0_CURR_ADDR(val) bfin_writePTR(IMDMA_D0_CURR_ADDR, val)
723#define bfin_read_IMDMA_D0_CURR_X_COUNT() bfin_read16(IMDMA_D0_CURR_X_COUNT)
724#define bfin_write_IMDMA_D0_CURR_X_COUNT(val) bfin_write16(IMDMA_D0_CURR_X_COUNT, val)
725#define bfin_read_IMDMA_D0_CURR_Y_COUNT() bfin_read16(IMDMA_D0_CURR_Y_COUNT)
726#define bfin_write_IMDMA_D0_CURR_Y_COUNT(val) bfin_write16(IMDMA_D0_CURR_Y_COUNT, val)
727#define bfin_read_IMDMA_D0_IRQ_STATUS() bfin_read16(IMDMA_D0_IRQ_STATUS)
728#define bfin_write_IMDMA_D0_IRQ_STATUS(val) bfin_write16(IMDMA_D0_IRQ_STATUS, val)
729#define bfin_read_IMDMA_S1_CONFIG() bfin_read16(IMDMA_S1_CONFIG)
730#define bfin_write_IMDMA_S1_CONFIG(val) bfin_write16(IMDMA_S1_CONFIG, val)
731#define bfin_read_IMDMA_S1_NEXT_DESC_PTR() bfin_readPTR(IMDMA_S1_NEXT_DESC_PTR)
732#define bfin_write_IMDMA_S1_NEXT_DESC_PTR(val) bfin_writePTR(IMDMA_S1_NEXT_DESC_PTR, val)
733#define bfin_read_IMDMA_S1_START_ADDR() bfin_readPTR(IMDMA_S1_START_ADDR)
734#define bfin_write_IMDMA_S1_START_ADDR(val) bfin_writePTR(IMDMA_S1_START_ADDR, val)
735#define bfin_read_IMDMA_S1_X_COUNT() bfin_read16(IMDMA_S1_X_COUNT)
736#define bfin_write_IMDMA_S1_X_COUNT(val) bfin_write16(IMDMA_S1_X_COUNT, val)
737#define bfin_read_IMDMA_S1_Y_COUNT() bfin_read16(IMDMA_S1_Y_COUNT)
738#define bfin_write_IMDMA_S1_Y_COUNT(val) bfin_write16(IMDMA_S1_Y_COUNT, val)
739#define bfin_read_IMDMA_S1_X_MODIFY() bfin_read16(IMDMA_S1_X_MODIFY)
740#define bfin_write_IMDMA_S1_X_MODIFY(val) bfin_write16(IMDMA_S1_X_MODIFY, val)
741#define bfin_read_IMDMA_S1_Y_MODIFY() bfin_read16(IMDMA_S1_Y_MODIFY)
742#define bfin_write_IMDMA_S1_Y_MODIFY(val) bfin_write16(IMDMA_S1_Y_MODIFY, val)
743#define bfin_read_IMDMA_S1_CURR_DESC_PTR() bfin_readPTR(IMDMA_S1_CURR_DESC_PTR)
744#define bfin_write_IMDMA_S1_CURR_DESC_PTR(val) bfin_writePTR(IMDMA_S1_CURR_DESC_PTR, val)
745#define bfin_read_IMDMA_S1_CURR_ADDR() bfin_readPTR(IMDMA_S1_CURR_ADDR)
746#define bfin_write_IMDMA_S1_CURR_ADDR(val) bfin_writePTR(IMDMA_S1_CURR_ADDR, val)
747#define bfin_read_IMDMA_S1_CURR_X_COUNT() bfin_read16(IMDMA_S1_CURR_X_COUNT)
748#define bfin_write_IMDMA_S1_CURR_X_COUNT(val) bfin_write16(IMDMA_S1_CURR_X_COUNT, val)
749#define bfin_read_IMDMA_S1_CURR_Y_COUNT() bfin_read16(IMDMA_S1_CURR_Y_COUNT)
750#define bfin_write_IMDMA_S1_CURR_Y_COUNT(val) bfin_write16(IMDMA_S1_CURR_Y_COUNT, val)
751#define bfin_read_IMDMA_S1_IRQ_STATUS() bfin_read16(IMDMA_S1_IRQ_STATUS)
752#define bfin_write_IMDMA_S1_IRQ_STATUS(val) bfin_write16(IMDMA_S1_IRQ_STATUS, val)
753#define bfin_read_IMDMA_D1_CONFIG() bfin_read16(IMDMA_D1_CONFIG)
754#define bfin_write_IMDMA_D1_CONFIG(val) bfin_write16(IMDMA_D1_CONFIG, val)
755#define bfin_read_IMDMA_D1_NEXT_DESC_PTR() bfin_readPTR(IMDMA_D1_NEXT_DESC_PTR)
756#define bfin_write_IMDMA_D1_NEXT_DESC_PTR(val) bfin_writePTR(IMDMA_D1_NEXT_DESC_PTR, val)
757#define bfin_read_IMDMA_D1_START_ADDR() bfin_readPTR(IMDMA_D1_START_ADDR)
758#define bfin_write_IMDMA_D1_START_ADDR(val) bfin_writePTR(IMDMA_D1_START_ADDR, val)
759#define bfin_read_IMDMA_D1_X_COUNT() bfin_read16(IMDMA_D1_X_COUNT)
760#define bfin_write_IMDMA_D1_X_COUNT(val) bfin_write16(IMDMA_D1_X_COUNT, val)
761#define bfin_read_IMDMA_D1_Y_COUNT() bfin_read16(IMDMA_D1_Y_COUNT)
762#define bfin_write_IMDMA_D1_Y_COUNT(val) bfin_write16(IMDMA_D1_Y_COUNT, val)
763#define bfin_read_IMDMA_D1_X_MODIFY() bfin_read16(IMDMA_D1_X_MODIFY)
764#define bfin_write_IMDMA_D1_X_MODIFY(val) bfin_write16(IMDMA_D1_X_MODIFY, val)
765#define bfin_read_IMDMA_D1_Y_MODIFY() bfin_read16(IMDMA_D1_Y_MODIFY)
766#define bfin_write_IMDMA_D1_Y_MODIFY(val) bfin_write16(IMDMA_D1_Y_MODIFY, val)
767#define bfin_read_IMDMA_D1_CURR_DESC_PTR() bfin_readPTR(IMDMA_D1_CURR_DESC_PTR)
768#define bfin_write_IMDMA_D1_CURR_DESC_PTR(val) bfin_writePTR(IMDMA_D1_CURR_DESC_PTR, val)
769#define bfin_read_IMDMA_D1_CURR_ADDR() bfin_readPTR(IMDMA_D1_CURR_ADDR)
770#define bfin_write_IMDMA_D1_CURR_ADDR(val) bfin_writePTR(IMDMA_D1_CURR_ADDR, val)
771#define bfin_read_IMDMA_D1_CURR_X_COUNT() bfin_read16(IMDMA_D1_CURR_X_COUNT)
772#define bfin_write_IMDMA_D1_CURR_X_COUNT(val) bfin_write16(IMDMA_D1_CURR_X_COUNT, val)
773#define bfin_read_IMDMA_D1_CURR_Y_COUNT() bfin_read16(IMDMA_D1_CURR_Y_COUNT)
774#define bfin_write_IMDMA_D1_CURR_Y_COUNT(val) bfin_write16(IMDMA_D1_CURR_Y_COUNT, val)
775#define bfin_read_IMDMA_D1_IRQ_STATUS() bfin_read16(IMDMA_D1_IRQ_STATUS)
776#define bfin_write_IMDMA_D1_IRQ_STATUS(val) bfin_write16(IMDMA_D1_IRQ_STATUS, val)
777#define bfin_read_MDMA1_S0_CONFIG() bfin_read16(MDMA1_S0_CONFIG)
778#define bfin_write_MDMA1_S0_CONFIG(val) bfin_write16(MDMA1_S0_CONFIG, val)
779#define bfin_read_MDMA1_S0_NEXT_DESC_PTR() bfin_readPTR(MDMA1_S0_NEXT_DESC_PTR)
780#define bfin_write_MDMA1_S0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA1_S0_NEXT_DESC_PTR, val)
781#define bfin_read_MDMA1_S0_START_ADDR() bfin_readPTR(MDMA1_S0_START_ADDR)
782#define bfin_write_MDMA1_S0_START_ADDR(val) bfin_writePTR(MDMA1_S0_START_ADDR, val)
783#define bfin_read_MDMA1_S0_X_COUNT() bfin_read16(MDMA1_S0_X_COUNT)
784#define bfin_write_MDMA1_S0_X_COUNT(val) bfin_write16(MDMA1_S0_X_COUNT, val)
785#define bfin_read_MDMA1_S0_Y_COUNT() bfin_read16(MDMA1_S0_Y_COUNT)
786#define bfin_write_MDMA1_S0_Y_COUNT(val) bfin_write16(MDMA1_S0_Y_COUNT, val)
787#define bfin_read_MDMA1_S0_X_MODIFY() bfin_read16(MDMA1_S0_X_MODIFY)
788#define bfin_write_MDMA1_S0_X_MODIFY(val) bfin_write16(MDMA1_S0_X_MODIFY, val)
789#define bfin_read_MDMA1_S0_Y_MODIFY() bfin_read16(MDMA1_S0_Y_MODIFY)
790#define bfin_write_MDMA1_S0_Y_MODIFY(val) bfin_write16(MDMA1_S0_Y_MODIFY, val)
791#define bfin_read_MDMA1_S0_CURR_DESC_PTR() bfin_readPTR(MDMA1_S0_CURR_DESC_PTR)
792#define bfin_write_MDMA1_S0_CURR_DESC_PTR(val) bfin_writePTR(MDMA1_S0_CURR_DESC_PTR, val)
793#define bfin_read_MDMA1_S0_CURR_ADDR() bfin_readPTR(MDMA1_S0_CURR_ADDR)
794#define bfin_write_MDMA1_S0_CURR_ADDR(val) bfin_writePTR(MDMA1_S0_CURR_ADDR, val)
795#define bfin_read_MDMA1_S0_CURR_X_COUNT() bfin_read16(MDMA1_S0_CURR_X_COUNT)
796#define bfin_write_MDMA1_S0_CURR_X_COUNT(val) bfin_write16(MDMA1_S0_CURR_X_COUNT, val)
797#define bfin_read_MDMA1_S0_CURR_Y_COUNT() bfin_read16(MDMA1_S0_CURR_Y_COUNT)
798#define bfin_write_MDMA1_S0_CURR_Y_COUNT(val) bfin_write16(MDMA1_S0_CURR_Y_COUNT, val)
799#define bfin_read_MDMA1_S0_IRQ_STATUS() bfin_read16(MDMA1_S0_IRQ_STATUS)
800#define bfin_write_MDMA1_S0_IRQ_STATUS(val) bfin_write16(MDMA1_S0_IRQ_STATUS, val)
801#define bfin_read_MDMA1_S0_PERIPHERAL_MAP() bfin_read16(MDMA1_S0_PERIPHERAL_MAP)
802#define bfin_write_MDMA1_S0_PERIPHERAL_MAP(val) bfin_write16(MDMA1_S0_PERIPHERAL_MAP, val)
803#define bfin_read_MDMA1_D0_CONFIG() bfin_read16(MDMA1_D0_CONFIG)
804#define bfin_write_MDMA1_D0_CONFIG(val) bfin_write16(MDMA1_D0_CONFIG, val)
805#define bfin_read_MDMA1_D0_NEXT_DESC_PTR() bfin_readPTR(MDMA1_D0_NEXT_DESC_PTR)
806#define bfin_write_MDMA1_D0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA1_D0_NEXT_DESC_PTR, val)
807#define bfin_read_MDMA1_D0_START_ADDR() bfin_readPTR(MDMA1_D0_START_ADDR)
808#define bfin_write_MDMA1_D0_START_ADDR(val) bfin_writePTR(MDMA1_D0_START_ADDR, val)
809#define bfin_read_MDMA1_D0_X_COUNT() bfin_read16(MDMA1_D0_X_COUNT)
810#define bfin_write_MDMA1_D0_X_COUNT(val) bfin_write16(MDMA1_D0_X_COUNT, val)
811#define bfin_read_MDMA1_D0_Y_COUNT() bfin_read16(MDMA1_D0_Y_COUNT)
812#define bfin_write_MDMA1_D0_Y_COUNT(val) bfin_write16(MDMA1_D0_Y_COUNT, val)
813#define bfin_read_MDMA1_D0_X_MODIFY() bfin_read16(MDMA1_D0_X_MODIFY)
814#define bfin_write_MDMA1_D0_X_MODIFY(val) bfin_write16(MDMA1_D0_X_MODIFY, val)
815#define bfin_read_MDMA1_D0_Y_MODIFY() bfin_read16(MDMA1_D0_Y_MODIFY)
816#define bfin_write_MDMA1_D0_Y_MODIFY(val) bfin_write16(MDMA1_D0_Y_MODIFY, val)
817#define bfin_read_MDMA1_D0_CURR_DESC_PTR() bfin_readPTR(MDMA1_D0_CURR_DESC_PTR)
818#define bfin_write_MDMA1_D0_CURR_DESC_PTR(val) bfin_writePTR(MDMA1_D0_CURR_DESC_PTR, val)
819#define bfin_read_MDMA1_D0_CURR_ADDR() bfin_readPTR(MDMA1_D0_CURR_ADDR)
820#define bfin_write_MDMA1_D0_CURR_ADDR(val) bfin_writePTR(MDMA1_D0_CURR_ADDR, val)
821#define bfin_read_MDMA1_D0_CURR_X_COUNT() bfin_read16(MDMA1_D0_CURR_X_COUNT)
822#define bfin_write_MDMA1_D0_CURR_X_COUNT(val) bfin_write16(MDMA1_D0_CURR_X_COUNT, val)
823#define bfin_read_MDMA1_D0_CURR_Y_COUNT() bfin_read16(MDMA1_D0_CURR_Y_COUNT)
824#define bfin_write_MDMA1_D0_CURR_Y_COUNT(val) bfin_write16(MDMA1_D0_CURR_Y_COUNT, val)
825#define bfin_read_MDMA1_D0_IRQ_STATUS() bfin_read16(MDMA1_D0_IRQ_STATUS)
826#define bfin_write_MDMA1_D0_IRQ_STATUS(val) bfin_write16(MDMA1_D0_IRQ_STATUS, val)
827#define bfin_read_MDMA1_D0_PERIPHERAL_MAP() bfin_read16(MDMA1_D0_PERIPHERAL_MAP)
828#define bfin_write_MDMA1_D0_PERIPHERAL_MAP(val) bfin_write16(MDMA1_D0_PERIPHERAL_MAP, val)
829#define bfin_read_MDMA1_S1_CONFIG() bfin_read16(MDMA1_S1_CONFIG)
830#define bfin_write_MDMA1_S1_CONFIG(val) bfin_write16(MDMA1_S1_CONFIG, val)
831#define bfin_read_MDMA1_S1_NEXT_DESC_PTR() bfin_readPTR(MDMA1_S1_NEXT_DESC_PTR)
832#define bfin_write_MDMA1_S1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA1_S1_NEXT_DESC_PTR, val)
833#define bfin_read_MDMA1_S1_START_ADDR() bfin_readPTR(MDMA1_S1_START_ADDR)
834#define bfin_write_MDMA1_S1_START_ADDR(val) bfin_writePTR(MDMA1_S1_START_ADDR, val)
835#define bfin_read_MDMA1_S1_X_COUNT() bfin_read16(MDMA1_S1_X_COUNT)
836#define bfin_write_MDMA1_S1_X_COUNT(val) bfin_write16(MDMA1_S1_X_COUNT, val)
837#define bfin_read_MDMA1_S1_Y_COUNT() bfin_read16(MDMA1_S1_Y_COUNT)
838#define bfin_write_MDMA1_S1_Y_COUNT(val) bfin_write16(MDMA1_S1_Y_COUNT, val)
839#define bfin_read_MDMA1_S1_X_MODIFY() bfin_read16(MDMA1_S1_X_MODIFY)
840#define bfin_write_MDMA1_S1_X_MODIFY(val) bfin_write16(MDMA1_S1_X_MODIFY, val)
841#define bfin_read_MDMA1_S1_Y_MODIFY() bfin_read16(MDMA1_S1_Y_MODIFY)
842#define bfin_write_MDMA1_S1_Y_MODIFY(val) bfin_write16(MDMA1_S1_Y_MODIFY, val)
843#define bfin_read_MDMA1_S1_CURR_DESC_PTR() bfin_readPTR(MDMA1_S1_CURR_DESC_PTR)
844#define bfin_write_MDMA1_S1_CURR_DESC_PTR(val) bfin_writePTR(MDMA1_S1_CURR_DESC_PTR, val)
845#define bfin_read_MDMA1_S1_CURR_ADDR() bfin_readPTR(MDMA1_S1_CURR_ADDR)
846#define bfin_write_MDMA1_S1_CURR_ADDR(val) bfin_writePTR(MDMA1_S1_CURR_ADDR, val)
847#define bfin_read_MDMA1_S1_CURR_X_COUNT() bfin_read16(MDMA1_S1_CURR_X_COUNT)
848#define bfin_write_MDMA1_S1_CURR_X_COUNT(val) bfin_write16(MDMA1_S1_CURR_X_COUNT, val)
849#define bfin_read_MDMA1_S1_CURR_Y_COUNT() bfin_read16(MDMA1_S1_CURR_Y_COUNT)
850#define bfin_write_MDMA1_S1_CURR_Y_COUNT(val) bfin_write16(MDMA1_S1_CURR_Y_COUNT, val)
851#define bfin_read_MDMA1_S1_IRQ_STATUS() bfin_read16(MDMA1_S1_IRQ_STATUS)
852#define bfin_write_MDMA1_S1_IRQ_STATUS(val) bfin_write16(MDMA1_S1_IRQ_STATUS, val)
853#define bfin_read_MDMA1_S1_PERIPHERAL_MAP() bfin_read16(MDMA1_S1_PERIPHERAL_MAP)
854#define bfin_write_MDMA1_S1_PERIPHERAL_MAP(val) bfin_write16(MDMA1_S1_PERIPHERAL_MAP, val)
855#define bfin_read_MDMA1_D1_CONFIG() bfin_read16(MDMA1_D1_CONFIG)
856#define bfin_write_MDMA1_D1_CONFIG(val) bfin_write16(MDMA1_D1_CONFIG, val)
857#define bfin_read_MDMA1_D1_NEXT_DESC_PTR() bfin_readPTR(MDMA1_D1_NEXT_DESC_PTR)
858#define bfin_write_MDMA1_D1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA1_D1_NEXT_DESC_PTR, val)
859#define bfin_read_MDMA1_D1_START_ADDR() bfin_readPTR(MDMA1_D1_START_ADDR)
860#define bfin_write_MDMA1_D1_START_ADDR(val) bfin_writePTR(MDMA1_D1_START_ADDR, val)
861#define bfin_read_MDMA1_D1_X_COUNT() bfin_read16(MDMA1_D1_X_COUNT)
862#define bfin_write_MDMA1_D1_X_COUNT(val) bfin_write16(MDMA1_D1_X_COUNT, val)
863#define bfin_read_MDMA1_D1_Y_COUNT() bfin_read16(MDMA1_D1_Y_COUNT)
864#define bfin_write_MDMA1_D1_Y_COUNT(val) bfin_write16(MDMA1_D1_Y_COUNT, val)
865#define bfin_read_MDMA1_D1_X_MODIFY() bfin_read16(MDMA1_D1_X_MODIFY)
866#define bfin_write_MDMA1_D1_X_MODIFY(val) bfin_write16(MDMA1_D1_X_MODIFY, val)
867#define bfin_read_MDMA1_D1_Y_MODIFY() bfin_read16(MDMA1_D1_Y_MODIFY)
868#define bfin_write_MDMA1_D1_Y_MODIFY(val) bfin_write16(MDMA1_D1_Y_MODIFY, val)
869#define bfin_read_MDMA1_D1_CURR_DESC_PTR() bfin_readPTR(MDMA1_D1_CURR_DESC_PTR)
870#define bfin_write_MDMA1_D1_CURR_DESC_PTR(val) bfin_writePTR(MDMA1_D1_CURR_DESC_PTR, val)
871#define bfin_read_MDMA1_D1_CURR_ADDR() bfin_readPTR(MDMA1_D1_CURR_ADDR)
872#define bfin_write_MDMA1_D1_CURR_ADDR(val) bfin_writePTR(MDMA1_D1_CURR_ADDR, val)
873#define bfin_read_MDMA1_D1_CURR_X_COUNT() bfin_read16(MDMA1_D1_CURR_X_COUNT)
874#define bfin_write_MDMA1_D1_CURR_X_COUNT(val) bfin_write16(MDMA1_D1_CURR_X_COUNT, val)
875#define bfin_read_MDMA1_D1_CURR_Y_COUNT() bfin_read16(MDMA1_D1_CURR_Y_COUNT)
876#define bfin_write_MDMA1_D1_CURR_Y_COUNT(val) bfin_write16(MDMA1_D1_CURR_Y_COUNT, val)
877#define bfin_read_MDMA1_D1_IRQ_STATUS() bfin_read16(MDMA1_D1_IRQ_STATUS)
878#define bfin_write_MDMA1_D1_IRQ_STATUS(val) bfin_write16(MDMA1_D1_IRQ_STATUS, val)
879#define bfin_read_MDMA1_D1_PERIPHERAL_MAP() bfin_read16(MDMA1_D1_PERIPHERAL_MAP)
880#define bfin_write_MDMA1_D1_PERIPHERAL_MAP(val) bfin_write16(MDMA1_D1_PERIPHERAL_MAP, val)
881#define bfin_read_MDMA2_S0_CONFIG() bfin_read16(MDMA2_S0_CONFIG)
882#define bfin_write_MDMA2_S0_CONFIG(val) bfin_write16(MDMA2_S0_CONFIG, val)
883#define bfin_read_MDMA2_S0_NEXT_DESC_PTR() bfin_readPTR(MDMA2_S0_NEXT_DESC_PTR)
884#define bfin_write_MDMA2_S0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA2_S0_NEXT_DESC_PTR, val)
885#define bfin_read_MDMA2_S0_START_ADDR() bfin_readPTR(MDMA2_S0_START_ADDR)
886#define bfin_write_MDMA2_S0_START_ADDR(val) bfin_writePTR(MDMA2_S0_START_ADDR, val)
887#define bfin_read_MDMA2_S0_X_COUNT() bfin_read16(MDMA2_S0_X_COUNT)
888#define bfin_write_MDMA2_S0_X_COUNT(val) bfin_write16(MDMA2_S0_X_COUNT, val)
889#define bfin_read_MDMA2_S0_Y_COUNT() bfin_read16(MDMA2_S0_Y_COUNT)
890#define bfin_write_MDMA2_S0_Y_COUNT(val) bfin_write16(MDMA2_S0_Y_COUNT, val)
891#define bfin_read_MDMA2_S0_X_MODIFY() bfin_read16(MDMA2_S0_X_MODIFY)
892#define bfin_write_MDMA2_S0_X_MODIFY(val) bfin_write16(MDMA2_S0_X_MODIFY, val)
893#define bfin_read_MDMA2_S0_Y_MODIFY() bfin_read16(MDMA2_S0_Y_MODIFY)
894#define bfin_write_MDMA2_S0_Y_MODIFY(val) bfin_write16(MDMA2_S0_Y_MODIFY, val)
895#define bfin_read_MDMA2_S0_CURR_DESC_PTR() bfin_readPTR(MDMA2_S0_CURR_DESC_PTR)
896#define bfin_write_MDMA2_S0_CURR_DESC_PTR(val) bfin_writePTR(MDMA2_S0_CURR_DESC_PTR, val)
897#define bfin_read_MDMA2_S0_CURR_ADDR() bfin_readPTR(MDMA2_S0_CURR_ADDR)
898#define bfin_write_MDMA2_S0_CURR_ADDR(val) bfin_writePTR(MDMA2_S0_CURR_ADDR, val)
899#define bfin_read_MDMA2_S0_CURR_X_COUNT() bfin_read16(MDMA2_S0_CURR_X_COUNT)
900#define bfin_write_MDMA2_S0_CURR_X_COUNT(val) bfin_write16(MDMA2_S0_CURR_X_COUNT, val)
901#define bfin_read_MDMA2_S0_CURR_Y_COUNT() bfin_read16(MDMA2_S0_CURR_Y_COUNT)
902#define bfin_write_MDMA2_S0_CURR_Y_COUNT(val) bfin_write16(MDMA2_S0_CURR_Y_COUNT, val)
903#define bfin_read_MDMA2_S0_IRQ_STATUS() bfin_read16(MDMA2_S0_IRQ_STATUS)
904#define bfin_write_MDMA2_S0_IRQ_STATUS(val) bfin_write16(MDMA2_S0_IRQ_STATUS, val)
905#define bfin_read_MDMA2_S0_PERIPHERAL_MAP() bfin_read16(MDMA2_S0_PERIPHERAL_MAP)
906#define bfin_write_MDMA2_S0_PERIPHERAL_MAP(val) bfin_write16(MDMA2_S0_PERIPHERAL_MAP, val)
907#define bfin_read_MDMA2_D0_CONFIG() bfin_read16(MDMA2_D0_CONFIG)
908#define bfin_write_MDMA2_D0_CONFIG(val) bfin_write16(MDMA2_D0_CONFIG, val)
909#define bfin_read_MDMA2_D0_NEXT_DESC_PTR() bfin_readPTR(MDMA2_D0_NEXT_DESC_PTR)
910#define bfin_write_MDMA2_D0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA2_D0_NEXT_DESC_PTR, val)
911#define bfin_read_MDMA2_D0_START_ADDR() bfin_readPTR(MDMA2_D0_START_ADDR)
912#define bfin_write_MDMA2_D0_START_ADDR(val) bfin_writePTR(MDMA2_D0_START_ADDR, val)
913#define bfin_read_MDMA2_D0_X_COUNT() bfin_read16(MDMA2_D0_X_COUNT)
914#define bfin_write_MDMA2_D0_X_COUNT(val) bfin_write16(MDMA2_D0_X_COUNT, val)
915#define bfin_read_MDMA2_D0_Y_COUNT() bfin_read16(MDMA2_D0_Y_COUNT)
916#define bfin_write_MDMA2_D0_Y_COUNT(val) bfin_write16(MDMA2_D0_Y_COUNT, val)
917#define bfin_read_MDMA2_D0_X_MODIFY() bfin_read16(MDMA2_D0_X_MODIFY)
918#define bfin_write_MDMA2_D0_X_MODIFY(val) bfin_write16(MDMA2_D0_X_MODIFY, val)
919#define bfin_read_MDMA2_D0_Y_MODIFY() bfin_read16(MDMA2_D0_Y_MODIFY)
920#define bfin_write_MDMA2_D0_Y_MODIFY(val) bfin_write16(MDMA2_D0_Y_MODIFY, val)
921#define bfin_read_MDMA2_D0_CURR_DESC_PTR() bfin_readPTR(MDMA2_D0_CURR_DESC_PTR)
922#define bfin_write_MDMA2_D0_CURR_DESC_PTR(val) bfin_writePTR(MDMA2_D0_CURR_DESC_PTR, val)
923#define bfin_read_MDMA2_D0_CURR_ADDR() bfin_readPTR(MDMA2_D0_CURR_ADDR)
924#define bfin_write_MDMA2_D0_CURR_ADDR(val) bfin_writePTR(MDMA2_D0_CURR_ADDR, val)
925#define bfin_read_MDMA2_D0_CURR_X_COUNT() bfin_read16(MDMA2_D0_CURR_X_COUNT)
926#define bfin_write_MDMA2_D0_CURR_X_COUNT(val) bfin_write16(MDMA2_D0_CURR_X_COUNT, val)
927#define bfin_read_MDMA2_D0_CURR_Y_COUNT() bfin_read16(MDMA2_D0_CURR_Y_COUNT)
928#define bfin_write_MDMA2_D0_CURR_Y_COUNT(val) bfin_write16(MDMA2_D0_CURR_Y_COUNT, val)
929#define bfin_read_MDMA2_D0_IRQ_STATUS() bfin_read16(MDMA2_D0_IRQ_STATUS)
930#define bfin_write_MDMA2_D0_IRQ_STATUS(val) bfin_write16(MDMA2_D0_IRQ_STATUS, val)
931#define bfin_read_MDMA2_D0_PERIPHERAL_MAP() bfin_read16(MDMA2_D0_PERIPHERAL_MAP)
932#define bfin_write_MDMA2_D0_PERIPHERAL_MAP(val) bfin_write16(MDMA2_D0_PERIPHERAL_MAP, val)
933#define bfin_read_MDMA2_S1_CONFIG() bfin_read16(MDMA2_S1_CONFIG)
934#define bfin_write_MDMA2_S1_CONFIG(val) bfin_write16(MDMA2_S1_CONFIG, val)
935#define bfin_read_MDMA2_S1_NEXT_DESC_PTR() bfin_readPTR(MDMA2_S1_NEXT_DESC_PTR)
936#define bfin_write_MDMA2_S1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA2_S1_NEXT_DESC_PTR, val)
937#define bfin_read_MDMA2_S1_START_ADDR() bfin_readPTR(MDMA2_S1_START_ADDR)
938#define bfin_write_MDMA2_S1_START_ADDR(val) bfin_writePTR(MDMA2_S1_START_ADDR, val)
939#define bfin_read_MDMA2_S1_X_COUNT() bfin_read16(MDMA2_S1_X_COUNT)
940#define bfin_write_MDMA2_S1_X_COUNT(val) bfin_write16(MDMA2_S1_X_COUNT, val)
941#define bfin_read_MDMA2_S1_Y_COUNT() bfin_read16(MDMA2_S1_Y_COUNT)
942#define bfin_write_MDMA2_S1_Y_COUNT(val) bfin_write16(MDMA2_S1_Y_COUNT, val)
943#define bfin_read_MDMA2_S1_X_MODIFY() bfin_read16(MDMA2_S1_X_MODIFY)
944#define bfin_write_MDMA2_S1_X_MODIFY(val) bfin_write16(MDMA2_S1_X_MODIFY, val)
945#define bfin_read_MDMA2_S1_Y_MODIFY() bfin_read16(MDMA2_S1_Y_MODIFY)
946#define bfin_write_MDMA2_S1_Y_MODIFY(val) bfin_write16(MDMA2_S1_Y_MODIFY, val)
947#define bfin_read_MDMA2_S1_CURR_DESC_PTR() bfin_readPTR(MDMA2_S1_CURR_DESC_PTR)
948#define bfin_write_MDMA2_S1_CURR_DESC_PTR(val) bfin_writePTR(MDMA2_S1_CURR_DESC_PTR, val)
949#define bfin_read_MDMA2_S1_CURR_ADDR() bfin_readPTR(MDMA2_S1_CURR_ADDR)
950#define bfin_write_MDMA2_S1_CURR_ADDR(val) bfin_writePTR(MDMA2_S1_CURR_ADDR, val)
951#define bfin_read_MDMA2_S1_CURR_X_COUNT() bfin_read16(MDMA2_S1_CURR_X_COUNT)
952#define bfin_write_MDMA2_S1_CURR_X_COUNT(val) bfin_write16(MDMA2_S1_CURR_X_COUNT, val)
953#define bfin_read_MDMA2_S1_CURR_Y_COUNT() bfin_read16(MDMA2_S1_CURR_Y_COUNT)
954#define bfin_write_MDMA2_S1_CURR_Y_COUNT(val) bfin_write16(MDMA2_S1_CURR_Y_COUNT, val)
955#define bfin_read_MDMA2_S1_IRQ_STATUS() bfin_read16(MDMA2_S1_IRQ_STATUS)
956#define bfin_write_MDMA2_S1_IRQ_STATUS(val) bfin_write16(MDMA2_S1_IRQ_STATUS, val)
957#define bfin_read_MDMA2_S1_PERIPHERAL_MAP() bfin_read16(MDMA2_S1_PERIPHERAL_MAP)
958#define bfin_write_MDMA2_S1_PERIPHERAL_MAP(val) bfin_write16(MDMA2_S1_PERIPHERAL_MAP, val)
959#define bfin_read_MDMA2_D1_CONFIG() bfin_read16(MDMA2_D1_CONFIG)
960#define bfin_write_MDMA2_D1_CONFIG(val) bfin_write16(MDMA2_D1_CONFIG, val)
961#define bfin_read_MDMA2_D1_NEXT_DESC_PTR() bfin_readPTR(MDMA2_D1_NEXT_DESC_PTR)
962#define bfin_write_MDMA2_D1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA2_D1_NEXT_DESC_PTR, val)
963#define bfin_read_MDMA2_D1_START_ADDR() bfin_readPTR(MDMA2_D1_START_ADDR)
964#define bfin_write_MDMA2_D1_START_ADDR(val) bfin_writePTR(MDMA2_D1_START_ADDR, val)
965#define bfin_read_MDMA2_D1_X_COUNT() bfin_read16(MDMA2_D1_X_COUNT)
966#define bfin_write_MDMA2_D1_X_COUNT(val) bfin_write16(MDMA2_D1_X_COUNT, val)
967#define bfin_read_MDMA2_D1_Y_COUNT() bfin_read16(MDMA2_D1_Y_COUNT)
968#define bfin_write_MDMA2_D1_Y_COUNT(val) bfin_write16(MDMA2_D1_Y_COUNT, val)
969#define bfin_read_MDMA2_D1_X_MODIFY() bfin_read16(MDMA2_D1_X_MODIFY)
970#define bfin_write_MDMA2_D1_X_MODIFY(val) bfin_write16(MDMA2_D1_X_MODIFY, val)
971#define bfin_read_MDMA2_D1_Y_MODIFY() bfin_read16(MDMA2_D1_Y_MODIFY)
972#define bfin_write_MDMA2_D1_Y_MODIFY(val) bfin_write16(MDMA2_D1_Y_MODIFY, val)
973#define bfin_read_MDMA2_D1_CURR_DESC_PTR() bfin_readPTR(MDMA2_D1_CURR_DESC_PTR)
974#define bfin_write_MDMA2_D1_CURR_DESC_PTR(val) bfin_writePTR(MDMA2_D1_CURR_DESC_PTR, val)
975#define bfin_read_MDMA2_D1_CURR_ADDR() bfin_readPTR(MDMA2_D1_CURR_ADDR)
976#define bfin_write_MDMA2_D1_CURR_ADDR(val) bfin_writePTR(MDMA2_D1_CURR_ADDR, val)
977#define bfin_read_MDMA2_D1_CURR_X_COUNT() bfin_read16(MDMA2_D1_CURR_X_COUNT)
978#define bfin_write_MDMA2_D1_CURR_X_COUNT(val) bfin_write16(MDMA2_D1_CURR_X_COUNT, val)
979#define bfin_read_MDMA2_D1_CURR_Y_COUNT() bfin_read16(MDMA2_D1_CURR_Y_COUNT)
980#define bfin_write_MDMA2_D1_CURR_Y_COUNT(val) bfin_write16(MDMA2_D1_CURR_Y_COUNT, val)
981#define bfin_read_MDMA2_D1_IRQ_STATUS() bfin_read16(MDMA2_D1_IRQ_STATUS)
982#define bfin_write_MDMA2_D1_IRQ_STATUS(val) bfin_write16(MDMA2_D1_IRQ_STATUS, val)
983#define bfin_read_MDMA2_D1_PERIPHERAL_MAP() bfin_read16(MDMA2_D1_PERIPHERAL_MAP)
984#define bfin_write_MDMA2_D1_PERIPHERAL_MAP(val) bfin_write16(MDMA2_D1_PERIPHERAL_MAP, val)
985#define bfin_read_TIMER0_CONFIG() bfin_read16(TIMER0_CONFIG)
986#define bfin_write_TIMER0_CONFIG(val) bfin_write16(TIMER0_CONFIG, val)
987#define bfin_read_TIMER0_COUNTER() bfin_read32(TIMER0_COUNTER)
988#define bfin_write_TIMER0_COUNTER(val) bfin_write32(TIMER0_COUNTER, val)
989#define bfin_read_TIMER0_PERIOD() bfin_read32(TIMER0_PERIOD)
990#define bfin_write_TIMER0_PERIOD(val) bfin_write32(TIMER0_PERIOD, val)
991#define bfin_read_TIMER0_WIDTH() bfin_read32(TIMER0_WIDTH)
992#define bfin_write_TIMER0_WIDTH(val) bfin_write32(TIMER0_WIDTH, val)
993#define bfin_read_TIMER1_CONFIG() bfin_read16(TIMER1_CONFIG)
994#define bfin_write_TIMER1_CONFIG(val) bfin_write16(TIMER1_CONFIG, val)
995#define bfin_read_TIMER1_COUNTER() bfin_read32(TIMER1_COUNTER)
996#define bfin_write_TIMER1_COUNTER(val) bfin_write32(TIMER1_COUNTER, val)
997#define bfin_read_TIMER1_PERIOD() bfin_read32(TIMER1_PERIOD)
998#define bfin_write_TIMER1_PERIOD(val) bfin_write32(TIMER1_PERIOD, val)
999#define bfin_read_TIMER1_WIDTH() bfin_read32(TIMER1_WIDTH)
1000#define bfin_write_TIMER1_WIDTH(val) bfin_write32(TIMER1_WIDTH, val)
1001#define bfin_read_TIMER2_CONFIG() bfin_read16(TIMER2_CONFIG)
1002#define bfin_write_TIMER2_CONFIG(val) bfin_write16(TIMER2_CONFIG, val)
1003#define bfin_read_TIMER2_COUNTER() bfin_read32(TIMER2_COUNTER)
1004#define bfin_write_TIMER2_COUNTER(val) bfin_write32(TIMER2_COUNTER, val)
1005#define bfin_read_TIMER2_PERIOD() bfin_read32(TIMER2_PERIOD)
1006#define bfin_write_TIMER2_PERIOD(val) bfin_write32(TIMER2_PERIOD, val)
1007#define bfin_read_TIMER2_WIDTH() bfin_read32(TIMER2_WIDTH)
1008#define bfin_write_TIMER2_WIDTH(val) bfin_write32(TIMER2_WIDTH, val)
1009#define bfin_read_TIMER3_CONFIG() bfin_read16(TIMER3_CONFIG)
1010#define bfin_write_TIMER3_CONFIG(val) bfin_write16(TIMER3_CONFIG, val)
1011#define bfin_read_TIMER3_COUNTER() bfin_read32(TIMER3_COUNTER)
1012#define bfin_write_TIMER3_COUNTER(val) bfin_write32(TIMER3_COUNTER, val)
1013#define bfin_read_TIMER3_PERIOD() bfin_read32(TIMER3_PERIOD)
1014#define bfin_write_TIMER3_PERIOD(val) bfin_write32(TIMER3_PERIOD, val)
1015#define bfin_read_TIMER3_WIDTH() bfin_read32(TIMER3_WIDTH)
1016#define bfin_write_TIMER3_WIDTH(val) bfin_write32(TIMER3_WIDTH, val)
1017#define bfin_read_TIMER4_CONFIG() bfin_read16(TIMER4_CONFIG)
1018#define bfin_write_TIMER4_CONFIG(val) bfin_write16(TIMER4_CONFIG, val)
1019#define bfin_read_TIMER4_COUNTER() bfin_read32(TIMER4_COUNTER)
1020#define bfin_write_TIMER4_COUNTER(val) bfin_write32(TIMER4_COUNTER, val)
1021#define bfin_read_TIMER4_PERIOD() bfin_read32(TIMER4_PERIOD)
1022#define bfin_write_TIMER4_PERIOD(val) bfin_write32(TIMER4_PERIOD, val)
1023#define bfin_read_TIMER4_WIDTH() bfin_read32(TIMER4_WIDTH)
1024#define bfin_write_TIMER4_WIDTH(val) bfin_write32(TIMER4_WIDTH, val)
1025#define bfin_read_TIMER5_CONFIG() bfin_read16(TIMER5_CONFIG)
1026#define bfin_write_TIMER5_CONFIG(val) bfin_write16(TIMER5_CONFIG, val)
1027#define bfin_read_TIMER5_COUNTER() bfin_read32(TIMER5_COUNTER)
1028#define bfin_write_TIMER5_COUNTER(val) bfin_write32(TIMER5_COUNTER, val)
1029#define bfin_read_TIMER5_PERIOD() bfin_read32(TIMER5_PERIOD)
1030#define bfin_write_TIMER5_PERIOD(val) bfin_write32(TIMER5_PERIOD, val)
1031#define bfin_read_TIMER5_WIDTH() bfin_read32(TIMER5_WIDTH)
1032#define bfin_write_TIMER5_WIDTH(val) bfin_write32(TIMER5_WIDTH, val)
1033#define bfin_read_TIMER6_CONFIG() bfin_read16(TIMER6_CONFIG)
1034#define bfin_write_TIMER6_CONFIG(val) bfin_write16(TIMER6_CONFIG, val)
1035#define bfin_read_TIMER6_COUNTER() bfin_read32(TIMER6_COUNTER)
1036#define bfin_write_TIMER6_COUNTER(val) bfin_write32(TIMER6_COUNTER, val)
1037#define bfin_read_TIMER6_PERIOD() bfin_read32(TIMER6_PERIOD)
1038#define bfin_write_TIMER6_PERIOD(val) bfin_write32(TIMER6_PERIOD, val)
1039#define bfin_read_TIMER6_WIDTH() bfin_read32(TIMER6_WIDTH)
1040#define bfin_write_TIMER6_WIDTH(val) bfin_write32(TIMER6_WIDTH, val)
1041#define bfin_read_TIMER7_CONFIG() bfin_read16(TIMER7_CONFIG)
1042#define bfin_write_TIMER7_CONFIG(val) bfin_write16(TIMER7_CONFIG, val)
1043#define bfin_read_TIMER7_COUNTER() bfin_read32(TIMER7_COUNTER)
1044#define bfin_write_TIMER7_COUNTER(val) bfin_write32(TIMER7_COUNTER, val)
1045#define bfin_read_TIMER7_PERIOD() bfin_read32(TIMER7_PERIOD)
1046#define bfin_write_TIMER7_PERIOD(val) bfin_write32(TIMER7_PERIOD, val)
1047#define bfin_read_TIMER7_WIDTH() bfin_read32(TIMER7_WIDTH)
1048#define bfin_write_TIMER7_WIDTH(val) bfin_write32(TIMER7_WIDTH, val)
1049#define bfin_read_TIMER8_CONFIG() bfin_read16(TIMER8_CONFIG)
1050#define bfin_write_TIMER8_CONFIG(val) bfin_write16(TIMER8_CONFIG, val)
1051#define bfin_read_TIMER8_COUNTER() bfin_read32(TIMER8_COUNTER)
1052#define bfin_write_TIMER8_COUNTER(val) bfin_write32(TIMER8_COUNTER, val)
1053#define bfin_read_TIMER8_PERIOD() bfin_read32(TIMER8_PERIOD)
1054#define bfin_write_TIMER8_PERIOD(val) bfin_write32(TIMER8_PERIOD, val)
1055#define bfin_read_TIMER8_WIDTH() bfin_read32(TIMER8_WIDTH)
1056#define bfin_write_TIMER8_WIDTH(val) bfin_write32(TIMER8_WIDTH, val)
1057#define bfin_read_TIMER9_CONFIG() bfin_read16(TIMER9_CONFIG)
1058#define bfin_write_TIMER9_CONFIG(val) bfin_write16(TIMER9_CONFIG, val)
1059#define bfin_read_TIMER9_COUNTER() bfin_read32(TIMER9_COUNTER)
1060#define bfin_write_TIMER9_COUNTER(val) bfin_write32(TIMER9_COUNTER, val)
1061#define bfin_read_TIMER9_PERIOD() bfin_read32(TIMER9_PERIOD)
1062#define bfin_write_TIMER9_PERIOD(val) bfin_write32(TIMER9_PERIOD, val)
1063#define bfin_read_TIMER9_WIDTH() bfin_read32(TIMER9_WIDTH)
1064#define bfin_write_TIMER9_WIDTH(val) bfin_write32(TIMER9_WIDTH, val)
1065#define bfin_read_TIMER10_CONFIG() bfin_read16(TIMER10_CONFIG)
1066#define bfin_write_TIMER10_CONFIG(val) bfin_write16(TIMER10_CONFIG, val)
1067#define bfin_read_TIMER10_COUNTER() bfin_read32(TIMER10_COUNTER)
1068#define bfin_write_TIMER10_COUNTER(val) bfin_write32(TIMER10_COUNTER, val)
1069#define bfin_read_TIMER10_PERIOD() bfin_read32(TIMER10_PERIOD)
1070#define bfin_write_TIMER10_PERIOD(val) bfin_write32(TIMER10_PERIOD, val)
1071#define bfin_read_TIMER10_WIDTH() bfin_read32(TIMER10_WIDTH)
1072#define bfin_write_TIMER10_WIDTH(val) bfin_write32(TIMER10_WIDTH, val)
1073#define bfin_read_TIMER11_CONFIG() bfin_read16(TIMER11_CONFIG)
1074#define bfin_write_TIMER11_CONFIG(val) bfin_write16(TIMER11_CONFIG, val)
1075#define bfin_read_TIMER11_COUNTER() bfin_read32(TIMER11_COUNTER)
1076#define bfin_write_TIMER11_COUNTER(val) bfin_write32(TIMER11_COUNTER, val)
1077#define bfin_read_TIMER11_PERIOD() bfin_read32(TIMER11_PERIOD)
1078#define bfin_write_TIMER11_PERIOD(val) bfin_write32(TIMER11_PERIOD, val)
1079#define bfin_read_TIMER11_WIDTH() bfin_read32(TIMER11_WIDTH)
1080#define bfin_write_TIMER11_WIDTH(val) bfin_write32(TIMER11_WIDTH, val)
1081#define bfin_read_TMRS4_ENABLE() bfin_read32(TMRS4_ENABLE)
1082#define bfin_write_TMRS4_ENABLE(val) bfin_write32(TMRS4_ENABLE, val)
1083#define bfin_read_TMRS4_DISABLE() bfin_read32(TMRS4_DISABLE)
1084#define bfin_write_TMRS4_DISABLE(val) bfin_write32(TMRS4_DISABLE, val)
1085#define bfin_read_TMRS4_STATUS() bfin_read32(TMRS4_STATUS)
1086#define bfin_write_TMRS4_STATUS(val) bfin_write32(TMRS4_STATUS, val)
1087#define bfin_read_TMRS8_ENABLE() bfin_read32(TMRS8_ENABLE)
1088#define bfin_write_TMRS8_ENABLE(val) bfin_write32(TMRS8_ENABLE, val)
1089#define bfin_read_TMRS8_DISABLE() bfin_read32(TMRS8_DISABLE)
1090#define bfin_write_TMRS8_DISABLE(val) bfin_write32(TMRS8_DISABLE, val)
1091#define bfin_read_TMRS8_STATUS() bfin_read32(TMRS8_STATUS)
1092#define bfin_write_TMRS8_STATUS(val) bfin_write32(TMRS8_STATUS, val)
1093#define bfin_read_FIO0_FLAG_D() bfin_read16(FIO0_FLAG_D)
1094#define bfin_write_FIO0_FLAG_D(val) bfin_write16(FIO0_FLAG_D, val)
1095#define bfin_read_FIO0_FLAG_C() bfin_read16(FIO0_FLAG_C)
1096#define bfin_write_FIO0_FLAG_C(val) bfin_write16(FIO0_FLAG_C, val)
1097#define bfin_read_FIO0_FLAG_S() bfin_read16(FIO0_FLAG_S)
1098#define bfin_write_FIO0_FLAG_S(val) bfin_write16(FIO0_FLAG_S, val)
1099#define bfin_read_FIO0_FLAG_T() bfin_read16(FIO0_FLAG_T)
1100#define bfin_write_FIO0_FLAG_T(val) bfin_write16(FIO0_FLAG_T, val)
1101#define bfin_read_FIO0_MASKA_D() bfin_read16(FIO0_MASKA_D)
1102#define bfin_write_FIO0_MASKA_D(val) bfin_write16(FIO0_MASKA_D, val)
1103#define bfin_read_FIO0_MASKA_C() bfin_read16(FIO0_MASKA_C)
1104#define bfin_write_FIO0_MASKA_C(val) bfin_write16(FIO0_MASKA_C, val)
1105#define bfin_read_FIO0_MASKA_S() bfin_read16(FIO0_MASKA_S)
1106#define bfin_write_FIO0_MASKA_S(val) bfin_write16(FIO0_MASKA_S, val)
1107#define bfin_read_FIO0_MASKA_T() bfin_read16(FIO0_MASKA_T)
1108#define bfin_write_FIO0_MASKA_T(val) bfin_write16(FIO0_MASKA_T, val)
1109#define bfin_read_FIO0_MASKB_D() bfin_read16(FIO0_MASKB_D)
1110#define bfin_write_FIO0_MASKB_D(val) bfin_write16(FIO0_MASKB_D, val)
1111#define bfin_read_FIO0_MASKB_C() bfin_read16(FIO0_MASKB_C)
1112#define bfin_write_FIO0_MASKB_C(val) bfin_write16(FIO0_MASKB_C, val)
1113#define bfin_read_FIO0_MASKB_S() bfin_read16(FIO0_MASKB_S)
1114#define bfin_write_FIO0_MASKB_S(val) bfin_write16(FIO0_MASKB_S, val)
1115#define bfin_read_FIO0_MASKB_T() bfin_read16(FIO0_MASKB_T)
1116#define bfin_write_FIO0_MASKB_T(val) bfin_write16(FIO0_MASKB_T, val)
1117#define bfin_read_FIO0_DIR() bfin_read16(FIO0_DIR)
1118#define bfin_write_FIO0_DIR(val) bfin_write16(FIO0_DIR, val)
1119#define bfin_read_FIO0_POLAR() bfin_read16(FIO0_POLAR)
1120#define bfin_write_FIO0_POLAR(val) bfin_write16(FIO0_POLAR, val)
1121#define bfin_read_FIO0_EDGE() bfin_read16(FIO0_EDGE)
1122#define bfin_write_FIO0_EDGE(val) bfin_write16(FIO0_EDGE, val)
1123#define bfin_read_FIO0_BOTH() bfin_read16(FIO0_BOTH)
1124#define bfin_write_FIO0_BOTH(val) bfin_write16(FIO0_BOTH, val)
1125#define bfin_read_FIO0_INEN() bfin_read16(FIO0_INEN)
1126#define bfin_write_FIO0_INEN(val) bfin_write16(FIO0_INEN, val)
1127#define bfin_read_FIO1_FLAG_D() bfin_read16(FIO1_FLAG_D)
1128#define bfin_write_FIO1_FLAG_D(val) bfin_write16(FIO1_FLAG_D, val)
1129#define bfin_read_FIO1_FLAG_C() bfin_read16(FIO1_FLAG_C)
1130#define bfin_write_FIO1_FLAG_C(val) bfin_write16(FIO1_FLAG_C, val)
1131#define bfin_read_FIO1_FLAG_S() bfin_read16(FIO1_FLAG_S)
1132#define bfin_write_FIO1_FLAG_S(val) bfin_write16(FIO1_FLAG_S, val)
1133#define bfin_read_FIO1_FLAG_T() bfin_read16(FIO1_FLAG_T)
1134#define bfin_write_FIO1_FLAG_T(val) bfin_write16(FIO1_FLAG_T, val)
1135#define bfin_read_FIO1_MASKA_D() bfin_read16(FIO1_MASKA_D)
1136#define bfin_write_FIO1_MASKA_D(val) bfin_write16(FIO1_MASKA_D, val)
1137#define bfin_read_FIO1_MASKA_C() bfin_read16(FIO1_MASKA_C)
1138#define bfin_write_FIO1_MASKA_C(val) bfin_write16(FIO1_MASKA_C, val)
1139#define bfin_read_FIO1_MASKA_S() bfin_read16(FIO1_MASKA_S)
1140#define bfin_write_FIO1_MASKA_S(val) bfin_write16(FIO1_MASKA_S, val)
1141#define bfin_read_FIO1_MASKA_T() bfin_read16(FIO1_MASKA_T)
1142#define bfin_write_FIO1_MASKA_T(val) bfin_write16(FIO1_MASKA_T, val)
1143#define bfin_read_FIO1_MASKB_D() bfin_read16(FIO1_MASKB_D)
1144#define bfin_write_FIO1_MASKB_D(val) bfin_write16(FIO1_MASKB_D, val)
1145#define bfin_read_FIO1_MASKB_C() bfin_read16(FIO1_MASKB_C)
1146#define bfin_write_FIO1_MASKB_C(val) bfin_write16(FIO1_MASKB_C, val)
1147#define bfin_read_FIO1_MASKB_S() bfin_read16(FIO1_MASKB_S)
1148#define bfin_write_FIO1_MASKB_S(val) bfin_write16(FIO1_MASKB_S, val)
1149#define bfin_read_FIO1_MASKB_T() bfin_read16(FIO1_MASKB_T)
1150#define bfin_write_FIO1_MASKB_T(val) bfin_write16(FIO1_MASKB_T, val)
1151#define bfin_read_FIO1_DIR() bfin_read16(FIO1_DIR)
1152#define bfin_write_FIO1_DIR(val) bfin_write16(FIO1_DIR, val)
1153#define bfin_read_FIO1_POLAR() bfin_read16(FIO1_POLAR)
1154#define bfin_write_FIO1_POLAR(val) bfin_write16(FIO1_POLAR, val)
1155#define bfin_read_FIO1_EDGE() bfin_read16(FIO1_EDGE)
1156#define bfin_write_FIO1_EDGE(val) bfin_write16(FIO1_EDGE, val)
1157#define bfin_read_FIO1_BOTH() bfin_read16(FIO1_BOTH)
1158#define bfin_write_FIO1_BOTH(val) bfin_write16(FIO1_BOTH, val)
1159#define bfin_read_FIO1_INEN() bfin_read16(FIO1_INEN)
1160#define bfin_write_FIO1_INEN(val) bfin_write16(FIO1_INEN, val)
1161#define bfin_read_FIO2_FLAG_D() bfin_read16(FIO2_FLAG_D)
1162#define bfin_write_FIO2_FLAG_D(val) bfin_write16(FIO2_FLAG_D, val)
1163#define bfin_read_FIO2_FLAG_C() bfin_read16(FIO2_FLAG_C)
1164#define bfin_write_FIO2_FLAG_C(val) bfin_write16(FIO2_FLAG_C, val)
1165#define bfin_read_FIO2_FLAG_S() bfin_read16(FIO2_FLAG_S)
1166#define bfin_write_FIO2_FLAG_S(val) bfin_write16(FIO2_FLAG_S, val)
1167#define bfin_read_FIO2_FLAG_T() bfin_read16(FIO2_FLAG_T)
1168#define bfin_write_FIO2_FLAG_T(val) bfin_write16(FIO2_FLAG_T, val)
1169#define bfin_read_FIO2_MASKA_D() bfin_read16(FIO2_MASKA_D)
1170#define bfin_write_FIO2_MASKA_D(val) bfin_write16(FIO2_MASKA_D, val)
1171#define bfin_read_FIO2_MASKA_C() bfin_read16(FIO2_MASKA_C)
1172#define bfin_write_FIO2_MASKA_C(val) bfin_write16(FIO2_MASKA_C, val)
1173#define bfin_read_FIO2_MASKA_S() bfin_read16(FIO2_MASKA_S)
1174#define bfin_write_FIO2_MASKA_S(val) bfin_write16(FIO2_MASKA_S, val)
1175#define bfin_read_FIO2_MASKA_T() bfin_read16(FIO2_MASKA_T)
1176#define bfin_write_FIO2_MASKA_T(val) bfin_write16(FIO2_MASKA_T, val)
1177#define bfin_read_FIO2_MASKB_D() bfin_read16(FIO2_MASKB_D)
1178#define bfin_write_FIO2_MASKB_D(val) bfin_write16(FIO2_MASKB_D, val)
1179#define bfin_read_FIO2_MASKB_C() bfin_read16(FIO2_MASKB_C)
1180#define bfin_write_FIO2_MASKB_C(val) bfin_write16(FIO2_MASKB_C, val)
1181#define bfin_read_FIO2_MASKB_S() bfin_read16(FIO2_MASKB_S)
1182#define bfin_write_FIO2_MASKB_S(val) bfin_write16(FIO2_MASKB_S, val)
1183#define bfin_read_FIO2_MASKB_T() bfin_read16(FIO2_MASKB_T)
1184#define bfin_write_FIO2_MASKB_T(val) bfin_write16(FIO2_MASKB_T, val)
1185#define bfin_read_FIO2_DIR() bfin_read16(FIO2_DIR)
1186#define bfin_write_FIO2_DIR(val) bfin_write16(FIO2_DIR, val)
1187#define bfin_read_FIO2_POLAR() bfin_read16(FIO2_POLAR)
1188#define bfin_write_FIO2_POLAR(val) bfin_write16(FIO2_POLAR, val)
1189#define bfin_read_FIO2_EDGE() bfin_read16(FIO2_EDGE)
1190#define bfin_write_FIO2_EDGE(val) bfin_write16(FIO2_EDGE, val)
1191#define bfin_read_FIO2_BOTH() bfin_read16(FIO2_BOTH)
1192#define bfin_write_FIO2_BOTH(val) bfin_write16(FIO2_BOTH, val)
1193#define bfin_read_FIO2_INEN() bfin_read16(FIO2_INEN)
1194#define bfin_write_FIO2_INEN(val) bfin_write16(FIO2_INEN, val)
1195#define bfin_read_SPORT0_TCR1() bfin_read16(SPORT0_TCR1)
1196#define bfin_write_SPORT0_TCR1(val) bfin_write16(SPORT0_TCR1, val)
1197#define bfin_read_SPORT0_TCR2() bfin_read16(SPORT0_TCR2)
1198#define bfin_write_SPORT0_TCR2(val) bfin_write16(SPORT0_TCR2, val)
1199#define bfin_read_SPORT0_TCLKDIV() bfin_read16(SPORT0_TCLKDIV)
1200#define bfin_write_SPORT0_TCLKDIV(val) bfin_write16(SPORT0_TCLKDIV, val)
1201#define bfin_read_SPORT0_TFSDIV() bfin_read16(SPORT0_TFSDIV)
1202#define bfin_write_SPORT0_TFSDIV(val) bfin_write16(SPORT0_TFSDIV, val)
1203#define bfin_read_SPORT0_TX() bfin_read32(SPORT0_TX)
1204#define bfin_write_SPORT0_TX(val) bfin_write32(SPORT0_TX, val)
1205#define bfin_write_SPORT0_RX(val) bfin_write32(SPORT0_RX, val)
1206#define bfin_read_SPORT0_RCR1() bfin_read16(SPORT0_RCR1)
1207#define bfin_write_SPORT0_RCR1(val) bfin_write16(SPORT0_RCR1, val)
1208#define bfin_read_SPORT0_RCR2() bfin_read16(SPORT0_RCR2)
1209#define bfin_write_SPORT0_RCR2(val) bfin_write16(SPORT0_RCR2, val)
1210#define bfin_read_SPORT0_RCLKDIV() bfin_read16(SPORT0_RCLKDIV)
1211#define bfin_write_SPORT0_RCLKDIV(val) bfin_write16(SPORT0_RCLKDIV, val)
1212#define bfin_read_SPORT0_RFSDIV() bfin_read16(SPORT0_RFSDIV)
1213#define bfin_write_SPORT0_RFSDIV(val) bfin_write16(SPORT0_RFSDIV, val)
1214#define bfin_read_SPORT0_STAT() bfin_read16(SPORT0_STAT)
1215#define bfin_write_SPORT0_STAT(val) bfin_write16(SPORT0_STAT, val)
1216#define bfin_read_SPORT0_CHNL() bfin_read16(SPORT0_CHNL)
1217#define bfin_write_SPORT0_CHNL(val) bfin_write16(SPORT0_CHNL, val)
1218#define bfin_read_SPORT0_MCMC1() bfin_read16(SPORT0_MCMC1)
1219#define bfin_write_SPORT0_MCMC1(val) bfin_write16(SPORT0_MCMC1, val)
1220#define bfin_read_SPORT0_MCMC2() bfin_read16(SPORT0_MCMC2)
1221#define bfin_write_SPORT0_MCMC2(val) bfin_write16(SPORT0_MCMC2, val)
1222#define bfin_read_SPORT0_MTCS0() bfin_read32(SPORT0_MTCS0)
1223#define bfin_write_SPORT0_MTCS0(val) bfin_write32(SPORT0_MTCS0, val)
1224#define bfin_read_SPORT0_MTCS1() bfin_read32(SPORT0_MTCS1)
1225#define bfin_write_SPORT0_MTCS1(val) bfin_write32(SPORT0_MTCS1, val)
1226#define bfin_read_SPORT0_MTCS2() bfin_read32(SPORT0_MTCS2)
1227#define bfin_write_SPORT0_MTCS2(val) bfin_write32(SPORT0_MTCS2, val)
1228#define bfin_read_SPORT0_MTCS3() bfin_read32(SPORT0_MTCS3)
1229#define bfin_write_SPORT0_MTCS3(val) bfin_write32(SPORT0_MTCS3, val)
1230#define bfin_read_SPORT0_MRCS0() bfin_read32(SPORT0_MRCS0)
1231#define bfin_write_SPORT0_MRCS0(val) bfin_write32(SPORT0_MRCS0, val)
1232#define bfin_read_SPORT0_MRCS1() bfin_read32(SPORT0_MRCS1)
1233#define bfin_write_SPORT0_MRCS1(val) bfin_write32(SPORT0_MRCS1, val)
1234#define bfin_read_SPORT0_MRCS2() bfin_read32(SPORT0_MRCS2)
1235#define bfin_write_SPORT0_MRCS2(val) bfin_write32(SPORT0_MRCS2, val)
1236#define bfin_read_SPORT0_MRCS3() bfin_read32(SPORT0_MRCS3)
1237#define bfin_write_SPORT0_MRCS3(val) bfin_write32(SPORT0_MRCS3, val)
1238#define bfin_read_SPORT1_TCR1() bfin_read16(SPORT1_TCR1)
1239#define bfin_write_SPORT1_TCR1(val) bfin_write16(SPORT1_TCR1, val)
1240#define bfin_read_SPORT1_TCR2() bfin_read16(SPORT1_TCR2)
1241#define bfin_write_SPORT1_TCR2(val) bfin_write16(SPORT1_TCR2, val)
1242#define bfin_read_SPORT1_TCLKDIV() bfin_read16(SPORT1_TCLKDIV)
1243#define bfin_write_SPORT1_TCLKDIV(val) bfin_write16(SPORT1_TCLKDIV, val)
1244#define bfin_read_SPORT1_TFSDIV() bfin_read16(SPORT1_TFSDIV)
1245#define bfin_write_SPORT1_TFSDIV(val) bfin_write16(SPORT1_TFSDIV, val)
1246#define bfin_write_SPORT1_TX(val) bfin_write32(SPORT1_TX, val)
1247#define bfin_read_SPORT1_RX() bfin_read32(SPORT1_RX)
1248#define bfin_write_SPORT1_RX(val) bfin_write32(SPORT1_RX, val)
1249#define bfin_read_SPORT1_RCR1() bfin_read16(SPORT1_RCR1)
1250#define bfin_write_SPORT1_RCR1(val) bfin_write16(SPORT1_RCR1, val)
1251#define bfin_read_SPORT1_RCR2() bfin_read16(SPORT1_RCR2)
1252#define bfin_write_SPORT1_RCR2(val) bfin_write16(SPORT1_RCR2, val)
1253#define bfin_read_SPORT1_RCLKDIV() bfin_read16(SPORT1_RCLKDIV)
1254#define bfin_write_SPORT1_RCLKDIV(val) bfin_write16(SPORT1_RCLKDIV, val)
1255#define bfin_read_SPORT1_RFSDIV() bfin_read16(SPORT1_RFSDIV)
1256#define bfin_write_SPORT1_RFSDIV(val) bfin_write16(SPORT1_RFSDIV, val)
1257#define bfin_read_SPORT1_STAT() bfin_read16(SPORT1_STAT)
1258#define bfin_write_SPORT1_STAT(val) bfin_write16(SPORT1_STAT, val)
1259#define bfin_read_SPORT1_CHNL() bfin_read16(SPORT1_CHNL)
1260#define bfin_write_SPORT1_CHNL(val) bfin_write16(SPORT1_CHNL, val)
1261#define bfin_read_SPORT1_MCMC1() bfin_read16(SPORT1_MCMC1)
1262#define bfin_write_SPORT1_MCMC1(val) bfin_write16(SPORT1_MCMC1, val)
1263#define bfin_read_SPORT1_MCMC2() bfin_read16(SPORT1_MCMC2)
1264#define bfin_write_SPORT1_MCMC2(val) bfin_write16(SPORT1_MCMC2, val)
1265#define bfin_read_SPORT1_MTCS0() bfin_read32(SPORT1_MTCS0)
1266#define bfin_write_SPORT1_MTCS0(val) bfin_write32(SPORT1_MTCS0, val)
1267#define bfin_read_SPORT1_MTCS1() bfin_read32(SPORT1_MTCS1)
1268#define bfin_write_SPORT1_MTCS1(val) bfin_write32(SPORT1_MTCS1, val)
1269#define bfin_read_SPORT1_MTCS2() bfin_read32(SPORT1_MTCS2)
1270#define bfin_write_SPORT1_MTCS2(val) bfin_write32(SPORT1_MTCS2, val)
1271#define bfin_read_SPORT1_MTCS3() bfin_read32(SPORT1_MTCS3)
1272#define bfin_write_SPORT1_MTCS3(val) bfin_write32(SPORT1_MTCS3, val)
1273#define bfin_read_SPORT1_MRCS0() bfin_read32(SPORT1_MRCS0)
1274#define bfin_write_SPORT1_MRCS0(val) bfin_write32(SPORT1_MRCS0, val)
1275#define bfin_read_SPORT1_MRCS1() bfin_read32(SPORT1_MRCS1)
1276#define bfin_write_SPORT1_MRCS1(val) bfin_write32(SPORT1_MRCS1, val)
1277#define bfin_read_SPORT1_MRCS2() bfin_read32(SPORT1_MRCS2)
1278#define bfin_write_SPORT1_MRCS2(val) bfin_write32(SPORT1_MRCS2, val)
1279#define bfin_read_SPORT1_MRCS3() bfin_read32(SPORT1_MRCS3)
1280#define bfin_write_SPORT1_MRCS3(val) bfin_write32(SPORT1_MRCS3, val)
Mike Frysingerf8117922008-10-06 03:44:33 -04001281#define bfin_read_SICA_SWRST() bfin_read16(SICA_SWRST)
1282#define bfin_write_SICA_SWRST(val) bfin_write16(SICA_SWRST, val)
Mike Frysinger9a4e5f92009-02-18 12:51:48 -05001283#define bfin_read_SICA_SYSCR() bfin_read16(SICA_SYSCR)
1284#define bfin_write_SICA_SYSCR(val) bfin_write16(SICA_SYSCR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001285#define bfin_read_SICA_RVECT() bfin_read16(SICA_RVECT)
1286#define bfin_write_SICA_RVECT(val) bfin_write16(SICA_RVECT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001287#define bfin_read_SICA_IMASK0() bfin_read32(SICA_IMASK0)
1288#define bfin_write_SICA_IMASK0(val) bfin_write32(SICA_IMASK0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001289#define bfin_read_SICA_IMASK1() bfin_read32(SICA_IMASK1)
1290#define bfin_write_SICA_IMASK1(val) bfin_write32(SICA_IMASK1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001291#define bfin_read_SICA_ISR0() bfin_read32(SICA_ISR0)
1292#define bfin_write_SICA_ISR0(val) bfin_write32(SICA_ISR0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001293#define bfin_read_SICA_ISR1() bfin_read32(SICA_ISR1)
1294#define bfin_write_SICA_ISR1(val) bfin_write32(SICA_ISR1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001295#define bfin_read_SICA_IWR0() bfin_read32(SICA_IWR0)
1296#define bfin_write_SICA_IWR0(val) bfin_write32(SICA_IWR0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001297#define bfin_read_SICA_IWR1() bfin_read32(SICA_IWR1)
1298#define bfin_write_SICA_IWR1(val) bfin_write32(SICA_IWR1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001299#define bfin_read_SICA_IAR0() bfin_read32(SICA_IAR0)
1300#define bfin_write_SICA_IAR0(val) bfin_write32(SICA_IAR0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001301#define bfin_read_SICA_IAR1() bfin_read32(SICA_IAR1)
1302#define bfin_write_SICA_IAR1(val) bfin_write32(SICA_IAR1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001303#define bfin_read_SICA_IAR2() bfin_read32(SICA_IAR2)
1304#define bfin_write_SICA_IAR2(val) bfin_write32(SICA_IAR2, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001305#define bfin_read_SICA_IAR3() bfin_read32(SICA_IAR3)
1306#define bfin_write_SICA_IAR3(val) bfin_write32(SICA_IAR3, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001307#define bfin_read_SICA_IAR4() bfin_read32(SICA_IAR4)
1308#define bfin_write_SICA_IAR4(val) bfin_write32(SICA_IAR4, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001309#define bfin_read_SICA_IAR5() bfin_read32(SICA_IAR5)
1310#define bfin_write_SICA_IAR5(val) bfin_write32(SICA_IAR5, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001311#define bfin_read_SICA_IAR6() bfin_read32(SICA_IAR6)
1312#define bfin_write_SICA_IAR6(val) bfin_write32(SICA_IAR6, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001313#define bfin_read_SICA_IAR7() bfin_read32(SICA_IAR7)
1314#define bfin_write_SICA_IAR7(val) bfin_write32(SICA_IAR7, val)
Mike Frysingerf8117922008-10-06 03:44:33 -04001315#define bfin_read_SICB_SWRST() bfin_read16(SICB_SWRST)
1316#define bfin_write_SICB_SWRST(val) bfin_write16(SICB_SWRST, val)
Mike Frysinger9a4e5f92009-02-18 12:51:48 -05001317#define bfin_read_SICB_SYSCR() bfin_read16(SICB_SYSCR)
1318#define bfin_write_SICB_SYSCR(val) bfin_write16(SICB_SYSCR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001319#define bfin_read_SICB_RVECT() bfin_read16(SICB_RVECT)
1320#define bfin_write_SICB_RVECT(val) bfin_write16(SICB_RVECT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001321#define bfin_read_SICB_IMASK0() bfin_read32(SICB_IMASK0)
1322#define bfin_write_SICB_IMASK0(val) bfin_write32(SICB_IMASK0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001323#define bfin_read_SICB_IMASK1() bfin_read32(SICB_IMASK1)
1324#define bfin_write_SICB_IMASK1(val) bfin_write32(SICB_IMASK1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001325#define bfin_read_SICB_ISR0() bfin_read32(SICB_ISR0)
1326#define bfin_write_SICB_ISR0(val) bfin_write32(SICB_ISR0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001327#define bfin_read_SICB_ISR1() bfin_read32(SICB_ISR1)
1328#define bfin_write_SICB_ISR1(val) bfin_write32(SICB_ISR1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001329#define bfin_read_SICB_IWR0() bfin_read32(SICB_IWR0)
1330#define bfin_write_SICB_IWR0(val) bfin_write32(SICB_IWR0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001331#define bfin_read_SICB_IWR1() bfin_read32(SICB_IWR1)
1332#define bfin_write_SICB_IWR1(val) bfin_write32(SICB_IWR1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001333#define bfin_read_SICB_IAR0() bfin_read32(SICB_IAR0)
1334#define bfin_write_SICB_IAR0(val) bfin_write32(SICB_IAR0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001335#define bfin_read_SICB_IAR1() bfin_read32(SICB_IAR1)
1336#define bfin_write_SICB_IAR1(val) bfin_write32(SICB_IAR1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001337#define bfin_read_SICB_IAR2() bfin_read32(SICB_IAR2)
1338#define bfin_write_SICB_IAR2(val) bfin_write32(SICB_IAR2, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001339#define bfin_read_SICB_IAR3() bfin_read32(SICB_IAR3)
1340#define bfin_write_SICB_IAR3(val) bfin_write32(SICB_IAR3, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001341#define bfin_read_SICB_IAR4() bfin_read32(SICB_IAR4)
1342#define bfin_write_SICB_IAR4(val) bfin_write32(SICB_IAR4, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001343#define bfin_read_SICB_IAR5() bfin_read32(SICB_IAR5)
1344#define bfin_write_SICB_IAR5(val) bfin_write32(SICB_IAR5, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001345#define bfin_read_SICB_IAR6() bfin_read32(SICB_IAR6)
1346#define bfin_write_SICB_IAR6(val) bfin_write32(SICB_IAR6, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001347#define bfin_read_SICB_IAR7() bfin_read32(SICB_IAR7)
1348#define bfin_write_SICB_IAR7(val) bfin_write32(SICB_IAR7, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001349#define bfin_read_PPI0_CONTROL() bfin_read16(PPI0_CONTROL)
1350#define bfin_write_PPI0_CONTROL(val) bfin_write16(PPI0_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001351#define bfin_read_PPI0_STATUS() bfin_read16(PPI0_STATUS)
1352#define bfin_write_PPI0_STATUS(val) bfin_write16(PPI0_STATUS, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001353#define bfin_read_PPI0_DELAY() bfin_read16(PPI0_DELAY)
1354#define bfin_write_PPI0_DELAY(val) bfin_write16(PPI0_DELAY, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001355#define bfin_read_PPI0_COUNT() bfin_read16(PPI0_COUNT)
1356#define bfin_write_PPI0_COUNT(val) bfin_write16(PPI0_COUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001357#define bfin_read_PPI0_FRAME() bfin_read16(PPI0_FRAME)
1358#define bfin_write_PPI0_FRAME(val) bfin_write16(PPI0_FRAME, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001359#define bfin_read_PPI1_CONTROL() bfin_read16(PPI1_CONTROL)
1360#define bfin_write_PPI1_CONTROL(val) bfin_write16(PPI1_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001361#define bfin_read_PPI1_STATUS() bfin_read16(PPI1_STATUS)
1362#define bfin_write_PPI1_STATUS(val) bfin_write16(PPI1_STATUS, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001363#define bfin_read_PPI1_DELAY() bfin_read16(PPI1_DELAY)
1364#define bfin_write_PPI1_DELAY(val) bfin_write16(PPI1_DELAY, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001365#define bfin_read_PPI1_COUNT() bfin_read16(PPI1_COUNT)
1366#define bfin_write_PPI1_COUNT(val) bfin_write16(PPI1_COUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001367#define bfin_read_PPI1_FRAME() bfin_read16(PPI1_FRAME)
1368#define bfin_write_PPI1_FRAME(val) bfin_write16(PPI1_FRAME, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001369#define bfin_read_UART_THR() bfin_read16(UART_THR)
1370#define bfin_write_UART_THR(val) bfin_write16(UART_THR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001371#define bfin_read_UART_RBR() bfin_read16(UART_RBR)
1372#define bfin_write_UART_RBR(val) bfin_write16(UART_RBR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001373#define bfin_read_UART_DLL() bfin_read16(UART_DLL)
1374#define bfin_write_UART_DLL(val) bfin_write16(UART_DLL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001375#define bfin_read_UART_DLH() bfin_read16(UART_DLH)
1376#define bfin_write_UART_DLH(val) bfin_write16(UART_DLH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001377#define bfin_read_UART_IER() bfin_read16(UART_IER)
1378#define bfin_write_UART_IER(val) bfin_write16(UART_IER, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001379#define bfin_read_UART_IIR() bfin_read16(UART_IIR)
1380#define bfin_write_UART_IIR(val) bfin_write16(UART_IIR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001381#define bfin_read_UART_LCR() bfin_read16(UART_LCR)
1382#define bfin_write_UART_LCR(val) bfin_write16(UART_LCR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001383#define bfin_read_UART_MCR() bfin_read16(UART_MCR)
1384#define bfin_write_UART_MCR(val) bfin_write16(UART_MCR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001385#define bfin_read_UART_LSR() bfin_read16(UART_LSR)
1386#define bfin_write_UART_LSR(val) bfin_write16(UART_LSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001387#define bfin_read_UART_MSR() bfin_read16(UART_MSR)
1388#define bfin_write_UART_MSR(val) bfin_write16(UART_MSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001389#define bfin_read_UART_SCR() bfin_read16(UART_SCR)
1390#define bfin_write_UART_SCR(val) bfin_write16(UART_SCR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001391#define bfin_read_UART_GCTL() bfin_read16(UART_GCTL)
1392#define bfin_write_UART_GCTL(val) bfin_write16(UART_GCTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001393#define bfin_read_UART_GBL() bfin_read16(UART_GBL)
1394#define bfin_write_UART_GBL(val) bfin_write16(UART_GBL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001395#define bfin_read_EBIU_AMGCTL() bfin_read16(EBIU_AMGCTL)
1396#define bfin_write_EBIU_AMGCTL(val) bfin_write16(EBIU_AMGCTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001397#define bfin_read_EBIU_AMBCTL0() bfin_read32(EBIU_AMBCTL0)
1398#define bfin_write_EBIU_AMBCTL0(val) bfin_write32(EBIU_AMBCTL0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001399#define bfin_read_EBIU_AMBCTL1() bfin_read32(EBIU_AMBCTL1)
1400#define bfin_write_EBIU_AMBCTL1(val) bfin_write32(EBIU_AMBCTL1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001401#define bfin_read_EBIU_SDGCTL() bfin_read32(EBIU_SDGCTL)
1402#define bfin_write_EBIU_SDGCTL(val) bfin_write32(EBIU_SDGCTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001403#define bfin_read_EBIU_SDBCTL() bfin_read32(EBIU_SDBCTL)
1404#define bfin_write_EBIU_SDBCTL(val) bfin_write32(EBIU_SDBCTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001405#define bfin_read_EBIU_SDRRC() bfin_read16(EBIU_SDRRC)
1406#define bfin_write_EBIU_SDRRC(val) bfin_write16(EBIU_SDRRC, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001407#define bfin_read_EBIU_SDSTAT() bfin_read16(EBIU_SDSTAT)
1408#define bfin_write_EBIU_SDSTAT(val) bfin_write16(EBIU_SDSTAT, val)
1409
1410#endif /* __BFIN_CDEF_ADSP_BF561_proc__ */