blob: db70e7740940d14829c4ddacf90014b1d96ae1c5 [file] [log] [blame]
Mike Frysinger69148652008-10-11 21:55:21 -04001/* 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_BF512_proc__
7#define __BFIN_CDEF_ADSP_BF512_proc__
8
9#include "../mach-common/ADSP-EDN-core_cdef.h"
10
11#define bfin_read_SIC_IMASK0() bfin_read32(SIC_IMASK0)
12#define bfin_write_SIC_IMASK0(val) bfin_write32(SIC_IMASK0, val)
13#define bfin_read_SIC_IAR0() bfin_read32(SIC_IAR0)
14#define bfin_write_SIC_IAR0(val) bfin_write32(SIC_IAR0, val)
15#define bfin_read_SIC_IAR1() bfin_read32(SIC_IAR1)
16#define bfin_write_SIC_IAR1(val) bfin_write32(SIC_IAR1, val)
17#define bfin_read_SIC_IAR2() bfin_read32(SIC_IAR2)
18#define bfin_write_SIC_IAR2(val) bfin_write32(SIC_IAR2, val)
19#define bfin_read_SIC_IAR3() bfin_read32(SIC_IAR3)
20#define bfin_write_SIC_IAR3(val) bfin_write32(SIC_IAR3, val)
21#define bfin_read_SIC_ISR0() bfin_read32(SIC_ISR0)
22#define bfin_write_SIC_ISR0(val) bfin_write32(SIC_ISR0, val)
23#define bfin_read_SIC_IWR0() bfin_read32(SIC_IWR0)
24#define bfin_write_SIC_IWR0(val) bfin_write32(SIC_IWR0, val)
25#define bfin_read_SIC_IMASK1() bfin_read32(SIC_IMASK1)
26#define bfin_write_SIC_IMASK1(val) bfin_write32(SIC_IMASK1, val)
27#define bfin_read_SIC_IAR4() bfin_read32(SIC_IAR4)
28#define bfin_write_SIC_IAR4(val) bfin_write32(SIC_IAR4, val)
29#define bfin_read_SIC_IAR5() bfin_read32(SIC_IAR5)
30#define bfin_write_SIC_IAR5(val) bfin_write32(SIC_IAR5, val)
31#define bfin_read_SIC_IAR6() bfin_read32(SIC_IAR6)
32#define bfin_write_SIC_IAR6(val) bfin_write32(SIC_IAR6, val)
33#define bfin_read_SIC_IAR7() bfin_read32(SIC_IAR7)
34#define bfin_write_SIC_IAR7(val) bfin_write32(SIC_IAR7, val)
35#define bfin_read_SIC_ISR1() bfin_read32(SIC_ISR1)
36#define bfin_write_SIC_ISR1(val) bfin_write32(SIC_ISR1, val)
37#define bfin_read_SIC_IWR1() bfin_read32(SIC_IWR1)
38#define bfin_write_SIC_IWR1(val) bfin_write32(SIC_IWR1, val)
39#define bfin_read_WDOG_CTL() bfin_read16(WDOG_CTL)
40#define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL, val)
41#define bfin_read_WDOG_CNT() bfin_read32(WDOG_CNT)
42#define bfin_write_WDOG_CNT(val) bfin_write32(WDOG_CNT, val)
43#define bfin_read_WDOG_STAT() bfin_read32(WDOG_STAT)
44#define bfin_write_WDOG_STAT(val) bfin_write32(WDOG_STAT, val)
45#define bfin_read_RTC_STAT() bfin_read32(RTC_STAT)
46#define bfin_write_RTC_STAT(val) bfin_write32(RTC_STAT, val)
47#define bfin_read_RTC_ICTL() bfin_read16(RTC_ICTL)
48#define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL, val)
49#define bfin_read_RTC_ISTAT() bfin_read16(RTC_ISTAT)
50#define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT, val)
51#define bfin_read_RTC_SWCNT() bfin_read16(RTC_SWCNT)
52#define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT, val)
53#define bfin_read_RTC_ALARM() bfin_read32(RTC_ALARM)
54#define bfin_write_RTC_ALARM(val) bfin_write32(RTC_ALARM, val)
55#define bfin_read_RTC_PREN() bfin_read16(RTC_PREN)
56#define bfin_write_RTC_PREN(val) bfin_write16(RTC_PREN, val)
57#define bfin_read_UART0_THR() bfin_read16(UART0_THR)
58#define bfin_write_UART0_THR(val) bfin_write16(UART0_THR, val)
59#define bfin_read_UART0_RBR() bfin_read16(UART0_RBR)
60#define bfin_write_UART0_RBR(val) bfin_write16(UART0_RBR, val)
61#define bfin_read_UART0_DLL() bfin_read16(UART0_DLL)
62#define bfin_write_UART0_DLL(val) bfin_write16(UART0_DLL, val)
63#define bfin_read_UART0_IER() bfin_read16(UART0_IER)
64#define bfin_write_UART0_IER(val) bfin_write16(UART0_IER, val)
65#define bfin_read_UART0_DLH() bfin_read16(UART0_DLH)
66#define bfin_write_UART0_DLH(val) bfin_write16(UART0_DLH, val)
67#define bfin_read_UART0_IIR() bfin_read16(UART0_IIR)
68#define bfin_write_UART0_IIR(val) bfin_write16(UART0_IIR, val)
69#define bfin_read_UART0_LCR() bfin_read16(UART0_LCR)
70#define bfin_write_UART0_LCR(val) bfin_write16(UART0_LCR, val)
71#define bfin_read_UART0_MCR() bfin_read16(UART0_MCR)
72#define bfin_write_UART0_MCR(val) bfin_write16(UART0_MCR, val)
73#define bfin_read_UART0_LSR() bfin_read16(UART0_LSR)
74#define bfin_write_UART0_LSR(val) bfin_write16(UART0_LSR, val)
75#define bfin_read_UART0_MSR() bfin_read16(UART0_MSR)
76#define bfin_write_UART0_MSR(val) bfin_write16(UART0_MSR, val)
77#define bfin_read_UART0_SCR() bfin_read16(UART0_SCR)
78#define bfin_write_UART0_SCR(val) bfin_write16(UART0_SCR, val)
79#define bfin_read_UART0_GCTL() bfin_read16(UART0_GCTL)
80#define bfin_write_UART0_GCTL(val) bfin_write16(UART0_GCTL, val)
81#define bfin_read_SPI0_CTL() bfin_read16(SPI0_CTL)
82#define bfin_write_SPI0_CTL(val) bfin_write16(SPI0_CTL, val)
83#define bfin_read_SPI0_FLG() bfin_read16(SPI0_FLG)
84#define bfin_write_SPI0_FLG(val) bfin_write16(SPI0_FLG, val)
85#define bfin_read_SPI0_STAT() bfin_read16(SPI0_STAT)
86#define bfin_write_SPI0_STAT(val) bfin_write16(SPI0_STAT, val)
87#define bfin_read_SPI0_TDBR() bfin_read16(SPI0_TDBR)
88#define bfin_write_SPI0_TDBR(val) bfin_write16(SPI0_TDBR, val)
89#define bfin_read_SPI0_RDBR() bfin_read16(SPI0_RDBR)
90#define bfin_write_SPI0_RDBR(val) bfin_write16(SPI0_RDBR, val)
91#define bfin_read_SPI0_BAUD() bfin_read16(SPI0_BAUD)
92#define bfin_write_SPI0_BAUD(val) bfin_write16(SPI0_BAUD, val)
93#define bfin_read_SPI0_SHADOW() bfin_read16(SPI0_SHADOW)
94#define bfin_write_SPI0_SHADOW(val) bfin_write16(SPI0_SHADOW, val)
95#define bfin_read_SPI1_CTL() bfin_read16(SPI1_CTL)
96#define bfin_write_SPI1_CTL(val) bfin_write16(SPI1_CTL, val)
97#define bfin_read_SPI1_FLG() bfin_read16(SPI1_FLG)
98#define bfin_write_SPI1_FLG(val) bfin_write16(SPI1_FLG, val)
99#define bfin_read_SPI1_STAT() bfin_read16(SPI1_STAT)
100#define bfin_write_SPI1_STAT(val) bfin_write16(SPI1_STAT, val)
101#define bfin_read_SPI1_TDBR() bfin_read16(SPI1_TDBR)
102#define bfin_write_SPI1_TDBR(val) bfin_write16(SPI1_TDBR, val)
103#define bfin_read_SPI1_RDBR() bfin_read16(SPI1_RDBR)
104#define bfin_write_SPI1_RDBR(val) bfin_write16(SPI1_RDBR, val)
105#define bfin_read_SPI1_BAUD() bfin_read16(SPI1_BAUD)
106#define bfin_write_SPI1_BAUD(val) bfin_write16(SPI1_BAUD, val)
107#define bfin_read_SPI1_SHADOW() bfin_read16(SPI1_SHADOW)
108#define bfin_write_SPI1_SHADOW(val) bfin_write16(SPI1_SHADOW, val)
109#define bfin_read_TIMER0_CONFIG() bfin_read16(TIMER0_CONFIG)
110#define bfin_write_TIMER0_CONFIG(val) bfin_write16(TIMER0_CONFIG, val)
111#define bfin_read_TIMER0_COUNTER() bfin_read32(TIMER0_COUNTER)
112#define bfin_write_TIMER0_COUNTER(val) bfin_write32(TIMER0_COUNTER, val)
113#define bfin_read_TIMER0_PERIOD() bfin_read32(TIMER0_PERIOD)
114#define bfin_write_TIMER0_PERIOD(val) bfin_write32(TIMER0_PERIOD, val)
115#define bfin_read_TIMER0_WIDTH() bfin_read32(TIMER0_WIDTH)
116#define bfin_write_TIMER0_WIDTH(val) bfin_write32(TIMER0_WIDTH, val)
117#define bfin_read_TIMER1_CONFIG() bfin_read16(TIMER1_CONFIG)
118#define bfin_write_TIMER1_CONFIG(val) bfin_write16(TIMER1_CONFIG, val)
119#define bfin_read_TIMER1_COUNTER() bfin_read32(TIMER1_COUNTER)
120#define bfin_write_TIMER1_COUNTER(val) bfin_write32(TIMER1_COUNTER, val)
121#define bfin_read_TIMER1_PERIOD() bfin_read32(TIMER1_PERIOD)
122#define bfin_write_TIMER1_PERIOD(val) bfin_write32(TIMER1_PERIOD, val)
123#define bfin_read_TIMER1_WIDTH() bfin_read32(TIMER1_WIDTH)
124#define bfin_write_TIMER1_WIDTH(val) bfin_write32(TIMER1_WIDTH, val)
125#define bfin_read_TIMER2_CONFIG() bfin_read16(TIMER2_CONFIG)
126#define bfin_write_TIMER2_CONFIG(val) bfin_write16(TIMER2_CONFIG, val)
127#define bfin_read_TIMER2_COUNTER() bfin_read32(TIMER2_COUNTER)
128#define bfin_write_TIMER2_COUNTER(val) bfin_write32(TIMER2_COUNTER, val)
129#define bfin_read_TIMER2_PERIOD() bfin_read32(TIMER2_PERIOD)
130#define bfin_write_TIMER2_PERIOD(val) bfin_write32(TIMER2_PERIOD, val)
131#define bfin_read_TIMER2_WIDTH() bfin_read32(TIMER2_WIDTH)
132#define bfin_write_TIMER2_WIDTH(val) bfin_write32(TIMER2_WIDTH, val)
133#define bfin_read_TIMER3_CONFIG() bfin_read16(TIMER3_CONFIG)
134#define bfin_write_TIMER3_CONFIG(val) bfin_write16(TIMER3_CONFIG, val)
135#define bfin_read_TIMER3_COUNTER() bfin_read32(TIMER3_COUNTER)
136#define bfin_write_TIMER3_COUNTER(val) bfin_write32(TIMER3_COUNTER, val)
137#define bfin_read_TIMER3_PERIOD() bfin_read32(TIMER3_PERIOD)
138#define bfin_write_TIMER3_PERIOD(val) bfin_write32(TIMER3_PERIOD, val)
139#define bfin_read_TIMER3_WIDTH() bfin_read32(TIMER3_WIDTH)
140#define bfin_write_TIMER3_WIDTH(val) bfin_write32(TIMER3_WIDTH, val)
141#define bfin_read_TIMER4_CONFIG() bfin_read16(TIMER4_CONFIG)
142#define bfin_write_TIMER4_CONFIG(val) bfin_write16(TIMER4_CONFIG, val)
143#define bfin_read_TIMER4_COUNTER() bfin_read32(TIMER4_COUNTER)
144#define bfin_write_TIMER4_COUNTER(val) bfin_write32(TIMER4_COUNTER, val)
145#define bfin_read_TIMER4_PERIOD() bfin_read32(TIMER4_PERIOD)
146#define bfin_write_TIMER4_PERIOD(val) bfin_write32(TIMER4_PERIOD, val)
147#define bfin_read_TIMER4_WIDTH() bfin_read32(TIMER4_WIDTH)
148#define bfin_write_TIMER4_WIDTH(val) bfin_write32(TIMER4_WIDTH, val)
149#define bfin_read_TIMER5_CONFIG() bfin_read16(TIMER5_CONFIG)
150#define bfin_write_TIMER5_CONFIG(val) bfin_write16(TIMER5_CONFIG, val)
151#define bfin_read_TIMER5_COUNTER() bfin_read32(TIMER5_COUNTER)
152#define bfin_write_TIMER5_COUNTER(val) bfin_write32(TIMER5_COUNTER, val)
153#define bfin_read_TIMER5_PERIOD() bfin_read32(TIMER5_PERIOD)
154#define bfin_write_TIMER5_PERIOD(val) bfin_write32(TIMER5_PERIOD, val)
155#define bfin_read_TIMER5_WIDTH() bfin_read32(TIMER5_WIDTH)
156#define bfin_write_TIMER5_WIDTH(val) bfin_write32(TIMER5_WIDTH, val)
157#define bfin_read_TIMER6_CONFIG() bfin_read16(TIMER6_CONFIG)
158#define bfin_write_TIMER6_CONFIG(val) bfin_write16(TIMER6_CONFIG, val)
159#define bfin_read_TIMER6_COUNTER() bfin_read32(TIMER6_COUNTER)
160#define bfin_write_TIMER6_COUNTER(val) bfin_write32(TIMER6_COUNTER, val)
161#define bfin_read_TIMER6_PERIOD() bfin_read32(TIMER6_PERIOD)
162#define bfin_write_TIMER6_PERIOD(val) bfin_write32(TIMER6_PERIOD, val)
163#define bfin_read_TIMER6_WIDTH() bfin_read32(TIMER6_WIDTH)
164#define bfin_write_TIMER6_WIDTH(val) bfin_write32(TIMER6_WIDTH, val)
165#define bfin_read_TIMER7_CONFIG() bfin_read16(TIMER7_CONFIG)
166#define bfin_write_TIMER7_CONFIG(val) bfin_write16(TIMER7_CONFIG, val)
167#define bfin_read_TIMER7_COUNTER() bfin_read32(TIMER7_COUNTER)
168#define bfin_write_TIMER7_COUNTER(val) bfin_write32(TIMER7_COUNTER, val)
169#define bfin_read_TIMER7_PERIOD() bfin_read32(TIMER7_PERIOD)
170#define bfin_write_TIMER7_PERIOD(val) bfin_write32(TIMER7_PERIOD, val)
171#define bfin_read_TIMER7_WIDTH() bfin_read32(TIMER7_WIDTH)
172#define bfin_write_TIMER7_WIDTH(val) bfin_write32(TIMER7_WIDTH, val)
173#define bfin_read_TIMER_ENABLE() bfin_read16(TIMER_ENABLE)
174#define bfin_write_TIMER_ENABLE(val) bfin_write16(TIMER_ENABLE, val)
175#define bfin_read_TIMER_DISABLE() bfin_read16(TIMER_DISABLE)
176#define bfin_write_TIMER_DISABLE(val) bfin_write16(TIMER_DISABLE, val)
177#define bfin_read_TIMER_STATUS() bfin_read32(TIMER_STATUS)
178#define bfin_write_TIMER_STATUS(val) bfin_write32(TIMER_STATUS, val)
179#define bfin_read_PORTFIO() bfin_read16(PORTFIO)
180#define bfin_write_PORTFIO(val) bfin_write16(PORTFIO, val)
181#define bfin_read_PORTFIO_CLEAR() bfin_read16(PORTFIO_CLEAR)
182#define bfin_write_PORTFIO_CLEAR(val) bfin_write16(PORTFIO_CLEAR, val)
183#define bfin_read_PORTFIO_SET() bfin_read16(PORTFIO_SET)
184#define bfin_write_PORTFIO_SET(val) bfin_write16(PORTFIO_SET, val)
185#define bfin_read_PORTFIO_TOGGLE() bfin_read16(PORTFIO_TOGGLE)
186#define bfin_write_PORTFIO_TOGGLE(val) bfin_write16(PORTFIO_TOGGLE, val)
187#define bfin_read_PORTFIO_MASKA() bfin_read16(PORTFIO_MASKA)
188#define bfin_write_PORTFIO_MASKA(val) bfin_write16(PORTFIO_MASKA, val)
189#define bfin_read_PORTFIO_MASKA_CLEAR() bfin_read16(PORTFIO_MASKA_CLEAR)
190#define bfin_write_PORTFIO_MASKA_CLEAR(val) bfin_write16(PORTFIO_MASKA_CLEAR, val)
191#define bfin_read_PORTFIO_MASKA_SET() bfin_read16(PORTFIO_MASKA_SET)
192#define bfin_write_PORTFIO_MASKA_SET(val) bfin_write16(PORTFIO_MASKA_SET, val)
193#define bfin_read_PORTFIO_MASKA_TOGGLE() bfin_read16(PORTFIO_MASKA_TOGGLE)
194#define bfin_write_PORTFIO_MASKA_TOGGLE(val) bfin_write16(PORTFIO_MASKA_TOGGLE, val)
195#define bfin_read_PORTFIO_MASKB() bfin_read16(PORTFIO_MASKB)
196#define bfin_write_PORTFIO_MASKB(val) bfin_write16(PORTFIO_MASKB, val)
197#define bfin_read_PORTFIO_MASKB_CLEAR() bfin_read16(PORTFIO_MASKB_CLEAR)
198#define bfin_write_PORTFIO_MASKB_CLEAR(val) bfin_write16(PORTFIO_MASKB_CLEAR, val)
199#define bfin_read_PORTFIO_MASKB_SET() bfin_read16(PORTFIO_MASKB_SET)
200#define bfin_write_PORTFIO_MASKB_SET(val) bfin_write16(PORTFIO_MASKB_SET, val)
201#define bfin_read_PORTFIO_MASKB_TOGGLE() bfin_read16(PORTFIO_MASKB_TOGGLE)
202#define bfin_write_PORTFIO_MASKB_TOGGLE(val) bfin_write16(PORTFIO_MASKB_TOGGLE, val)
203#define bfin_read_PORTFIO_DIR() bfin_read16(PORTFIO_DIR)
204#define bfin_write_PORTFIO_DIR(val) bfin_write16(PORTFIO_DIR, val)
205#define bfin_read_PORTFIO_POLAR() bfin_read16(PORTFIO_POLAR)
206#define bfin_write_PORTFIO_POLAR(val) bfin_write16(PORTFIO_POLAR, val)
207#define bfin_read_PORTFIO_EDGE() bfin_read16(PORTFIO_EDGE)
208#define bfin_write_PORTFIO_EDGE(val) bfin_write16(PORTFIO_EDGE, val)
209#define bfin_read_PORTFIO_BOTH() bfin_read16(PORTFIO_BOTH)
210#define bfin_write_PORTFIO_BOTH(val) bfin_write16(PORTFIO_BOTH, val)
211#define bfin_read_PORTFIO_INEN() bfin_read16(PORTFIO_INEN)
212#define bfin_write_PORTFIO_INEN(val) bfin_write16(PORTFIO_INEN, val)
213#define bfin_read_SPORT0_TCR1() bfin_read16(SPORT0_TCR1)
214#define bfin_write_SPORT0_TCR1(val) bfin_write16(SPORT0_TCR1, val)
215#define bfin_read_SPORT0_TCR2() bfin_read16(SPORT0_TCR2)
216#define bfin_write_SPORT0_TCR2(val) bfin_write16(SPORT0_TCR2, val)
217#define bfin_read_SPORT0_TCLKDIV() bfin_read16(SPORT0_TCLKDIV)
218#define bfin_write_SPORT0_TCLKDIV(val) bfin_write16(SPORT0_TCLKDIV, val)
219#define bfin_read_SPORT0_TFSDIV() bfin_read16(SPORT0_TFSDIV)
220#define bfin_write_SPORT0_TFSDIV(val) bfin_write16(SPORT0_TFSDIV, val)
221#define bfin_write_SPORT0_TX(val) bfin_write32(SPORT0_TX, val)
222#define bfin_read_SPORT0_RX() bfin_read32(SPORT0_RX)
223#define bfin_write_SPORT0_RX(val) bfin_write32(SPORT0_RX, val)
224#define bfin_read_SPORT0_RCR1() bfin_read16(SPORT0_RCR1)
225#define bfin_write_SPORT0_RCR1(val) bfin_write16(SPORT0_RCR1, val)
226#define bfin_read_SPORT0_RCR2() bfin_read16(SPORT0_RCR2)
227#define bfin_write_SPORT0_RCR2(val) bfin_write16(SPORT0_RCR2, val)
228#define bfin_read_SPORT0_RCLKDIV() bfin_read16(SPORT0_RCLKDIV)
229#define bfin_write_SPORT0_RCLKDIV(val) bfin_write16(SPORT0_RCLKDIV, val)
230#define bfin_read_SPORT0_RFSDIV() bfin_read16(SPORT0_RFSDIV)
231#define bfin_write_SPORT0_RFSDIV(val) bfin_write16(SPORT0_RFSDIV, val)
232#define bfin_read_SPORT0_STAT() bfin_read16(SPORT0_STAT)
233#define bfin_write_SPORT0_STAT(val) bfin_write16(SPORT0_STAT, val)
234#define bfin_read_SPORT0_CHNL() bfin_read16(SPORT0_CHNL)
235#define bfin_write_SPORT0_CHNL(val) bfin_write16(SPORT0_CHNL, val)
236#define bfin_read_SPORT0_MCMC1() bfin_read16(SPORT0_MCMC1)
237#define bfin_write_SPORT0_MCMC1(val) bfin_write16(SPORT0_MCMC1, val)
238#define bfin_read_SPORT0_MCMC2() bfin_read16(SPORT0_MCMC2)
239#define bfin_write_SPORT0_MCMC2(val) bfin_write16(SPORT0_MCMC2, val)
240#define bfin_read_SPORT0_MTCS0() bfin_read32(SPORT0_MTCS0)
241#define bfin_write_SPORT0_MTCS0(val) bfin_write32(SPORT0_MTCS0, val)
242#define bfin_read_SPORT0_MTCS1() bfin_read32(SPORT0_MTCS1)
243#define bfin_write_SPORT0_MTCS1(val) bfin_write32(SPORT0_MTCS1, val)
244#define bfin_read_SPORT0_MTCS2() bfin_read32(SPORT0_MTCS2)
245#define bfin_write_SPORT0_MTCS2(val) bfin_write32(SPORT0_MTCS2, val)
246#define bfin_read_SPORT0_MTCS3() bfin_read32(SPORT0_MTCS3)
247#define bfin_write_SPORT0_MTCS3(val) bfin_write32(SPORT0_MTCS3, val)
248#define bfin_read_SPORT0_MRCS0() bfin_read32(SPORT0_MRCS0)
249#define bfin_write_SPORT0_MRCS0(val) bfin_write32(SPORT0_MRCS0, val)
250#define bfin_read_SPORT0_MRCS1() bfin_read32(SPORT0_MRCS1)
251#define bfin_write_SPORT0_MRCS1(val) bfin_write32(SPORT0_MRCS1, val)
252#define bfin_read_SPORT0_MRCS2() bfin_read32(SPORT0_MRCS2)
253#define bfin_write_SPORT0_MRCS2(val) bfin_write32(SPORT0_MRCS2, val)
254#define bfin_read_SPORT0_MRCS3() bfin_read32(SPORT0_MRCS3)
255#define bfin_write_SPORT0_MRCS3(val) bfin_write32(SPORT0_MRCS3, val)
256#define bfin_read_SPORT1_TCR1() bfin_read16(SPORT1_TCR1)
257#define bfin_write_SPORT1_TCR1(val) bfin_write16(SPORT1_TCR1, val)
258#define bfin_read_SPORT1_TCR2() bfin_read16(SPORT1_TCR2)
259#define bfin_write_SPORT1_TCR2(val) bfin_write16(SPORT1_TCR2, val)
260#define bfin_read_SPORT1_TCLKDIV() bfin_read16(SPORT1_TCLKDIV)
261#define bfin_write_SPORT1_TCLKDIV(val) bfin_write16(SPORT1_TCLKDIV, val)
262#define bfin_read_SPORT1_TFSDIV() bfin_read16(SPORT1_TFSDIV)
263#define bfin_write_SPORT1_TFSDIV(val) bfin_write16(SPORT1_TFSDIV, val)
264#define bfin_write_SPORT1_TX(val) bfin_write32(SPORT1_TX, val)
265#define bfin_read_SPORT1_RX() bfin_read32(SPORT1_RX)
266#define bfin_write_SPORT1_RX(val) bfin_write32(SPORT1_RX, val)
267#define bfin_read_SPORT1_RCR1() bfin_read16(SPORT1_RCR1)
268#define bfin_write_SPORT1_RCR1(val) bfin_write16(SPORT1_RCR1, val)
269#define bfin_read_SPORT1_RCR2() bfin_read16(SPORT1_RCR2)
270#define bfin_write_SPORT1_RCR2(val) bfin_write16(SPORT1_RCR2, val)
271#define bfin_read_SPORT1_RCLKDIV() bfin_read16(SPORT1_RCLKDIV)
272#define bfin_write_SPORT1_RCLKDIV(val) bfin_write16(SPORT1_RCLKDIV, val)
273#define bfin_read_SPORT1_RFSDIV() bfin_read16(SPORT1_RFSDIV)
274#define bfin_write_SPORT1_RFSDIV(val) bfin_write16(SPORT1_RFSDIV, val)
275#define bfin_read_SPORT1_STAT() bfin_read16(SPORT1_STAT)
276#define bfin_write_SPORT1_STAT(val) bfin_write16(SPORT1_STAT, val)
277#define bfin_read_SPORT1_CHNL() bfin_read16(SPORT1_CHNL)
278#define bfin_write_SPORT1_CHNL(val) bfin_write16(SPORT1_CHNL, val)
279#define bfin_read_SPORT1_MCMC1() bfin_read16(SPORT1_MCMC1)
280#define bfin_write_SPORT1_MCMC1(val) bfin_write16(SPORT1_MCMC1, val)
281#define bfin_read_SPORT1_MCMC2() bfin_read16(SPORT1_MCMC2)
282#define bfin_write_SPORT1_MCMC2(val) bfin_write16(SPORT1_MCMC2, val)
283#define bfin_read_SPORT1_MTCS0() bfin_read32(SPORT1_MTCS0)
284#define bfin_write_SPORT1_MTCS0(val) bfin_write32(SPORT1_MTCS0, val)
285#define bfin_read_SPORT1_MTCS1() bfin_read32(SPORT1_MTCS1)
286#define bfin_write_SPORT1_MTCS1(val) bfin_write32(SPORT1_MTCS1, val)
287#define bfin_read_SPORT1_MTCS2() bfin_read32(SPORT1_MTCS2)
288#define bfin_write_SPORT1_MTCS2(val) bfin_write32(SPORT1_MTCS2, val)
289#define bfin_read_SPORT1_MTCS3() bfin_read32(SPORT1_MTCS3)
290#define bfin_write_SPORT1_MTCS3(val) bfin_write32(SPORT1_MTCS3, val)
291#define bfin_read_SPORT1_MRCS0() bfin_read32(SPORT1_MRCS0)
292#define bfin_write_SPORT1_MRCS0(val) bfin_write32(SPORT1_MRCS0, val)
293#define bfin_read_SPORT1_MRCS1() bfin_read32(SPORT1_MRCS1)
294#define bfin_write_SPORT1_MRCS1(val) bfin_write32(SPORT1_MRCS1, val)
295#define bfin_read_SPORT1_MRCS2() bfin_read32(SPORT1_MRCS2)
296#define bfin_write_SPORT1_MRCS2(val) bfin_write32(SPORT1_MRCS2, val)
297#define bfin_read_SPORT1_MRCS3() bfin_read32(SPORT1_MRCS3)
298#define bfin_write_SPORT1_MRCS3(val) bfin_write32(SPORT1_MRCS3, val)
299#define bfin_read_EBIU_AMGCTL() bfin_read16(EBIU_AMGCTL)
300#define bfin_write_EBIU_AMGCTL(val) bfin_write16(EBIU_AMGCTL, val)
301#define bfin_read_EBIU_AMBCTL0() bfin_read32(EBIU_AMBCTL0)
302#define bfin_write_EBIU_AMBCTL0(val) bfin_write32(EBIU_AMBCTL0, val)
303#define bfin_read_EBIU_AMBCTL1() bfin_read32(EBIU_AMBCTL1)
304#define bfin_write_EBIU_AMBCTL1(val) bfin_write32(EBIU_AMBCTL1, val)
305#define bfin_read_EBIU_SDGCTL() bfin_read32(EBIU_SDGCTL)
306#define bfin_write_EBIU_SDGCTL(val) bfin_write32(EBIU_SDGCTL, val)
307#define bfin_read_EBIU_SDBCTL() bfin_read16(EBIU_SDBCTL)
308#define bfin_write_EBIU_SDBCTL(val) bfin_write16(EBIU_SDBCTL, val)
309#define bfin_read_EBIU_SDSTAT() bfin_read16(EBIU_SDSTAT)
310#define bfin_write_EBIU_SDSTAT(val) bfin_write16(EBIU_SDSTAT, val)
311#define bfin_read_EBIU_SDRRC() bfin_read16(EBIU_SDRRC)
312#define bfin_write_EBIU_SDRRC(val) bfin_write16(EBIU_SDRRC, val)
313#define bfin_read_DMA0_NEXT_DESC_PTR() bfin_readPTR(DMA0_NEXT_DESC_PTR)
314#define bfin_write_DMA0_NEXT_DESC_PTR(val) bfin_writePTR(DMA0_NEXT_DESC_PTR, val)
315#define bfin_read_DMA0_START_ADDR() bfin_readPTR(DMA0_START_ADDR)
316#define bfin_write_DMA0_START_ADDR(val) bfin_writePTR(DMA0_START_ADDR, val)
317#define bfin_read_DMA0_CONFIG() bfin_read16(DMA0_CONFIG)
318#define bfin_write_DMA0_CONFIG(val) bfin_write16(DMA0_CONFIG, val)
319#define bfin_read_DMA0_X_COUNT() bfin_read16(DMA0_X_COUNT)
320#define bfin_write_DMA0_X_COUNT(val) bfin_write16(DMA0_X_COUNT, val)
321#define bfin_read_DMA0_X_MODIFY() bfin_read16(DMA0_X_MODIFY)
322#define bfin_write_DMA0_X_MODIFY(val) bfin_write16(DMA0_X_MODIFY, val)
323#define bfin_read_DMA0_Y_COUNT() bfin_read16(DMA0_Y_COUNT)
324#define bfin_write_DMA0_Y_COUNT(val) bfin_write16(DMA0_Y_COUNT, val)
325#define bfin_read_DMA0_Y_MODIFY() bfin_read16(DMA0_Y_MODIFY)
326#define bfin_write_DMA0_Y_MODIFY(val) bfin_write16(DMA0_Y_MODIFY, val)
327#define bfin_read_DMA0_CURR_DESC_PTR() bfin_readPTR(DMA0_CURR_DESC_PTR)
328#define bfin_write_DMA0_CURR_DESC_PTR(val) bfin_writePTR(DMA0_CURR_DESC_PTR, val)
329#define bfin_read_DMA0_CURR_ADDR() bfin_readPTR(DMA0_CURR_ADDR)
330#define bfin_write_DMA0_CURR_ADDR(val) bfin_writePTR(DMA0_CURR_ADDR, val)
331#define bfin_read_DMA0_IRQ_STATUS() bfin_read16(DMA0_IRQ_STATUS)
332#define bfin_write_DMA0_IRQ_STATUS(val) bfin_write16(DMA0_IRQ_STATUS, val)
333#define bfin_read_DMA0_PERIPHERAL_MAP() bfin_read16(DMA0_PERIPHERAL_MAP)
334#define bfin_write_DMA0_PERIPHERAL_MAP(val) bfin_write16(DMA0_PERIPHERAL_MAP, val)
335#define bfin_read_DMA0_CURR_X_COUNT() bfin_read16(DMA0_CURR_X_COUNT)
336#define bfin_write_DMA0_CURR_X_COUNT(val) bfin_write16(DMA0_CURR_X_COUNT, val)
337#define bfin_read_DMA0_CURR_Y_COUNT() bfin_read16(DMA0_CURR_Y_COUNT)
338#define bfin_write_DMA0_CURR_Y_COUNT(val) bfin_write16(DMA0_CURR_Y_COUNT, val)
339#define bfin_read_DMA1_NEXT_DESC_PTR() bfin_readPTR(DMA1_NEXT_DESC_PTR)
340#define bfin_write_DMA1_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_NEXT_DESC_PTR, val)
341#define bfin_read_DMA1_START_ADDR() bfin_readPTR(DMA1_START_ADDR)
342#define bfin_write_DMA1_START_ADDR(val) bfin_writePTR(DMA1_START_ADDR, val)
343#define bfin_read_DMA1_CONFIG() bfin_read16(DMA1_CONFIG)
344#define bfin_write_DMA1_CONFIG(val) bfin_write16(DMA1_CONFIG, val)
345#define bfin_read_DMA1_X_COUNT() bfin_read16(DMA1_X_COUNT)
346#define bfin_write_DMA1_X_COUNT(val) bfin_write16(DMA1_X_COUNT, val)
347#define bfin_read_DMA1_X_MODIFY() bfin_read16(DMA1_X_MODIFY)
348#define bfin_write_DMA1_X_MODIFY(val) bfin_write16(DMA1_X_MODIFY, val)
349#define bfin_read_DMA1_Y_COUNT() bfin_read16(DMA1_Y_COUNT)
350#define bfin_write_DMA1_Y_COUNT(val) bfin_write16(DMA1_Y_COUNT, val)
351#define bfin_read_DMA1_Y_MODIFY() bfin_read16(DMA1_Y_MODIFY)
352#define bfin_write_DMA1_Y_MODIFY(val) bfin_write16(DMA1_Y_MODIFY, val)
353#define bfin_read_DMA1_CURR_DESC_PTR() bfin_readPTR(DMA1_CURR_DESC_PTR)
354#define bfin_write_DMA1_CURR_DESC_PTR(val) bfin_writePTR(DMA1_CURR_DESC_PTR, val)
355#define bfin_read_DMA1_CURR_ADDR() bfin_readPTR(DMA1_CURR_ADDR)
356#define bfin_write_DMA1_CURR_ADDR(val) bfin_writePTR(DMA1_CURR_ADDR, val)
357#define bfin_read_DMA1_IRQ_STATUS() bfin_read16(DMA1_IRQ_STATUS)
358#define bfin_write_DMA1_IRQ_STATUS(val) bfin_write16(DMA1_IRQ_STATUS, val)
359#define bfin_read_DMA1_PERIPHERAL_MAP() bfin_read16(DMA1_PERIPHERAL_MAP)
360#define bfin_write_DMA1_PERIPHERAL_MAP(val) bfin_write16(DMA1_PERIPHERAL_MAP, val)
361#define bfin_read_DMA1_CURR_X_COUNT() bfin_read16(DMA1_CURR_X_COUNT)
362#define bfin_write_DMA1_CURR_X_COUNT(val) bfin_write16(DMA1_CURR_X_COUNT, val)
363#define bfin_read_DMA1_CURR_Y_COUNT() bfin_read16(DMA1_CURR_Y_COUNT)
364#define bfin_write_DMA1_CURR_Y_COUNT(val) bfin_write16(DMA1_CURR_Y_COUNT, val)
365#define bfin_read_DMA2_NEXT_DESC_PTR() bfin_readPTR(DMA2_NEXT_DESC_PTR)
366#define bfin_write_DMA2_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_NEXT_DESC_PTR, val)
367#define bfin_read_DMA2_START_ADDR() bfin_readPTR(DMA2_START_ADDR)
368#define bfin_write_DMA2_START_ADDR(val) bfin_writePTR(DMA2_START_ADDR, val)
369#define bfin_read_DMA2_CONFIG() bfin_read16(DMA2_CONFIG)
370#define bfin_write_DMA2_CONFIG(val) bfin_write16(DMA2_CONFIG, val)
371#define bfin_read_DMA2_X_COUNT() bfin_read16(DMA2_X_COUNT)
372#define bfin_write_DMA2_X_COUNT(val) bfin_write16(DMA2_X_COUNT, val)
373#define bfin_read_DMA2_X_MODIFY() bfin_read16(DMA2_X_MODIFY)
374#define bfin_write_DMA2_X_MODIFY(val) bfin_write16(DMA2_X_MODIFY, val)
375#define bfin_read_DMA2_Y_COUNT() bfin_read16(DMA2_Y_COUNT)
376#define bfin_write_DMA2_Y_COUNT(val) bfin_write16(DMA2_Y_COUNT, val)
377#define bfin_read_DMA2_Y_MODIFY() bfin_read16(DMA2_Y_MODIFY)
378#define bfin_write_DMA2_Y_MODIFY(val) bfin_write16(DMA2_Y_MODIFY, val)
379#define bfin_read_DMA2_CURR_DESC_PTR() bfin_readPTR(DMA2_CURR_DESC_PTR)
380#define bfin_write_DMA2_CURR_DESC_PTR(val) bfin_writePTR(DMA2_CURR_DESC_PTR, val)
381#define bfin_read_DMA2_CURR_ADDR() bfin_readPTR(DMA2_CURR_ADDR)
382#define bfin_write_DMA2_CURR_ADDR(val) bfin_writePTR(DMA2_CURR_ADDR, val)
383#define bfin_read_DMA2_IRQ_STATUS() bfin_read16(DMA2_IRQ_STATUS)
384#define bfin_write_DMA2_IRQ_STATUS(val) bfin_write16(DMA2_IRQ_STATUS, val)
385#define bfin_read_DMA2_PERIPHERAL_MAP() bfin_read16(DMA2_PERIPHERAL_MAP)
386#define bfin_write_DMA2_PERIPHERAL_MAP(val) bfin_write16(DMA2_PERIPHERAL_MAP, val)
387#define bfin_read_DMA2_CURR_X_COUNT() bfin_read16(DMA2_CURR_X_COUNT)
388#define bfin_write_DMA2_CURR_X_COUNT(val) bfin_write16(DMA2_CURR_X_COUNT, val)
389#define bfin_read_DMA2_CURR_Y_COUNT() bfin_read16(DMA2_CURR_Y_COUNT)
390#define bfin_write_DMA2_CURR_Y_COUNT(val) bfin_write16(DMA2_CURR_Y_COUNT, val)
391#define bfin_read_DMA3_NEXT_DESC_PTR() bfin_readPTR(DMA3_NEXT_DESC_PTR)
392#define bfin_write_DMA3_NEXT_DESC_PTR(val) bfin_writePTR(DMA3_NEXT_DESC_PTR, val)
393#define bfin_read_DMA3_START_ADDR() bfin_readPTR(DMA3_START_ADDR)
394#define bfin_write_DMA3_START_ADDR(val) bfin_writePTR(DMA3_START_ADDR, val)
395#define bfin_read_DMA3_CONFIG() bfin_read16(DMA3_CONFIG)
396#define bfin_write_DMA3_CONFIG(val) bfin_write16(DMA3_CONFIG, val)
397#define bfin_read_DMA3_X_COUNT() bfin_read16(DMA3_X_COUNT)
398#define bfin_write_DMA3_X_COUNT(val) bfin_write16(DMA3_X_COUNT, val)
399#define bfin_read_DMA3_X_MODIFY() bfin_read16(DMA3_X_MODIFY)
400#define bfin_write_DMA3_X_MODIFY(val) bfin_write16(DMA3_X_MODIFY, val)
401#define bfin_read_DMA3_Y_COUNT() bfin_read16(DMA3_Y_COUNT)
402#define bfin_write_DMA3_Y_COUNT(val) bfin_write16(DMA3_Y_COUNT, val)
403#define bfin_read_DMA3_Y_MODIFY() bfin_read16(DMA3_Y_MODIFY)
404#define bfin_write_DMA3_Y_MODIFY(val) bfin_write16(DMA3_Y_MODIFY, val)
405#define bfin_read_DMA3_CURR_DESC_PTR() bfin_readPTR(DMA3_CURR_DESC_PTR)
406#define bfin_write_DMA3_CURR_DESC_PTR(val) bfin_writePTR(DMA3_CURR_DESC_PTR, val)
407#define bfin_read_DMA3_CURR_ADDR() bfin_readPTR(DMA3_CURR_ADDR)
408#define bfin_write_DMA3_CURR_ADDR(val) bfin_writePTR(DMA3_CURR_ADDR, val)
409#define bfin_read_DMA3_IRQ_STATUS() bfin_read16(DMA3_IRQ_STATUS)
410#define bfin_write_DMA3_IRQ_STATUS(val) bfin_write16(DMA3_IRQ_STATUS, val)
411#define bfin_read_DMA3_PERIPHERAL_MAP() bfin_read16(DMA3_PERIPHERAL_MAP)
412#define bfin_write_DMA3_PERIPHERAL_MAP(val) bfin_write16(DMA3_PERIPHERAL_MAP, val)
413#define bfin_read_DMA3_CURR_X_COUNT() bfin_read16(DMA3_CURR_X_COUNT)
414#define bfin_write_DMA3_CURR_X_COUNT(val) bfin_write16(DMA3_CURR_X_COUNT, val)
415#define bfin_read_DMA3_CURR_Y_COUNT() bfin_read16(DMA3_CURR_Y_COUNT)
416#define bfin_write_DMA3_CURR_Y_COUNT(val) bfin_write16(DMA3_CURR_Y_COUNT, val)
417#define bfin_read_DMA4_NEXT_DESC_PTR() bfin_readPTR(DMA4_NEXT_DESC_PTR)
418#define bfin_write_DMA4_NEXT_DESC_PTR(val) bfin_writePTR(DMA4_NEXT_DESC_PTR, val)
419#define bfin_read_DMA4_START_ADDR() bfin_readPTR(DMA4_START_ADDR)
420#define bfin_write_DMA4_START_ADDR(val) bfin_writePTR(DMA4_START_ADDR, val)
421#define bfin_read_DMA4_CONFIG() bfin_read16(DMA4_CONFIG)
422#define bfin_write_DMA4_CONFIG(val) bfin_write16(DMA4_CONFIG, val)
423#define bfin_read_DMA4_X_COUNT() bfin_read16(DMA4_X_COUNT)
424#define bfin_write_DMA4_X_COUNT(val) bfin_write16(DMA4_X_COUNT, val)
425#define bfin_read_DMA4_X_MODIFY() bfin_read16(DMA4_X_MODIFY)
426#define bfin_write_DMA4_X_MODIFY(val) bfin_write16(DMA4_X_MODIFY, val)
427#define bfin_read_DMA4_Y_COUNT() bfin_read16(DMA4_Y_COUNT)
428#define bfin_write_DMA4_Y_COUNT(val) bfin_write16(DMA4_Y_COUNT, val)
429#define bfin_read_DMA4_Y_MODIFY() bfin_read16(DMA4_Y_MODIFY)
430#define bfin_write_DMA4_Y_MODIFY(val) bfin_write16(DMA4_Y_MODIFY, val)
431#define bfin_read_DMA4_CURR_DESC_PTR() bfin_readPTR(DMA4_CURR_DESC_PTR)
432#define bfin_write_DMA4_CURR_DESC_PTR(val) bfin_writePTR(DMA4_CURR_DESC_PTR, val)
433#define bfin_read_DMA4_CURR_ADDR() bfin_readPTR(DMA4_CURR_ADDR)
434#define bfin_write_DMA4_CURR_ADDR(val) bfin_writePTR(DMA4_CURR_ADDR, val)
435#define bfin_read_DMA4_IRQ_STATUS() bfin_read16(DMA4_IRQ_STATUS)
436#define bfin_write_DMA4_IRQ_STATUS(val) bfin_write16(DMA4_IRQ_STATUS, val)
437#define bfin_read_DMA4_PERIPHERAL_MAP() bfin_read16(DMA4_PERIPHERAL_MAP)
438#define bfin_write_DMA4_PERIPHERAL_MAP(val) bfin_write16(DMA4_PERIPHERAL_MAP, val)
439#define bfin_read_DMA4_CURR_X_COUNT() bfin_read16(DMA4_CURR_X_COUNT)
440#define bfin_write_DMA4_CURR_X_COUNT(val) bfin_write16(DMA4_CURR_X_COUNT, val)
441#define bfin_read_DMA4_CURR_Y_COUNT() bfin_read16(DMA4_CURR_Y_COUNT)
442#define bfin_write_DMA4_CURR_Y_COUNT(val) bfin_write16(DMA4_CURR_Y_COUNT, val)
443#define bfin_read_DMA5_NEXT_DESC_PTR() bfin_readPTR(DMA5_NEXT_DESC_PTR)
444#define bfin_write_DMA5_NEXT_DESC_PTR(val) bfin_writePTR(DMA5_NEXT_DESC_PTR, val)
445#define bfin_read_DMA5_START_ADDR() bfin_readPTR(DMA5_START_ADDR)
446#define bfin_write_DMA5_START_ADDR(val) bfin_writePTR(DMA5_START_ADDR, val)
447#define bfin_read_DMA5_CONFIG() bfin_read16(DMA5_CONFIG)
448#define bfin_write_DMA5_CONFIG(val) bfin_write16(DMA5_CONFIG, val)
449#define bfin_read_DMA5_X_COUNT() bfin_read16(DMA5_X_COUNT)
450#define bfin_write_DMA5_X_COUNT(val) bfin_write16(DMA5_X_COUNT, val)
451#define bfin_read_DMA5_X_MODIFY() bfin_read16(DMA5_X_MODIFY)
452#define bfin_write_DMA5_X_MODIFY(val) bfin_write16(DMA5_X_MODIFY, val)
453#define bfin_read_DMA5_Y_COUNT() bfin_read16(DMA5_Y_COUNT)
454#define bfin_write_DMA5_Y_COUNT(val) bfin_write16(DMA5_Y_COUNT, val)
455#define bfin_read_DMA5_Y_MODIFY() bfin_read16(DMA5_Y_MODIFY)
456#define bfin_write_DMA5_Y_MODIFY(val) bfin_write16(DMA5_Y_MODIFY, val)
457#define bfin_read_DMA5_CURR_DESC_PTR() bfin_readPTR(DMA5_CURR_DESC_PTR)
458#define bfin_write_DMA5_CURR_DESC_PTR(val) bfin_writePTR(DMA5_CURR_DESC_PTR, val)
459#define bfin_read_DMA5_CURR_ADDR() bfin_readPTR(DMA5_CURR_ADDR)
460#define bfin_write_DMA5_CURR_ADDR(val) bfin_writePTR(DMA5_CURR_ADDR, val)
461#define bfin_read_DMA5_IRQ_STATUS() bfin_read16(DMA5_IRQ_STATUS)
462#define bfin_write_DMA5_IRQ_STATUS(val) bfin_write16(DMA5_IRQ_STATUS, val)
463#define bfin_read_DMA5_PERIPHERAL_MAP() bfin_read16(DMA5_PERIPHERAL_MAP)
464#define bfin_write_DMA5_PERIPHERAL_MAP(val) bfin_write16(DMA5_PERIPHERAL_MAP, val)
465#define bfin_read_DMA5_CURR_X_COUNT() bfin_read16(DMA5_CURR_X_COUNT)
466#define bfin_write_DMA5_CURR_X_COUNT(val) bfin_write16(DMA5_CURR_X_COUNT, val)
467#define bfin_read_DMA5_CURR_Y_COUNT() bfin_read16(DMA5_CURR_Y_COUNT)
468#define bfin_write_DMA5_CURR_Y_COUNT(val) bfin_write16(DMA5_CURR_Y_COUNT, val)
469#define bfin_read_DMA6_NEXT_DESC_PTR() bfin_read32(DMA6_NEXT_DESC_PTR)
470#define bfin_write_DMA6_NEXT_DESC_PTR(val) bfin_write32(DMA6_NEXT_DESC_PTR, val)
471#define bfin_read_DMA6_START_ADDR() bfin_readPTR(DMA6_START_ADDR)
472#define bfin_write_DMA6_START_ADDR(val) bfin_writePTR(DMA6_START_ADDR, val)
473#define bfin_read_DMA6_CONFIG() bfin_read16(DMA6_CONFIG)
474#define bfin_write_DMA6_CONFIG(val) bfin_write16(DMA6_CONFIG, val)
475#define bfin_read_DMA6_X_COUNT() bfin_read16(DMA6_X_COUNT)
476#define bfin_write_DMA6_X_COUNT(val) bfin_write16(DMA6_X_COUNT, val)
477#define bfin_read_DMA6_X_MODIFY() bfin_read16(DMA6_X_MODIFY)
478#define bfin_write_DMA6_X_MODIFY(val) bfin_write16(DMA6_X_MODIFY, val)
479#define bfin_read_DMA6_Y_COUNT() bfin_read16(DMA6_Y_COUNT)
480#define bfin_write_DMA6_Y_COUNT(val) bfin_write16(DMA6_Y_COUNT, val)
481#define bfin_read_DMA6_Y_MODIFY() bfin_read16(DMA6_Y_MODIFY)
482#define bfin_write_DMA6_Y_MODIFY(val) bfin_write16(DMA6_Y_MODIFY, val)
483#define bfin_read_DMA6_CURR_DESC_PTR() bfin_readPTR(DMA6_CURR_DESC_PTR)
484#define bfin_write_DMA6_CURR_DESC_PTR(val) bfin_writePTR(DMA6_CURR_DESC_PTR, val)
485#define bfin_read_DMA6_CURR_ADDR() bfin_readPTR(DMA6_CURR_ADDR)
486#define bfin_write_DMA6_CURR_ADDR(val) bfin_writePTR(DMA6_CURR_ADDR, val)
487#define bfin_read_DMA6_IRQ_STATUS() bfin_read16(DMA6_IRQ_STATUS)
488#define bfin_write_DMA6_IRQ_STATUS(val) bfin_write16(DMA6_IRQ_STATUS, val)
489#define bfin_read_DMA6_PERIPHERAL_MAP() bfin_read16(DMA6_PERIPHERAL_MAP)
490#define bfin_write_DMA6_PERIPHERAL_MAP(val) bfin_write16(DMA6_PERIPHERAL_MAP, val)
491#define bfin_read_DMA6_CURR_X_COUNT() bfin_read16(DMA6_CURR_X_COUNT)
492#define bfin_write_DMA6_CURR_X_COUNT(val) bfin_write16(DMA6_CURR_X_COUNT, val)
493#define bfin_read_DMA6_CURR_Y_COUNT() bfin_read16(DMA6_CURR_Y_COUNT)
494#define bfin_write_DMA6_CURR_Y_COUNT(val) bfin_write16(DMA6_CURR_Y_COUNT, val)
495#define bfin_read_DMA7_NEXT_DESC_PTR() bfin_readPTR(DMA7_NEXT_DESC_PTR)
496#define bfin_write_DMA7_NEXT_DESC_PTR(val) bfin_writePTR(DMA7_NEXT_DESC_PTR, val)
497#define bfin_read_DMA7_START_ADDR() bfin_readPTR(DMA7_START_ADDR)
498#define bfin_write_DMA7_START_ADDR(val) bfin_writePTR(DMA7_START_ADDR, val)
499#define bfin_read_DMA7_CONFIG() bfin_read16(DMA7_CONFIG)
500#define bfin_write_DMA7_CONFIG(val) bfin_write16(DMA7_CONFIG, val)
501#define bfin_read_DMA7_X_COUNT() bfin_read16(DMA7_X_COUNT)
502#define bfin_write_DMA7_X_COUNT(val) bfin_write16(DMA7_X_COUNT, val)
503#define bfin_read_DMA7_X_MODIFY() bfin_read16(DMA7_X_MODIFY)
504#define bfin_write_DMA7_X_MODIFY(val) bfin_write16(DMA7_X_MODIFY, val)
505#define bfin_read_DMA7_Y_COUNT() bfin_read16(DMA7_Y_COUNT)
506#define bfin_write_DMA7_Y_COUNT(val) bfin_write16(DMA7_Y_COUNT, val)
507#define bfin_read_DMA7_Y_MODIFY() bfin_read16(DMA7_Y_MODIFY)
508#define bfin_write_DMA7_Y_MODIFY(val) bfin_write16(DMA7_Y_MODIFY, val)
509#define bfin_read_DMA7_CURR_DESC_PTR() bfin_readPTR(DMA7_CURR_DESC_PTR)
510#define bfin_write_DMA7_CURR_DESC_PTR(val) bfin_writePTR(DMA7_CURR_DESC_PTR, val)
511#define bfin_read_DMA7_CURR_ADDR() bfin_readPTR(DMA7_CURR_ADDR)
512#define bfin_write_DMA7_CURR_ADDR(val) bfin_writePTR(DMA7_CURR_ADDR, val)
513#define bfin_read_DMA7_IRQ_STATUS() bfin_read16(DMA7_IRQ_STATUS)
514#define bfin_write_DMA7_IRQ_STATUS(val) bfin_write16(DMA7_IRQ_STATUS, val)
515#define bfin_read_DMA7_PERIPHERAL_MAP() bfin_read16(DMA7_PERIPHERAL_MAP)
516#define bfin_write_DMA7_PERIPHERAL_MAP(val) bfin_write16(DMA7_PERIPHERAL_MAP, val)
517#define bfin_read_DMA7_CURR_X_COUNT() bfin_read16(DMA7_CURR_X_COUNT)
518#define bfin_write_DMA7_CURR_X_COUNT(val) bfin_write16(DMA7_CURR_X_COUNT, val)
519#define bfin_read_DMA7_CURR_Y_COUNT() bfin_read16(DMA7_CURR_Y_COUNT)
520#define bfin_write_DMA7_CURR_Y_COUNT(val) bfin_write16(DMA7_CURR_Y_COUNT, val)
521#define bfin_read_DMA8_NEXT_DESC_PTR() bfin_readPTR(DMA8_NEXT_DESC_PTR)
522#define bfin_write_DMA8_NEXT_DESC_PTR(val) bfin_writePTR(DMA8_NEXT_DESC_PTR, val)
523#define bfin_read_DMA8_START_ADDR() bfin_readPTR(DMA8_START_ADDR)
524#define bfin_write_DMA8_START_ADDR(val) bfin_writePTR(DMA8_START_ADDR, val)
525#define bfin_read_DMA8_CONFIG() bfin_read16(DMA8_CONFIG)
526#define bfin_write_DMA8_CONFIG(val) bfin_write16(DMA8_CONFIG, val)
527#define bfin_read_DMA8_X_COUNT() bfin_read16(DMA8_X_COUNT)
528#define bfin_write_DMA8_X_COUNT(val) bfin_write16(DMA8_X_COUNT, val)
529#define bfin_read_DMA8_X_MODIFY() bfin_read16(DMA8_X_MODIFY)
530#define bfin_write_DMA8_X_MODIFY(val) bfin_write16(DMA8_X_MODIFY, val)
531#define bfin_read_DMA8_Y_COUNT() bfin_read16(DMA8_Y_COUNT)
532#define bfin_write_DMA8_Y_COUNT(val) bfin_write16(DMA8_Y_COUNT, val)
533#define bfin_read_DMA8_Y_MODIFY() bfin_read16(DMA8_Y_MODIFY)
534#define bfin_write_DMA8_Y_MODIFY(val) bfin_write16(DMA8_Y_MODIFY, val)
535#define bfin_read_DMA8_CURR_DESC_PTR() bfin_readPTR(DMA8_CURR_DESC_PTR)
536#define bfin_write_DMA8_CURR_DESC_PTR(val) bfin_writePTR(DMA8_CURR_DESC_PTR, val)
537#define bfin_read_DMA8_CURR_ADDR() bfin_readPTR(DMA8_CURR_ADDR)
538#define bfin_write_DMA8_CURR_ADDR(val) bfin_writePTR(DMA8_CURR_ADDR, val)
539#define bfin_read_DMA8_IRQ_STATUS() bfin_read16(DMA8_IRQ_STATUS)
540#define bfin_write_DMA8_IRQ_STATUS(val) bfin_write16(DMA8_IRQ_STATUS, val)
541#define bfin_read_DMA8_PERIPHERAL_MAP() bfin_read16(DMA8_PERIPHERAL_MAP)
542#define bfin_write_DMA8_PERIPHERAL_MAP(val) bfin_write16(DMA8_PERIPHERAL_MAP, val)
543#define bfin_read_DMA8_CURR_X_COUNT() bfin_read16(DMA8_CURR_X_COUNT)
544#define bfin_write_DMA8_CURR_X_COUNT(val) bfin_write16(DMA8_CURR_X_COUNT, val)
545#define bfin_read_DMA8_CURR_Y_COUNT() bfin_read16(DMA8_CURR_Y_COUNT)
546#define bfin_write_DMA8_CURR_Y_COUNT(val) bfin_write16(DMA8_CURR_Y_COUNT, val)
547#define bfin_read_DMA9_NEXT_DESC_PTR() bfin_readPTR(DMA9_NEXT_DESC_PTR)
548#define bfin_write_DMA9_NEXT_DESC_PTR(val) bfin_writePTR(DMA9_NEXT_DESC_PTR, val)
549#define bfin_read_DMA9_START_ADDR() bfin_readPTR(DMA9_START_ADDR)
550#define bfin_write_DMA9_START_ADDR(val) bfin_writePTR(DMA9_START_ADDR, val)
551#define bfin_read_DMA9_CONFIG() bfin_read16(DMA9_CONFIG)
552#define bfin_write_DMA9_CONFIG(val) bfin_write16(DMA9_CONFIG, val)
553#define bfin_read_DMA9_X_COUNT() bfin_read16(DMA9_X_COUNT)
554#define bfin_write_DMA9_X_COUNT(val) bfin_write16(DMA9_X_COUNT, val)
555#define bfin_read_DMA9_X_MODIFY() bfin_read16(DMA9_X_MODIFY)
556#define bfin_write_DMA9_X_MODIFY(val) bfin_write16(DMA9_X_MODIFY, val)
557#define bfin_read_DMA9_Y_COUNT() bfin_read16(DMA9_Y_COUNT)
558#define bfin_write_DMA9_Y_COUNT(val) bfin_write16(DMA9_Y_COUNT, val)
559#define bfin_read_DMA9_Y_MODIFY() bfin_read16(DMA9_Y_MODIFY)
560#define bfin_write_DMA9_Y_MODIFY(val) bfin_write16(DMA9_Y_MODIFY, val)
561#define bfin_read_DMA9_CURR_DESC_PTR() bfin_readPTR(DMA9_CURR_DESC_PTR)
562#define bfin_write_DMA9_CURR_DESC_PTR(val) bfin_writePTR(DMA9_CURR_DESC_PTR, val)
563#define bfin_read_DMA9_CURR_ADDR() bfin_readPTR(DMA9_CURR_ADDR)
564#define bfin_write_DMA9_CURR_ADDR(val) bfin_writePTR(DMA9_CURR_ADDR, val)
565#define bfin_read_DMA9_IRQ_STATUS() bfin_read16(DMA9_IRQ_STATUS)
566#define bfin_write_DMA9_IRQ_STATUS(val) bfin_write16(DMA9_IRQ_STATUS, val)
567#define bfin_read_DMA9_PERIPHERAL_MAP() bfin_read16(DMA9_PERIPHERAL_MAP)
568#define bfin_write_DMA9_PERIPHERAL_MAP(val) bfin_write16(DMA9_PERIPHERAL_MAP, val)
569#define bfin_read_DMA9_CURR_X_COUNT() bfin_read16(DMA9_CURR_X_COUNT)
570#define bfin_write_DMA9_CURR_X_COUNT(val) bfin_write16(DMA9_CURR_X_COUNT, val)
571#define bfin_read_DMA9_CURR_Y_COUNT() bfin_read16(DMA9_CURR_Y_COUNT)
572#define bfin_write_DMA9_CURR_Y_COUNT(val) bfin_write16(DMA9_CURR_Y_COUNT, val)
573#define bfin_read_DMA10_NEXT_DESC_PTR() bfin_readPTR(DMA10_NEXT_DESC_PTR)
574#define bfin_write_DMA10_NEXT_DESC_PTR(val) bfin_writePTR(DMA10_NEXT_DESC_PTR, val)
575#define bfin_read_DMA10_START_ADDR() bfin_readPTR(DMA10_START_ADDR)
576#define bfin_write_DMA10_START_ADDR(val) bfin_writePTR(DMA10_START_ADDR, val)
577#define bfin_read_DMA10_CONFIG() bfin_read16(DMA10_CONFIG)
578#define bfin_write_DMA10_CONFIG(val) bfin_write16(DMA10_CONFIG, val)
579#define bfin_read_DMA10_X_COUNT() bfin_read16(DMA10_X_COUNT)
580#define bfin_write_DMA10_X_COUNT(val) bfin_write16(DMA10_X_COUNT, val)
581#define bfin_read_DMA10_X_MODIFY() bfin_read16(DMA10_X_MODIFY)
582#define bfin_write_DMA10_X_MODIFY(val) bfin_write16(DMA10_X_MODIFY, val)
583#define bfin_read_DMA10_Y_COUNT() bfin_read16(DMA10_Y_COUNT)
584#define bfin_write_DMA10_Y_COUNT(val) bfin_write16(DMA10_Y_COUNT, val)
585#define bfin_read_DMA10_Y_MODIFY() bfin_read16(DMA10_Y_MODIFY)
586#define bfin_write_DMA10_Y_MODIFY(val) bfin_write16(DMA10_Y_MODIFY, val)
587#define bfin_read_DMA10_CURR_DESC_PTR() bfin_readPTR(DMA10_CURR_DESC_PTR)
588#define bfin_write_DMA10_CURR_DESC_PTR(val) bfin_writePTR(DMA10_CURR_DESC_PTR, val)
589#define bfin_read_DMA10_CURR_ADDR() bfin_readPTR(DMA10_CURR_ADDR)
590#define bfin_write_DMA10_CURR_ADDR(val) bfin_writePTR(DMA10_CURR_ADDR, val)
591#define bfin_read_DMA10_IRQ_STATUS() bfin_read16(DMA10_IRQ_STATUS)
592#define bfin_write_DMA10_IRQ_STATUS(val) bfin_write16(DMA10_IRQ_STATUS, val)
593#define bfin_read_DMA10_PERIPHERAL_MAP() bfin_read16(DMA10_PERIPHERAL_MAP)
594#define bfin_write_DMA10_PERIPHERAL_MAP(val) bfin_write16(DMA10_PERIPHERAL_MAP, val)
595#define bfin_read_DMA10_CURR_X_COUNT() bfin_read16(DMA10_CURR_X_COUNT)
596#define bfin_write_DMA10_CURR_X_COUNT(val) bfin_write16(DMA10_CURR_X_COUNT, val)
597#define bfin_read_DMA10_CURR_Y_COUNT() bfin_read16(DMA10_CURR_Y_COUNT)
598#define bfin_write_DMA10_CURR_Y_COUNT(val) bfin_write16(DMA10_CURR_Y_COUNT, val)
599#define bfin_read_DMA11_NEXT_DESC_PTR() bfin_readPTR(DMA11_NEXT_DESC_PTR)
600#define bfin_write_DMA11_NEXT_DESC_PTR(val) bfin_writePTR(DMA11_NEXT_DESC_PTR, val)
601#define bfin_read_DMA11_START_ADDR() bfin_readPTR(DMA11_START_ADDR)
602#define bfin_write_DMA11_START_ADDR(val) bfin_writePTR(DMA11_START_ADDR, val)
603#define bfin_read_DMA11_CONFIG() bfin_read16(DMA11_CONFIG)
604#define bfin_write_DMA11_CONFIG(val) bfin_write16(DMA11_CONFIG, val)
605#define bfin_read_DMA11_X_COUNT() bfin_read16(DMA11_X_COUNT)
606#define bfin_write_DMA11_X_COUNT(val) bfin_write16(DMA11_X_COUNT, val)
607#define bfin_read_DMA11_X_MODIFY() bfin_read16(DMA11_X_MODIFY)
608#define bfin_write_DMA11_X_MODIFY(val) bfin_write16(DMA11_X_MODIFY, val)
609#define bfin_read_DMA11_Y_COUNT() bfin_read16(DMA11_Y_COUNT)
610#define bfin_write_DMA11_Y_COUNT(val) bfin_write16(DMA11_Y_COUNT, val)
611#define bfin_read_DMA11_Y_MODIFY() bfin_read16(DMA11_Y_MODIFY)
612#define bfin_write_DMA11_Y_MODIFY(val) bfin_write16(DMA11_Y_MODIFY, val)
613#define bfin_read_DMA11_CURR_DESC_PTR() bfin_readPTR(DMA11_CURR_DESC_PTR)
614#define bfin_write_DMA11_CURR_DESC_PTR(val) bfin_writePTR(DMA11_CURR_DESC_PTR, val)
615#define bfin_read_DMA11_CURR_ADDR() bfin_readPTR(DMA11_CURR_ADDR)
616#define bfin_write_DMA11_CURR_ADDR(val) bfin_writePTR(DMA11_CURR_ADDR, val)
617#define bfin_read_DMA11_IRQ_STATUS() bfin_read16(DMA11_IRQ_STATUS)
618#define bfin_write_DMA11_IRQ_STATUS(val) bfin_write16(DMA11_IRQ_STATUS, val)
619#define bfin_read_DMA11_PERIPHERAL_MAP() bfin_read16(DMA11_PERIPHERAL_MAP)
620#define bfin_write_DMA11_PERIPHERAL_MAP(val) bfin_write16(DMA11_PERIPHERAL_MAP, val)
621#define bfin_read_DMA11_CURR_X_COUNT() bfin_read16(DMA11_CURR_X_COUNT)
622#define bfin_write_DMA11_CURR_X_COUNT(val) bfin_write16(DMA11_CURR_X_COUNT, val)
623#define bfin_read_DMA11_CURR_Y_COUNT() bfin_read16(DMA11_CURR_Y_COUNT)
624#define bfin_write_DMA11_CURR_Y_COUNT(val) bfin_write16(DMA11_CURR_Y_COUNT, val)
625#define bfin_read_MDMA_S0_NEXT_DESC_PTR() bfin_readPTR(MDMA_S0_NEXT_DESC_PTR)
626#define bfin_write_MDMA_S0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_S0_NEXT_DESC_PTR, val)
627#define bfin_read_MDMA_S0_START_ADDR() bfin_readPTR(MDMA_S0_START_ADDR)
628#define bfin_write_MDMA_S0_START_ADDR(val) bfin_writePTR(MDMA_S0_START_ADDR, val)
629#define bfin_read_MDMA_S0_CONFIG() bfin_read16(MDMA_S0_CONFIG)
630#define bfin_write_MDMA_S0_CONFIG(val) bfin_write16(MDMA_S0_CONFIG, val)
631#define bfin_read_MDMA_S0_X_COUNT() bfin_read16(MDMA_S0_X_COUNT)
632#define bfin_write_MDMA_S0_X_COUNT(val) bfin_write16(MDMA_S0_X_COUNT, val)
633#define bfin_read_MDMA_S0_X_MODIFY() bfin_read16(MDMA_S0_X_MODIFY)
634#define bfin_write_MDMA_S0_X_MODIFY(val) bfin_write16(MDMA_S0_X_MODIFY, val)
635#define bfin_read_MDMA_S0_Y_COUNT() bfin_read16(MDMA_S0_Y_COUNT)
636#define bfin_write_MDMA_S0_Y_COUNT(val) bfin_write16(MDMA_S0_Y_COUNT, val)
637#define bfin_read_MDMA_S0_Y_MODIFY() bfin_read16(MDMA_S0_Y_MODIFY)
638#define bfin_write_MDMA_S0_Y_MODIFY(val) bfin_write16(MDMA_S0_Y_MODIFY, val)
639#define bfin_read_MDMA_S0_CURR_DESC_PTR() bfin_readPTR(MDMA_S0_CURR_DESC_PTR)
640#define bfin_write_MDMA_S0_CURR_DESC_PTR(val) bfin_writePTR(MDMA_S0_CURR_DESC_PTR, val)
641#define bfin_read_MDMA_S0_CURR_ADDR() bfin_readPTR(MDMA_S0_CURR_ADDR)
642#define bfin_write_MDMA_S0_CURR_ADDR(val) bfin_writePTR(MDMA_S0_CURR_ADDR, val)
643#define bfin_read_MDMA_S0_IRQ_STATUS() bfin_read16(MDMA_S0_IRQ_STATUS)
644#define bfin_write_MDMA_S0_IRQ_STATUS(val) bfin_write16(MDMA_S0_IRQ_STATUS, val)
645#define bfin_read_MDMA_S0_PERIPHERAL_MAP() bfin_read16(MDMA_S0_PERIPHERAL_MAP)
646#define bfin_write_MDMA_S0_PERIPHERAL_MAP(val) bfin_write16(MDMA_S0_PERIPHERAL_MAP, val)
647#define bfin_read_MDMA_S0_CURR_X_COUNT() bfin_read16(MDMA_S0_CURR_X_COUNT)
648#define bfin_write_MDMA_S0_CURR_X_COUNT(val) bfin_write16(MDMA_S0_CURR_X_COUNT, val)
649#define bfin_read_MDMA_S0_CURR_Y_COUNT() bfin_read16(MDMA_S0_CURR_Y_COUNT)
650#define bfin_write_MDMA_S0_CURR_Y_COUNT(val) bfin_write16(MDMA_S0_CURR_Y_COUNT, val)
651#define bfin_read_MDMA_D0_NEXT_DESC_PTR() bfin_readPTR(MDMA_D0_NEXT_DESC_PTR)
652#define bfin_write_MDMA_D0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_D0_NEXT_DESC_PTR, val)
653#define bfin_read_MDMA_D0_START_ADDR() bfin_readPTR(MDMA_D0_START_ADDR)
654#define bfin_write_MDMA_D0_START_ADDR(val) bfin_writePTR(MDMA_D0_START_ADDR, val)
655#define bfin_read_MDMA_D0_CONFIG() bfin_read16(MDMA_D0_CONFIG)
656#define bfin_write_MDMA_D0_CONFIG(val) bfin_write16(MDMA_D0_CONFIG, val)
657#define bfin_read_MDMA_D0_X_COUNT() bfin_read16(MDMA_D0_X_COUNT)
658#define bfin_write_MDMA_D0_X_COUNT(val) bfin_write16(MDMA_D0_X_COUNT, val)
659#define bfin_read_MDMA_D0_X_MODIFY() bfin_read16(MDMA_D0_X_MODIFY)
660#define bfin_write_MDMA_D0_X_MODIFY(val) bfin_write16(MDMA_D0_X_MODIFY, val)
661#define bfin_read_MDMA_D0_Y_COUNT() bfin_read16(MDMA_D0_Y_COUNT)
662#define bfin_write_MDMA_D0_Y_COUNT(val) bfin_write16(MDMA_D0_Y_COUNT, val)
663#define bfin_read_MDMA_D0_Y_MODIFY() bfin_read16(MDMA_D0_Y_MODIFY)
664#define bfin_write_MDMA_D0_Y_MODIFY(val) bfin_write16(MDMA_D0_Y_MODIFY, val)
665#define bfin_read_MDMA_D0_CURR_DESC_PTR() bfin_readPTR(MDMA_D0_CURR_DESC_PTR)
666#define bfin_write_MDMA_D0_CURR_DESC_PTR(val) bfin_writePTR(MDMA_D0_CURR_DESC_PTR, val)
667#define bfin_read_MDMA_D0_CURR_ADDR() bfin_readPTR(MDMA_D0_CURR_ADDR)
668#define bfin_write_MDMA_D0_CURR_ADDR(val) bfin_writePTR(MDMA_D0_CURR_ADDR, val)
669#define bfin_read_MDMA_D0_IRQ_STATUS() bfin_read16(MDMA_D0_IRQ_STATUS)
670#define bfin_write_MDMA_D0_IRQ_STATUS(val) bfin_write16(MDMA_D0_IRQ_STATUS, val)
671#define bfin_read_MDMA_D0_PERIPHERAL_MAP() bfin_read16(MDMA_D0_PERIPHERAL_MAP)
672#define bfin_write_MDMA_D0_PERIPHERAL_MAP(val) bfin_write16(MDMA_D0_PERIPHERAL_MAP, val)
673#define bfin_read_MDMA_D0_CURR_X_COUNT() bfin_read16(MDMA_D0_CURR_X_COUNT)
674#define bfin_write_MDMA_D0_CURR_X_COUNT(val) bfin_write16(MDMA_D0_CURR_X_COUNT, val)
675#define bfin_read_MDMA_D0_CURR_Y_COUNT() bfin_read16(MDMA_D0_CURR_Y_COUNT)
676#define bfin_write_MDMA_D0_CURR_Y_COUNT(val) bfin_write16(MDMA_D0_CURR_Y_COUNT, val)
677#define bfin_read_MDMA_S1_NEXT_DESC_PTR() bfin_readPTR(MDMA_S1_NEXT_DESC_PTR)
678#define bfin_write_MDMA_S1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_S1_NEXT_DESC_PTR, val)
679#define bfin_read_MDMA_S1_START_ADDR() bfin_readPTR(MDMA_S1_START_ADDR)
680#define bfin_write_MDMA_S1_START_ADDR(val) bfin_writePTR(MDMA_S1_START_ADDR, val)
681#define bfin_read_MDMA_S1_CONFIG() bfin_read16(MDMA_S1_CONFIG)
682#define bfin_write_MDMA_S1_CONFIG(val) bfin_write16(MDMA_S1_CONFIG, val)
683#define bfin_read_MDMA_S1_X_COUNT() bfin_read16(MDMA_S1_X_COUNT)
684#define bfin_write_MDMA_S1_X_COUNT(val) bfin_write16(MDMA_S1_X_COUNT, val)
685#define bfin_read_MDMA_S1_X_MODIFY() bfin_read16(MDMA_S1_X_MODIFY)
686#define bfin_write_MDMA_S1_X_MODIFY(val) bfin_write16(MDMA_S1_X_MODIFY, val)
687#define bfin_read_MDMA_S1_Y_COUNT() bfin_read16(MDMA_S1_Y_COUNT)
688#define bfin_write_MDMA_S1_Y_COUNT(val) bfin_write16(MDMA_S1_Y_COUNT, val)
689#define bfin_read_MDMA_S1_Y_MODIFY() bfin_read16(MDMA_S1_Y_MODIFY)
690#define bfin_write_MDMA_S1_Y_MODIFY(val) bfin_write16(MDMA_S1_Y_MODIFY, val)
691#define bfin_read_MDMA_S1_CURR_DESC_PTR() bfin_readPTR(MDMA_S1_CURR_DESC_PTR)
692#define bfin_write_MDMA_S1_CURR_DESC_PTR(val) bfin_writePTR(MDMA_S1_CURR_DESC_PTR, val)
693#define bfin_read_MDMA_S1_CURR_ADDR() bfin_readPTR(MDMA_S1_CURR_ADDR)
694#define bfin_write_MDMA_S1_CURR_ADDR(val) bfin_writePTR(MDMA_S1_CURR_ADDR, val)
695#define bfin_read_MDMA_S1_IRQ_STATUS() bfin_read16(MDMA_S1_IRQ_STATUS)
696#define bfin_write_MDMA_S1_IRQ_STATUS(val) bfin_write16(MDMA_S1_IRQ_STATUS, val)
697#define bfin_read_MDMA_S1_PERIPHERAL_MAP() bfin_read16(MDMA_S1_PERIPHERAL_MAP)
698#define bfin_write_MDMA_S1_PERIPHERAL_MAP(val) bfin_write16(MDMA_S1_PERIPHERAL_MAP, val)
699#define bfin_read_MDMA_S1_CURR_X_COUNT() bfin_read16(MDMA_S1_CURR_X_COUNT)
700#define bfin_write_MDMA_S1_CURR_X_COUNT(val) bfin_write16(MDMA_S1_CURR_X_COUNT, val)
701#define bfin_read_MDMA_S1_CURR_Y_COUNT() bfin_read16(MDMA_S1_CURR_Y_COUNT)
702#define bfin_write_MDMA_S1_CURR_Y_COUNT(val) bfin_write16(MDMA_S1_CURR_Y_COUNT, val)
703#define bfin_read_MDMA_D1_NEXT_DESC_PTR() bfin_readPTR(MDMA_D1_NEXT_DESC_PTR)
704#define bfin_write_MDMA_D1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_D1_NEXT_DESC_PTR, val)
705#define bfin_read_MDMA_D1_START_ADDR() bfin_readPTR(MDMA_D1_START_ADDR)
706#define bfin_write_MDMA_D1_START_ADDR(val) bfin_writePTR(MDMA_D1_START_ADDR, val)
707#define bfin_read_MDMA_D1_CONFIG() bfin_read16(MDMA_D1_CONFIG)
708#define bfin_write_MDMA_D1_CONFIG(val) bfin_write16(MDMA_D1_CONFIG, val)
709#define bfin_read_MDMA_D1_X_COUNT() bfin_read16(MDMA_D1_X_COUNT)
710#define bfin_write_MDMA_D1_X_COUNT(val) bfin_write16(MDMA_D1_X_COUNT, val)
711#define bfin_read_MDMA_D1_X_MODIFY() bfin_read16(MDMA_D1_X_MODIFY)
712#define bfin_write_MDMA_D1_X_MODIFY(val) bfin_write16(MDMA_D1_X_MODIFY, val)
713#define bfin_read_MDMA_D1_Y_COUNT() bfin_read16(MDMA_D1_Y_COUNT)
714#define bfin_write_MDMA_D1_Y_COUNT(val) bfin_write16(MDMA_D1_Y_COUNT, val)
715#define bfin_read_MDMA_D1_Y_MODIFY() bfin_read16(MDMA_D1_Y_MODIFY)
716#define bfin_write_MDMA_D1_Y_MODIFY(val) bfin_write16(MDMA_D1_Y_MODIFY, val)
717#define bfin_read_MDMA_D1_CURR_DESC_PTR() bfin_readPTR(MDMA_D1_CURR_DESC_PTR)
718#define bfin_write_MDMA_D1_CURR_DESC_PTR(val) bfin_writePTR(MDMA_D1_CURR_DESC_PTR, val)
719#define bfin_read_MDMA_D1_CURR_ADDR() bfin_readPTR(MDMA_D1_CURR_ADDR)
720#define bfin_write_MDMA_D1_CURR_ADDR(val) bfin_writePTR(MDMA_D1_CURR_ADDR, val)
721#define bfin_read_MDMA_D1_IRQ_STATUS() bfin_read16(MDMA_D1_IRQ_STATUS)
722#define bfin_write_MDMA_D1_IRQ_STATUS(val) bfin_write16(MDMA_D1_IRQ_STATUS, val)
723#define bfin_read_MDMA_D1_PERIPHERAL_MAP() bfin_read16(MDMA_D1_PERIPHERAL_MAP)
724#define bfin_write_MDMA_D1_PERIPHERAL_MAP(val) bfin_write16(MDMA_D1_PERIPHERAL_MAP, val)
725#define bfin_read_MDMA_D1_CURR_X_COUNT() bfin_read16(MDMA_D1_CURR_X_COUNT)
726#define bfin_write_MDMA_D1_CURR_X_COUNT(val) bfin_write16(MDMA_D1_CURR_X_COUNT, val)
727#define bfin_read_MDMA_D1_CURR_Y_COUNT() bfin_read16(MDMA_D1_CURR_Y_COUNT)
728#define bfin_write_MDMA_D1_CURR_Y_COUNT(val) bfin_write16(MDMA_D1_CURR_Y_COUNT, val)
729#define bfin_read_PPI_CONTROL() bfin_read16(PPI_CONTROL)
730#define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val)
731#define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS)
732#define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val)
733#define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT)
734#define bfin_write_PPI_COUNT(val) bfin_write16(PPI_COUNT, val)
735#define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY)
736#define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val)
737#define bfin_read_PPI_FRAME() bfin_read16(PPI_FRAME)
738#define bfin_write_PPI_FRAME(val) bfin_write16(PPI_FRAME, val)
739#define bfin_read_TWI_CLKDIV() bfin_read16(TWI_CLKDIV)
740#define bfin_write_TWI_CLKDIV(val) bfin_write16(TWI_CLKDIV, val)
741#define bfin_read_TWI_CONTROL() bfin_read16(TWI_CONTROL)
742#define bfin_write_TWI_CONTROL(val) bfin_write16(TWI_CONTROL, val)
743#define bfin_read_TWI_SLAVE_CTL() bfin_read16(TWI_SLAVE_CTL)
744#define bfin_write_TWI_SLAVE_CTL(val) bfin_write16(TWI_SLAVE_CTL, val)
745#define bfin_read_TWI_SLAVE_STAT() bfin_read16(TWI_SLAVE_STAT)
746#define bfin_write_TWI_SLAVE_STAT(val) bfin_write16(TWI_SLAVE_STAT, val)
747#define bfin_read_TWI_SLAVE_ADDR() bfin_read16(TWI_SLAVE_ADDR)
748#define bfin_write_TWI_SLAVE_ADDR(val) bfin_write16(TWI_SLAVE_ADDR, val)
749#define bfin_read_TWI_MASTER_CTL() bfin_read16(TWI_MASTER_CTL)
750#define bfin_write_TWI_MASTER_CTL(val) bfin_write16(TWI_MASTER_CTL, val)
751#define bfin_read_TWI_MASTER_STAT() bfin_read16(TWI_MASTER_STAT)
752#define bfin_write_TWI_MASTER_STAT(val) bfin_write16(TWI_MASTER_STAT, val)
753#define bfin_read_TWI_MASTER_ADDR() bfin_read16(TWI_MASTER_ADDR)
754#define bfin_write_TWI_MASTER_ADDR(val) bfin_write16(TWI_MASTER_ADDR, val)
755#define bfin_read_TWI_INT_STAT() bfin_read16(TWI_INT_STAT)
756#define bfin_write_TWI_INT_STAT(val) bfin_write16(TWI_INT_STAT, val)
757#define bfin_read_TWI_INT_MASK() bfin_read16(TWI_INT_MASK)
758#define bfin_write_TWI_INT_MASK(val) bfin_write16(TWI_INT_MASK, val)
759#define bfin_read_TWI_FIFO_CTL() bfin_read16(TWI_FIFO_CTL)
760#define bfin_write_TWI_FIFO_CTL(val) bfin_write16(TWI_FIFO_CTL, val)
761#define bfin_read_TWI_FIFO_STAT() bfin_read16(TWI_FIFO_STAT)
762#define bfin_write_TWI_FIFO_STAT(val) bfin_write16(TWI_FIFO_STAT, val)
763#define bfin_read_TWI_XMT_DATA8() bfin_read16(TWI_XMT_DATA8)
764#define bfin_write_TWI_XMT_DATA8(val) bfin_write16(TWI_XMT_DATA8, val)
765#define bfin_read_TWI_XMT_DATA16() bfin_read16(TWI_XMT_DATA16)
766#define bfin_write_TWI_XMT_DATA16(val) bfin_write16(TWI_XMT_DATA16, val)
767#define bfin_read_TWI_RCV_DATA8() bfin_read16(TWI_RCV_DATA8)
768#define bfin_write_TWI_RCV_DATA8(val) bfin_write16(TWI_RCV_DATA8, val)
769#define bfin_read_TWI_RCV_DATA16() bfin_read16(TWI_RCV_DATA16)
770#define bfin_write_TWI_RCV_DATA16(val) bfin_write16(TWI_RCV_DATA16, val)
771#define bfin_read_PORTGIO() bfin_read16(PORTGIO)
772#define bfin_write_PORTGIO(val) bfin_write16(PORTGIO, val)
773#define bfin_read_PORTGIO_CLEAR() bfin_read16(PORTGIO_CLEAR)
774#define bfin_write_PORTGIO_CLEAR(val) bfin_write16(PORTGIO_CLEAR, val)
775#define bfin_read_PORTGIO_SET() bfin_read16(PORTGIO_SET)
776#define bfin_write_PORTGIO_SET(val) bfin_write16(PORTGIO_SET, val)
777#define bfin_read_PORTGIO_TOGGLE() bfin_read16(PORTGIO_TOGGLE)
778#define bfin_write_PORTGIO_TOGGLE(val) bfin_write16(PORTGIO_TOGGLE, val)
779#define bfin_read_PORTGIO_MASKA() bfin_read16(PORTGIO_MASKA)
780#define bfin_write_PORTGIO_MASKA(val) bfin_write16(PORTGIO_MASKA, val)
781#define bfin_read_PORTGIO_MASKA_CLEAR() bfin_read16(PORTGIO_MASKA_CLEAR)
782#define bfin_write_PORTGIO_MASKA_CLEAR(val) bfin_write16(PORTGIO_MASKA_CLEAR, val)
783#define bfin_read_PORTGIO_MASKA_SET() bfin_read16(PORTGIO_MASKA_SET)
784#define bfin_write_PORTGIO_MASKA_SET(val) bfin_write16(PORTGIO_MASKA_SET, val)
785#define bfin_read_PORTGIO_MASKA_TOGGLE() bfin_read16(PORTGIO_MASKA_TOGGLE)
786#define bfin_write_PORTGIO_MASKA_TOGGLE(val) bfin_write16(PORTGIO_MASKA_TOGGLE, val)
787#define bfin_read_PORTGIO_MASKB() bfin_read16(PORTGIO_MASKB)
788#define bfin_write_PORTGIO_MASKB(val) bfin_write16(PORTGIO_MASKB, val)
789#define bfin_read_PORTGIO_MASKB_CLEAR() bfin_read16(PORTGIO_MASKB_CLEAR)
790#define bfin_write_PORTGIO_MASKB_CLEAR(val) bfin_write16(PORTGIO_MASKB_CLEAR, val)
791#define bfin_read_PORTGIO_MASKB_SET() bfin_read16(PORTGIO_MASKB_SET)
792#define bfin_write_PORTGIO_MASKB_SET(val) bfin_write16(PORTGIO_MASKB_SET, val)
793#define bfin_read_PORTGIO_MASKB_TOGGLE() bfin_read16(PORTGIO_MASKB_TOGGLE)
794#define bfin_write_PORTGIO_MASKB_TOGGLE(val) bfin_write16(PORTGIO_MASKB_TOGGLE, val)
795#define bfin_read_PORTGIO_DIR() bfin_read16(PORTGIO_DIR)
796#define bfin_write_PORTGIO_DIR(val) bfin_write16(PORTGIO_DIR, val)
797#define bfin_read_PORTGIO_POLAR() bfin_read16(PORTGIO_POLAR)
798#define bfin_write_PORTGIO_POLAR(val) bfin_write16(PORTGIO_POLAR, val)
799#define bfin_read_PORTGIO_EDGE() bfin_read16(PORTGIO_EDGE)
800#define bfin_write_PORTGIO_EDGE(val) bfin_write16(PORTGIO_EDGE, val)
801#define bfin_read_PORTGIO_BOTH() bfin_read16(PORTGIO_BOTH)
802#define bfin_write_PORTGIO_BOTH(val) bfin_write16(PORTGIO_BOTH, val)
803#define bfin_read_PORTGIO_INEN() bfin_read16(PORTGIO_INEN)
804#define bfin_write_PORTGIO_INEN(val) bfin_write16(PORTGIO_INEN, val)
805#define bfin_read_PORTHIO() bfin_read16(PORTHIO)
806#define bfin_write_PORTHIO(val) bfin_write16(PORTHIO, val)
807#define bfin_read_PORTHIO_CLEAR() bfin_read16(PORTHIO_CLEAR)
808#define bfin_write_PORTHIO_CLEAR(val) bfin_write16(PORTHIO_CLEAR, val)
809#define bfin_read_PORTHIO_SET() bfin_read16(PORTHIO_SET)
810#define bfin_write_PORTHIO_SET(val) bfin_write16(PORTHIO_SET, val)
811#define bfin_read_PORTHIO_TOGGLE() bfin_read16(PORTHIO_TOGGLE)
812#define bfin_write_PORTHIO_TOGGLE(val) bfin_write16(PORTHIO_TOGGLE, val)
813#define bfin_read_PORTHIO_MASKA() bfin_read16(PORTHIO_MASKA)
814#define bfin_write_PORTHIO_MASKA(val) bfin_write16(PORTHIO_MASKA, val)
815#define bfin_read_PORTHIO_MASKA_CLEAR() bfin_read16(PORTHIO_MASKA_CLEAR)
816#define bfin_write_PORTHIO_MASKA_CLEAR(val) bfin_write16(PORTHIO_MASKA_CLEAR, val)
817#define bfin_read_PORTHIO_MASKA_SET() bfin_read16(PORTHIO_MASKA_SET)
818#define bfin_write_PORTHIO_MASKA_SET(val) bfin_write16(PORTHIO_MASKA_SET, val)
819#define bfin_read_PORTHIO_MASKA_TOGGLE() bfin_read16(PORTHIO_MASKA_TOGGLE)
820#define bfin_write_PORTHIO_MASKA_TOGGLE(val) bfin_write16(PORTHIO_MASKA_TOGGLE, val)
821#define bfin_read_PORTHIO_MASKB() bfin_read16(PORTHIO_MASKB)
822#define bfin_write_PORTHIO_MASKB(val) bfin_write16(PORTHIO_MASKB, val)
823#define bfin_read_PORTHIO_MASKB_CLEAR() bfin_read16(PORTHIO_MASKB_CLEAR)
824#define bfin_write_PORTHIO_MASKB_CLEAR(val) bfin_write16(PORTHIO_MASKB_CLEAR, val)
825#define bfin_read_PORTHIO_MASKB_SET() bfin_read16(PORTHIO_MASKB_SET)
826#define bfin_write_PORTHIO_MASKB_SET(val) bfin_write16(PORTHIO_MASKB_SET, val)
827#define bfin_read_PORTHIO_MASKB_TOGGLE() bfin_read16(PORTHIO_MASKB_TOGGLE)
828#define bfin_write_PORTHIO_MASKB_TOGGLE(val) bfin_write16(PORTHIO_MASKB_TOGGLE, val)
829#define bfin_read_PORTHIO_DIR() bfin_read16(PORTHIO_DIR)
830#define bfin_write_PORTHIO_DIR(val) bfin_write16(PORTHIO_DIR, val)
831#define bfin_read_PORTHIO_POLAR() bfin_read16(PORTHIO_POLAR)
832#define bfin_write_PORTHIO_POLAR(val) bfin_write16(PORTHIO_POLAR, val)
833#define bfin_read_PORTHIO_EDGE() bfin_read16(PORTHIO_EDGE)
834#define bfin_write_PORTHIO_EDGE(val) bfin_write16(PORTHIO_EDGE, val)
835#define bfin_read_PORTHIO_BOTH() bfin_read16(PORTHIO_BOTH)
836#define bfin_write_PORTHIO_BOTH(val) bfin_write16(PORTHIO_BOTH, val)
837#define bfin_read_PORTHIO_INEN() bfin_read16(PORTHIO_INEN)
838#define bfin_write_PORTHIO_INEN(val) bfin_write16(PORTHIO_INEN, val)
839#define bfin_read_UART1_THR() bfin_read16(UART1_THR)
840#define bfin_write_UART1_THR(val) bfin_write16(UART1_THR, val)
841#define bfin_read_UART1_RBR() bfin_read16(UART1_RBR)
842#define bfin_write_UART1_RBR(val) bfin_write16(UART1_RBR, val)
843#define bfin_read_UART1_DLL() bfin_read16(UART1_DLL)
844#define bfin_write_UART1_DLL(val) bfin_write16(UART1_DLL, val)
845#define bfin_read_UART1_IER() bfin_read16(UART1_IER)
846#define bfin_write_UART1_IER(val) bfin_write16(UART1_IER, val)
847#define bfin_read_UART1_DLH() bfin_read16(UART1_DLH)
848#define bfin_write_UART1_DLH(val) bfin_write16(UART1_DLH, val)
849#define bfin_read_UART1_IIR() bfin_read16(UART1_IIR)
850#define bfin_write_UART1_IIR(val) bfin_write16(UART1_IIR, val)
851#define bfin_read_UART1_LCR() bfin_read16(UART1_LCR)
852#define bfin_write_UART1_LCR(val) bfin_write16(UART1_LCR, val)
853#define bfin_read_UART1_MCR() bfin_read16(UART1_MCR)
854#define bfin_write_UART1_MCR(val) bfin_write16(UART1_MCR, val)
855#define bfin_read_UART1_LSR() bfin_read16(UART1_LSR)
856#define bfin_write_UART1_LSR(val) bfin_write16(UART1_LSR, val)
857#define bfin_read_UART1_MSR() bfin_read16(UART1_MSR)
858#define bfin_write_UART1_MSR(val) bfin_write16(UART1_MSR, val)
859#define bfin_read_UART1_SCR() bfin_read16(UART1_SCR)
860#define bfin_write_UART1_SCR(val) bfin_write16(UART1_SCR, val)
861#define bfin_read_UART1_GCTL() bfin_read16(UART1_GCTL)
862#define bfin_write_UART1_GCTL(val) bfin_write16(UART1_GCTL, val)
863#define bfin_read_PORTF_FER() bfin_read16(PORTF_FER)
864#define bfin_write_PORTF_FER(val) bfin_write16(PORTF_FER, val)
865#define bfin_read_PORTG_FER() bfin_read16(PORTG_FER)
866#define bfin_write_PORTG_FER(val) bfin_write16(PORTG_FER, val)
867#define bfin_read_PORTH_FER() bfin_read16(PORTH_FER)
868#define bfin_write_PORTH_FER(val) bfin_write16(PORTH_FER, val)
869#define bfin_read_HMDMA0_CONTROL() bfin_read16(HMDMA0_CONTROL)
870#define bfin_write_HMDMA0_CONTROL(val) bfin_write16(HMDMA0_CONTROL, val)
871#define bfin_read_HMDMA0_ECINIT() bfin_read16(HMDMA0_ECINIT)
872#define bfin_write_HMDMA0_ECINIT(val) bfin_write16(HMDMA0_ECINIT, val)
873#define bfin_read_HMDMA0_BCINIT() bfin_read16(HMDMA0_BCINIT)
874#define bfin_write_HMDMA0_BCINIT(val) bfin_write16(HMDMA0_BCINIT, val)
875#define bfin_read_HMDMA0_ECURGENT() bfin_read16(HMDMA0_ECURGENT)
876#define bfin_write_HMDMA0_ECURGENT(val) bfin_write16(HMDMA0_ECURGENT, val)
877#define bfin_read_HMDMA0_ECOVERFLOW() bfin_read16(HMDMA0_ECOVERFLOW)
878#define bfin_write_HMDMA0_ECOVERFLOW(val) bfin_write16(HMDMA0_ECOVERFLOW, val)
879#define bfin_read_HMDMA0_ECOUNT() bfin_read16(HMDMA0_ECOUNT)
880#define bfin_write_HMDMA0_ECOUNT(val) bfin_write16(HMDMA0_ECOUNT, val)
881#define bfin_read_HMDMA0_BCOUNT() bfin_read16(HMDMA0_BCOUNT)
882#define bfin_write_HMDMA0_BCOUNT(val) bfin_write16(HMDMA0_BCOUNT, val)
883#define bfin_read_HMDMA1_CONTROL() bfin_read16(HMDMA1_CONTROL)
884#define bfin_write_HMDMA1_CONTROL(val) bfin_write16(HMDMA1_CONTROL, val)
885#define bfin_read_HMDMA1_ECINIT() bfin_read16(HMDMA1_ECINIT)
886#define bfin_write_HMDMA1_ECINIT(val) bfin_write16(HMDMA1_ECINIT, val)
887#define bfin_read_HMDMA1_BCINIT() bfin_read16(HMDMA1_BCINIT)
888#define bfin_write_HMDMA1_BCINIT(val) bfin_write16(HMDMA1_BCINIT, val)
889#define bfin_read_HMDMA1_ECURGENT() bfin_read16(HMDMA1_ECURGENT)
890#define bfin_write_HMDMA1_ECURGENT(val) bfin_write16(HMDMA1_ECURGENT, val)
891#define bfin_read_HMDMA1_ECOVERFLOW() bfin_read16(HMDMA1_ECOVERFLOW)
892#define bfin_write_HMDMA1_ECOVERFLOW(val) bfin_write16(HMDMA1_ECOVERFLOW, val)
893#define bfin_read_HMDMA1_ECOUNT() bfin_read16(HMDMA1_ECOUNT)
894#define bfin_write_HMDMA1_ECOUNT(val) bfin_write16(HMDMA1_ECOUNT, val)
895#define bfin_read_HMDMA1_BCOUNT() bfin_read16(HMDMA1_BCOUNT)
896#define bfin_write_HMDMA1_BCOUNT(val) bfin_write16(HMDMA1_BCOUNT, val)
897#define bfin_read_PORTF_MUX() bfin_read16(PORTF_MUX)
898#define bfin_write_PORTF_MUX(val) bfin_write16(PORTF_MUX, val)
899#define bfin_read_PORTG_MUX() bfin_read16(PORTG_MUX)
900#define bfin_write_PORTG_MUX(val) bfin_write16(PORTG_MUX, val)
901#define bfin_read_PORTH_MUX() bfin_read16(PORTH_MUX)
902#define bfin_write_PORTH_MUX(val) bfin_write16(PORTH_MUX, val)
903#define bfin_read_PORTF_DRIVE() bfin_read16(PORTF_DRIVE)
904#define bfin_write_PORTF_DRIVE(val) bfin_write16(PORTF_DRIVE, val)
905#define bfin_read_PORTG_DRIVE() bfin_read16(PORTG_DRIVE)
906#define bfin_write_PORTG_DRIVE(val) bfin_write16(PORTG_DRIVE, val)
907#define bfin_read_PORTH_DRIVE() bfin_read16(PORTH_DRIVE)
908#define bfin_write_PORTH_DRIVE(val) bfin_write16(PORTH_DRIVE, val)
909#define bfin_read_PORTF_HYSTERESIS() bfin_read16(PORTF_HYSTERESIS)
910#define bfin_write_PORTF_HYSTERESIS(val) bfin_write16(PORTF_HYSTERESIS, val)
911#define bfin_read_PORTG_HYSTERESIS() bfin_read16(PORTG_HYSTERESIS)
912#define bfin_write_PORTG_HYSTERESIS(val) bfin_write16(PORTG_HYSTERESIS, val)
913#define bfin_read_PORTH_HYSTERESIS() bfin_read16(PORTH_HYSTERESIS)
914#define bfin_write_PORTH_HYSTERESIS(val) bfin_write16(PORTH_HYSTERESIS, val)
915#define bfin_read_NONGPIO_DRIVE() bfin_read16(NONGPIO_DRIVE)
916#define bfin_write_NONGPIO_DRIVE(val) bfin_write16(NONGPIO_DRIVE, val)
917#define bfin_read_NONGPIO_HYSTERESIS() bfin_read16(NONGPIO_HYSTERESIS)
918#define bfin_write_NONGPIO_HYSTERESIS(val) bfin_write16(NONGPIO_HYSTERESIS, val)
919#define bfin_read_CNT_CONFIG() bfin_read16(CNT_CONFIG)
920#define bfin_write_CNT_CONFIG(val) bfin_write16(CNT_CONFIG, val)
921#define bfin_read_CNT_IMASK() bfin_read16(CNT_IMASK)
922#define bfin_write_CNT_IMASK(val) bfin_write16(CNT_IMASK, val)
923#define bfin_read_CNT_STATUS() bfin_read16(CNT_STATUS)
924#define bfin_write_CNT_STATUS(val) bfin_write16(CNT_STATUS, val)
925#define bfin_read_CNT_COMMAND() bfin_read16(CNT_COMMAND)
926#define bfin_write_CNT_COMMAND(val) bfin_write16(CNT_COMMAND, val)
927#define bfin_read_CNT_DEBOUNCE() bfin_read16(CNT_DEBOUNCE)
928#define bfin_write_CNT_DEBOUNCE(val) bfin_write16(CNT_DEBOUNCE, val)
929#define bfin_read_CNT_COUNTER() bfin_read32(CNT_COUNTER)
930#define bfin_write_CNT_COUNTER(val) bfin_write32(CNT_COUNTER, val)
931#define bfin_read_CNT_MAX() bfin_read32(CNT_MAX)
932#define bfin_write_CNT_MAX(val) bfin_write32(CNT_MAX, val)
933#define bfin_read_CNT_MIN() bfin_read32(CNT_MIN)
934#define bfin_write_CNT_MIN(val) bfin_write32(CNT_MIN, val)
935#define bfin_read_SECURE_SYSSWT() bfin_read32(SECURE_SYSSWT)
936#define bfin_write_SECURE_SYSSWT(val) bfin_write32(SECURE_SYSSWT, val)
937#define bfin_read_SECURE_CONTROL() bfin_read16(SECURE_CONTROL)
938#define bfin_write_SECURE_CONTROL(val) bfin_write16(SECURE_CONTROL, val)
939#define bfin_read_SECURE_STATUS() bfin_read16(SECURE_STATUS)
940#define bfin_write_SECURE_STATUS(val) bfin_write16(SECURE_STATUS, val)
941#define bfin_read_OTP_DATA0() bfin_read32(OTP_DATA0)
942#define bfin_write_OTP_DATA0(val) bfin_write32(OTP_DATA0, val)
943#define bfin_read_OTP_DATA1() bfin_read32(OTP_DATA1)
944#define bfin_write_OTP_DATA1(val) bfin_write32(OTP_DATA1, val)
945#define bfin_read_OTP_DATA2() bfin_read32(OTP_DATA2)
946#define bfin_write_OTP_DATA2(val) bfin_write32(OTP_DATA2, val)
947#define bfin_read_OTP_DATA3() bfin_read32(OTP_DATA3)
948#define bfin_write_OTP_DATA3(val) bfin_write32(OTP_DATA3, val)
949#define bfin_read_PWM_CTRL() bfin_read16(PWM_CTRL)
950#define bfin_write_PWM_CTRL(val) bfin_write16(PWM_CTRL, val)
951#define bfin_read_PWM_STAT() bfin_read16(PWM_STAT)
952#define bfin_write_PWM_STAT(val) bfin_write16(PWM_STAT, val)
953#define bfin_read_PWM_TM() bfin_read16(PWM_TM)
954#define bfin_write_PWM_TM(val) bfin_write16(PWM_TM, val)
955#define bfin_read_PWM_DT() bfin_read16(PWM_DT)
956#define bfin_write_PWM_DT(val) bfin_write16(PWM_DT, val)
957#define bfin_read_PWM_GATE() bfin_read16(PWM_GATE)
958#define bfin_write_PWM_GATE(val) bfin_write16(PWM_GATE, val)
959#define bfin_read_PWM_CHA() bfin_read16(PWM_CHA)
960#define bfin_write_PWM_CHA(val) bfin_write16(PWM_CHA, val)
961#define bfin_read_PWM_CHB() bfin_read16(PWM_CHB)
962#define bfin_write_PWM_CHB(val) bfin_write16(PWM_CHB, val)
963#define bfin_read_PWM_CHC() bfin_read16(PWM_CHC)
964#define bfin_write_PWM_CHC(val) bfin_write16(PWM_CHC, val)
965#define bfin_read_PWM_SEG() bfin_read16(PWM_SEG)
966#define bfin_write_PWM_SEG(val) bfin_write16(PWM_SEG, val)
967#define bfin_read_PWM_SYNCWT() bfin_read16(PWM_SYNCWT)
968#define bfin_write_PWM_SYNCWT(val) bfin_write16(PWM_SYNCWT, val)
969#define bfin_read_PWM_CHAL() bfin_read16(PWM_CHAL)
970#define bfin_write_PWM_CHAL(val) bfin_write16(PWM_CHAL, val)
971#define bfin_read_PWM_CHBL() bfin_read16(PWM_CHBL)
972#define bfin_write_PWM_CHBL(val) bfin_write16(PWM_CHBL, val)
973#define bfin_read_PWM_CHCL() bfin_read16(PWM_CHCL)
974#define bfin_write_PWM_CHCL(val) bfin_write16(PWM_CHCL, val)
975#define bfin_read_PWM_LSI() bfin_read16(PWM_LSI)
976#define bfin_write_PWM_LSI(val) bfin_write16(PWM_LSI, val)
977#define bfin_read_PWM_STAT2() bfin_read16(PWM_STAT2)
978#define bfin_write_PWM_STAT2(val) bfin_write16(PWM_STAT2, val)
979#define bfin_read_DMA_TC_CNT() bfin_read16(DMA_TC_CNT)
980#define bfin_write_DMA_TC_CNT(val) bfin_write16(DMA_TC_CNT, val)
981#define bfin_read_DMA_TC_PER() bfin_read16(DMA_TC_PER)
982#define bfin_write_DMA_TC_PER(val) bfin_write16(DMA_TC_PER, val)
983#define bfin_read_PLL_CTL() bfin_read16(PLL_CTL)
984#define bfin_write_PLL_CTL(val) bfin_write16(PLL_CTL, val)
985#define bfin_read_PLL_DIV() bfin_read16(PLL_DIV)
986#define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val)
987#define bfin_read_VR_CTL() bfin_read16(VR_CTL)
988#define bfin_write_VR_CTL(val) bfin_write16(VR_CTL, val)
989#define bfin_read_PLL_STAT() bfin_read16(PLL_STAT)
990#define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val)
991#define bfin_read_PLL_LOCKCNT() bfin_read16(PLL_LOCKCNT)
992#define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
993#define bfin_read_CHIPID() bfin_read32(CHIPID)
994#define bfin_write_CHIPID(val) bfin_write32(CHIPID, val)
995#define bfin_read_SWRST() bfin_read16(SWRST)
996#define bfin_write_SWRST(val) bfin_write16(SWRST, val)
997#define bfin_read_SYSCR() bfin_read16(SYSCR)
998#define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
999
1000#endif /* __BFIN_CDEF_ADSP_BF512_proc__ */