blob: 060dce31a2b2353a9c23af96c09eefea5db57147 [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_BF524_proc__
7#define __BFIN_CDEF_ADSP_BF524_proc__
8
Mike Frysinger143d22a2010-12-24 18:28:27 -05009#include "BF522_cdef.h"
Mike Frysinger66c4cf42008-02-04 19:26:55 -050010
Mike Frysinger66c4cf42008-02-04 19:26:55 -050011#define bfin_read_USB_FADDR() bfin_read16(USB_FADDR)
12#define bfin_write_USB_FADDR(val) bfin_write16(USB_FADDR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050013#define bfin_read_USB_POWER() bfin_read16(USB_POWER)
14#define bfin_write_USB_POWER(val) bfin_write16(USB_POWER, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050015#define bfin_read_USB_INTRTX() bfin_read16(USB_INTRTX)
16#define bfin_write_USB_INTRTX(val) bfin_write16(USB_INTRTX, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050017#define bfin_read_USB_INTRRX() bfin_read16(USB_INTRRX)
18#define bfin_write_USB_INTRRX(val) bfin_write16(USB_INTRRX, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050019#define bfin_read_USB_INTRTXE() bfin_read16(USB_INTRTXE)
20#define bfin_write_USB_INTRTXE(val) bfin_write16(USB_INTRTXE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050021#define bfin_read_USB_INTRRXE() bfin_read16(USB_INTRRXE)
22#define bfin_write_USB_INTRRXE(val) bfin_write16(USB_INTRRXE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050023#define bfin_read_USB_INTRUSB() bfin_read16(USB_INTRUSB)
24#define bfin_write_USB_INTRUSB(val) bfin_write16(USB_INTRUSB, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050025#define bfin_read_USB_INTRUSBE() bfin_read16(USB_INTRUSBE)
26#define bfin_write_USB_INTRUSBE(val) bfin_write16(USB_INTRUSBE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050027#define bfin_read_USB_FRAME() bfin_read16(USB_FRAME)
28#define bfin_write_USB_FRAME(val) bfin_write16(USB_FRAME, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050029#define bfin_read_USB_INDEX() bfin_read16(USB_INDEX)
30#define bfin_write_USB_INDEX(val) bfin_write16(USB_INDEX, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050031#define bfin_read_USB_TESTMODE() bfin_read16(USB_TESTMODE)
32#define bfin_write_USB_TESTMODE(val) bfin_write16(USB_TESTMODE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050033#define bfin_read_USB_GLOBINTR() bfin_read16(USB_GLOBINTR)
34#define bfin_write_USB_GLOBINTR(val) bfin_write16(USB_GLOBINTR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050035#define bfin_read_USB_GLOBAL_CTL() bfin_read16(USB_GLOBAL_CTL)
36#define bfin_write_USB_GLOBAL_CTL(val) bfin_write16(USB_GLOBAL_CTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050037#define bfin_read_USB_TX_MAX_PACKET() bfin_read16(USB_TX_MAX_PACKET)
38#define bfin_write_USB_TX_MAX_PACKET(val) bfin_write16(USB_TX_MAX_PACKET, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050039#define bfin_read_USB_CSR0() bfin_read16(USB_CSR0)
40#define bfin_write_USB_CSR0(val) bfin_write16(USB_CSR0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050041#define bfin_read_USB_TXCSR() bfin_read16(USB_TXCSR)
42#define bfin_write_USB_TXCSR(val) bfin_write16(USB_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050043#define bfin_read_USB_RX_MAX_PACKET() bfin_read16(USB_RX_MAX_PACKET)
44#define bfin_write_USB_RX_MAX_PACKET(val) bfin_write16(USB_RX_MAX_PACKET, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050045#define bfin_read_USB_RXCSR() bfin_read16(USB_RXCSR)
46#define bfin_write_USB_RXCSR(val) bfin_write16(USB_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050047#define bfin_read_USB_COUNT0() bfin_read16(USB_COUNT0)
48#define bfin_write_USB_COUNT0(val) bfin_write16(USB_COUNT0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050049#define bfin_read_USB_RXCOUNT() bfin_read16(USB_RXCOUNT)
50#define bfin_write_USB_RXCOUNT(val) bfin_write16(USB_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050051#define bfin_read_USB_TXTYPE() bfin_read16(USB_TXTYPE)
52#define bfin_write_USB_TXTYPE(val) bfin_write16(USB_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050053#define bfin_read_USB_NAKLIMIT0() bfin_read16(USB_NAKLIMIT0)
54#define bfin_write_USB_NAKLIMIT0(val) bfin_write16(USB_NAKLIMIT0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050055#define bfin_read_USB_TXINTERVAL() bfin_read16(USB_TXINTERVAL)
56#define bfin_write_USB_TXINTERVAL(val) bfin_write16(USB_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050057#define bfin_read_USB_RXTYPE() bfin_read16(USB_RXTYPE)
58#define bfin_write_USB_RXTYPE(val) bfin_write16(USB_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050059#define bfin_read_USB_RXINTERVAL() bfin_read16(USB_RXINTERVAL)
60#define bfin_write_USB_RXINTERVAL(val) bfin_write16(USB_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050061#define bfin_read_USB_TXCOUNT() bfin_read16(USB_TXCOUNT)
62#define bfin_write_USB_TXCOUNT(val) bfin_write16(USB_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050063#define bfin_read_USB_EP0_FIFO() bfin_read16(USB_EP0_FIFO)
64#define bfin_write_USB_EP0_FIFO(val) bfin_write16(USB_EP0_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050065#define bfin_read_USB_EP1_FIFO() bfin_read16(USB_EP1_FIFO)
66#define bfin_write_USB_EP1_FIFO(val) bfin_write16(USB_EP1_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050067#define bfin_read_USB_EP2_FIFO() bfin_read16(USB_EP2_FIFO)
68#define bfin_write_USB_EP2_FIFO(val) bfin_write16(USB_EP2_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050069#define bfin_read_USB_EP3_FIFO() bfin_read16(USB_EP3_FIFO)
70#define bfin_write_USB_EP3_FIFO(val) bfin_write16(USB_EP3_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050071#define bfin_read_USB_EP4_FIFO() bfin_read16(USB_EP4_FIFO)
72#define bfin_write_USB_EP4_FIFO(val) bfin_write16(USB_EP4_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050073#define bfin_read_USB_EP5_FIFO() bfin_read16(USB_EP5_FIFO)
74#define bfin_write_USB_EP5_FIFO(val) bfin_write16(USB_EP5_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050075#define bfin_read_USB_EP6_FIFO() bfin_read16(USB_EP6_FIFO)
76#define bfin_write_USB_EP6_FIFO(val) bfin_write16(USB_EP6_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050077#define bfin_read_USB_EP7_FIFO() bfin_read16(USB_EP7_FIFO)
78#define bfin_write_USB_EP7_FIFO(val) bfin_write16(USB_EP7_FIFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050079#define bfin_read_USB_OTG_DEV_CTL() bfin_read16(USB_OTG_DEV_CTL)
80#define bfin_write_USB_OTG_DEV_CTL(val) bfin_write16(USB_OTG_DEV_CTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050081#define bfin_read_USB_OTG_VBUS_IRQ() bfin_read16(USB_OTG_VBUS_IRQ)
82#define bfin_write_USB_OTG_VBUS_IRQ(val) bfin_write16(USB_OTG_VBUS_IRQ, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050083#define bfin_read_USB_OTG_VBUS_MASK() bfin_read16(USB_OTG_VBUS_MASK)
84#define bfin_write_USB_OTG_VBUS_MASK(val) bfin_write16(USB_OTG_VBUS_MASK, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050085#define bfin_read_USB_LINKINFO() bfin_read16(USB_LINKINFO)
86#define bfin_write_USB_LINKINFO(val) bfin_write16(USB_LINKINFO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050087#define bfin_read_USB_VPLEN() bfin_read16(USB_VPLEN)
88#define bfin_write_USB_VPLEN(val) bfin_write16(USB_VPLEN, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050089#define bfin_read_USB_HS_EOF1() bfin_read16(USB_HS_EOF1)
90#define bfin_write_USB_HS_EOF1(val) bfin_write16(USB_HS_EOF1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050091#define bfin_read_USB_FS_EOF1() bfin_read16(USB_FS_EOF1)
92#define bfin_write_USB_FS_EOF1(val) bfin_write16(USB_FS_EOF1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050093#define bfin_read_USB_LS_EOF1() bfin_read16(USB_LS_EOF1)
94#define bfin_write_USB_LS_EOF1(val) bfin_write16(USB_LS_EOF1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050095#define bfin_read_USB_APHY_CNTRL() bfin_read16(USB_APHY_CNTRL)
96#define bfin_write_USB_APHY_CNTRL(val) bfin_write16(USB_APHY_CNTRL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050097#define bfin_read_USB_APHY_CALIB() bfin_read16(USB_APHY_CALIB)
98#define bfin_write_USB_APHY_CALIB(val) bfin_write16(USB_APHY_CALIB, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050099#define bfin_read_USB_APHY_CNTRL2() bfin_read16(USB_APHY_CNTRL2)
100#define bfin_write_USB_APHY_CNTRL2(val) bfin_write16(USB_APHY_CNTRL2, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500101#define bfin_read_USB_PHY_TEST() bfin_read16(USB_PHY_TEST)
102#define bfin_write_USB_PHY_TEST(val) bfin_write16(USB_PHY_TEST, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500103#define bfin_read_USB_PLLOSC_CTRL() bfin_read16(USB_PLLOSC_CTRL)
104#define bfin_write_USB_PLLOSC_CTRL(val) bfin_write16(USB_PLLOSC_CTRL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500105#define bfin_read_USB_SRP_CLKDIV() bfin_read16(USB_SRP_CLKDIV)
106#define bfin_write_USB_SRP_CLKDIV(val) bfin_write16(USB_SRP_CLKDIV, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500107#define bfin_read_USB_EP_NI0_TXMAXP() bfin_read16(USB_EP_NI0_TXMAXP)
108#define bfin_write_USB_EP_NI0_TXMAXP(val) bfin_write16(USB_EP_NI0_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500109#define bfin_read_USB_EP_NI0_TXCSR() bfin_read16(USB_EP_NI0_TXCSR)
110#define bfin_write_USB_EP_NI0_TXCSR(val) bfin_write16(USB_EP_NI0_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500111#define bfin_read_USB_EP_NI0_RXMAXP() bfin_read16(USB_EP_NI0_RXMAXP)
112#define bfin_write_USB_EP_NI0_RXMAXP(val) bfin_write16(USB_EP_NI0_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500113#define bfin_read_USB_EP_NI0_RXCSR() bfin_read16(USB_EP_NI0_RXCSR)
114#define bfin_write_USB_EP_NI0_RXCSR(val) bfin_write16(USB_EP_NI0_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500115#define bfin_read_USB_EP_NI0_RXCOUNT() bfin_read16(USB_EP_NI0_RXCOUNT)
116#define bfin_write_USB_EP_NI0_RXCOUNT(val) bfin_write16(USB_EP_NI0_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500117#define bfin_read_USB_EP_NI0_TXTYPE() bfin_read16(USB_EP_NI0_TXTYPE)
118#define bfin_write_USB_EP_NI0_TXTYPE(val) bfin_write16(USB_EP_NI0_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500119#define bfin_read_USB_EP_NI0_TXINTERVAL() bfin_read16(USB_EP_NI0_TXINTERVAL)
120#define bfin_write_USB_EP_NI0_TXINTERVAL(val) bfin_write16(USB_EP_NI0_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500121#define bfin_read_USB_EP_NI0_RXTYPE() bfin_read16(USB_EP_NI0_RXTYPE)
122#define bfin_write_USB_EP_NI0_RXTYPE(val) bfin_write16(USB_EP_NI0_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500123#define bfin_read_USB_EP_NI0_RXINTERVAL() bfin_read16(USB_EP_NI0_RXINTERVAL)
124#define bfin_write_USB_EP_NI0_RXINTERVAL(val) bfin_write16(USB_EP_NI0_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500125#define bfin_read_USB_EP_NI0_TXCOUNT() bfin_read16(USB_EP_NI0_TXCOUNT)
126#define bfin_write_USB_EP_NI0_TXCOUNT(val) bfin_write16(USB_EP_NI0_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500127#define bfin_read_USB_EP_NI1_TXMAXP() bfin_read16(USB_EP_NI1_TXMAXP)
128#define bfin_write_USB_EP_NI1_TXMAXP(val) bfin_write16(USB_EP_NI1_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500129#define bfin_read_USB_EP_NI1_TXCSR() bfin_read16(USB_EP_NI1_TXCSR)
130#define bfin_write_USB_EP_NI1_TXCSR(val) bfin_write16(USB_EP_NI1_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500131#define bfin_read_USB_EP_NI1_RXMAXP() bfin_read16(USB_EP_NI1_RXMAXP)
132#define bfin_write_USB_EP_NI1_RXMAXP(val) bfin_write16(USB_EP_NI1_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500133#define bfin_read_USB_EP_NI1_RXCSR() bfin_read16(USB_EP_NI1_RXCSR)
134#define bfin_write_USB_EP_NI1_RXCSR(val) bfin_write16(USB_EP_NI1_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500135#define bfin_read_USB_EP_NI1_RXCOUNT() bfin_read16(USB_EP_NI1_RXCOUNT)
136#define bfin_write_USB_EP_NI1_RXCOUNT(val) bfin_write16(USB_EP_NI1_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500137#define bfin_read_USB_EP_NI1_TXTYPE() bfin_read16(USB_EP_NI1_TXTYPE)
138#define bfin_write_USB_EP_NI1_TXTYPE(val) bfin_write16(USB_EP_NI1_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500139#define bfin_read_USB_EP_NI1_TXINTERVAL() bfin_read16(USB_EP_NI1_TXINTERVAL)
140#define bfin_write_USB_EP_NI1_TXINTERVAL(val) bfin_write16(USB_EP_NI1_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500141#define bfin_read_USB_EP_NI1_RXTYPE() bfin_read16(USB_EP_NI1_RXTYPE)
142#define bfin_write_USB_EP_NI1_RXTYPE(val) bfin_write16(USB_EP_NI1_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500143#define bfin_read_USB_EP_NI1_RXINTERVAL() bfin_read16(USB_EP_NI1_RXINTERVAL)
144#define bfin_write_USB_EP_NI1_RXINTERVAL(val) bfin_write16(USB_EP_NI1_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500145#define bfin_read_USB_EP_NI1_TXCOUNT() bfin_read16(USB_EP_NI1_TXCOUNT)
146#define bfin_write_USB_EP_NI1_TXCOUNT(val) bfin_write16(USB_EP_NI1_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500147#define bfin_read_USB_EP_NI2_TXMAXP() bfin_read16(USB_EP_NI2_TXMAXP)
148#define bfin_write_USB_EP_NI2_TXMAXP(val) bfin_write16(USB_EP_NI2_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500149#define bfin_read_USB_EP_NI2_TXCSR() bfin_read16(USB_EP_NI2_TXCSR)
150#define bfin_write_USB_EP_NI2_TXCSR(val) bfin_write16(USB_EP_NI2_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500151#define bfin_read_USB_EP_NI2_RXMAXP() bfin_read16(USB_EP_NI2_RXMAXP)
152#define bfin_write_USB_EP_NI2_RXMAXP(val) bfin_write16(USB_EP_NI2_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500153#define bfin_read_USB_EP_NI2_RXCSR() bfin_read16(USB_EP_NI2_RXCSR)
154#define bfin_write_USB_EP_NI2_RXCSR(val) bfin_write16(USB_EP_NI2_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500155#define bfin_read_USB_EP_NI2_RXCOUNT() bfin_read16(USB_EP_NI2_RXCOUNT)
156#define bfin_write_USB_EP_NI2_RXCOUNT(val) bfin_write16(USB_EP_NI2_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500157#define bfin_read_USB_EP_NI2_TXTYPE() bfin_read16(USB_EP_NI2_TXTYPE)
158#define bfin_write_USB_EP_NI2_TXTYPE(val) bfin_write16(USB_EP_NI2_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500159#define bfin_read_USB_EP_NI2_TXINTERVAL() bfin_read16(USB_EP_NI2_TXINTERVAL)
160#define bfin_write_USB_EP_NI2_TXINTERVAL(val) bfin_write16(USB_EP_NI2_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500161#define bfin_read_USB_EP_NI2_RXTYPE() bfin_read16(USB_EP_NI2_RXTYPE)
162#define bfin_write_USB_EP_NI2_RXTYPE(val) bfin_write16(USB_EP_NI2_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500163#define bfin_read_USB_EP_NI2_RXINTERVAL() bfin_read16(USB_EP_NI2_RXINTERVAL)
164#define bfin_write_USB_EP_NI2_RXINTERVAL(val) bfin_write16(USB_EP_NI2_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500165#define bfin_read_USB_EP_NI2_TXCOUNT() bfin_read16(USB_EP_NI2_TXCOUNT)
166#define bfin_write_USB_EP_NI2_TXCOUNT(val) bfin_write16(USB_EP_NI2_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500167#define bfin_read_USB_EP_NI3_TXMAXP() bfin_read16(USB_EP_NI3_TXMAXP)
168#define bfin_write_USB_EP_NI3_TXMAXP(val) bfin_write16(USB_EP_NI3_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500169#define bfin_read_USB_EP_NI3_TXCSR() bfin_read16(USB_EP_NI3_TXCSR)
170#define bfin_write_USB_EP_NI3_TXCSR(val) bfin_write16(USB_EP_NI3_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500171#define bfin_read_USB_EP_NI3_RXMAXP() bfin_read16(USB_EP_NI3_RXMAXP)
172#define bfin_write_USB_EP_NI3_RXMAXP(val) bfin_write16(USB_EP_NI3_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500173#define bfin_read_USB_EP_NI3_RXCSR() bfin_read16(USB_EP_NI3_RXCSR)
174#define bfin_write_USB_EP_NI3_RXCSR(val) bfin_write16(USB_EP_NI3_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500175#define bfin_read_USB_EP_NI3_RXCOUNT() bfin_read16(USB_EP_NI3_RXCOUNT)
176#define bfin_write_USB_EP_NI3_RXCOUNT(val) bfin_write16(USB_EP_NI3_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500177#define bfin_read_USB_EP_NI3_TXTYPE() bfin_read16(USB_EP_NI3_TXTYPE)
178#define bfin_write_USB_EP_NI3_TXTYPE(val) bfin_write16(USB_EP_NI3_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500179#define bfin_read_USB_EP_NI3_TXINTERVAL() bfin_read16(USB_EP_NI3_TXINTERVAL)
180#define bfin_write_USB_EP_NI3_TXINTERVAL(val) bfin_write16(USB_EP_NI3_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500181#define bfin_read_USB_EP_NI3_RXTYPE() bfin_read16(USB_EP_NI3_RXTYPE)
182#define bfin_write_USB_EP_NI3_RXTYPE(val) bfin_write16(USB_EP_NI3_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500183#define bfin_read_USB_EP_NI3_RXINTERVAL() bfin_read16(USB_EP_NI3_RXINTERVAL)
184#define bfin_write_USB_EP_NI3_RXINTERVAL(val) bfin_write16(USB_EP_NI3_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500185#define bfin_read_USB_EP_NI3_TXCOUNT() bfin_read16(USB_EP_NI3_TXCOUNT)
186#define bfin_write_USB_EP_NI3_TXCOUNT(val) bfin_write16(USB_EP_NI3_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500187#define bfin_read_USB_EP_NI4_TXMAXP() bfin_read16(USB_EP_NI4_TXMAXP)
188#define bfin_write_USB_EP_NI4_TXMAXP(val) bfin_write16(USB_EP_NI4_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500189#define bfin_read_USB_EP_NI4_TXCSR() bfin_read16(USB_EP_NI4_TXCSR)
190#define bfin_write_USB_EP_NI4_TXCSR(val) bfin_write16(USB_EP_NI4_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500191#define bfin_read_USB_EP_NI4_RXMAXP() bfin_read16(USB_EP_NI4_RXMAXP)
192#define bfin_write_USB_EP_NI4_RXMAXP(val) bfin_write16(USB_EP_NI4_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500193#define bfin_read_USB_EP_NI4_RXCSR() bfin_read16(USB_EP_NI4_RXCSR)
194#define bfin_write_USB_EP_NI4_RXCSR(val) bfin_write16(USB_EP_NI4_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500195#define bfin_read_USB_EP_NI4_RXCOUNT() bfin_read16(USB_EP_NI4_RXCOUNT)
196#define bfin_write_USB_EP_NI4_RXCOUNT(val) bfin_write16(USB_EP_NI4_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500197#define bfin_read_USB_EP_NI4_TXTYPE() bfin_read16(USB_EP_NI4_TXTYPE)
198#define bfin_write_USB_EP_NI4_TXTYPE(val) bfin_write16(USB_EP_NI4_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500199#define bfin_read_USB_EP_NI4_TXINTERVAL() bfin_read16(USB_EP_NI4_TXINTERVAL)
200#define bfin_write_USB_EP_NI4_TXINTERVAL(val) bfin_write16(USB_EP_NI4_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500201#define bfin_read_USB_EP_NI4_RXTYPE() bfin_read16(USB_EP_NI4_RXTYPE)
202#define bfin_write_USB_EP_NI4_RXTYPE(val) bfin_write16(USB_EP_NI4_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500203#define bfin_read_USB_EP_NI4_RXINTERVAL() bfin_read16(USB_EP_NI4_RXINTERVAL)
204#define bfin_write_USB_EP_NI4_RXINTERVAL(val) bfin_write16(USB_EP_NI4_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500205#define bfin_read_USB_EP_NI4_TXCOUNT() bfin_read16(USB_EP_NI4_TXCOUNT)
206#define bfin_write_USB_EP_NI4_TXCOUNT(val) bfin_write16(USB_EP_NI4_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500207#define bfin_read_USB_EP_NI5_TXMAXP() bfin_read16(USB_EP_NI5_TXMAXP)
208#define bfin_write_USB_EP_NI5_TXMAXP(val) bfin_write16(USB_EP_NI5_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500209#define bfin_read_USB_EP_NI5_TXCSR() bfin_read16(USB_EP_NI5_TXCSR)
210#define bfin_write_USB_EP_NI5_TXCSR(val) bfin_write16(USB_EP_NI5_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500211#define bfin_read_USB_EP_NI5_RXMAXP() bfin_read16(USB_EP_NI5_RXMAXP)
212#define bfin_write_USB_EP_NI5_RXMAXP(val) bfin_write16(USB_EP_NI5_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500213#define bfin_read_USB_EP_NI5_RXCSR() bfin_read16(USB_EP_NI5_RXCSR)
214#define bfin_write_USB_EP_NI5_RXCSR(val) bfin_write16(USB_EP_NI5_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500215#define bfin_read_USB_EP_NI5_RXCOUNT() bfin_read16(USB_EP_NI5_RXCOUNT)
216#define bfin_write_USB_EP_NI5_RXCOUNT(val) bfin_write16(USB_EP_NI5_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500217#define bfin_read_USB_EP_NI5_TXTYPE() bfin_read16(USB_EP_NI5_TXTYPE)
218#define bfin_write_USB_EP_NI5_TXTYPE(val) bfin_write16(USB_EP_NI5_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500219#define bfin_read_USB_EP_NI5_TXINTERVAL() bfin_read16(USB_EP_NI5_TXINTERVAL)
220#define bfin_write_USB_EP_NI5_TXINTERVAL(val) bfin_write16(USB_EP_NI5_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500221#define bfin_read_USB_EP_NI5_RXTYPE() bfin_read16(USB_EP_NI5_RXTYPE)
222#define bfin_write_USB_EP_NI5_RXTYPE(val) bfin_write16(USB_EP_NI5_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500223#define bfin_read_USB_EP_NI5_RXINTERVAL() bfin_read16(USB_EP_NI5_RXINTERVAL)
224#define bfin_write_USB_EP_NI5_RXINTERVAL(val) bfin_write16(USB_EP_NI5_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500225#define bfin_read_USB_EP_NI5_TXCOUNT() bfin_read16(USB_EP_NI5_TXCOUNT)
226#define bfin_write_USB_EP_NI5_TXCOUNT(val) bfin_write16(USB_EP_NI5_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500227#define bfin_read_USB_EP_NI6_TXMAXP() bfin_read16(USB_EP_NI6_TXMAXP)
228#define bfin_write_USB_EP_NI6_TXMAXP(val) bfin_write16(USB_EP_NI6_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500229#define bfin_read_USB_EP_NI6_TXCSR() bfin_read16(USB_EP_NI6_TXCSR)
230#define bfin_write_USB_EP_NI6_TXCSR(val) bfin_write16(USB_EP_NI6_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500231#define bfin_read_USB_EP_NI6_RXMAXP() bfin_read16(USB_EP_NI6_RXMAXP)
232#define bfin_write_USB_EP_NI6_RXMAXP(val) bfin_write16(USB_EP_NI6_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500233#define bfin_read_USB_EP_NI6_RXCSR() bfin_read16(USB_EP_NI6_RXCSR)
234#define bfin_write_USB_EP_NI6_RXCSR(val) bfin_write16(USB_EP_NI6_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500235#define bfin_read_USB_EP_NI6_RXCOUNT() bfin_read16(USB_EP_NI6_RXCOUNT)
236#define bfin_write_USB_EP_NI6_RXCOUNT(val) bfin_write16(USB_EP_NI6_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500237#define bfin_read_USB_EP_NI6_TXTYPE() bfin_read16(USB_EP_NI6_TXTYPE)
238#define bfin_write_USB_EP_NI6_TXTYPE(val) bfin_write16(USB_EP_NI6_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500239#define bfin_read_USB_EP_NI6_TXINTERVAL() bfin_read16(USB_EP_NI6_TXINTERVAL)
240#define bfin_write_USB_EP_NI6_TXINTERVAL(val) bfin_write16(USB_EP_NI6_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500241#define bfin_read_USB_EP_NI6_RXTYPE() bfin_read16(USB_EP_NI6_RXTYPE)
242#define bfin_write_USB_EP_NI6_RXTYPE(val) bfin_write16(USB_EP_NI6_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500243#define bfin_read_USB_EP_NI6_RXINTERVAL() bfin_read16(USB_EP_NI6_RXINTERVAL)
244#define bfin_write_USB_EP_NI6_RXINTERVAL(val) bfin_write16(USB_EP_NI6_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500245#define bfin_read_USB_EP_NI6_TXCOUNT() bfin_read16(USB_EP_NI6_TXCOUNT)
246#define bfin_write_USB_EP_NI6_TXCOUNT(val) bfin_write16(USB_EP_NI6_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500247#define bfin_read_USB_EP_NI7_TXMAXP() bfin_read16(USB_EP_NI7_TXMAXP)
248#define bfin_write_USB_EP_NI7_TXMAXP(val) bfin_write16(USB_EP_NI7_TXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500249#define bfin_read_USB_EP_NI7_TXCSR() bfin_read16(USB_EP_NI7_TXCSR)
250#define bfin_write_USB_EP_NI7_TXCSR(val) bfin_write16(USB_EP_NI7_TXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500251#define bfin_read_USB_EP_NI7_RXMAXP() bfin_read16(USB_EP_NI7_RXMAXP)
252#define bfin_write_USB_EP_NI7_RXMAXP(val) bfin_write16(USB_EP_NI7_RXMAXP, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500253#define bfin_read_USB_EP_NI7_RXCSR() bfin_read16(USB_EP_NI7_RXCSR)
254#define bfin_write_USB_EP_NI7_RXCSR(val) bfin_write16(USB_EP_NI7_RXCSR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500255#define bfin_read_USB_EP_NI7_RXCOUNT() bfin_read16(USB_EP_NI7_RXCOUNT)
256#define bfin_write_USB_EP_NI7_RXCOUNT(val) bfin_write16(USB_EP_NI7_RXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500257#define bfin_read_USB_EP_NI7_TXTYPE() bfin_read16(USB_EP_NI7_TXTYPE)
258#define bfin_write_USB_EP_NI7_TXTYPE(val) bfin_write16(USB_EP_NI7_TXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500259#define bfin_read_USB_EP_NI7_TXINTERVAL() bfin_read16(USB_EP_NI7_TXINTERVAL)
260#define bfin_write_USB_EP_NI7_TXINTERVAL(val) bfin_write16(USB_EP_NI7_TXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500261#define bfin_read_USB_EP_NI7_RXTYPE() bfin_read16(USB_EP_NI7_RXTYPE)
262#define bfin_write_USB_EP_NI7_RXTYPE(val) bfin_write16(USB_EP_NI7_RXTYPE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500263#define bfin_read_USB_EP_NI7_RXINTERVAL() bfin_read16(USB_EP_NI7_RXINTERVAL)
264#define bfin_write_USB_EP_NI7_RXINTERVAL(val) bfin_write16(USB_EP_NI7_RXINTERVAL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500265#define bfin_read_USB_EP_NI7_TXCOUNT() bfin_read16(USB_EP_NI7_TXCOUNT)
266#define bfin_write_USB_EP_NI7_TXCOUNT(val) bfin_write16(USB_EP_NI7_TXCOUNT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500267#define bfin_read_USB_DMA_INTERRUPT() bfin_read16(USB_DMA_INTERRUPT)
268#define bfin_write_USB_DMA_INTERRUPT(val) bfin_write16(USB_DMA_INTERRUPT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500269#define bfin_read_USB_DMA0_CONTROL() bfin_read16(USB_DMA0_CONTROL)
270#define bfin_write_USB_DMA0_CONTROL(val) bfin_write16(USB_DMA0_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500271#define bfin_read_USB_DMA0_ADDRLOW() bfin_read16(USB_DMA0_ADDRLOW)
272#define bfin_write_USB_DMA0_ADDRLOW(val) bfin_write16(USB_DMA0_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500273#define bfin_read_USB_DMA0_ADDRHIGH() bfin_read16(USB_DMA0_ADDRHIGH)
274#define bfin_write_USB_DMA0_ADDRHIGH(val) bfin_write16(USB_DMA0_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500275#define bfin_read_USB_DMA0_COUNTLOW() bfin_read16(USB_DMA0_COUNTLOW)
276#define bfin_write_USB_DMA0_COUNTLOW(val) bfin_write16(USB_DMA0_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500277#define bfin_read_USB_DMA0_COUNTHIGH() bfin_read16(USB_DMA0_COUNTHIGH)
278#define bfin_write_USB_DMA0_COUNTHIGH(val) bfin_write16(USB_DMA0_COUNTHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500279#define bfin_read_USB_DMA1_CONTROL() bfin_read16(USB_DMA1_CONTROL)
280#define bfin_write_USB_DMA1_CONTROL(val) bfin_write16(USB_DMA1_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500281#define bfin_read_USB_DMA1_ADDRLOW() bfin_read16(USB_DMA1_ADDRLOW)
282#define bfin_write_USB_DMA1_ADDRLOW(val) bfin_write16(USB_DMA1_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500283#define bfin_read_USB_DMA1_ADDRHIGH() bfin_read16(USB_DMA1_ADDRHIGH)
284#define bfin_write_USB_DMA1_ADDRHIGH(val) bfin_write16(USB_DMA1_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500285#define bfin_read_USB_DMA1_COUNTLOW() bfin_read16(USB_DMA1_COUNTLOW)
286#define bfin_write_USB_DMA1_COUNTLOW(val) bfin_write16(USB_DMA1_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500287#define bfin_read_USB_DMA1_COUNTHIGH() bfin_read16(USB_DMA1_COUNTHIGH)
288#define bfin_write_USB_DMA1_COUNTHIGH(val) bfin_write16(USB_DMA1_COUNTHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500289#define bfin_read_USB_DMA2_CONTROL() bfin_read16(USB_DMA2_CONTROL)
290#define bfin_write_USB_DMA2_CONTROL(val) bfin_write16(USB_DMA2_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500291#define bfin_read_USB_DMA2_ADDRLOW() bfin_read16(USB_DMA2_ADDRLOW)
292#define bfin_write_USB_DMA2_ADDRLOW(val) bfin_write16(USB_DMA2_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500293#define bfin_read_USB_DMA2_ADDRHIGH() bfin_read16(USB_DMA2_ADDRHIGH)
294#define bfin_write_USB_DMA2_ADDRHIGH(val) bfin_write16(USB_DMA2_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500295#define bfin_read_USB_DMA2_COUNTLOW() bfin_read16(USB_DMA2_COUNTLOW)
296#define bfin_write_USB_DMA2_COUNTLOW(val) bfin_write16(USB_DMA2_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500297#define bfin_read_USB_DMA2_COUNTHIGH() bfin_read16(USB_DMA2_COUNTHIGH)
298#define bfin_write_USB_DMA2_COUNTHIGH(val) bfin_write16(USB_DMA2_COUNTHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500299#define bfin_read_USB_DMA3_CONTROL() bfin_read16(USB_DMA3_CONTROL)
300#define bfin_write_USB_DMA3_CONTROL(val) bfin_write16(USB_DMA3_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500301#define bfin_read_USB_DMA3_ADDRLOW() bfin_read16(USB_DMA3_ADDRLOW)
302#define bfin_write_USB_DMA3_ADDRLOW(val) bfin_write16(USB_DMA3_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500303#define bfin_read_USB_DMA3_ADDRHIGH() bfin_read16(USB_DMA3_ADDRHIGH)
304#define bfin_write_USB_DMA3_ADDRHIGH(val) bfin_write16(USB_DMA3_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500305#define bfin_read_USB_DMA3_COUNTLOW() bfin_read16(USB_DMA3_COUNTLOW)
306#define bfin_write_USB_DMA3_COUNTLOW(val) bfin_write16(USB_DMA3_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500307#define bfin_read_USB_DMA3_COUNTHIGH() bfin_read16(USB_DMA3_COUNTHIGH)
308#define bfin_write_USB_DMA3_COUNTHIGH(val) bfin_write16(USB_DMA3_COUNTHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500309#define bfin_read_USB_DMA4_CONTROL() bfin_read16(USB_DMA4_CONTROL)
310#define bfin_write_USB_DMA4_CONTROL(val) bfin_write16(USB_DMA4_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500311#define bfin_read_USB_DMA4_ADDRLOW() bfin_read16(USB_DMA4_ADDRLOW)
312#define bfin_write_USB_DMA4_ADDRLOW(val) bfin_write16(USB_DMA4_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500313#define bfin_read_USB_DMA4_ADDRHIGH() bfin_read16(USB_DMA4_ADDRHIGH)
314#define bfin_write_USB_DMA4_ADDRHIGH(val) bfin_write16(USB_DMA4_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500315#define bfin_read_USB_DMA4_COUNTLOW() bfin_read16(USB_DMA4_COUNTLOW)
316#define bfin_write_USB_DMA4_COUNTLOW(val) bfin_write16(USB_DMA4_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500317#define bfin_read_USB_DMA4_COUNTHIGH() bfin_read16(USB_DMA4_COUNTHIGH)
318#define bfin_write_USB_DMA4_COUNTHIGH(val) bfin_write16(USB_DMA4_COUNTHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500319#define bfin_read_USB_DMA5_CONTROL() bfin_read16(USB_DMA5_CONTROL)
320#define bfin_write_USB_DMA5_CONTROL(val) bfin_write16(USB_DMA5_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500321#define bfin_read_USB_DMA5_ADDRLOW() bfin_read16(USB_DMA5_ADDRLOW)
322#define bfin_write_USB_DMA5_ADDRLOW(val) bfin_write16(USB_DMA5_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500323#define bfin_read_USB_DMA5_ADDRHIGH() bfin_read16(USB_DMA5_ADDRHIGH)
324#define bfin_write_USB_DMA5_ADDRHIGH(val) bfin_write16(USB_DMA5_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500325#define bfin_read_USB_DMA5_COUNTLOW() bfin_read16(USB_DMA5_COUNTLOW)
326#define bfin_write_USB_DMA5_COUNTLOW(val) bfin_write16(USB_DMA5_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500327#define bfin_read_USB_DMA5_COUNTHIGH() bfin_read16(USB_DMA5_COUNTHIGH)
328#define bfin_write_USB_DMA5_COUNTHIGH(val) bfin_write16(USB_DMA5_COUNTHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500329#define bfin_read_USB_DMA6_CONTROL() bfin_read16(USB_DMA6_CONTROL)
330#define bfin_write_USB_DMA6_CONTROL(val) bfin_write16(USB_DMA6_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500331#define bfin_read_USB_DMA6_ADDRLOW() bfin_read16(USB_DMA6_ADDRLOW)
332#define bfin_write_USB_DMA6_ADDRLOW(val) bfin_write16(USB_DMA6_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500333#define bfin_read_USB_DMA6_ADDRHIGH() bfin_read16(USB_DMA6_ADDRHIGH)
334#define bfin_write_USB_DMA6_ADDRHIGH(val) bfin_write16(USB_DMA6_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500335#define bfin_read_USB_DMA6_COUNTLOW() bfin_read16(USB_DMA6_COUNTLOW)
336#define bfin_write_USB_DMA6_COUNTLOW(val) bfin_write16(USB_DMA6_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500337#define bfin_read_USB_DMA6_COUNTHIGH() bfin_read16(USB_DMA6_COUNTHIGH)
338#define bfin_write_USB_DMA6_COUNTHIGH(val) bfin_write16(USB_DMA6_COUNTHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500339#define bfin_read_USB_DMA7_CONTROL() bfin_read16(USB_DMA7_CONTROL)
340#define bfin_write_USB_DMA7_CONTROL(val) bfin_write16(USB_DMA7_CONTROL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500341#define bfin_read_USB_DMA7_ADDRLOW() bfin_read16(USB_DMA7_ADDRLOW)
342#define bfin_write_USB_DMA7_ADDRLOW(val) bfin_write16(USB_DMA7_ADDRLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500343#define bfin_read_USB_DMA7_ADDRHIGH() bfin_read16(USB_DMA7_ADDRHIGH)
344#define bfin_write_USB_DMA7_ADDRHIGH(val) bfin_write16(USB_DMA7_ADDRHIGH, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500345#define bfin_read_USB_DMA7_COUNTLOW() bfin_read16(USB_DMA7_COUNTLOW)
346#define bfin_write_USB_DMA7_COUNTLOW(val) bfin_write16(USB_DMA7_COUNTLOW, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500347#define bfin_read_USB_DMA7_COUNTHIGH() bfin_read16(USB_DMA7_COUNTHIGH)
348#define bfin_write_USB_DMA7_COUNTHIGH(val) bfin_write16(USB_DMA7_COUNTHIGH, val)
349
350#endif /* __BFIN_CDEF_ADSP_BF524_proc__ */