blob: 2572bfa908477d692fdcce74b4f8b93a10208d3b [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_BF531_proc__
7#define __BFIN_CDEF_ADSP_BF531_proc__
8
9#include "../mach-common/ADSP-EDN-core_cdef.h"
10
Mike Frysingere6ca6fb2010-07-26 01:06:37 -040011#define bfin_read_MDMAFLX0_DMACNFG_D() bfin_read16(MDMAFLX0_DMACNFG_D)
12#define bfin_write_MDMAFLX0_DMACNFG_D(val) bfin_write16(MDMAFLX0_DMACNFG_D, val)
13#define bfin_read_MDMAFLX0_XCOUNT_D() bfin_read16(MDMAFLX0_XCOUNT_D)
14#define bfin_write_MDMAFLX0_XCOUNT_D(val) bfin_write16(MDMAFLX0_XCOUNT_D, val)
15#define bfin_read_MDMAFLX0_XMODIFY_D() bfin_read16(MDMAFLX0_XMODIFY_D)
16#define bfin_write_MDMAFLX0_XMODIFY_D(val) bfin_write16(MDMAFLX0_XMODIFY_D, val)
17#define bfin_read_MDMAFLX0_YCOUNT_D() bfin_read16(MDMAFLX0_YCOUNT_D)
18#define bfin_write_MDMAFLX0_YCOUNT_D(val) bfin_write16(MDMAFLX0_YCOUNT_D, val)
19#define bfin_read_MDMAFLX0_YMODIFY_D() bfin_read16(MDMAFLX0_YMODIFY_D)
20#define bfin_write_MDMAFLX0_YMODIFY_D(val) bfin_write16(MDMAFLX0_YMODIFY_D, val)
21#define bfin_read_MDMAFLX0_IRQSTAT_D() bfin_read16(MDMAFLX0_IRQSTAT_D)
22#define bfin_write_MDMAFLX0_IRQSTAT_D(val) bfin_write16(MDMAFLX0_IRQSTAT_D, val)
23#define bfin_read_MDMAFLX0_PMAP_D() bfin_read16(MDMAFLX0_PMAP_D)
24#define bfin_write_MDMAFLX0_PMAP_D(val) bfin_write16(MDMAFLX0_PMAP_D, val)
25#define bfin_read_MDMAFLX0_CURXCOUNT_D() bfin_read16(MDMAFLX0_CURXCOUNT_D)
26#define bfin_write_MDMAFLX0_CURXCOUNT_D(val) bfin_write16(MDMAFLX0_CURXCOUNT_D, val)
27#define bfin_read_MDMAFLX0_CURYCOUNT_D() bfin_read16(MDMAFLX0_CURYCOUNT_D)
28#define bfin_write_MDMAFLX0_CURYCOUNT_D(val) bfin_write16(MDMAFLX0_CURYCOUNT_D, val)
29#define bfin_read_MDMAFLX0_DMACNFG_S() bfin_read16(MDMAFLX0_DMACNFG_S)
30#define bfin_write_MDMAFLX0_DMACNFG_S(val) bfin_write16(MDMAFLX0_DMACNFG_S, val)
31#define bfin_read_MDMAFLX0_XCOUNT_S() bfin_read16(MDMAFLX0_XCOUNT_S)
32#define bfin_write_MDMAFLX0_XCOUNT_S(val) bfin_write16(MDMAFLX0_XCOUNT_S, val)
33#define bfin_read_MDMAFLX0_XMODIFY_S() bfin_read16(MDMAFLX0_XMODIFY_S)
34#define bfin_write_MDMAFLX0_XMODIFY_S(val) bfin_write16(MDMAFLX0_XMODIFY_S, val)
35#define bfin_read_MDMAFLX0_YCOUNT_S() bfin_read16(MDMAFLX0_YCOUNT_S)
36#define bfin_write_MDMAFLX0_YCOUNT_S(val) bfin_write16(MDMAFLX0_YCOUNT_S, val)
37#define bfin_read_MDMAFLX0_YMODIFY_S() bfin_read16(MDMAFLX0_YMODIFY_S)
38#define bfin_write_MDMAFLX0_YMODIFY_S(val) bfin_write16(MDMAFLX0_YMODIFY_S, val)
39#define bfin_read_MDMAFLX0_IRQSTAT_S() bfin_read16(MDMAFLX0_IRQSTAT_S)
40#define bfin_write_MDMAFLX0_IRQSTAT_S(val) bfin_write16(MDMAFLX0_IRQSTAT_S, val)
41#define bfin_read_MDMAFLX0_PMAP_S() bfin_read16(MDMAFLX0_PMAP_S)
42#define bfin_write_MDMAFLX0_PMAP_S(val) bfin_write16(MDMAFLX0_PMAP_S, val)
43#define bfin_read_MDMAFLX0_CURXCOUNT_S() bfin_read16(MDMAFLX0_CURXCOUNT_S)
44#define bfin_write_MDMAFLX0_CURXCOUNT_S(val) bfin_write16(MDMAFLX0_CURXCOUNT_S, val)
45#define bfin_read_MDMAFLX0_CURYCOUNT_S() bfin_read16(MDMAFLX0_CURYCOUNT_S)
46#define bfin_write_MDMAFLX0_CURYCOUNT_S(val) bfin_write16(MDMAFLX0_CURYCOUNT_S, val)
47#define bfin_read_MDMAFLX1_DMACNFG_D() bfin_read16(MDMAFLX1_DMACNFG_D)
48#define bfin_write_MDMAFLX1_DMACNFG_D(val) bfin_write16(MDMAFLX1_DMACNFG_D, val)
49#define bfin_read_MDMAFLX1_XCOUNT_D() bfin_read16(MDMAFLX1_XCOUNT_D)
50#define bfin_write_MDMAFLX1_XCOUNT_D(val) bfin_write16(MDMAFLX1_XCOUNT_D, val)
51#define bfin_read_MDMAFLX1_XMODIFY_D() bfin_read16(MDMAFLX1_XMODIFY_D)
52#define bfin_write_MDMAFLX1_XMODIFY_D(val) bfin_write16(MDMAFLX1_XMODIFY_D, val)
53#define bfin_read_MDMAFLX1_YCOUNT_D() bfin_read16(MDMAFLX1_YCOUNT_D)
54#define bfin_write_MDMAFLX1_YCOUNT_D(val) bfin_write16(MDMAFLX1_YCOUNT_D, val)
55#define bfin_read_MDMAFLX1_YMODIFY_D() bfin_read16(MDMAFLX1_YMODIFY_D)
56#define bfin_write_MDMAFLX1_YMODIFY_D(val) bfin_write16(MDMAFLX1_YMODIFY_D, val)
57#define bfin_read_MDMAFLX1_IRQSTAT_D() bfin_read16(MDMAFLX1_IRQSTAT_D)
58#define bfin_write_MDMAFLX1_IRQSTAT_D(val) bfin_write16(MDMAFLX1_IRQSTAT_D, val)
59#define bfin_read_MDMAFLX1_PMAP_D() bfin_read16(MDMAFLX1_PMAP_D)
60#define bfin_write_MDMAFLX1_PMAP_D(val) bfin_write16(MDMAFLX1_PMAP_D, val)
61#define bfin_read_MDMAFLX1_CURXCOUNT_D() bfin_read16(MDMAFLX1_CURXCOUNT_D)
62#define bfin_write_MDMAFLX1_CURXCOUNT_D(val) bfin_write16(MDMAFLX1_CURXCOUNT_D, val)
63#define bfin_read_MDMAFLX1_CURYCOUNT_D() bfin_read16(MDMAFLX1_CURYCOUNT_D)
64#define bfin_write_MDMAFLX1_CURYCOUNT_D(val) bfin_write16(MDMAFLX1_CURYCOUNT_D, val)
65#define bfin_read_MDMAFLX1_DMACNFG_S() bfin_read16(MDMAFLX1_DMACNFG_S)
66#define bfin_write_MDMAFLX1_DMACNFG_S(val) bfin_write16(MDMAFLX1_DMACNFG_S, val)
67#define bfin_read_MDMAFLX1_XCOUNT_S() bfin_read16(MDMAFLX1_XCOUNT_S)
68#define bfin_write_MDMAFLX1_XCOUNT_S(val) bfin_write16(MDMAFLX1_XCOUNT_S, val)
69#define bfin_read_MDMAFLX1_XMODIFY_S() bfin_read16(MDMAFLX1_XMODIFY_S)
70#define bfin_write_MDMAFLX1_XMODIFY_S(val) bfin_write16(MDMAFLX1_XMODIFY_S, val)
71#define bfin_read_MDMAFLX1_YCOUNT_S() bfin_read16(MDMAFLX1_YCOUNT_S)
72#define bfin_write_MDMAFLX1_YCOUNT_S(val) bfin_write16(MDMAFLX1_YCOUNT_S, val)
73#define bfin_read_MDMAFLX1_YMODIFY_S() bfin_read16(MDMAFLX1_YMODIFY_S)
74#define bfin_write_MDMAFLX1_YMODIFY_S(val) bfin_write16(MDMAFLX1_YMODIFY_S, val)
75#define bfin_read_MDMAFLX1_IRQSTAT_S() bfin_read16(MDMAFLX1_IRQSTAT_S)
76#define bfin_write_MDMAFLX1_IRQSTAT_S(val) bfin_write16(MDMAFLX1_IRQSTAT_S, val)
77#define bfin_read_MDMAFLX1_PMAP_S() bfin_read16(MDMAFLX1_PMAP_S)
78#define bfin_write_MDMAFLX1_PMAP_S(val) bfin_write16(MDMAFLX1_PMAP_S, val)
79#define bfin_read_MDMAFLX1_CURXCOUNT_S() bfin_read16(MDMAFLX1_CURXCOUNT_S)
80#define bfin_write_MDMAFLX1_CURXCOUNT_S(val) bfin_write16(MDMAFLX1_CURXCOUNT_S, val)
81#define bfin_read_MDMAFLX1_CURYCOUNT_S() bfin_read16(MDMAFLX1_CURYCOUNT_S)
82#define bfin_write_MDMAFLX1_CURYCOUNT_S(val) bfin_write16(MDMAFLX1_CURYCOUNT_S, val)
83#define bfin_read_DMAFLX0_DMACNFG() bfin_read16(DMAFLX0_DMACNFG)
84#define bfin_write_DMAFLX0_DMACNFG(val) bfin_write16(DMAFLX0_DMACNFG, val)
85#define bfin_read_DMAFLX0_XCOUNT() bfin_read16(DMAFLX0_XCOUNT)
86#define bfin_write_DMAFLX0_XCOUNT(val) bfin_write16(DMAFLX0_XCOUNT, val)
87#define bfin_read_DMAFLX0_XMODIFY() bfin_read16(DMAFLX0_XMODIFY)
88#define bfin_write_DMAFLX0_XMODIFY(val) bfin_write16(DMAFLX0_XMODIFY, val)
89#define bfin_read_DMAFLX0_YCOUNT() bfin_read16(DMAFLX0_YCOUNT)
90#define bfin_write_DMAFLX0_YCOUNT(val) bfin_write16(DMAFLX0_YCOUNT, val)
91#define bfin_read_DMAFLX0_YMODIFY() bfin_read16(DMAFLX0_YMODIFY)
92#define bfin_write_DMAFLX0_YMODIFY(val) bfin_write16(DMAFLX0_YMODIFY, val)
93#define bfin_read_DMAFLX0_IRQSTAT() bfin_read16(DMAFLX0_IRQSTAT)
94#define bfin_write_DMAFLX0_IRQSTAT(val) bfin_write16(DMAFLX0_IRQSTAT, val)
95#define bfin_read_DMAFLX0_PMAP() bfin_read16(DMAFLX0_PMAP)
96#define bfin_write_DMAFLX0_PMAP(val) bfin_write16(DMAFLX0_PMAP, val)
97#define bfin_read_DMAFLX0_CURXCOUNT() bfin_read16(DMAFLX0_CURXCOUNT)
98#define bfin_write_DMAFLX0_CURXCOUNT(val) bfin_write16(DMAFLX0_CURXCOUNT, val)
99#define bfin_read_DMAFLX0_CURYCOUNT() bfin_read16(DMAFLX0_CURYCOUNT)
100#define bfin_write_DMAFLX0_CURYCOUNT(val) bfin_write16(DMAFLX0_CURYCOUNT, val)
101#define bfin_read_DMAFLX1_DMACNFG() bfin_read16(DMAFLX1_DMACNFG)
102#define bfin_write_DMAFLX1_DMACNFG(val) bfin_write16(DMAFLX1_DMACNFG, val)
103#define bfin_read_DMAFLX1_XCOUNT() bfin_read16(DMAFLX1_XCOUNT)
104#define bfin_write_DMAFLX1_XCOUNT(val) bfin_write16(DMAFLX1_XCOUNT, val)
105#define bfin_read_DMAFLX1_XMODIFY() bfin_read16(DMAFLX1_XMODIFY)
106#define bfin_write_DMAFLX1_XMODIFY(val) bfin_write16(DMAFLX1_XMODIFY, val)
107#define bfin_read_DMAFLX1_YCOUNT() bfin_read16(DMAFLX1_YCOUNT)
108#define bfin_write_DMAFLX1_YCOUNT(val) bfin_write16(DMAFLX1_YCOUNT, val)
109#define bfin_read_DMAFLX1_YMODIFY() bfin_read16(DMAFLX1_YMODIFY)
110#define bfin_write_DMAFLX1_YMODIFY(val) bfin_write16(DMAFLX1_YMODIFY, val)
111#define bfin_read_DMAFLX1_IRQSTAT() bfin_read16(DMAFLX1_IRQSTAT)
112#define bfin_write_DMAFLX1_IRQSTAT(val) bfin_write16(DMAFLX1_IRQSTAT, val)
113#define bfin_read_DMAFLX1_PMAP() bfin_read16(DMAFLX1_PMAP)
114#define bfin_write_DMAFLX1_PMAP(val) bfin_write16(DMAFLX1_PMAP, val)
115#define bfin_read_DMAFLX1_CURXCOUNT() bfin_read16(DMAFLX1_CURXCOUNT)
116#define bfin_write_DMAFLX1_CURXCOUNT(val) bfin_write16(DMAFLX1_CURXCOUNT, val)
117#define bfin_read_DMAFLX1_CURYCOUNT() bfin_read16(DMAFLX1_CURYCOUNT)
118#define bfin_write_DMAFLX1_CURYCOUNT(val) bfin_write16(DMAFLX1_CURYCOUNT, val)
119#define bfin_read_DMAFLX2_DMACNFG() bfin_read16(DMAFLX2_DMACNFG)
120#define bfin_write_DMAFLX2_DMACNFG(val) bfin_write16(DMAFLX2_DMACNFG, val)
121#define bfin_read_DMAFLX2_XCOUNT() bfin_read16(DMAFLX2_XCOUNT)
122#define bfin_write_DMAFLX2_XCOUNT(val) bfin_write16(DMAFLX2_XCOUNT, val)
123#define bfin_read_DMAFLX2_XMODIFY() bfin_read16(DMAFLX2_XMODIFY)
124#define bfin_write_DMAFLX2_XMODIFY(val) bfin_write16(DMAFLX2_XMODIFY, val)
125#define bfin_read_DMAFLX2_YCOUNT() bfin_read16(DMAFLX2_YCOUNT)
126#define bfin_write_DMAFLX2_YCOUNT(val) bfin_write16(DMAFLX2_YCOUNT, val)
127#define bfin_read_DMAFLX2_YMODIFY() bfin_read16(DMAFLX2_YMODIFY)
128#define bfin_write_DMAFLX2_YMODIFY(val) bfin_write16(DMAFLX2_YMODIFY, val)
129#define bfin_read_DMAFLX2_IRQSTAT() bfin_read16(DMAFLX2_IRQSTAT)
130#define bfin_write_DMAFLX2_IRQSTAT(val) bfin_write16(DMAFLX2_IRQSTAT, val)
131#define bfin_read_DMAFLX2_PMAP() bfin_read16(DMAFLX2_PMAP)
132#define bfin_write_DMAFLX2_PMAP(val) bfin_write16(DMAFLX2_PMAP, val)
133#define bfin_read_DMAFLX2_CURXCOUNT() bfin_read16(DMAFLX2_CURXCOUNT)
134#define bfin_write_DMAFLX2_CURXCOUNT(val) bfin_write16(DMAFLX2_CURXCOUNT, val)
135#define bfin_read_DMAFLX2_CURYCOUNT() bfin_read16(DMAFLX2_CURYCOUNT)
136#define bfin_write_DMAFLX2_CURYCOUNT(val) bfin_write16(DMAFLX2_CURYCOUNT, val)
137#define bfin_read_DMAFLX3_DMACNFG() bfin_read16(DMAFLX3_DMACNFG)
138#define bfin_write_DMAFLX3_DMACNFG(val) bfin_write16(DMAFLX3_DMACNFG, val)
139#define bfin_read_DMAFLX3_XCOUNT() bfin_read16(DMAFLX3_XCOUNT)
140#define bfin_write_DMAFLX3_XCOUNT(val) bfin_write16(DMAFLX3_XCOUNT, val)
141#define bfin_read_DMAFLX3_XMODIFY() bfin_read16(DMAFLX3_XMODIFY)
142#define bfin_write_DMAFLX3_XMODIFY(val) bfin_write16(DMAFLX3_XMODIFY, val)
143#define bfin_read_DMAFLX3_YCOUNT() bfin_read16(DMAFLX3_YCOUNT)
144#define bfin_write_DMAFLX3_YCOUNT(val) bfin_write16(DMAFLX3_YCOUNT, val)
145#define bfin_read_DMAFLX3_YMODIFY() bfin_read16(DMAFLX3_YMODIFY)
146#define bfin_write_DMAFLX3_YMODIFY(val) bfin_write16(DMAFLX3_YMODIFY, val)
147#define bfin_read_DMAFLX3_IRQSTAT() bfin_read16(DMAFLX3_IRQSTAT)
148#define bfin_write_DMAFLX3_IRQSTAT(val) bfin_write16(DMAFLX3_IRQSTAT, val)
149#define bfin_read_DMAFLX3_PMAP() bfin_read16(DMAFLX3_PMAP)
150#define bfin_write_DMAFLX3_PMAP(val) bfin_write16(DMAFLX3_PMAP, val)
151#define bfin_read_DMAFLX3_CURXCOUNT() bfin_read16(DMAFLX3_CURXCOUNT)
152#define bfin_write_DMAFLX3_CURXCOUNT(val) bfin_write16(DMAFLX3_CURXCOUNT, val)
153#define bfin_read_DMAFLX3_CURYCOUNT() bfin_read16(DMAFLX3_CURYCOUNT)
154#define bfin_write_DMAFLX3_CURYCOUNT(val) bfin_write16(DMAFLX3_CURYCOUNT, val)
155#define bfin_read_DMAFLX4_DMACNFG() bfin_read16(DMAFLX4_DMACNFG)
156#define bfin_write_DMAFLX4_DMACNFG(val) bfin_write16(DMAFLX4_DMACNFG, val)
157#define bfin_read_DMAFLX4_XCOUNT() bfin_read16(DMAFLX4_XCOUNT)
158#define bfin_write_DMAFLX4_XCOUNT(val) bfin_write16(DMAFLX4_XCOUNT, val)
159#define bfin_read_DMAFLX4_XMODIFY() bfin_read16(DMAFLX4_XMODIFY)
160#define bfin_write_DMAFLX4_XMODIFY(val) bfin_write16(DMAFLX4_XMODIFY, val)
161#define bfin_read_DMAFLX4_YCOUNT() bfin_read16(DMAFLX4_YCOUNT)
162#define bfin_write_DMAFLX4_YCOUNT(val) bfin_write16(DMAFLX4_YCOUNT, val)
163#define bfin_read_DMAFLX4_YMODIFY() bfin_read16(DMAFLX4_YMODIFY)
164#define bfin_write_DMAFLX4_YMODIFY(val) bfin_write16(DMAFLX4_YMODIFY, val)
165#define bfin_read_DMAFLX4_IRQSTAT() bfin_read16(DMAFLX4_IRQSTAT)
166#define bfin_write_DMAFLX4_IRQSTAT(val) bfin_write16(DMAFLX4_IRQSTAT, val)
167#define bfin_read_DMAFLX4_PMAP() bfin_read16(DMAFLX4_PMAP)
168#define bfin_write_DMAFLX4_PMAP(val) bfin_write16(DMAFLX4_PMAP, val)
169#define bfin_read_DMAFLX4_CURXCOUNT() bfin_read16(DMAFLX4_CURXCOUNT)
170#define bfin_write_DMAFLX4_CURXCOUNT(val) bfin_write16(DMAFLX4_CURXCOUNT, val)
171#define bfin_read_DMAFLX4_CURYCOUNT() bfin_read16(DMAFLX4_CURYCOUNT)
172#define bfin_write_DMAFLX4_CURYCOUNT(val) bfin_write16(DMAFLX4_CURYCOUNT, val)
173#define bfin_read_DMAFLX5_DMACNFG() bfin_read16(DMAFLX5_DMACNFG)
174#define bfin_write_DMAFLX5_DMACNFG(val) bfin_write16(DMAFLX5_DMACNFG, val)
175#define bfin_read_DMAFLX5_XCOUNT() bfin_read16(DMAFLX5_XCOUNT)
176#define bfin_write_DMAFLX5_XCOUNT(val) bfin_write16(DMAFLX5_XCOUNT, val)
177#define bfin_read_DMAFLX5_XMODIFY() bfin_read16(DMAFLX5_XMODIFY)
178#define bfin_write_DMAFLX5_XMODIFY(val) bfin_write16(DMAFLX5_XMODIFY, val)
179#define bfin_read_DMAFLX5_YCOUNT() bfin_read16(DMAFLX5_YCOUNT)
180#define bfin_write_DMAFLX5_YCOUNT(val) bfin_write16(DMAFLX5_YCOUNT, val)
181#define bfin_read_DMAFLX5_YMODIFY() bfin_read16(DMAFLX5_YMODIFY)
182#define bfin_write_DMAFLX5_YMODIFY(val) bfin_write16(DMAFLX5_YMODIFY, val)
183#define bfin_read_DMAFLX5_IRQSTAT() bfin_read16(DMAFLX5_IRQSTAT)
184#define bfin_write_DMAFLX5_IRQSTAT(val) bfin_write16(DMAFLX5_IRQSTAT, val)
185#define bfin_read_DMAFLX5_PMAP() bfin_read16(DMAFLX5_PMAP)
186#define bfin_write_DMAFLX5_PMAP(val) bfin_write16(DMAFLX5_PMAP, val)
187#define bfin_read_DMAFLX5_CURXCOUNT() bfin_read16(DMAFLX5_CURXCOUNT)
188#define bfin_write_DMAFLX5_CURXCOUNT(val) bfin_write16(DMAFLX5_CURXCOUNT, val)
189#define bfin_read_DMAFLX5_CURYCOUNT() bfin_read16(DMAFLX5_CURYCOUNT)
190#define bfin_write_DMAFLX5_CURYCOUNT(val) bfin_write16(DMAFLX5_CURYCOUNT, val)
191#define bfin_read_DMAFLX6_DMACNFG() bfin_read16(DMAFLX6_DMACNFG)
192#define bfin_write_DMAFLX6_DMACNFG(val) bfin_write16(DMAFLX6_DMACNFG, val)
193#define bfin_read_DMAFLX6_XCOUNT() bfin_read16(DMAFLX6_XCOUNT)
194#define bfin_write_DMAFLX6_XCOUNT(val) bfin_write16(DMAFLX6_XCOUNT, val)
195#define bfin_read_DMAFLX6_XMODIFY() bfin_read16(DMAFLX6_XMODIFY)
196#define bfin_write_DMAFLX6_XMODIFY(val) bfin_write16(DMAFLX6_XMODIFY, val)
197#define bfin_read_DMAFLX6_YCOUNT() bfin_read16(DMAFLX6_YCOUNT)
198#define bfin_write_DMAFLX6_YCOUNT(val) bfin_write16(DMAFLX6_YCOUNT, val)
199#define bfin_read_DMAFLX6_YMODIFY() bfin_read16(DMAFLX6_YMODIFY)
200#define bfin_write_DMAFLX6_YMODIFY(val) bfin_write16(DMAFLX6_YMODIFY, val)
201#define bfin_read_DMAFLX6_IRQSTAT() bfin_read16(DMAFLX6_IRQSTAT)
202#define bfin_write_DMAFLX6_IRQSTAT(val) bfin_write16(DMAFLX6_IRQSTAT, val)
203#define bfin_read_DMAFLX6_PMAP() bfin_read16(DMAFLX6_PMAP)
204#define bfin_write_DMAFLX6_PMAP(val) bfin_write16(DMAFLX6_PMAP, val)
205#define bfin_read_DMAFLX6_CURXCOUNT() bfin_read16(DMAFLX6_CURXCOUNT)
206#define bfin_write_DMAFLX6_CURXCOUNT(val) bfin_write16(DMAFLX6_CURXCOUNT, val)
207#define bfin_read_DMAFLX6_CURYCOUNT() bfin_read16(DMAFLX6_CURYCOUNT)
208#define bfin_write_DMAFLX6_CURYCOUNT(val) bfin_write16(DMAFLX6_CURYCOUNT, val)
209#define bfin_read_DMAFLX7_DMACNFG() bfin_read16(DMAFLX7_DMACNFG)
210#define bfin_write_DMAFLX7_DMACNFG(val) bfin_write16(DMAFLX7_DMACNFG, val)
211#define bfin_read_DMAFLX7_XCOUNT() bfin_read16(DMAFLX7_XCOUNT)
212#define bfin_write_DMAFLX7_XCOUNT(val) bfin_write16(DMAFLX7_XCOUNT, val)
213#define bfin_read_DMAFLX7_XMODIFY() bfin_read16(DMAFLX7_XMODIFY)
214#define bfin_write_DMAFLX7_XMODIFY(val) bfin_write16(DMAFLX7_XMODIFY, val)
215#define bfin_read_DMAFLX7_YCOUNT() bfin_read16(DMAFLX7_YCOUNT)
216#define bfin_write_DMAFLX7_YCOUNT(val) bfin_write16(DMAFLX7_YCOUNT, val)
217#define bfin_read_DMAFLX7_YMODIFY() bfin_read16(DMAFLX7_YMODIFY)
218#define bfin_write_DMAFLX7_YMODIFY(val) bfin_write16(DMAFLX7_YMODIFY, val)
219#define bfin_read_DMAFLX7_IRQSTAT() bfin_read16(DMAFLX7_IRQSTAT)
220#define bfin_write_DMAFLX7_IRQSTAT(val) bfin_write16(DMAFLX7_IRQSTAT, val)
221#define bfin_read_DMAFLX7_PMAP() bfin_read16(DMAFLX7_PMAP)
222#define bfin_write_DMAFLX7_PMAP(val) bfin_write16(DMAFLX7_PMAP, val)
223#define bfin_read_DMAFLX7_CURXCOUNT() bfin_read16(DMAFLX7_CURXCOUNT)
224#define bfin_write_DMAFLX7_CURXCOUNT(val) bfin_write16(DMAFLX7_CURXCOUNT, val)
225#define bfin_read_DMAFLX7_CURYCOUNT() bfin_read16(DMAFLX7_CURYCOUNT)
226#define bfin_write_DMAFLX7_CURYCOUNT(val) bfin_write16(DMAFLX7_CURYCOUNT, val)
227#define bfin_read_TIMER0_CONFIG() bfin_read16(TIMER0_CONFIG)
228#define bfin_write_TIMER0_CONFIG(val) bfin_write16(TIMER0_CONFIG, val)
229#define bfin_read_TIMER0_COUNTER() bfin_read32(TIMER0_COUNTER)
230#define bfin_write_TIMER0_COUNTER(val) bfin_write32(TIMER0_COUNTER, val)
231#define bfin_read_TIMER0_PERIOD() bfin_read32(TIMER0_PERIOD)
232#define bfin_write_TIMER0_PERIOD(val) bfin_write32(TIMER0_PERIOD, val)
233#define bfin_read_TIMER0_WIDTH() bfin_read32(TIMER0_WIDTH)
234#define bfin_write_TIMER0_WIDTH(val) bfin_write32(TIMER0_WIDTH, val)
235#define bfin_read_TIMER1_CONFIG() bfin_read16(TIMER1_CONFIG)
236#define bfin_write_TIMER1_CONFIG(val) bfin_write16(TIMER1_CONFIG, val)
237#define bfin_read_TIMER1_COUNTER() bfin_read32(TIMER1_COUNTER)
238#define bfin_write_TIMER1_COUNTER(val) bfin_write32(TIMER1_COUNTER, val)
239#define bfin_read_TIMER1_PERIOD() bfin_read32(TIMER1_PERIOD)
240#define bfin_write_TIMER1_PERIOD(val) bfin_write32(TIMER1_PERIOD, val)
241#define bfin_read_TIMER1_WIDTH() bfin_read32(TIMER1_WIDTH)
242#define bfin_write_TIMER1_WIDTH(val) bfin_write32(TIMER1_WIDTH, val)
243#define bfin_read_TIMER2_CONFIG() bfin_read16(TIMER2_CONFIG)
244#define bfin_write_TIMER2_CONFIG(val) bfin_write16(TIMER2_CONFIG, val)
245#define bfin_read_TIMER2_COUNTER() bfin_read32(TIMER2_COUNTER)
246#define bfin_write_TIMER2_COUNTER(val) bfin_write32(TIMER2_COUNTER, val)
247#define bfin_read_TIMER2_PERIOD() bfin_read32(TIMER2_PERIOD)
248#define bfin_write_TIMER2_PERIOD(val) bfin_write32(TIMER2_PERIOD, val)
249#define bfin_read_TIMER2_WIDTH() bfin_read32(TIMER2_WIDTH)
250#define bfin_write_TIMER2_WIDTH(val) bfin_write32(TIMER2_WIDTH, val)
251#define bfin_read_TIMER_ENABLE() bfin_read16(TIMER_ENABLE)
252#define bfin_write_TIMER_ENABLE(val) bfin_write16(TIMER_ENABLE, val)
253#define bfin_read_TIMER_DISABLE() bfin_read16(TIMER_DISABLE)
254#define bfin_write_TIMER_DISABLE(val) bfin_write16(TIMER_DISABLE, val)
255#define bfin_read_TIMER_STATUS() bfin_read16(TIMER_STATUS)
256#define bfin_write_TIMER_STATUS(val) bfin_write16(TIMER_STATUS, val)
257#define bfin_read_SIC_RVECT() bfin_read16(SIC_RVECT)
258#define bfin_write_SIC_RVECT(val) bfin_write16(SIC_RVECT, val)
259#define bfin_read_SIC_IMASK() bfin_read32(SIC_IMASK)
260#define bfin_write_SIC_IMASK(val) bfin_write32(SIC_IMASK, val)
261#define bfin_read_SIC_IAR0() bfin_read32(SIC_IAR0)
262#define bfin_write_SIC_IAR0(val) bfin_write32(SIC_IAR0, val)
263#define bfin_read_SIC_IAR1() bfin_read32(SIC_IAR1)
264#define bfin_write_SIC_IAR1(val) bfin_write32(SIC_IAR1, val)
265#define bfin_read_SIC_IAR2() bfin_read32(SIC_IAR2)
266#define bfin_write_SIC_IAR2(val) bfin_write32(SIC_IAR2, val)
267#define bfin_read_SIC_IAR3() bfin_read32(SIC_IAR3)
268#define bfin_write_SIC_IAR3(val) bfin_write32(SIC_IAR3, val)
269#define bfin_read_SIC_ISR() bfin_read32(SIC_ISR)
270#define bfin_write_SIC_ISR(val) bfin_write32(SIC_ISR, val)
271#define bfin_read_SIC_IWR() bfin_read32(SIC_IWR)
272#define bfin_write_SIC_IWR(val) bfin_write32(SIC_IWR, val)
273#define bfin_read_UART_THR() bfin_read16(UART_THR)
274#define bfin_write_UART_THR(val) bfin_write16(UART_THR, val)
275#define bfin_read_UART_DLL() bfin_read16(UART_DLL)
276#define bfin_write_UART_DLL(val) bfin_write16(UART_DLL, val)
277#define bfin_read_UART_DLH() bfin_read16(UART_DLH)
278#define bfin_write_UART_DLH(val) bfin_write16(UART_DLH, val)
279#define bfin_read_UART_IER() bfin_read16(UART_IER)
280#define bfin_write_UART_IER(val) bfin_write16(UART_IER, val)
281#define bfin_read_UART_IIR() bfin_read16(UART_IIR)
282#define bfin_write_UART_IIR(val) bfin_write16(UART_IIR, val)
283#define bfin_read_UART_LCR() bfin_read16(UART_LCR)
284#define bfin_write_UART_LCR(val) bfin_write16(UART_LCR, val)
285#define bfin_read_UART_MCR() bfin_read16(UART_MCR)
286#define bfin_write_UART_MCR(val) bfin_write16(UART_MCR, val)
287#define bfin_read_UART_LSR() bfin_read16(UART_LSR)
288#define bfin_write_UART_LSR(val) bfin_write16(UART_LSR, val)
289#define bfin_read_UART_SCR() bfin_read16(UART_SCR)
290#define bfin_write_UART_SCR(val) bfin_write16(UART_SCR, val)
291#define bfin_read_UART_RBR() bfin_read16(UART_RBR)
292#define bfin_write_UART_RBR(val) bfin_write16(UART_RBR, val)
293#define bfin_read_UART_GCTL() bfin_read16(UART_GCTL)
294#define bfin_write_UART_GCTL(val) bfin_write16(UART_GCTL, val)
295#define bfin_read_SPT0_TX_CONFIG0() bfin_read16(SPT0_TX_CONFIG0)
296#define bfin_write_SPT0_TX_CONFIG0(val) bfin_write16(SPT0_TX_CONFIG0, val)
297#define bfin_read_SPT0_TX_CONFIG1() bfin_read16(SPT0_TX_CONFIG1)
298#define bfin_write_SPT0_TX_CONFIG1(val) bfin_write16(SPT0_TX_CONFIG1, val)
299#define bfin_read_SPT0_RX_CONFIG0() bfin_read16(SPT0_RX_CONFIG0)
300#define bfin_write_SPT0_RX_CONFIG0(val) bfin_write16(SPT0_RX_CONFIG0, val)
301#define bfin_read_SPT0_RX_CONFIG1() bfin_read16(SPT0_RX_CONFIG1)
302#define bfin_write_SPT0_RX_CONFIG1(val) bfin_write16(SPT0_RX_CONFIG1, val)
303#define bfin_read_SPT0_TX() bfin_read32(SPT0_TX)
304#define bfin_write_SPT0_TX(val) bfin_write32(SPT0_TX, val)
305#define bfin_read_SPT0_RX() bfin_read32(SPT0_RX)
306#define bfin_write_SPT0_RX(val) bfin_write32(SPT0_RX, val)
307#define bfin_read_SPT0_TSCLKDIV() bfin_read16(SPT0_TSCLKDIV)
308#define bfin_write_SPT0_TSCLKDIV(val) bfin_write16(SPT0_TSCLKDIV, val)
309#define bfin_read_SPT0_RSCLKDIV() bfin_read16(SPT0_RSCLKDIV)
310#define bfin_write_SPT0_RSCLKDIV(val) bfin_write16(SPT0_RSCLKDIV, val)
311#define bfin_read_SPT0_TFSDIV() bfin_read16(SPT0_TFSDIV)
312#define bfin_write_SPT0_TFSDIV(val) bfin_write16(SPT0_TFSDIV, val)
313#define bfin_read_SPT0_RFSDIV() bfin_read16(SPT0_RFSDIV)
314#define bfin_write_SPT0_RFSDIV(val) bfin_write16(SPT0_RFSDIV, val)
315#define bfin_read_SPT0_STAT() bfin_read16(SPT0_STAT)
316#define bfin_write_SPT0_STAT(val) bfin_write16(SPT0_STAT, val)
317#define bfin_read_SPT0_MTCS0() bfin_read32(SPT0_MTCS0)
318#define bfin_write_SPT0_MTCS0(val) bfin_write32(SPT0_MTCS0, val)
319#define bfin_read_SPT0_MTCS1() bfin_read32(SPT0_MTCS1)
320#define bfin_write_SPT0_MTCS1(val) bfin_write32(SPT0_MTCS1, val)
321#define bfin_read_SPT0_MTCS2() bfin_read32(SPT0_MTCS2)
322#define bfin_write_SPT0_MTCS2(val) bfin_write32(SPT0_MTCS2, val)
323#define bfin_read_SPT0_MTCS3() bfin_read32(SPT0_MTCS3)
324#define bfin_write_SPT0_MTCS3(val) bfin_write32(SPT0_MTCS3, val)
325#define bfin_read_SPT0_MRCS0() bfin_read32(SPT0_MRCS0)
326#define bfin_write_SPT0_MRCS0(val) bfin_write32(SPT0_MRCS0, val)
327#define bfin_read_SPT0_MRCS1() bfin_read32(SPT0_MRCS1)
328#define bfin_write_SPT0_MRCS1(val) bfin_write32(SPT0_MRCS1, val)
329#define bfin_read_SPT0_MRCS2() bfin_read32(SPT0_MRCS2)
330#define bfin_write_SPT0_MRCS2(val) bfin_write32(SPT0_MRCS2, val)
331#define bfin_read_SPT0_MRCS3() bfin_read32(SPT0_MRCS3)
332#define bfin_write_SPT0_MRCS3(val) bfin_write32(SPT0_MRCS3, val)
333#define bfin_read_SPT0_MCMC1() bfin_read16(SPT0_MCMC1)
334#define bfin_write_SPT0_MCMC1(val) bfin_write16(SPT0_MCMC1, val)
335#define bfin_read_SPT0_MCMC2() bfin_read16(SPT0_MCMC2)
336#define bfin_write_SPT0_MCMC2(val) bfin_write16(SPT0_MCMC2, val)
337#define bfin_read_SPT0_CHNL() bfin_read16(SPT0_CHNL)
338#define bfin_write_SPT0_CHNL(val) bfin_write16(SPT0_CHNL, val)
339#define bfin_read_SPT1_TX_CONFIG0() bfin_read16(SPT1_TX_CONFIG0)
340#define bfin_write_SPT1_TX_CONFIG0(val) bfin_write16(SPT1_TX_CONFIG0, val)
341#define bfin_read_SPT1_TX_CONFIG1() bfin_read16(SPT1_TX_CONFIG1)
342#define bfin_write_SPT1_TX_CONFIG1(val) bfin_write16(SPT1_TX_CONFIG1, val)
343#define bfin_read_SPT1_RX_CONFIG0() bfin_read16(SPT1_RX_CONFIG0)
344#define bfin_write_SPT1_RX_CONFIG0(val) bfin_write16(SPT1_RX_CONFIG0, val)
345#define bfin_read_SPT1_RX_CONFIG1() bfin_read16(SPT1_RX_CONFIG1)
346#define bfin_write_SPT1_RX_CONFIG1(val) bfin_write16(SPT1_RX_CONFIG1, val)
347#define bfin_read_SPT1_TX() bfin_read16(SPT1_TX)
348#define bfin_write_SPT1_TX(val) bfin_write16(SPT1_TX, val)
349#define bfin_read_SPT1_RX() bfin_read16(SPT1_RX)
350#define bfin_write_SPT1_RX(val) bfin_write16(SPT1_RX, val)
351#define bfin_read_SPT1_TSCLKDIV() bfin_read16(SPT1_TSCLKDIV)
352#define bfin_write_SPT1_TSCLKDIV(val) bfin_write16(SPT1_TSCLKDIV, val)
353#define bfin_read_SPT1_RSCLKDIV() bfin_read16(SPT1_RSCLKDIV)
354#define bfin_write_SPT1_RSCLKDIV(val) bfin_write16(SPT1_RSCLKDIV, val)
355#define bfin_read_SPT1_TFSDIV() bfin_read16(SPT1_TFSDIV)
356#define bfin_write_SPT1_TFSDIV(val) bfin_write16(SPT1_TFSDIV, val)
357#define bfin_read_SPT1_RFSDIV() bfin_read16(SPT1_RFSDIV)
358#define bfin_write_SPT1_RFSDIV(val) bfin_write16(SPT1_RFSDIV, val)
359#define bfin_read_SPT1_STAT() bfin_read16(SPT1_STAT)
360#define bfin_write_SPT1_STAT(val) bfin_write16(SPT1_STAT, val)
361#define bfin_read_SPT1_MTCS0() bfin_read32(SPT1_MTCS0)
362#define bfin_write_SPT1_MTCS0(val) bfin_write32(SPT1_MTCS0, val)
363#define bfin_read_SPT1_MTCS1() bfin_read32(SPT1_MTCS1)
364#define bfin_write_SPT1_MTCS1(val) bfin_write32(SPT1_MTCS1, val)
365#define bfin_read_SPT1_MTCS2() bfin_read32(SPT1_MTCS2)
366#define bfin_write_SPT1_MTCS2(val) bfin_write32(SPT1_MTCS2, val)
367#define bfin_read_SPT1_MTCS3() bfin_read32(SPT1_MTCS3)
368#define bfin_write_SPT1_MTCS3(val) bfin_write32(SPT1_MTCS3, val)
369#define bfin_read_SPT1_MRCS0() bfin_read32(SPT1_MRCS0)
370#define bfin_write_SPT1_MRCS0(val) bfin_write32(SPT1_MRCS0, val)
371#define bfin_read_SPT1_MRCS1() bfin_read32(SPT1_MRCS1)
372#define bfin_write_SPT1_MRCS1(val) bfin_write32(SPT1_MRCS1, val)
373#define bfin_read_SPT1_MRCS2() bfin_read32(SPT1_MRCS2)
374#define bfin_write_SPT1_MRCS2(val) bfin_write32(SPT1_MRCS2, val)
375#define bfin_read_SPT1_MRCS3() bfin_read32(SPT1_MRCS3)
376#define bfin_write_SPT1_MRCS3(val) bfin_write32(SPT1_MRCS3, val)
377#define bfin_read_SPT1_MCMC1() bfin_read16(SPT1_MCMC1)
378#define bfin_write_SPT1_MCMC1(val) bfin_write16(SPT1_MCMC1, val)
379#define bfin_read_SPT1_MCMC2() bfin_read16(SPT1_MCMC2)
380#define bfin_write_SPT1_MCMC2(val) bfin_write16(SPT1_MCMC2, val)
381#define bfin_read_SPT1_CHNL() bfin_read16(SPT1_CHNL)
382#define bfin_write_SPT1_CHNL(val) bfin_write16(SPT1_CHNL, val)
383#define bfin_read_PPI_CONTROL() bfin_read16(PPI_CONTROL)
384#define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val)
385#define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS)
386#define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val)
387#define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY)
388#define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val)
389#define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT)
390#define bfin_write_PPI_COUNT(val) bfin_write16(PPI_COUNT, val)
391#define bfin_read_PPI_FRAME() bfin_read16(PPI_FRAME)
392#define bfin_write_PPI_FRAME(val) bfin_write16(PPI_FRAME, val)
393#define bfin_read_PLL_CTL() bfin_read16(PLL_CTL)
394#define bfin_write_PLL_CTL(val) bfin_write16(PLL_CTL, val)
395#define bfin_read_PLL_DIV() bfin_read16(PLL_DIV)
396#define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val)
397#define bfin_read_VR_CTL() bfin_read16(VR_CTL)
398#define bfin_write_VR_CTL(val) bfin_write16(VR_CTL, val)
399#define bfin_read_PLL_STAT() bfin_read16(PLL_STAT)
400#define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val)
401#define bfin_read_PLL_LOCKCNT() bfin_read16(PLL_LOCKCNT)
402#define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
403#define bfin_read_SWRST() bfin_read16(SWRST)
404#define bfin_write_SWRST(val) bfin_write16(SWRST, val)
405#define bfin_read_SYSCR() bfin_read16(SYSCR)
406#define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
407#define bfin_read_CHIPID() bfin_read32(CHIPID)
408#define bfin_write_CHIPID(val) bfin_write32(CHIPID, val)
409#define bfin_read_TBUFCTL() bfin_read32(TBUFCTL)
410#define bfin_write_TBUFCTL(val) bfin_write32(TBUFCTL, val)
411#define bfin_read_TBUFSTAT() bfin_read32(TBUFSTAT)
412#define bfin_write_TBUFSTAT(val) bfin_write32(TBUFSTAT, val)
413#define bfin_read_TBUF() bfin_readPTR(TBUF)
414#define bfin_write_TBUF(val) bfin_writePTR(TBUF, val)
415#define bfin_read_PFCTL() bfin_read32(PFCTL)
416#define bfin_write_PFCTL(val) bfin_write32(PFCTL, val)
417#define bfin_read_PFCNTR0() bfin_read32(PFCNTR0)
418#define bfin_write_PFCNTR0(val) bfin_write32(PFCNTR0, val)
419#define bfin_read_PFCNTR1() bfin_read32(PFCNTR1)
420#define bfin_write_PFCNTR1(val) bfin_write32(PFCNTR1, val)
421#define bfin_read_WDOG_CTL() bfin_read16(WDOG_CTL)
422#define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL, val)
423#define bfin_read_WDOG_CNT() bfin_read32(WDOG_CNT)
424#define bfin_write_WDOG_CNT(val) bfin_write32(WDOG_CNT, val)
425#define bfin_read_WDOG_STAT() bfin_read32(WDOG_STAT)
426#define bfin_write_WDOG_STAT(val) bfin_write32(WDOG_STAT, val)
427#define bfin_read_RTC_STAT() bfin_read32(RTC_STAT)
428#define bfin_write_RTC_STAT(val) bfin_write32(RTC_STAT, val)
429#define bfin_read_RTC_ICTL() bfin_read16(RTC_ICTL)
430#define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL, val)
431#define bfin_read_RTC_ISTAT() bfin_read16(RTC_ISTAT)
432#define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT, val)
433#define bfin_read_RTC_SWCNT() bfin_read16(RTC_SWCNT)
434#define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT, val)
435#define bfin_read_RTC_ALARM() bfin_read32(RTC_ALARM)
436#define bfin_write_RTC_ALARM(val) bfin_write32(RTC_ALARM, val)
437#define bfin_read_RTC_PREN() bfin_read16(RTC_PREN)
438#define bfin_write_RTC_PREN(val) bfin_write16(RTC_PREN, val)
439#define bfin_read_SPI_CTL() bfin_read16(SPI_CTL)
440#define bfin_write_SPI_CTL(val) bfin_write16(SPI_CTL, val)
441#define bfin_read_SPI_FLG() bfin_read16(SPI_FLG)
442#define bfin_write_SPI_FLG(val) bfin_write16(SPI_FLG, val)
443#define bfin_read_SPI_STAT() bfin_read16(SPI_STAT)
444#define bfin_write_SPI_STAT(val) bfin_write16(SPI_STAT, val)
445#define bfin_read_SPI_TDBR() bfin_read16(SPI_TDBR)
446#define bfin_write_SPI_TDBR(val) bfin_write16(SPI_TDBR, val)
447#define bfin_read_SPI_RDBR() bfin_read16(SPI_RDBR)
448#define bfin_write_SPI_RDBR(val) bfin_write16(SPI_RDBR, val)
449#define bfin_read_SPI_BAUD() bfin_read16(SPI_BAUD)
450#define bfin_write_SPI_BAUD(val) bfin_write16(SPI_BAUD, val)
451#define bfin_read_SPI_SHADOW() bfin_read16(SPI_SHADOW)
452#define bfin_write_SPI_SHADOW(val) bfin_write16(SPI_SHADOW, val)
453#define bfin_read_FIO_FLAG_D() bfin_read16(FIO_FLAG_D)
454#define bfin_write_FIO_FLAG_D(val) bfin_write16(FIO_FLAG_D, val)
455#define bfin_read_FIO_FLAG_C() bfin_read16(FIO_FLAG_C)
456#define bfin_write_FIO_FLAG_C(val) bfin_write16(FIO_FLAG_C, val)
457#define bfin_read_FIO_FLAG_S() bfin_read16(FIO_FLAG_S)
458#define bfin_write_FIO_FLAG_S(val) bfin_write16(FIO_FLAG_S, val)
459#define bfin_read_FIO_FLAG_T() bfin_read16(FIO_FLAG_T)
460#define bfin_write_FIO_FLAG_T(val) bfin_write16(FIO_FLAG_T, val)
461#define bfin_read_FIO_MASKA_D() bfin_read16(FIO_MASKA_D)
462#define bfin_write_FIO_MASKA_D(val) bfin_write16(FIO_MASKA_D, val)
463#define bfin_read_FIO_MASKA_C() bfin_read16(FIO_MASKA_C)
464#define bfin_write_FIO_MASKA_C(val) bfin_write16(FIO_MASKA_C, val)
465#define bfin_read_FIO_MASKA_S() bfin_read16(FIO_MASKA_S)
466#define bfin_write_FIO_MASKA_S(val) bfin_write16(FIO_MASKA_S, val)
467#define bfin_read_FIO_MASKA_T() bfin_read16(FIO_MASKA_T)
468#define bfin_write_FIO_MASKA_T(val) bfin_write16(FIO_MASKA_T, val)
469#define bfin_read_FIO_MASKB_D() bfin_read16(FIO_MASKB_D)
470#define bfin_write_FIO_MASKB_D(val) bfin_write16(FIO_MASKB_D, val)
471#define bfin_read_FIO_MASKB_C() bfin_read16(FIO_MASKB_C)
472#define bfin_write_FIO_MASKB_C(val) bfin_write16(FIO_MASKB_C, val)
473#define bfin_read_FIO_MASKB_S() bfin_read16(FIO_MASKB_S)
474#define bfin_write_FIO_MASKB_S(val) bfin_write16(FIO_MASKB_S, val)
475#define bfin_read_FIO_MASKB_T() bfin_read16(FIO_MASKB_T)
476#define bfin_write_FIO_MASKB_T(val) bfin_write16(FIO_MASKB_T, val)
477#define bfin_read_FIO_DIR() bfin_read16(FIO_DIR)
478#define bfin_write_FIO_DIR(val) bfin_write16(FIO_DIR, val)
479#define bfin_read_FIO_POLAR() bfin_read16(FIO_POLAR)
480#define bfin_write_FIO_POLAR(val) bfin_write16(FIO_POLAR, val)
481#define bfin_read_FIO_EDGE() bfin_read16(FIO_EDGE)
482#define bfin_write_FIO_EDGE(val) bfin_write16(FIO_EDGE, val)
483#define bfin_read_FIO_BOTH() bfin_read16(FIO_BOTH)
484#define bfin_write_FIO_BOTH(val) bfin_write16(FIO_BOTH, val)
485#define bfin_read_FIO_INEN() bfin_read16(FIO_INEN)
486#define bfin_write_FIO_INEN(val) bfin_write16(FIO_INEN, val)
487#define bfin_read_SPORT0_TCR1() bfin_read16(SPORT0_TCR1)
488#define bfin_write_SPORT0_TCR1(val) bfin_write16(SPORT0_TCR1, val)
489#define bfin_read_SPORT0_TCR2() bfin_read16(SPORT0_TCR2)
490#define bfin_write_SPORT0_TCR2(val) bfin_write16(SPORT0_TCR2, val)
491#define bfin_read_SPORT0_TCLKDIV() bfin_read16(SPORT0_TCLKDIV)
492#define bfin_write_SPORT0_TCLKDIV(val) bfin_write16(SPORT0_TCLKDIV, val)
493#define bfin_read_SPORT0_TFSDIV() bfin_read16(SPORT0_TFSDIV)
494#define bfin_write_SPORT0_TFSDIV(val) bfin_write16(SPORT0_TFSDIV, val)
495#define bfin_write_SPORT0_TX(val) bfin_write32(SPORT0_TX, val)
496#define bfin_read_SPORT0_RX() bfin_read32(SPORT0_RX)
497#define bfin_write_SPORT0_RX(val) bfin_write32(SPORT0_RX, val)
498#define bfin_read_SPORT0_RCR1() bfin_read16(SPORT0_RCR1)
499#define bfin_write_SPORT0_RCR1(val) bfin_write16(SPORT0_RCR1, val)
500#define bfin_read_SPORT0_RCR2() bfin_read16(SPORT0_RCR2)
501#define bfin_write_SPORT0_RCR2(val) bfin_write16(SPORT0_RCR2, val)
502#define bfin_read_SPORT0_RCLKDIV() bfin_read16(SPORT0_RCLKDIV)
503#define bfin_write_SPORT0_RCLKDIV(val) bfin_write16(SPORT0_RCLKDIV, val)
504#define bfin_read_SPORT0_RFSDIV() bfin_read16(SPORT0_RFSDIV)
505#define bfin_write_SPORT0_RFSDIV(val) bfin_write16(SPORT0_RFSDIV, val)
506#define bfin_read_SPORT0_STAT() bfin_read16(SPORT0_STAT)
507#define bfin_write_SPORT0_STAT(val) bfin_write16(SPORT0_STAT, val)
508#define bfin_read_SPORT0_CHNL() bfin_read16(SPORT0_CHNL)
509#define bfin_write_SPORT0_CHNL(val) bfin_write16(SPORT0_CHNL, val)
510#define bfin_read_SPORT0_MCMC1() bfin_read16(SPORT0_MCMC1)
511#define bfin_write_SPORT0_MCMC1(val) bfin_write16(SPORT0_MCMC1, val)
512#define bfin_read_SPORT0_MCMC2() bfin_read16(SPORT0_MCMC2)
513#define bfin_write_SPORT0_MCMC2(val) bfin_write16(SPORT0_MCMC2, val)
514#define bfin_read_SPORT1_TCR1() bfin_read16(SPORT1_TCR1)
515#define bfin_write_SPORT1_TCR1(val) bfin_write16(SPORT1_TCR1, val)
516#define bfin_read_SPORT1_TCR2() bfin_read16(SPORT1_TCR2)
517#define bfin_write_SPORT1_TCR2(val) bfin_write16(SPORT1_TCR2, val)
518#define bfin_read_SPORT1_TCLKDIV() bfin_read16(SPORT1_TCLKDIV)
519#define bfin_write_SPORT1_TCLKDIV(val) bfin_write16(SPORT1_TCLKDIV, val)
520#define bfin_read_SPORT1_TFSDIV() bfin_read16(SPORT1_TFSDIV)
521#define bfin_write_SPORT1_TFSDIV(val) bfin_write16(SPORT1_TFSDIV, val)
522#define bfin_write_SPORT1_TX(val) bfin_write32(SPORT1_TX, val)
523#define bfin_read_SPORT1_RX() bfin_read32(SPORT1_RX)
524#define bfin_write_SPORT1_RX(val) bfin_write32(SPORT1_RX, val)
525#define bfin_read_SPORT1_RCR1() bfin_read16(SPORT1_RCR1)
526#define bfin_write_SPORT1_RCR1(val) bfin_write16(SPORT1_RCR1, val)
527#define bfin_read_SPORT1_RCR2() bfin_read16(SPORT1_RCR2)
528#define bfin_write_SPORT1_RCR2(val) bfin_write16(SPORT1_RCR2, val)
529#define bfin_read_SPORT1_RCLKDIV() bfin_read16(SPORT1_RCLKDIV)
530#define bfin_write_SPORT1_RCLKDIV(val) bfin_write16(SPORT1_RCLKDIV, val)
531#define bfin_read_SPORT1_RFSDIV() bfin_read16(SPORT1_RFSDIV)
532#define bfin_write_SPORT1_RFSDIV(val) bfin_write16(SPORT1_RFSDIV, val)
533#define bfin_read_SPORT1_STAT() bfin_read16(SPORT1_STAT)
534#define bfin_write_SPORT1_STAT(val) bfin_write16(SPORT1_STAT, val)
535#define bfin_read_SPORT1_CHNL() bfin_read16(SPORT1_CHNL)
536#define bfin_write_SPORT1_CHNL(val) bfin_write16(SPORT1_CHNL, val)
537#define bfin_read_SPORT1_MCMC1() bfin_read16(SPORT1_MCMC1)
538#define bfin_write_SPORT1_MCMC1(val) bfin_write16(SPORT1_MCMC1, val)
539#define bfin_read_SPORT1_MCMC2() bfin_read16(SPORT1_MCMC2)
540#define bfin_write_SPORT1_MCMC2(val) bfin_write16(SPORT1_MCMC2, val)
541#define bfin_read_DMA0_NEXT_DESC_PTR() bfin_read32(DMA0_NEXT_DESC_PTR)
542#define bfin_write_DMA0_NEXT_DESC_PTR(val) bfin_write32(DMA0_NEXT_DESC_PTR, val)
543#define bfin_read_DMA0_START_ADDR() bfin_read32(DMA0_START_ADDR)
544#define bfin_write_DMA0_START_ADDR(val) bfin_write32(DMA0_START_ADDR, val)
545#define bfin_read_DMA0_CONFIG() bfin_read16(DMA0_CONFIG)
546#define bfin_write_DMA0_CONFIG(val) bfin_write16(DMA0_CONFIG, val)
547#define bfin_read_DMA0_X_COUNT() bfin_read16(DMA0_X_COUNT)
548#define bfin_write_DMA0_X_COUNT(val) bfin_write16(DMA0_X_COUNT, val)
549#define bfin_read_DMA0_X_MODIFY() bfin_read16(DMA0_X_MODIFY)
550#define bfin_write_DMA0_X_MODIFY(val) bfin_write16(DMA0_X_MODIFY, val)
551#define bfin_read_DMA0_Y_COUNT() bfin_read16(DMA0_Y_COUNT)
552#define bfin_write_DMA0_Y_COUNT(val) bfin_write16(DMA0_Y_COUNT, val)
553#define bfin_read_DMA0_Y_MODIFY() bfin_read16(DMA0_Y_MODIFY)
554#define bfin_write_DMA0_Y_MODIFY(val) bfin_write16(DMA0_Y_MODIFY, val)
555#define bfin_read_DMA0_CURR_DESC_PTR() bfin_read32(DMA0_CURR_DESC_PTR)
556#define bfin_write_DMA0_CURR_DESC_PTR(val) bfin_write32(DMA0_CURR_DESC_PTR, val)
557#define bfin_read_DMA0_CURR_ADDR() bfin_read32(DMA0_CURR_ADDR)
558#define bfin_write_DMA0_CURR_ADDR(val) bfin_write32(DMA0_CURR_ADDR, val)
559#define bfin_read_DMA0_IRQ_STATUS() bfin_read16(DMA0_IRQ_STATUS)
560#define bfin_write_DMA0_IRQ_STATUS(val) bfin_write16(DMA0_IRQ_STATUS, val)
561#define bfin_read_DMA0_PERIPHERAL_MAP() bfin_read16(DMA0_PERIPHERAL_MAP)
562#define bfin_write_DMA0_PERIPHERAL_MAP(val) bfin_write16(DMA0_PERIPHERAL_MAP, val)
563#define bfin_read_DMA0_CURR_X_COUNT() bfin_read16(DMA0_CURR_X_COUNT)
564#define bfin_write_DMA0_CURR_X_COUNT(val) bfin_write16(DMA0_CURR_X_COUNT, val)
565#define bfin_read_DMA0_CURR_Y_COUNT() bfin_read16(DMA0_CURR_Y_COUNT)
566#define bfin_write_DMA0_CURR_Y_COUNT(val) bfin_write16(DMA0_CURR_Y_COUNT, val)
567#define bfin_read_DMA1_NEXT_DESC_PTR() bfin_read32(DMA1_NEXT_DESC_PTR)
568#define bfin_write_DMA1_NEXT_DESC_PTR(val) bfin_write32(DMA1_NEXT_DESC_PTR, val)
569#define bfin_read_DMA1_START_ADDR() bfin_read32(DMA1_START_ADDR)
570#define bfin_write_DMA1_START_ADDR(val) bfin_write32(DMA1_START_ADDR, val)
571#define bfin_read_DMA1_CONFIG() bfin_read16(DMA1_CONFIG)
572#define bfin_write_DMA1_CONFIG(val) bfin_write16(DMA1_CONFIG, val)
573#define bfin_read_DMA1_X_COUNT() bfin_read16(DMA1_X_COUNT)
574#define bfin_write_DMA1_X_COUNT(val) bfin_write16(DMA1_X_COUNT, val)
575#define bfin_read_DMA1_X_MODIFY() bfin_read16(DMA1_X_MODIFY)
576#define bfin_write_DMA1_X_MODIFY(val) bfin_write16(DMA1_X_MODIFY, val)
577#define bfin_read_DMA1_Y_COUNT() bfin_read16(DMA1_Y_COUNT)
578#define bfin_write_DMA1_Y_COUNT(val) bfin_write16(DMA1_Y_COUNT, val)
579#define bfin_read_DMA1_Y_MODIFY() bfin_read16(DMA1_Y_MODIFY)
580#define bfin_write_DMA1_Y_MODIFY(val) bfin_write16(DMA1_Y_MODIFY, val)
581#define bfin_read_DMA1_CURR_DESC_PTR() bfin_read32(DMA1_CURR_DESC_PTR)
582#define bfin_write_DMA1_CURR_DESC_PTR(val) bfin_write32(DMA1_CURR_DESC_PTR, val)
583#define bfin_read_DMA1_CURR_ADDR() bfin_read32(DMA1_CURR_ADDR)
584#define bfin_write_DMA1_CURR_ADDR(val) bfin_write32(DMA1_CURR_ADDR, val)
585#define bfin_read_DMA1_IRQ_STATUS() bfin_read16(DMA1_IRQ_STATUS)
586#define bfin_write_DMA1_IRQ_STATUS(val) bfin_write16(DMA1_IRQ_STATUS, val)
587#define bfin_read_DMA1_PERIPHERAL_MAP() bfin_read16(DMA1_PERIPHERAL_MAP)
588#define bfin_write_DMA1_PERIPHERAL_MAP(val) bfin_write16(DMA1_PERIPHERAL_MAP, val)
589#define bfin_read_DMA1_CURR_X_COUNT() bfin_read16(DMA1_CURR_X_COUNT)
590#define bfin_write_DMA1_CURR_X_COUNT(val) bfin_write16(DMA1_CURR_X_COUNT, val)
591#define bfin_read_DMA1_CURR_Y_COUNT() bfin_read16(DMA1_CURR_Y_COUNT)
592#define bfin_write_DMA1_CURR_Y_COUNT(val) bfin_write16(DMA1_CURR_Y_COUNT, val)
593#define bfin_read_DMA2_NEXT_DESC_PTR() bfin_read32(DMA2_NEXT_DESC_PTR)
594#define bfin_write_DMA2_NEXT_DESC_PTR(val) bfin_write32(DMA2_NEXT_DESC_PTR, val)
595#define bfin_read_DMA2_START_ADDR() bfin_read32(DMA2_START_ADDR)
596#define bfin_write_DMA2_START_ADDR(val) bfin_write32(DMA2_START_ADDR, val)
597#define bfin_read_DMA2_CONFIG() bfin_read16(DMA2_CONFIG)
598#define bfin_write_DMA2_CONFIG(val) bfin_write16(DMA2_CONFIG, val)
599#define bfin_read_DMA2_X_COUNT() bfin_read16(DMA2_X_COUNT)
600#define bfin_write_DMA2_X_COUNT(val) bfin_write16(DMA2_X_COUNT, val)
601#define bfin_read_DMA2_X_MODIFY() bfin_read16(DMA2_X_MODIFY)
602#define bfin_write_DMA2_X_MODIFY(val) bfin_write16(DMA2_X_MODIFY, val)
603#define bfin_read_DMA2_Y_COUNT() bfin_read16(DMA2_Y_COUNT)
604#define bfin_write_DMA2_Y_COUNT(val) bfin_write16(DMA2_Y_COUNT, val)
605#define bfin_read_DMA2_Y_MODIFY() bfin_read16(DMA2_Y_MODIFY)
606#define bfin_write_DMA2_Y_MODIFY(val) bfin_write16(DMA2_Y_MODIFY, val)
607#define bfin_read_DMA2_CURR_DESC_PTR() bfin_read32(DMA2_CURR_DESC_PTR)
608#define bfin_write_DMA2_CURR_DESC_PTR(val) bfin_write32(DMA2_CURR_DESC_PTR, val)
609#define bfin_read_DMA2_CURR_ADDR() bfin_read32(DMA2_CURR_ADDR)
610#define bfin_write_DMA2_CURR_ADDR(val) bfin_write32(DMA2_CURR_ADDR, val)
611#define bfin_read_DMA2_IRQ_STATUS() bfin_read16(DMA2_IRQ_STATUS)
612#define bfin_write_DMA2_IRQ_STATUS(val) bfin_write16(DMA2_IRQ_STATUS, val)
613#define bfin_read_DMA2_PERIPHERAL_MAP() bfin_read16(DMA2_PERIPHERAL_MAP)
614#define bfin_write_DMA2_PERIPHERAL_MAP(val) bfin_write16(DMA2_PERIPHERAL_MAP, val)
615#define bfin_read_DMA2_CURR_X_COUNT() bfin_read16(DMA2_CURR_X_COUNT)
616#define bfin_write_DMA2_CURR_X_COUNT(val) bfin_write16(DMA2_CURR_X_COUNT, val)
617#define bfin_read_DMA2_CURR_Y_COUNT() bfin_read16(DMA2_CURR_Y_COUNT)
618#define bfin_write_DMA2_CURR_Y_COUNT(val) bfin_write16(DMA2_CURR_Y_COUNT, val)
619#define bfin_read_DMA3_NEXT_DESC_PTR() bfin_read32(DMA3_NEXT_DESC_PTR)
620#define bfin_write_DMA3_NEXT_DESC_PTR(val) bfin_write32(DMA3_NEXT_DESC_PTR, val)
621#define bfin_read_DMA3_START_ADDR() bfin_read32(DMA3_START_ADDR)
622#define bfin_write_DMA3_START_ADDR(val) bfin_write32(DMA3_START_ADDR, val)
623#define bfin_read_DMA3_CONFIG() bfin_read16(DMA3_CONFIG)
624#define bfin_write_DMA3_CONFIG(val) bfin_write16(DMA3_CONFIG, val)
625#define bfin_read_DMA3_X_COUNT() bfin_read16(DMA3_X_COUNT)
626#define bfin_write_DMA3_X_COUNT(val) bfin_write16(DMA3_X_COUNT, val)
627#define bfin_read_DMA3_X_MODIFY() bfin_read16(DMA3_X_MODIFY)
628#define bfin_write_DMA3_X_MODIFY(val) bfin_write16(DMA3_X_MODIFY, val)
629#define bfin_read_DMA3_Y_COUNT() bfin_read16(DMA3_Y_COUNT)
630#define bfin_write_DMA3_Y_COUNT(val) bfin_write16(DMA3_Y_COUNT, val)
631#define bfin_read_DMA3_Y_MODIFY() bfin_read16(DMA3_Y_MODIFY)
632#define bfin_write_DMA3_Y_MODIFY(val) bfin_write16(DMA3_Y_MODIFY, val)
633#define bfin_read_DMA3_CURR_DESC_PTR() bfin_read32(DMA3_CURR_DESC_PTR)
634#define bfin_write_DMA3_CURR_DESC_PTR(val) bfin_write32(DMA3_CURR_DESC_PTR, val)
635#define bfin_read_DMA3_CURR_ADDR() bfin_read32(DMA3_CURR_ADDR)
636#define bfin_write_DMA3_CURR_ADDR(val) bfin_write32(DMA3_CURR_ADDR, val)
637#define bfin_read_DMA3_IRQ_STATUS() bfin_read16(DMA3_IRQ_STATUS)
638#define bfin_write_DMA3_IRQ_STATUS(val) bfin_write16(DMA3_IRQ_STATUS, val)
639#define bfin_read_DMA3_PERIPHERAL_MAP() bfin_read16(DMA3_PERIPHERAL_MAP)
640#define bfin_write_DMA3_PERIPHERAL_MAP(val) bfin_write16(DMA3_PERIPHERAL_MAP, val)
641#define bfin_read_DMA3_CURR_X_COUNT() bfin_read16(DMA3_CURR_X_COUNT)
642#define bfin_write_DMA3_CURR_X_COUNT(val) bfin_write16(DMA3_CURR_X_COUNT, val)
643#define bfin_read_DMA3_CURR_Y_COUNT() bfin_read16(DMA3_CURR_Y_COUNT)
644#define bfin_write_DMA3_CURR_Y_COUNT(val) bfin_write16(DMA3_CURR_Y_COUNT, val)
645#define bfin_read_DMA4_NEXT_DESC_PTR() bfin_read32(DMA4_NEXT_DESC_PTR)
646#define bfin_write_DMA4_NEXT_DESC_PTR(val) bfin_write32(DMA4_NEXT_DESC_PTR, val)
647#define bfin_read_DMA4_START_ADDR() bfin_read32(DMA4_START_ADDR)
648#define bfin_write_DMA4_START_ADDR(val) bfin_write32(DMA4_START_ADDR, val)
649#define bfin_read_DMA4_CONFIG() bfin_read16(DMA4_CONFIG)
650#define bfin_write_DMA4_CONFIG(val) bfin_write16(DMA4_CONFIG, val)
651#define bfin_read_DMA4_X_COUNT() bfin_read16(DMA4_X_COUNT)
652#define bfin_write_DMA4_X_COUNT(val) bfin_write16(DMA4_X_COUNT, val)
653#define bfin_read_DMA4_X_MODIFY() bfin_read16(DMA4_X_MODIFY)
654#define bfin_write_DMA4_X_MODIFY(val) bfin_write16(DMA4_X_MODIFY, val)
655#define bfin_read_DMA4_Y_COUNT() bfin_read16(DMA4_Y_COUNT)
656#define bfin_write_DMA4_Y_COUNT(val) bfin_write16(DMA4_Y_COUNT, val)
657#define bfin_read_DMA4_Y_MODIFY() bfin_read16(DMA4_Y_MODIFY)
658#define bfin_write_DMA4_Y_MODIFY(val) bfin_write16(DMA4_Y_MODIFY, val)
659#define bfin_read_DMA4_CURR_DESC_PTR() bfin_read32(DMA4_CURR_DESC_PTR)
660#define bfin_write_DMA4_CURR_DESC_PTR(val) bfin_write32(DMA4_CURR_DESC_PTR, val)
661#define bfin_read_DMA4_CURR_ADDR() bfin_read32(DMA4_CURR_ADDR)
662#define bfin_write_DMA4_CURR_ADDR(val) bfin_write32(DMA4_CURR_ADDR, val)
663#define bfin_read_DMA4_IRQ_STATUS() bfin_read16(DMA4_IRQ_STATUS)
664#define bfin_write_DMA4_IRQ_STATUS(val) bfin_write16(DMA4_IRQ_STATUS, val)
665#define bfin_read_DMA4_PERIPHERAL_MAP() bfin_read16(DMA4_PERIPHERAL_MAP)
666#define bfin_write_DMA4_PERIPHERAL_MAP(val) bfin_write16(DMA4_PERIPHERAL_MAP, val)
667#define bfin_read_DMA4_CURR_X_COUNT() bfin_read16(DMA4_CURR_X_COUNT)
668#define bfin_write_DMA4_CURR_X_COUNT(val) bfin_write16(DMA4_CURR_X_COUNT, val)
669#define bfin_read_DMA4_CURR_Y_COUNT() bfin_read16(DMA4_CURR_Y_COUNT)
670#define bfin_write_DMA4_CURR_Y_COUNT(val) bfin_write16(DMA4_CURR_Y_COUNT, val)
671#define bfin_read_DMA5_NEXT_DESC_PTR() bfin_read32(DMA5_NEXT_DESC_PTR)
672#define bfin_write_DMA5_NEXT_DESC_PTR(val) bfin_write32(DMA5_NEXT_DESC_PTR, val)
673#define bfin_read_DMA5_START_ADDR() bfin_read32(DMA5_START_ADDR)
674#define bfin_write_DMA5_START_ADDR(val) bfin_write32(DMA5_START_ADDR, val)
675#define bfin_read_DMA5_CONFIG() bfin_read16(DMA5_CONFIG)
676#define bfin_write_DMA5_CONFIG(val) bfin_write16(DMA5_CONFIG, val)
677#define bfin_read_DMA5_X_COUNT() bfin_read16(DMA5_X_COUNT)
678#define bfin_write_DMA5_X_COUNT(val) bfin_write16(DMA5_X_COUNT, val)
679#define bfin_read_DMA5_X_MODIFY() bfin_read16(DMA5_X_MODIFY)
680#define bfin_write_DMA5_X_MODIFY(val) bfin_write16(DMA5_X_MODIFY, val)
681#define bfin_read_DMA5_Y_COUNT() bfin_read16(DMA5_Y_COUNT)
682#define bfin_write_DMA5_Y_COUNT(val) bfin_write16(DMA5_Y_COUNT, val)
683#define bfin_read_DMA5_Y_MODIFY() bfin_read16(DMA5_Y_MODIFY)
684#define bfin_write_DMA5_Y_MODIFY(val) bfin_write16(DMA5_Y_MODIFY, val)
685#define bfin_read_DMA5_CURR_DESC_PTR() bfin_read32(DMA5_CURR_DESC_PTR)
686#define bfin_write_DMA5_CURR_DESC_PTR(val) bfin_write32(DMA5_CURR_DESC_PTR, val)
687#define bfin_read_DMA5_CURR_ADDR() bfin_read32(DMA5_CURR_ADDR)
688#define bfin_write_DMA5_CURR_ADDR(val) bfin_write32(DMA5_CURR_ADDR, val)
689#define bfin_read_DMA5_IRQ_STATUS() bfin_read16(DMA5_IRQ_STATUS)
690#define bfin_write_DMA5_IRQ_STATUS(val) bfin_write16(DMA5_IRQ_STATUS, val)
691#define bfin_read_DMA5_PERIPHERAL_MAP() bfin_read16(DMA5_PERIPHERAL_MAP)
692#define bfin_write_DMA5_PERIPHERAL_MAP(val) bfin_write16(DMA5_PERIPHERAL_MAP, val)
693#define bfin_read_DMA5_CURR_X_COUNT() bfin_read16(DMA5_CURR_X_COUNT)
694#define bfin_write_DMA5_CURR_X_COUNT(val) bfin_write16(DMA5_CURR_X_COUNT, val)
695#define bfin_read_DMA5_CURR_Y_COUNT() bfin_read16(DMA5_CURR_Y_COUNT)
696#define bfin_write_DMA5_CURR_Y_COUNT(val) bfin_write16(DMA5_CURR_Y_COUNT, val)
697#define bfin_read_DMA6_NEXT_DESC_PTR() bfin_read32(DMA6_NEXT_DESC_PTR)
698#define bfin_write_DMA6_NEXT_DESC_PTR(val) bfin_write32(DMA6_NEXT_DESC_PTR, val)
699#define bfin_read_DMA6_START_ADDR() bfin_read32(DMA6_START_ADDR)
700#define bfin_write_DMA6_START_ADDR(val) bfin_write32(DMA6_START_ADDR, val)
701#define bfin_read_DMA6_CONFIG() bfin_read16(DMA6_CONFIG)
702#define bfin_write_DMA6_CONFIG(val) bfin_write16(DMA6_CONFIG, val)
703#define bfin_read_DMA6_X_COUNT() bfin_read16(DMA6_X_COUNT)
704#define bfin_write_DMA6_X_COUNT(val) bfin_write16(DMA6_X_COUNT, val)
705#define bfin_read_DMA6_X_MODIFY() bfin_read16(DMA6_X_MODIFY)
706#define bfin_write_DMA6_X_MODIFY(val) bfin_write16(DMA6_X_MODIFY, val)
707#define bfin_read_DMA6_Y_COUNT() bfin_read16(DMA6_Y_COUNT)
708#define bfin_write_DMA6_Y_COUNT(val) bfin_write16(DMA6_Y_COUNT, val)
709#define bfin_read_DMA6_Y_MODIFY() bfin_read16(DMA6_Y_MODIFY)
710#define bfin_write_DMA6_Y_MODIFY(val) bfin_write16(DMA6_Y_MODIFY, val)
711#define bfin_read_DMA6_CURR_DESC_PTR() bfin_read32(DMA6_CURR_DESC_PTR)
712#define bfin_write_DMA6_CURR_DESC_PTR(val) bfin_write32(DMA6_CURR_DESC_PTR, val)
713#define bfin_read_DMA6_CURR_ADDR() bfin_read32(DMA6_CURR_ADDR)
714#define bfin_write_DMA6_CURR_ADDR(val) bfin_write32(DMA6_CURR_ADDR, val)
715#define bfin_read_DMA6_IRQ_STATUS() bfin_read16(DMA6_IRQ_STATUS)
716#define bfin_write_DMA6_IRQ_STATUS(val) bfin_write16(DMA6_IRQ_STATUS, val)
717#define bfin_read_DMA6_PERIPHERAL_MAP() bfin_read16(DMA6_PERIPHERAL_MAP)
718#define bfin_write_DMA6_PERIPHERAL_MAP(val) bfin_write16(DMA6_PERIPHERAL_MAP, val)
719#define bfin_read_DMA6_CURR_X_COUNT() bfin_read16(DMA6_CURR_X_COUNT)
720#define bfin_write_DMA6_CURR_X_COUNT(val) bfin_write16(DMA6_CURR_X_COUNT, val)
721#define bfin_read_DMA6_CURR_Y_COUNT() bfin_read16(DMA6_CURR_Y_COUNT)
722#define bfin_write_DMA6_CURR_Y_COUNT(val) bfin_write16(DMA6_CURR_Y_COUNT, val)
723#define bfin_read_DMA7_NEXT_DESC_PTR() bfin_read32(DMA7_NEXT_DESC_PTR)
724#define bfin_write_DMA7_NEXT_DESC_PTR(val) bfin_write32(DMA7_NEXT_DESC_PTR, val)
725#define bfin_read_DMA7_START_ADDR() bfin_read32(DMA7_START_ADDR)
726#define bfin_write_DMA7_START_ADDR(val) bfin_write32(DMA7_START_ADDR, val)
727#define bfin_read_DMA7_CONFIG() bfin_read16(DMA7_CONFIG)
728#define bfin_write_DMA7_CONFIG(val) bfin_write16(DMA7_CONFIG, val)
729#define bfin_read_DMA7_X_COUNT() bfin_read16(DMA7_X_COUNT)
730#define bfin_write_DMA7_X_COUNT(val) bfin_write16(DMA7_X_COUNT, val)
731#define bfin_read_DMA7_X_MODIFY() bfin_read16(DMA7_X_MODIFY)
732#define bfin_write_DMA7_X_MODIFY(val) bfin_write16(DMA7_X_MODIFY, val)
733#define bfin_read_DMA7_Y_COUNT() bfin_read16(DMA7_Y_COUNT)
734#define bfin_write_DMA7_Y_COUNT(val) bfin_write16(DMA7_Y_COUNT, val)
735#define bfin_read_DMA7_Y_MODIFY() bfin_read16(DMA7_Y_MODIFY)
736#define bfin_write_DMA7_Y_MODIFY(val) bfin_write16(DMA7_Y_MODIFY, val)
737#define bfin_read_DMA7_CURR_DESC_PTR() bfin_read32(DMA7_CURR_DESC_PTR)
738#define bfin_write_DMA7_CURR_DESC_PTR(val) bfin_write32(DMA7_CURR_DESC_PTR, val)
739#define bfin_read_DMA7_CURR_ADDR() bfin_read32(DMA7_CURR_ADDR)
740#define bfin_write_DMA7_CURR_ADDR(val) bfin_write32(DMA7_CURR_ADDR, val)
741#define bfin_read_DMA7_IRQ_STATUS() bfin_read16(DMA7_IRQ_STATUS)
742#define bfin_write_DMA7_IRQ_STATUS(val) bfin_write16(DMA7_IRQ_STATUS, val)
743#define bfin_read_DMA7_PERIPHERAL_MAP() bfin_read16(DMA7_PERIPHERAL_MAP)
744#define bfin_write_DMA7_PERIPHERAL_MAP(val) bfin_write16(DMA7_PERIPHERAL_MAP, val)
745#define bfin_read_DMA7_CURR_X_COUNT() bfin_read16(DMA7_CURR_X_COUNT)
746#define bfin_write_DMA7_CURR_X_COUNT(val) bfin_write16(DMA7_CURR_X_COUNT, val)
747#define bfin_read_DMA7_CURR_Y_COUNT() bfin_read16(DMA7_CURR_Y_COUNT)
748#define bfin_write_DMA7_CURR_Y_COUNT(val) bfin_write16(DMA7_CURR_Y_COUNT, val)
749#define bfin_read_MDMA_D0_NEXT_DESC_PTR() bfin_read32(MDMA_D0_NEXT_DESC_PTR)
750#define bfin_write_MDMA_D0_NEXT_DESC_PTR(val) bfin_write32(MDMA_D0_NEXT_DESC_PTR, val)
751#define bfin_read_MDMA_D0_START_ADDR() bfin_read32(MDMA_D0_START_ADDR)
752#define bfin_write_MDMA_D0_START_ADDR(val) bfin_write32(MDMA_D0_START_ADDR, val)
753#define bfin_read_MDMA_D0_CONFIG() bfin_read16(MDMA_D0_CONFIG)
754#define bfin_write_MDMA_D0_CONFIG(val) bfin_write16(MDMA_D0_CONFIG, val)
755#define bfin_read_MDMA_D0_X_COUNT() bfin_read16(MDMA_D0_X_COUNT)
756#define bfin_write_MDMA_D0_X_COUNT(val) bfin_write16(MDMA_D0_X_COUNT, val)
757#define bfin_read_MDMA_D0_X_MODIFY() bfin_read16(MDMA_D0_X_MODIFY)
758#define bfin_write_MDMA_D0_X_MODIFY(val) bfin_write16(MDMA_D0_X_MODIFY, val)
759#define bfin_read_MDMA_D0_Y_COUNT() bfin_read16(MDMA_D0_Y_COUNT)
760#define bfin_write_MDMA_D0_Y_COUNT(val) bfin_write16(MDMA_D0_Y_COUNT, val)
761#define bfin_read_MDMA_D0_Y_MODIFY() bfin_read16(MDMA_D0_Y_MODIFY)
762#define bfin_write_MDMA_D0_Y_MODIFY(val) bfin_write16(MDMA_D0_Y_MODIFY, val)
763#define bfin_read_MDMA_D0_CURR_DESC_PTR() bfin_read32(MDMA_D0_CURR_DESC_PTR)
764#define bfin_write_MDMA_D0_CURR_DESC_PTR(val) bfin_write32(MDMA_D0_CURR_DESC_PTR, val)
765#define bfin_read_MDMA_D0_CURR_ADDR() bfin_read32(MDMA_D0_CURR_ADDR)
766#define bfin_write_MDMA_D0_CURR_ADDR(val) bfin_write32(MDMA_D0_CURR_ADDR, val)
767#define bfin_read_MDMA_D0_IRQ_STATUS() bfin_read16(MDMA_D0_IRQ_STATUS)
768#define bfin_write_MDMA_D0_IRQ_STATUS(val) bfin_write16(MDMA_D0_IRQ_STATUS, val)
769#define bfin_read_MDMA_D0_PERIPHERAL_MAP() bfin_read16(MDMA_D0_PERIPHERAL_MAP)
770#define bfin_write_MDMA_D0_PERIPHERAL_MAP(val) bfin_write16(MDMA_D0_PERIPHERAL_MAP, val)
771#define bfin_read_MDMA_D0_CURR_X_COUNT() bfin_read16(MDMA_D0_CURR_X_COUNT)
772#define bfin_write_MDMA_D0_CURR_X_COUNT(val) bfin_write16(MDMA_D0_CURR_X_COUNT, val)
773#define bfin_read_MDMA_D0_CURR_Y_COUNT() bfin_read16(MDMA_D0_CURR_Y_COUNT)
774#define bfin_write_MDMA_D0_CURR_Y_COUNT(val) bfin_write16(MDMA_D0_CURR_Y_COUNT, val)
775#define bfin_read_MDMA_S0_NEXT_DESC_PTR() bfin_read32(MDMA_S0_NEXT_DESC_PTR)
776#define bfin_write_MDMA_S0_NEXT_DESC_PTR(val) bfin_write32(MDMA_S0_NEXT_DESC_PTR, val)
777#define bfin_read_MDMA_S0_START_ADDR() bfin_read32(MDMA_S0_START_ADDR)
778#define bfin_write_MDMA_S0_START_ADDR(val) bfin_write32(MDMA_S0_START_ADDR, val)
779#define bfin_read_MDMA_S0_CONFIG() bfin_read16(MDMA_S0_CONFIG)
780#define bfin_write_MDMA_S0_CONFIG(val) bfin_write16(MDMA_S0_CONFIG, val)
781#define bfin_read_MDMA_S0_X_COUNT() bfin_read16(MDMA_S0_X_COUNT)
782#define bfin_write_MDMA_S0_X_COUNT(val) bfin_write16(MDMA_S0_X_COUNT, val)
783#define bfin_read_MDMA_S0_X_MODIFY() bfin_read16(MDMA_S0_X_MODIFY)
784#define bfin_write_MDMA_S0_X_MODIFY(val) bfin_write16(MDMA_S0_X_MODIFY, val)
785#define bfin_read_MDMA_S0_Y_COUNT() bfin_read16(MDMA_S0_Y_COUNT)
786#define bfin_write_MDMA_S0_Y_COUNT(val) bfin_write16(MDMA_S0_Y_COUNT, val)
787#define bfin_read_MDMA_S0_Y_MODIFY() bfin_read16(MDMA_S0_Y_MODIFY)
788#define bfin_write_MDMA_S0_Y_MODIFY(val) bfin_write16(MDMA_S0_Y_MODIFY, val)
789#define bfin_read_MDMA_S0_CURR_DESC_PTR() bfin_read32(MDMA_S0_CURR_DESC_PTR)
790#define bfin_write_MDMA_S0_CURR_DESC_PTR(val) bfin_write32(MDMA_S0_CURR_DESC_PTR, val)
791#define bfin_read_MDMA_S0_CURR_ADDR() bfin_read32(MDMA_S0_CURR_ADDR)
792#define bfin_write_MDMA_S0_CURR_ADDR(val) bfin_write32(MDMA_S0_CURR_ADDR, val)
793#define bfin_read_MDMA_S0_IRQ_STATUS() bfin_read16(MDMA_S0_IRQ_STATUS)
794#define bfin_write_MDMA_S0_IRQ_STATUS(val) bfin_write16(MDMA_S0_IRQ_STATUS, val)
795#define bfin_read_MDMA_S0_PERIPHERAL_MAP() bfin_read16(MDMA_S0_PERIPHERAL_MAP)
796#define bfin_write_MDMA_S0_PERIPHERAL_MAP(val) bfin_write16(MDMA_S0_PERIPHERAL_MAP, val)
797#define bfin_read_MDMA_S0_CURR_X_COUNT() bfin_read16(MDMA_S0_CURR_X_COUNT)
798#define bfin_write_MDMA_S0_CURR_X_COUNT(val) bfin_write16(MDMA_S0_CURR_X_COUNT, val)
799#define bfin_read_MDMA_S0_CURR_Y_COUNT() bfin_read16(MDMA_S0_CURR_Y_COUNT)
800#define bfin_write_MDMA_S0_CURR_Y_COUNT(val) bfin_write16(MDMA_S0_CURR_Y_COUNT, val)
801#define bfin_read_MDMA_D1_NEXT_DESC_PTR() bfin_read32(MDMA_D1_NEXT_DESC_PTR)
802#define bfin_write_MDMA_D1_NEXT_DESC_PTR(val) bfin_write32(MDMA_D1_NEXT_DESC_PTR, val)
803#define bfin_read_MDMA_D1_START_ADDR() bfin_read32(MDMA_D1_START_ADDR)
804#define bfin_write_MDMA_D1_START_ADDR(val) bfin_write32(MDMA_D1_START_ADDR, val)
805#define bfin_read_MDMA_D1_CONFIG() bfin_read16(MDMA_D1_CONFIG)
806#define bfin_write_MDMA_D1_CONFIG(val) bfin_write16(MDMA_D1_CONFIG, val)
807#define bfin_read_MDMA_D1_X_COUNT() bfin_read16(MDMA_D1_X_COUNT)
808#define bfin_write_MDMA_D1_X_COUNT(val) bfin_write16(MDMA_D1_X_COUNT, val)
809#define bfin_read_MDMA_D1_X_MODIFY() bfin_read16(MDMA_D1_X_MODIFY)
810#define bfin_write_MDMA_D1_X_MODIFY(val) bfin_write16(MDMA_D1_X_MODIFY, val)
811#define bfin_read_MDMA_D1_Y_COUNT() bfin_read16(MDMA_D1_Y_COUNT)
812#define bfin_write_MDMA_D1_Y_COUNT(val) bfin_write16(MDMA_D1_Y_COUNT, val)
813#define bfin_read_MDMA_D1_Y_MODIFY() bfin_read16(MDMA_D1_Y_MODIFY)
814#define bfin_write_MDMA_D1_Y_MODIFY(val) bfin_write16(MDMA_D1_Y_MODIFY, val)
815#define bfin_read_MDMA_D1_CURR_DESC_PTR() bfin_read32(MDMA_D1_CURR_DESC_PTR)
816#define bfin_write_MDMA_D1_CURR_DESC_PTR(val) bfin_write32(MDMA_D1_CURR_DESC_PTR, val)
817#define bfin_read_MDMA_D1_CURR_ADDR() bfin_read32(MDMA_D1_CURR_ADDR)
818#define bfin_write_MDMA_D1_CURR_ADDR(val) bfin_write32(MDMA_D1_CURR_ADDR, val)
819#define bfin_read_MDMA_D1_IRQ_STATUS() bfin_read16(MDMA_D1_IRQ_STATUS)
820#define bfin_write_MDMA_D1_IRQ_STATUS(val) bfin_write16(MDMA_D1_IRQ_STATUS, val)
821#define bfin_read_MDMA_D1_PERIPHERAL_MAP() bfin_read16(MDMA_D1_PERIPHERAL_MAP)
822#define bfin_write_MDMA_D1_PERIPHERAL_MAP(val) bfin_write16(MDMA_D1_PERIPHERAL_MAP, val)
823#define bfin_read_MDMA_D1_CURR_X_COUNT() bfin_read16(MDMA_D1_CURR_X_COUNT)
824#define bfin_write_MDMA_D1_CURR_X_COUNT(val) bfin_write16(MDMA_D1_CURR_X_COUNT, val)
825#define bfin_read_MDMA_D1_CURR_Y_COUNT() bfin_read16(MDMA_D1_CURR_Y_COUNT)
826#define bfin_write_MDMA_D1_CURR_Y_COUNT(val) bfin_write16(MDMA_D1_CURR_Y_COUNT, val)
827#define bfin_read_MDMA_S1_NEXT_DESC_PTR() bfin_read32(MDMA_S1_NEXT_DESC_PTR)
828#define bfin_write_MDMA_S1_NEXT_DESC_PTR(val) bfin_write32(MDMA_S1_NEXT_DESC_PTR, val)
829#define bfin_read_MDMA_S1_START_ADDR() bfin_read32(MDMA_S1_START_ADDR)
830#define bfin_write_MDMA_S1_START_ADDR(val) bfin_write32(MDMA_S1_START_ADDR, val)
831#define bfin_read_MDMA_S1_CONFIG() bfin_read16(MDMA_S1_CONFIG)
832#define bfin_write_MDMA_S1_CONFIG(val) bfin_write16(MDMA_S1_CONFIG, val)
833#define bfin_read_MDMA_S1_X_COUNT() bfin_read16(MDMA_S1_X_COUNT)
834#define bfin_write_MDMA_S1_X_COUNT(val) bfin_write16(MDMA_S1_X_COUNT, val)
835#define bfin_read_MDMA_S1_X_MODIFY() bfin_read16(MDMA_S1_X_MODIFY)
836#define bfin_write_MDMA_S1_X_MODIFY(val) bfin_write16(MDMA_S1_X_MODIFY, val)
837#define bfin_read_MDMA_S1_Y_COUNT() bfin_read16(MDMA_S1_Y_COUNT)
838#define bfin_write_MDMA_S1_Y_COUNT(val) bfin_write16(MDMA_S1_Y_COUNT, val)
839#define bfin_read_MDMA_S1_Y_MODIFY() bfin_read16(MDMA_S1_Y_MODIFY)
840#define bfin_write_MDMA_S1_Y_MODIFY(val) bfin_write16(MDMA_S1_Y_MODIFY, val)
841#define bfin_read_MDMA_S1_CURR_DESC_PTR() bfin_read32(MDMA_S1_CURR_DESC_PTR)
842#define bfin_write_MDMA_S1_CURR_DESC_PTR(val) bfin_write32(MDMA_S1_CURR_DESC_PTR, val)
843#define bfin_read_MDMA_S1_CURR_ADDR() bfin_read32(MDMA_S1_CURR_ADDR)
844#define bfin_write_MDMA_S1_CURR_ADDR(val) bfin_write32(MDMA_S1_CURR_ADDR, val)
845#define bfin_read_MDMA_S1_IRQ_STATUS() bfin_read16(MDMA_S1_IRQ_STATUS)
846#define bfin_write_MDMA_S1_IRQ_STATUS(val) bfin_write16(MDMA_S1_IRQ_STATUS, val)
847#define bfin_read_MDMA_S1_PERIPHERAL_MAP() bfin_read16(MDMA_S1_PERIPHERAL_MAP)
848#define bfin_write_MDMA_S1_PERIPHERAL_MAP(val) bfin_write16(MDMA_S1_PERIPHERAL_MAP, val)
849#define bfin_read_MDMA_S1_CURR_X_COUNT() bfin_read16(MDMA_S1_CURR_X_COUNT)
850#define bfin_write_MDMA_S1_CURR_X_COUNT(val) bfin_write16(MDMA_S1_CURR_X_COUNT, val)
851#define bfin_read_MDMA_S1_CURR_Y_COUNT() bfin_read16(MDMA_S1_CURR_Y_COUNT)
852#define bfin_write_MDMA_S1_CURR_Y_COUNT(val) bfin_write16(MDMA_S1_CURR_Y_COUNT, val)
853#define bfin_read_EBIU_AMGCTL() bfin_read16(EBIU_AMGCTL)
854#define bfin_write_EBIU_AMGCTL(val) bfin_write16(EBIU_AMGCTL, val)
855#define bfin_read_EBIU_AMBCTL0() bfin_read32(EBIU_AMBCTL0)
856#define bfin_write_EBIU_AMBCTL0(val) bfin_write32(EBIU_AMBCTL0, val)
857#define bfin_read_EBIU_AMBCTL1() bfin_read32(EBIU_AMBCTL1)
858#define bfin_write_EBIU_AMBCTL1(val) bfin_write32(EBIU_AMBCTL1, val)
859#define bfin_read_EBIU_SDGCTL() bfin_read32(EBIU_SDGCTL)
860#define bfin_write_EBIU_SDGCTL(val) bfin_write32(EBIU_SDGCTL, val)
861#define bfin_read_EBIU_SDBCTL() bfin_read16(EBIU_SDBCTL)
862#define bfin_write_EBIU_SDBCTL(val) bfin_write16(EBIU_SDBCTL, val)
863#define bfin_read_EBIU_SDRRC() bfin_read16(EBIU_SDRRC)
864#define bfin_write_EBIU_SDRRC(val) bfin_write16(EBIU_SDRRC, val)
865#define bfin_read_EBIU_SDSTAT() bfin_read16(EBIU_SDSTAT)
866#define bfin_write_EBIU_SDSTAT(val) bfin_write16(EBIU_SDSTAT, val)
867#define bfin_read_DMA_TC_CNT() bfin_read16(DMA_TC_CNT)
868#define bfin_write_DMA_TC_CNT(val) bfin_write16(DMA_TC_CNT, val)
869#define bfin_read_DMA_TC_PER() bfin_read16(DMA_TC_PER)
870#define bfin_write_DMA_TC_PER(val) bfin_write16(DMA_TC_PER, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500871
872#endif /* __BFIN_CDEF_ADSP_BF531_proc__ */