blob: 515acd3285e71c403c8b2c2bfc9a3bae8fb3a2ac [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_BF526_proc__
7#define __BFIN_CDEF_ADSP_BF526_proc__
8
Mike Frysinger143d22a2010-12-24 18:28:27 -05009#include "BF524_cdef.h"
Mike Frysinger66c4cf42008-02-04 19:26:55 -050010
Mike Frysinger66c4cf42008-02-04 19:26:55 -050011#define bfin_read_EMAC_OPMODE() bfin_read32(EMAC_OPMODE)
12#define bfin_write_EMAC_OPMODE(val) bfin_write32(EMAC_OPMODE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050013#define bfin_read_EMAC_ADDRLO() bfin_read32(EMAC_ADDRLO)
14#define bfin_write_EMAC_ADDRLO(val) bfin_write32(EMAC_ADDRLO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050015#define bfin_read_EMAC_ADDRHI() bfin_read32(EMAC_ADDRHI)
16#define bfin_write_EMAC_ADDRHI(val) bfin_write32(EMAC_ADDRHI, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050017#define bfin_read_EMAC_HASHLO() bfin_read32(EMAC_HASHLO)
18#define bfin_write_EMAC_HASHLO(val) bfin_write32(EMAC_HASHLO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050019#define bfin_read_EMAC_HASHHI() bfin_read32(EMAC_HASHHI)
20#define bfin_write_EMAC_HASHHI(val) bfin_write32(EMAC_HASHHI, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050021#define bfin_read_EMAC_STAADD() bfin_read32(EMAC_STAADD)
22#define bfin_write_EMAC_STAADD(val) bfin_write32(EMAC_STAADD, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050023#define bfin_read_EMAC_STADAT() bfin_read32(EMAC_STADAT)
24#define bfin_write_EMAC_STADAT(val) bfin_write32(EMAC_STADAT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050025#define bfin_read_EMAC_FLC() bfin_read32(EMAC_FLC)
26#define bfin_write_EMAC_FLC(val) bfin_write32(EMAC_FLC, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050027#define bfin_read_EMAC_VLAN1() bfin_read32(EMAC_VLAN1)
28#define bfin_write_EMAC_VLAN1(val) bfin_write32(EMAC_VLAN1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050029#define bfin_read_EMAC_VLAN2() bfin_read32(EMAC_VLAN2)
30#define bfin_write_EMAC_VLAN2(val) bfin_write32(EMAC_VLAN2, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050031#define bfin_read_EMAC_WKUP_CTL() bfin_read32(EMAC_WKUP_CTL)
32#define bfin_write_EMAC_WKUP_CTL(val) bfin_write32(EMAC_WKUP_CTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050033#define bfin_read_EMAC_WKUP_FFMSK0() bfin_read32(EMAC_WKUP_FFMSK0)
34#define bfin_write_EMAC_WKUP_FFMSK0(val) bfin_write32(EMAC_WKUP_FFMSK0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050035#define bfin_read_EMAC_WKUP_FFMSK1() bfin_read32(EMAC_WKUP_FFMSK1)
36#define bfin_write_EMAC_WKUP_FFMSK1(val) bfin_write32(EMAC_WKUP_FFMSK1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050037#define bfin_read_EMAC_WKUP_FFMSK2() bfin_read32(EMAC_WKUP_FFMSK2)
38#define bfin_write_EMAC_WKUP_FFMSK2(val) bfin_write32(EMAC_WKUP_FFMSK2, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050039#define bfin_read_EMAC_WKUP_FFMSK3() bfin_read32(EMAC_WKUP_FFMSK3)
40#define bfin_write_EMAC_WKUP_FFMSK3(val) bfin_write32(EMAC_WKUP_FFMSK3, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050041#define bfin_read_EMAC_WKUP_FFCMD() bfin_read32(EMAC_WKUP_FFCMD)
42#define bfin_write_EMAC_WKUP_FFCMD(val) bfin_write32(EMAC_WKUP_FFCMD, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050043#define bfin_read_EMAC_WKUP_FFOFF() bfin_read32(EMAC_WKUP_FFOFF)
44#define bfin_write_EMAC_WKUP_FFOFF(val) bfin_write32(EMAC_WKUP_FFOFF, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050045#define bfin_read_EMAC_WKUP_FFCRC0() bfin_read32(EMAC_WKUP_FFCRC0)
46#define bfin_write_EMAC_WKUP_FFCRC0(val) bfin_write32(EMAC_WKUP_FFCRC0, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050047#define bfin_read_EMAC_WKUP_FFCRC1() bfin_read32(EMAC_WKUP_FFCRC1)
48#define bfin_write_EMAC_WKUP_FFCRC1(val) bfin_write32(EMAC_WKUP_FFCRC1, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050049#define bfin_read_EMAC_SYSCTL() bfin_read32(EMAC_SYSCTL)
50#define bfin_write_EMAC_SYSCTL(val) bfin_write32(EMAC_SYSCTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050051#define bfin_read_EMAC_SYSTAT() bfin_read32(EMAC_SYSTAT)
52#define bfin_write_EMAC_SYSTAT(val) bfin_write32(EMAC_SYSTAT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050053#define bfin_read_EMAC_RX_STAT() bfin_read32(EMAC_RX_STAT)
54#define bfin_write_EMAC_RX_STAT(val) bfin_write32(EMAC_RX_STAT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050055#define bfin_read_EMAC_RX_STKY() bfin_read32(EMAC_RX_STKY)
56#define bfin_write_EMAC_RX_STKY(val) bfin_write32(EMAC_RX_STKY, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050057#define bfin_read_EMAC_RX_IRQE() bfin_read32(EMAC_RX_IRQE)
58#define bfin_write_EMAC_RX_IRQE(val) bfin_write32(EMAC_RX_IRQE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050059#define bfin_read_EMAC_TX_STAT() bfin_read32(EMAC_TX_STAT)
60#define bfin_write_EMAC_TX_STAT(val) bfin_write32(EMAC_TX_STAT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050061#define bfin_read_EMAC_TX_STKY() bfin_read32(EMAC_TX_STKY)
62#define bfin_write_EMAC_TX_STKY(val) bfin_write32(EMAC_TX_STKY, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050063#define bfin_read_EMAC_TX_IRQE() bfin_read32(EMAC_TX_IRQE)
64#define bfin_write_EMAC_TX_IRQE(val) bfin_write32(EMAC_TX_IRQE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050065#define bfin_read_EMAC_MMC_CTL() bfin_read32(EMAC_MMC_CTL)
66#define bfin_write_EMAC_MMC_CTL(val) bfin_write32(EMAC_MMC_CTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050067#define bfin_read_EMAC_MMC_RIRQS() bfin_read32(EMAC_MMC_RIRQS)
68#define bfin_write_EMAC_MMC_RIRQS(val) bfin_write32(EMAC_MMC_RIRQS, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050069#define bfin_read_EMAC_MMC_RIRQE() bfin_read32(EMAC_MMC_RIRQE)
70#define bfin_write_EMAC_MMC_RIRQE(val) bfin_write32(EMAC_MMC_RIRQE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050071#define bfin_read_EMAC_MMC_TIRQS() bfin_read32(EMAC_MMC_TIRQS)
72#define bfin_write_EMAC_MMC_TIRQS(val) bfin_write32(EMAC_MMC_TIRQS, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050073#define bfin_read_EMAC_MMC_TIRQE() bfin_read32(EMAC_MMC_TIRQE)
74#define bfin_write_EMAC_MMC_TIRQE(val) bfin_write32(EMAC_MMC_TIRQE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050075#define bfin_read_EMAC_RXC_OK() bfin_read32(EMAC_RXC_OK)
76#define bfin_write_EMAC_RXC_OK(val) bfin_write32(EMAC_RXC_OK, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050077#define bfin_read_EMAC_RXC_FCS() bfin_read32(EMAC_RXC_FCS)
78#define bfin_write_EMAC_RXC_FCS(val) bfin_write32(EMAC_RXC_FCS, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050079#define bfin_read_EMAC_RXC_ALIGN() bfin_read32(EMAC_RXC_ALIGN)
80#define bfin_write_EMAC_RXC_ALIGN(val) bfin_write32(EMAC_RXC_ALIGN, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050081#define bfin_read_EMAC_RXC_OCTET() bfin_read32(EMAC_RXC_OCTET)
82#define bfin_write_EMAC_RXC_OCTET(val) bfin_write32(EMAC_RXC_OCTET, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050083#define bfin_read_EMAC_RXC_DMAOVF() bfin_read32(EMAC_RXC_DMAOVF)
84#define bfin_write_EMAC_RXC_DMAOVF(val) bfin_write32(EMAC_RXC_DMAOVF, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050085#define bfin_read_EMAC_RXC_UNICST() bfin_read32(EMAC_RXC_UNICST)
86#define bfin_write_EMAC_RXC_UNICST(val) bfin_write32(EMAC_RXC_UNICST, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050087#define bfin_read_EMAC_RXC_MULTI() bfin_read32(EMAC_RXC_MULTI)
88#define bfin_write_EMAC_RXC_MULTI(val) bfin_write32(EMAC_RXC_MULTI, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050089#define bfin_read_EMAC_RXC_BROAD() bfin_read32(EMAC_RXC_BROAD)
90#define bfin_write_EMAC_RXC_BROAD(val) bfin_write32(EMAC_RXC_BROAD, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050091#define bfin_read_EMAC_RXC_LNERRI() bfin_read32(EMAC_RXC_LNERRI)
92#define bfin_write_EMAC_RXC_LNERRI(val) bfin_write32(EMAC_RXC_LNERRI, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050093#define bfin_read_EMAC_RXC_LNERRO() bfin_read32(EMAC_RXC_LNERRO)
94#define bfin_write_EMAC_RXC_LNERRO(val) bfin_write32(EMAC_RXC_LNERRO, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050095#define bfin_read_EMAC_RXC_LONG() bfin_read32(EMAC_RXC_LONG)
96#define bfin_write_EMAC_RXC_LONG(val) bfin_write32(EMAC_RXC_LONG, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050097#define bfin_read_EMAC_RXC_MACCTL() bfin_read32(EMAC_RXC_MACCTL)
98#define bfin_write_EMAC_RXC_MACCTL(val) bfin_write32(EMAC_RXC_MACCTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050099#define bfin_read_EMAC_RXC_OPCODE() bfin_read32(EMAC_RXC_OPCODE)
100#define bfin_write_EMAC_RXC_OPCODE(val) bfin_write32(EMAC_RXC_OPCODE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500101#define bfin_read_EMAC_RXC_PAUSE() bfin_read32(EMAC_RXC_PAUSE)
102#define bfin_write_EMAC_RXC_PAUSE(val) bfin_write32(EMAC_RXC_PAUSE, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500103#define bfin_read_EMAC_RXC_ALLFRM() bfin_read32(EMAC_RXC_ALLFRM)
104#define bfin_write_EMAC_RXC_ALLFRM(val) bfin_write32(EMAC_RXC_ALLFRM, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500105#define bfin_read_EMAC_RXC_ALLOCT() bfin_read32(EMAC_RXC_ALLOCT)
106#define bfin_write_EMAC_RXC_ALLOCT(val) bfin_write32(EMAC_RXC_ALLOCT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500107#define bfin_read_EMAC_RXC_TYPED() bfin_read32(EMAC_RXC_TYPED)
108#define bfin_write_EMAC_RXC_TYPED(val) bfin_write32(EMAC_RXC_TYPED, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500109#define bfin_read_EMAC_RXC_SHORT() bfin_read32(EMAC_RXC_SHORT)
110#define bfin_write_EMAC_RXC_SHORT(val) bfin_write32(EMAC_RXC_SHORT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500111#define bfin_read_EMAC_RXC_EQ64() bfin_read32(EMAC_RXC_EQ64)
112#define bfin_write_EMAC_RXC_EQ64(val) bfin_write32(EMAC_RXC_EQ64, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500113#define bfin_read_EMAC_RXC_LT128() bfin_read32(EMAC_RXC_LT128)
114#define bfin_write_EMAC_RXC_LT128(val) bfin_write32(EMAC_RXC_LT128, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500115#define bfin_read_EMAC_RXC_LT256() bfin_read32(EMAC_RXC_LT256)
116#define bfin_write_EMAC_RXC_LT256(val) bfin_write32(EMAC_RXC_LT256, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500117#define bfin_read_EMAC_RXC_LT512() bfin_read32(EMAC_RXC_LT512)
118#define bfin_write_EMAC_RXC_LT512(val) bfin_write32(EMAC_RXC_LT512, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500119#define bfin_read_EMAC_RXC_LT1024() bfin_read32(EMAC_RXC_LT1024)
120#define bfin_write_EMAC_RXC_LT1024(val) bfin_write32(EMAC_RXC_LT1024, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500121#define bfin_read_EMAC_RXC_GE1024() bfin_read32(EMAC_RXC_GE1024)
122#define bfin_write_EMAC_RXC_GE1024(val) bfin_write32(EMAC_RXC_GE1024, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500123#define bfin_read_EMAC_TXC_OK() bfin_read32(EMAC_TXC_OK)
124#define bfin_write_EMAC_TXC_OK(val) bfin_write32(EMAC_TXC_OK, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500125#define bfin_read_EMAC_TXC_1COL() bfin_read32(EMAC_TXC_1COL)
126#define bfin_write_EMAC_TXC_1COL(val) bfin_write32(EMAC_TXC_1COL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500127#define bfin_read_EMAC_TXC_GT1COL() bfin_read32(EMAC_TXC_GT1COL)
128#define bfin_write_EMAC_TXC_GT1COL(val) bfin_write32(EMAC_TXC_GT1COL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500129#define bfin_read_EMAC_TXC_OCTET() bfin_read32(EMAC_TXC_OCTET)
130#define bfin_write_EMAC_TXC_OCTET(val) bfin_write32(EMAC_TXC_OCTET, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500131#define bfin_read_EMAC_TXC_DEFER() bfin_read32(EMAC_TXC_DEFER)
132#define bfin_write_EMAC_TXC_DEFER(val) bfin_write32(EMAC_TXC_DEFER, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500133#define bfin_read_EMAC_TXC_LATECL() bfin_read32(EMAC_TXC_LATECL)
134#define bfin_write_EMAC_TXC_LATECL(val) bfin_write32(EMAC_TXC_LATECL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500135#define bfin_read_EMAC_TXC_XS_COL() bfin_read32(EMAC_TXC_XS_COL)
136#define bfin_write_EMAC_TXC_XS_COL(val) bfin_write32(EMAC_TXC_XS_COL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500137#define bfin_read_EMAC_TXC_DMAUND() bfin_read32(EMAC_TXC_DMAUND)
138#define bfin_write_EMAC_TXC_DMAUND(val) bfin_write32(EMAC_TXC_DMAUND, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500139#define bfin_read_EMAC_TXC_CRSERR() bfin_read32(EMAC_TXC_CRSERR)
140#define bfin_write_EMAC_TXC_CRSERR(val) bfin_write32(EMAC_TXC_CRSERR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500141#define bfin_read_EMAC_TXC_UNICST() bfin_read32(EMAC_TXC_UNICST)
142#define bfin_write_EMAC_TXC_UNICST(val) bfin_write32(EMAC_TXC_UNICST, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500143#define bfin_read_EMAC_TXC_MULTI() bfin_read32(EMAC_TXC_MULTI)
144#define bfin_write_EMAC_TXC_MULTI(val) bfin_write32(EMAC_TXC_MULTI, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500145#define bfin_read_EMAC_TXC_BROAD() bfin_read32(EMAC_TXC_BROAD)
146#define bfin_write_EMAC_TXC_BROAD(val) bfin_write32(EMAC_TXC_BROAD, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500147#define bfin_read_EMAC_TXC_XS_DFR() bfin_read32(EMAC_TXC_XS_DFR)
148#define bfin_write_EMAC_TXC_XS_DFR(val) bfin_write32(EMAC_TXC_XS_DFR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500149#define bfin_read_EMAC_TXC_MACCTL() bfin_read32(EMAC_TXC_MACCTL)
150#define bfin_write_EMAC_TXC_MACCTL(val) bfin_write32(EMAC_TXC_MACCTL, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500151#define bfin_read_EMAC_TXC_ALLFRM() bfin_read32(EMAC_TXC_ALLFRM)
152#define bfin_write_EMAC_TXC_ALLFRM(val) bfin_write32(EMAC_TXC_ALLFRM, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500153#define bfin_read_EMAC_TXC_ALLOCT() bfin_read32(EMAC_TXC_ALLOCT)
154#define bfin_write_EMAC_TXC_ALLOCT(val) bfin_write32(EMAC_TXC_ALLOCT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500155#define bfin_read_EMAC_TXC_EQ64() bfin_read32(EMAC_TXC_EQ64)
156#define bfin_write_EMAC_TXC_EQ64(val) bfin_write32(EMAC_TXC_EQ64, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500157#define bfin_read_EMAC_TXC_LT128() bfin_read32(EMAC_TXC_LT128)
158#define bfin_write_EMAC_TXC_LT128(val) bfin_write32(EMAC_TXC_LT128, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500159#define bfin_read_EMAC_TXC_LT256() bfin_read32(EMAC_TXC_LT256)
160#define bfin_write_EMAC_TXC_LT256(val) bfin_write32(EMAC_TXC_LT256, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500161#define bfin_read_EMAC_TXC_LT512() bfin_read32(EMAC_TXC_LT512)
162#define bfin_write_EMAC_TXC_LT512(val) bfin_write32(EMAC_TXC_LT512, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500163#define bfin_read_EMAC_TXC_LT1024() bfin_read32(EMAC_TXC_LT1024)
164#define bfin_write_EMAC_TXC_LT1024(val) bfin_write32(EMAC_TXC_LT1024, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500165#define bfin_read_EMAC_TXC_GE1024() bfin_read32(EMAC_TXC_GE1024)
166#define bfin_write_EMAC_TXC_GE1024(val) bfin_write32(EMAC_TXC_GE1024, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500167#define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT)
168#define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500169
170#endif /* __BFIN_CDEF_ADSP_BF526_proc__ */