Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
emac.h File Reference
#include <linux/types.h>
#include <linux/phy.h>

Go to the source code of this file.

Data Structures

struct  emac_regs
 

Macros

#define PHY_MODE_NA   PHY_INTERFACE_MODE_NA
 
#define PHY_MODE_MII   PHY_INTERFACE_MODE_MII
 
#define PHY_MODE_RMII   PHY_INTERFACE_MODE_RMII
 
#define PHY_MODE_SMII   PHY_INTERFACE_MODE_SMII
 
#define PHY_MODE_RGMII   PHY_INTERFACE_MODE_RGMII
 
#define PHY_MODE_TBI   PHY_INTERFACE_MODE_TBI
 
#define PHY_MODE_GMII   PHY_INTERFACE_MODE_GMII
 
#define PHY_MODE_RTBI   PHY_INTERFACE_MODE_RTBI
 
#define PHY_MODE_SGMII   PHY_INTERFACE_MODE_SGMII
 
#define EMAC_MR0_RXI   0x80000000
 
#define EMAC_MR0_TXI   0x40000000
 
#define EMAC_MR0_SRST   0x20000000
 
#define EMAC_MR0_TXE   0x10000000
 
#define EMAC_MR0_RXE   0x08000000
 
#define EMAC_MR0_WKE   0x04000000
 
#define EMAC_MR1_FDE   0x80000000
 
#define EMAC_MR1_ILE   0x40000000
 
#define EMAC_MR1_VLE   0x20000000
 
#define EMAC_MR1_EIFC   0x10000000
 
#define EMAC_MR1_APP   0x08000000
 
#define EMAC_MR1_IST   0x01000000
 
#define EMAC_MR1_MF_MASK   0x00c00000
 
#define EMAC_MR1_MF_10   0x00000000
 
#define EMAC_MR1_MF_100   0x00400000
 
#define EMAC_MR1_MF_1000   0x00800000
 
#define EMAC_MR1_MF_1000GPCS   0x00c00000
 
#define EMAC_MR1_MF_IPPA(id)   (((id) & 0x1f) << 6)
 
#define EMAC_MR1_RFS_4K   0x00300000
 
#define EMAC_MR1_RFS_16K   0x00000000
 
#define EMAC_MR1_TFS_2K   0x00080000
 
#define EMAC_MR1_TR0_MULT   0x00008000
 
#define EMAC_MR1_JPSM   0x00000000
 
#define EMAC_MR1_MWSW_001   0x00000000
 
#define EMAC_MR1_BASE(opb)   (EMAC_MR1_TFS_2K | EMAC_MR1_TR0_MULT)
 
#define EMAC4_MR1_RFS_2K   0x00100000
 
#define EMAC4_MR1_RFS_4K   0x00180000
 
#define EMAC4_MR1_RFS_16K   0x00280000
 
#define EMAC4_MR1_TFS_2K   0x00020000
 
#define EMAC4_MR1_TFS_4K   0x00030000
 
#define EMAC4_MR1_TFS_16K   0x00050000
 
#define EMAC4_MR1_TR   0x00008000
 
#define EMAC4_MR1_MWSW_001   0x00001000
 
#define EMAC4_MR1_JPSM   0x00000800
 
#define EMAC4_MR1_OBCI_MASK   0x00000038
 
#define EMAC4_MR1_OBCI_50   0x00000000
 
#define EMAC4_MR1_OBCI_66   0x00000008
 
#define EMAC4_MR1_OBCI_83   0x00000010
 
#define EMAC4_MR1_OBCI_100   0x00000018
 
#define EMAC4_MR1_OBCI_100P   0x00000020
 
#define EMAC4_MR1_OBCI(freq)
 
#define EMAC_TMR0_GNP   0x80000000
 
#define EMAC_TMR0_DEFAULT   0x00000000
 
#define EMAC4_TMR0_TFAE_2_32   0x00000001
 
#define EMAC4_TMR0_TFAE_4_64   0x00000002
 
#define EMAC4_TMR0_TFAE_8_128   0x00000003
 
#define EMAC4_TMR0_TFAE_16_256   0x00000004
 
#define EMAC4_TMR0_TFAE_32_512   0x00000005
 
#define EMAC4_TMR0_TFAE_64_1024   0x00000006
 
#define EMAC4_TMR0_TFAE_128_2048   0x00000007
 
#define EMAC4_TMR0_DEFAULT   EMAC4_TMR0_TFAE_2_32
 
#define EMAC_TMR0_XMIT   (EMAC_TMR0_GNP | EMAC_TMR0_DEFAULT)
 
#define EMAC4_TMR0_XMIT   (EMAC_TMR0_GNP | EMAC4_TMR0_DEFAULT)
 
#define EMAC_TMR1(l, h)   (((l) << 27) | (((h) & 0xff) << 16))
 
#define EMAC4_TMR1(l, h)   (((l) << 27) | (((h) & 0x3ff) << 14))
 
#define EMAC_RMR_SP   0x80000000
 
#define EMAC_RMR_SFCS   0x40000000
 
#define EMAC_RMR_RRP   0x20000000
 
#define EMAC_RMR_RFP   0x10000000
 
#define EMAC_RMR_ROP   0x08000000
 
#define EMAC_RMR_RPIR   0x04000000
 
#define EMAC_RMR_PPP   0x02000000
 
#define EMAC_RMR_PME   0x01000000
 
#define EMAC_RMR_PMME   0x00800000
 
#define EMAC_RMR_IAE   0x00400000
 
#define EMAC_RMR_MIAE   0x00200000
 
#define EMAC_RMR_BAE   0x00100000
 
#define EMAC_RMR_MAE   0x00080000
 
#define EMAC_RMR_BASE   0x00000000
 
#define EMAC4_RMR_RFAF_2_32   0x00000001
 
#define EMAC4_RMR_RFAF_4_64   0x00000002
 
#define EMAC4_RMR_RFAF_8_128   0x00000003
 
#define EMAC4_RMR_RFAF_16_256   0x00000004
 
#define EMAC4_RMR_RFAF_32_512   0x00000005
 
#define EMAC4_RMR_RFAF_64_1024   0x00000006
 
#define EMAC4_RMR_RFAF_128_2048   0x00000007
 
#define EMAC4_RMR_BASE   EMAC4_RMR_RFAF_128_2048
 
#define EMAC4_RMR_MJS_MASK   0x0001fff8
 
#define EMAC4_RMR_MJS(s)   (((s) << 3) & EMAC4_RMR_MJS_MASK)
 
#define EMAC4_ISR_TXPE   0x20000000
 
#define EMAC4_ISR_RXPE   0x10000000
 
#define EMAC4_ISR_TXUE   0x08000000
 
#define EMAC4_ISR_RXOE   0x04000000
 
#define EMAC_ISR_OVR   0x02000000
 
#define EMAC_ISR_PP   0x01000000
 
#define EMAC_ISR_BP   0x00800000
 
#define EMAC_ISR_RP   0x00400000
 
#define EMAC_ISR_SE   0x00200000
 
#define EMAC_ISR_ALE   0x00100000
 
#define EMAC_ISR_BFCS   0x00080000
 
#define EMAC_ISR_PTLE   0x00040000
 
#define EMAC_ISR_ORE   0x00020000
 
#define EMAC_ISR_IRE   0x00010000
 
#define EMAC_ISR_SQE   0x00000080
 
#define EMAC_ISR_TE   0x00000040
 
#define EMAC_ISR_MOS   0x00000002
 
#define EMAC_ISR_MOF   0x00000001
 
#define EMAC_STACR_PHYD_MASK   0xffff
 
#define EMAC_STACR_PHYD_SHIFT   16
 
#define EMAC_STACR_OC   0x00008000
 
#define EMAC_STACR_PHYE   0x00004000
 
#define EMAC_STACR_STAC_MASK   0x00003000
 
#define EMAC_STACR_STAC_READ   0x00001000
 
#define EMAC_STACR_STAC_WRITE   0x00002000
 
#define EMAC_STACR_OPBC_MASK   0x00000C00
 
#define EMAC_STACR_OPBC_50   0x00000000
 
#define EMAC_STACR_OPBC_66   0x00000400
 
#define EMAC_STACR_OPBC_83   0x00000800
 
#define EMAC_STACR_OPBC_100   0x00000C00
 
#define EMAC_STACR_OPBC(freq)
 
#define EMAC_STACR_BASE(opb)   EMAC_STACR_OPBC(opb)
 
#define EMAC4_STACR_BASE(opb)   0x00000000
 
#define EMAC_STACR_PCDA_MASK   0x1f
 
#define EMAC_STACR_PCDA_SHIFT   5
 
#define EMAC_STACR_PRA_MASK   0x1f
 
#define EMACX_STACR_STAC_MASK   0x00003800
 
#define EMACX_STACR_STAC_READ   0x00001000
 
#define EMACX_STACR_STAC_WRITE   0x00000800
 
#define EMACX_STACR_STAC_IND_ADDR   0x00002000
 
#define EMACX_STACR_STAC_IND_READ   0x00003800
 
#define EMACX_STACR_STAC_IND_READINC   0x00003000
 
#define EMACX_STACR_STAC_IND_WRITE   0x00002800
 
#define EMAC_TRTR_SHIFT_EMAC4   24
 
#define EMAC_TRTR_SHIFT   27
 
#define EMAC_TX_CTRL_GFCS   0x0200
 
#define EMAC_TX_CTRL_GP   0x0100
 
#define EMAC_TX_CTRL_ISA   0x0080
 
#define EMAC_TX_CTRL_RSA   0x0040
 
#define EMAC_TX_CTRL_IVT   0x0020
 
#define EMAC_TX_CTRL_RVT   0x0010
 
#define EMAC_TX_CTRL_TAH_CSUM   0x000e
 
#define EMAC_TX_ST_BFCS   0x0200
 
#define EMAC_TX_ST_LCS   0x0080
 
#define EMAC_TX_ST_ED   0x0040
 
#define EMAC_TX_ST_EC   0x0020
 
#define EMAC_TX_ST_LC   0x0010
 
#define EMAC_TX_ST_MC   0x0008
 
#define EMAC_TX_ST_SC   0x0004
 
#define EMAC_TX_ST_UR   0x0002
 
#define EMAC_TX_ST_SQE   0x0001
 
#define EMAC_IS_BAD_TX
 
#define EMAC_IS_BAD_TX_TAH
 
#define EMAC_RX_ST_OE   0x0200
 
#define EMAC_RX_ST_PP   0x0100
 
#define EMAC_RX_ST_BP   0x0080
 
#define EMAC_RX_ST_RP   0x0040
 
#define EMAC_RX_ST_SE   0x0020
 
#define EMAC_RX_ST_AE   0x0010
 
#define EMAC_RX_ST_BFCS   0x0008
 
#define EMAC_RX_ST_PTL   0x0004
 
#define EMAC_RX_ST_ORE   0x0002
 
#define EMAC_RX_ST_IRE   0x0001
 
#define EMAC_RX_TAH_BAD_CSUM   0x0003
 
#define EMAC_BAD_RX_MASK
 

Macro Definition Documentation

#define EMAC4_ISR_RXOE   0x04000000

Definition at line 222 of file emac.h.

#define EMAC4_ISR_RXPE   0x10000000

Definition at line 220 of file emac.h.

#define EMAC4_ISR_TXPE   0x20000000

Definition at line 219 of file emac.h.

#define EMAC4_ISR_TXUE   0x08000000

Definition at line 221 of file emac.h.

#define EMAC4_MR1_JPSM   0x00000800

Definition at line 160 of file emac.h.

#define EMAC4_MR1_MWSW_001   0x00001000

Definition at line 159 of file emac.h.

#define EMAC4_MR1_OBCI (   freq)
Value:
((freq) <= 50 ? EMAC4_MR1_OBCI_50 : \
(freq) <= 66 ? EMAC4_MR1_OBCI_66 : \
(freq) <= 83 ? EMAC4_MR1_OBCI_83 : \
(freq) <= 100 ? EMAC4_MR1_OBCI_100 : \
EMAC4_MR1_OBCI_100P)

Definition at line 167 of file emac.h.

#define EMAC4_MR1_OBCI_100   0x00000018

Definition at line 165 of file emac.h.

#define EMAC4_MR1_OBCI_100P   0x00000020

Definition at line 166 of file emac.h.

#define EMAC4_MR1_OBCI_50   0x00000000

Definition at line 162 of file emac.h.

#define EMAC4_MR1_OBCI_66   0x00000008

Definition at line 163 of file emac.h.

#define EMAC4_MR1_OBCI_83   0x00000010

Definition at line 164 of file emac.h.

#define EMAC4_MR1_OBCI_MASK   0x00000038

Definition at line 161 of file emac.h.

#define EMAC4_MR1_RFS_16K   0x00280000

Definition at line 154 of file emac.h.

#define EMAC4_MR1_RFS_2K   0x00100000

Definition at line 152 of file emac.h.

#define EMAC4_MR1_RFS_4K   0x00180000

Definition at line 153 of file emac.h.

#define EMAC4_MR1_TFS_16K   0x00050000

Definition at line 157 of file emac.h.

#define EMAC4_MR1_TFS_2K   0x00020000

Definition at line 155 of file emac.h.

#define EMAC4_MR1_TFS_4K   0x00030000

Definition at line 156 of file emac.h.

#define EMAC4_MR1_TR   0x00008000

Definition at line 158 of file emac.h.

#define EMAC4_RMR_BASE   EMAC4_RMR_RFAF_128_2048

Definition at line 214 of file emac.h.

#define EMAC4_RMR_MJS (   s)    (((s) << 3) & EMAC4_RMR_MJS_MASK)

Definition at line 216 of file emac.h.

#define EMAC4_RMR_MJS_MASK   0x0001fff8

Definition at line 215 of file emac.h.

#define EMAC4_RMR_RFAF_128_2048   0x00000007

Definition at line 213 of file emac.h.

#define EMAC4_RMR_RFAF_16_256   0x00000004

Definition at line 210 of file emac.h.

#define EMAC4_RMR_RFAF_2_32   0x00000001

Definition at line 207 of file emac.h.

#define EMAC4_RMR_RFAF_32_512   0x00000005

Definition at line 211 of file emac.h.

#define EMAC4_RMR_RFAF_4_64   0x00000002

Definition at line 208 of file emac.h.

#define EMAC4_RMR_RFAF_64_1024   0x00000006

Definition at line 212 of file emac.h.

#define EMAC4_RMR_RFAF_8_128   0x00000003

Definition at line 209 of file emac.h.

#define EMAC4_STACR_BASE (   opb)    0x00000000

Definition at line 255 of file emac.h.

#define EMAC4_TMR0_DEFAULT   EMAC4_TMR0_TFAE_2_32

Definition at line 183 of file emac.h.

#define EMAC4_TMR0_TFAE_128_2048   0x00000007

Definition at line 182 of file emac.h.

#define EMAC4_TMR0_TFAE_16_256   0x00000004

Definition at line 179 of file emac.h.

#define EMAC4_TMR0_TFAE_2_32   0x00000001

Definition at line 176 of file emac.h.

#define EMAC4_TMR0_TFAE_32_512   0x00000005

Definition at line 180 of file emac.h.

#define EMAC4_TMR0_TFAE_4_64   0x00000002

Definition at line 177 of file emac.h.

#define EMAC4_TMR0_TFAE_64_1024   0x00000006

Definition at line 181 of file emac.h.

#define EMAC4_TMR0_TFAE_8_128   0x00000003

Definition at line 178 of file emac.h.

#define EMAC4_TMR0_XMIT   (EMAC_TMR0_GNP | EMAC4_TMR0_DEFAULT)

Definition at line 185 of file emac.h.

#define EMAC4_TMR1 (   l,
  h 
)    (((l) << 27) | (((h) & 0x3ff) << 14))

Definition at line 190 of file emac.h.

#define EMAC_BAD_RX_MASK
Value:
EMAC_RX_ST_RP | EMAC_RX_ST_SE | \
EMAC_RX_ST_AE | EMAC_RX_ST_BFCS | \
EMAC_RX_ST_PTL | EMAC_RX_ST_ORE | \
EMAC_RX_ST_IRE )

Definition at line 309 of file emac.h.

#define EMAC_IS_BAD_TX
Value:
EMAC_TX_ST_EC | EMAC_TX_ST_LC | \
EMAC_TX_ST_MC | EMAC_TX_ST_UR)

Definition at line 291 of file emac.h.

#define EMAC_IS_BAD_TX_TAH
Value:
EMAC_TX_ST_EC | EMAC_TX_ST_LC)

Definition at line 294 of file emac.h.

#define EMAC_ISR_ALE   0x00100000

Definition at line 228 of file emac.h.

#define EMAC_ISR_BFCS   0x00080000

Definition at line 229 of file emac.h.

#define EMAC_ISR_BP   0x00800000

Definition at line 225 of file emac.h.

#define EMAC_ISR_IRE   0x00010000

Definition at line 232 of file emac.h.

#define EMAC_ISR_MOF   0x00000001

Definition at line 236 of file emac.h.

#define EMAC_ISR_MOS   0x00000002

Definition at line 235 of file emac.h.

#define EMAC_ISR_ORE   0x00020000

Definition at line 231 of file emac.h.

#define EMAC_ISR_OVR   0x02000000

Definition at line 223 of file emac.h.

#define EMAC_ISR_PP   0x01000000

Definition at line 224 of file emac.h.

#define EMAC_ISR_PTLE   0x00040000

Definition at line 230 of file emac.h.

#define EMAC_ISR_RP   0x00400000

Definition at line 226 of file emac.h.

#define EMAC_ISR_SE   0x00200000

Definition at line 227 of file emac.h.

#define EMAC_ISR_SQE   0x00000080

Definition at line 233 of file emac.h.

#define EMAC_ISR_TE   0x00000040

Definition at line 234 of file emac.h.

#define EMAC_MR0_RXE   0x08000000

Definition at line 125 of file emac.h.

#define EMAC_MR0_RXI   0x80000000

Definition at line 121 of file emac.h.

#define EMAC_MR0_SRST   0x20000000

Definition at line 123 of file emac.h.

#define EMAC_MR0_TXE   0x10000000

Definition at line 124 of file emac.h.

#define EMAC_MR0_TXI   0x40000000

Definition at line 122 of file emac.h.

#define EMAC_MR0_WKE   0x04000000

Definition at line 126 of file emac.h.

#define EMAC_MR1_APP   0x08000000

Definition at line 133 of file emac.h.

#define EMAC_MR1_BASE (   opb)    (EMAC_MR1_TFS_2K | EMAC_MR1_TR0_MULT)

Definition at line 149 of file emac.h.

#define EMAC_MR1_EIFC   0x10000000

Definition at line 132 of file emac.h.

#define EMAC_MR1_FDE   0x80000000

Definition at line 129 of file emac.h.

#define EMAC_MR1_ILE   0x40000000

Definition at line 130 of file emac.h.

#define EMAC_MR1_IST   0x01000000

Definition at line 134 of file emac.h.

#define EMAC_MR1_JPSM   0x00000000

Definition at line 147 of file emac.h.

#define EMAC_MR1_MF_10   0x00000000

Definition at line 137 of file emac.h.

#define EMAC_MR1_MF_100   0x00400000

Definition at line 138 of file emac.h.

#define EMAC_MR1_MF_1000   0x00800000

Definition at line 139 of file emac.h.

#define EMAC_MR1_MF_1000GPCS   0x00c00000

Definition at line 140 of file emac.h.

#define EMAC_MR1_MF_IPPA (   id)    (((id) & 0x1f) << 6)

Definition at line 141 of file emac.h.

#define EMAC_MR1_MF_MASK   0x00c00000

Definition at line 136 of file emac.h.

#define EMAC_MR1_MWSW_001   0x00000000

Definition at line 148 of file emac.h.

#define EMAC_MR1_RFS_16K   0x00000000

Definition at line 144 of file emac.h.

#define EMAC_MR1_RFS_4K   0x00300000

Definition at line 143 of file emac.h.

#define EMAC_MR1_TFS_2K   0x00080000

Definition at line 145 of file emac.h.

#define EMAC_MR1_TR0_MULT   0x00008000

Definition at line 146 of file emac.h.

#define EMAC_MR1_VLE   0x20000000

Definition at line 131 of file emac.h.

#define EMAC_RMR_BAE   0x00100000

Definition at line 204 of file emac.h.

#define EMAC_RMR_BASE   0x00000000

Definition at line 206 of file emac.h.

#define EMAC_RMR_IAE   0x00400000

Definition at line 202 of file emac.h.

#define EMAC_RMR_MAE   0x00080000

Definition at line 205 of file emac.h.

#define EMAC_RMR_MIAE   0x00200000

Definition at line 203 of file emac.h.

#define EMAC_RMR_PME   0x01000000

Definition at line 200 of file emac.h.

#define EMAC_RMR_PMME   0x00800000

Definition at line 201 of file emac.h.

#define EMAC_RMR_PPP   0x02000000

Definition at line 199 of file emac.h.

#define EMAC_RMR_RFP   0x10000000

Definition at line 196 of file emac.h.

#define EMAC_RMR_ROP   0x08000000

Definition at line 197 of file emac.h.

#define EMAC_RMR_RPIR   0x04000000

Definition at line 198 of file emac.h.

#define EMAC_RMR_RRP   0x20000000

Definition at line 195 of file emac.h.

#define EMAC_RMR_SFCS   0x40000000

Definition at line 194 of file emac.h.

#define EMAC_RMR_SP   0x80000000

Definition at line 193 of file emac.h.

#define EMAC_RX_ST_AE   0x0010

Definition at line 303 of file emac.h.

#define EMAC_RX_ST_BFCS   0x0008

Definition at line 304 of file emac.h.

#define EMAC_RX_ST_BP   0x0080

Definition at line 300 of file emac.h.

#define EMAC_RX_ST_IRE   0x0001

Definition at line 307 of file emac.h.

#define EMAC_RX_ST_OE   0x0200

Definition at line 298 of file emac.h.

#define EMAC_RX_ST_ORE   0x0002

Definition at line 306 of file emac.h.

#define EMAC_RX_ST_PP   0x0100

Definition at line 299 of file emac.h.

#define EMAC_RX_ST_PTL   0x0004

Definition at line 305 of file emac.h.

#define EMAC_RX_ST_RP   0x0040

Definition at line 301 of file emac.h.

#define EMAC_RX_ST_SE   0x0020

Definition at line 302 of file emac.h.

#define EMAC_RX_TAH_BAD_CSUM   0x0003

Definition at line 308 of file emac.h.

#define EMAC_STACR_BASE (   opb)    EMAC_STACR_OPBC(opb)

Definition at line 254 of file emac.h.

#define EMAC_STACR_OC   0x00008000

Definition at line 241 of file emac.h.

#define EMAC_STACR_OPBC (   freq)
Value:

Definition at line 251 of file emac.h.

#define EMAC_STACR_OPBC_100   0x00000C00

Definition at line 250 of file emac.h.

#define EMAC_STACR_OPBC_50   0x00000000

Definition at line 247 of file emac.h.

#define EMAC_STACR_OPBC_66   0x00000400

Definition at line 248 of file emac.h.

#define EMAC_STACR_OPBC_83   0x00000800

Definition at line 249 of file emac.h.

#define EMAC_STACR_OPBC_MASK   0x00000C00

Definition at line 246 of file emac.h.

#define EMAC_STACR_PCDA_MASK   0x1f

Definition at line 256 of file emac.h.

#define EMAC_STACR_PCDA_SHIFT   5

Definition at line 257 of file emac.h.

#define EMAC_STACR_PHYD_MASK   0xffff

Definition at line 239 of file emac.h.

#define EMAC_STACR_PHYD_SHIFT   16

Definition at line 240 of file emac.h.

#define EMAC_STACR_PHYE   0x00004000

Definition at line 242 of file emac.h.

#define EMAC_STACR_PRA_MASK   0x1f

Definition at line 258 of file emac.h.

#define EMAC_STACR_STAC_MASK   0x00003000

Definition at line 243 of file emac.h.

#define EMAC_STACR_STAC_READ   0x00001000

Definition at line 244 of file emac.h.

#define EMAC_STACR_STAC_WRITE   0x00002000

Definition at line 245 of file emac.h.

#define EMAC_TMR0_DEFAULT   0x00000000

Definition at line 175 of file emac.h.

#define EMAC_TMR0_GNP   0x80000000

Definition at line 174 of file emac.h.

#define EMAC_TMR0_XMIT   (EMAC_TMR0_GNP | EMAC_TMR0_DEFAULT)

Definition at line 184 of file emac.h.

#define EMAC_TMR1 (   l,
  h 
)    (((l) << 27) | (((h) & 0xff) << 16))

Definition at line 189 of file emac.h.

#define EMAC_TRTR_SHIFT   27

Definition at line 270 of file emac.h.

#define EMAC_TRTR_SHIFT_EMAC4   24

Definition at line 269 of file emac.h.

#define EMAC_TX_CTRL_GFCS   0x0200

Definition at line 273 of file emac.h.

#define EMAC_TX_CTRL_GP   0x0100

Definition at line 274 of file emac.h.

#define EMAC_TX_CTRL_ISA   0x0080

Definition at line 275 of file emac.h.

#define EMAC_TX_CTRL_IVT   0x0020

Definition at line 277 of file emac.h.

#define EMAC_TX_CTRL_RSA   0x0040

Definition at line 276 of file emac.h.

#define EMAC_TX_CTRL_RVT   0x0010

Definition at line 278 of file emac.h.

#define EMAC_TX_CTRL_TAH_CSUM   0x000e

Definition at line 279 of file emac.h.

#define EMAC_TX_ST_BFCS   0x0200

Definition at line 282 of file emac.h.

#define EMAC_TX_ST_EC   0x0020

Definition at line 285 of file emac.h.

#define EMAC_TX_ST_ED   0x0040

Definition at line 284 of file emac.h.

#define EMAC_TX_ST_LC   0x0010

Definition at line 286 of file emac.h.

#define EMAC_TX_ST_LCS   0x0080

Definition at line 283 of file emac.h.

#define EMAC_TX_ST_MC   0x0008

Definition at line 287 of file emac.h.

#define EMAC_TX_ST_SC   0x0004

Definition at line 288 of file emac.h.

#define EMAC_TX_ST_SQE   0x0001

Definition at line 290 of file emac.h.

#define EMAC_TX_ST_UR   0x0002

Definition at line 289 of file emac.h.

#define EMACX_STACR_STAC_IND_ADDR   0x00002000

Definition at line 262 of file emac.h.

#define EMACX_STACR_STAC_IND_READ   0x00003800

Definition at line 263 of file emac.h.

#define EMACX_STACR_STAC_IND_READINC   0x00003000

Definition at line 264 of file emac.h.

#define EMACX_STACR_STAC_IND_WRITE   0x00002800

Definition at line 265 of file emac.h.

#define EMACX_STACR_STAC_MASK   0x00003800

Definition at line 259 of file emac.h.

#define EMACX_STACR_STAC_READ   0x00001000

Definition at line 260 of file emac.h.

#define EMACX_STACR_STAC_WRITE   0x00000800

Definition at line 261 of file emac.h.

#define PHY_MODE_GMII   PHY_INTERFACE_MODE_GMII

Definition at line 116 of file emac.h.

#define PHY_MODE_MII   PHY_INTERFACE_MODE_MII

Definition at line 111 of file emac.h.

#define PHY_MODE_NA   PHY_INTERFACE_MODE_NA

Definition at line 110 of file emac.h.

#define PHY_MODE_RGMII   PHY_INTERFACE_MODE_RGMII

Definition at line 114 of file emac.h.

#define PHY_MODE_RMII   PHY_INTERFACE_MODE_RMII

Definition at line 112 of file emac.h.

#define PHY_MODE_RTBI   PHY_INTERFACE_MODE_RTBI

Definition at line 117 of file emac.h.

#define PHY_MODE_SGMII   PHY_INTERFACE_MODE_SGMII

Definition at line 118 of file emac.h.

#define PHY_MODE_SMII   PHY_INTERFACE_MODE_SMII

Definition at line 113 of file emac.h.

#define PHY_MODE_TBI   PHY_INTERFACE_MODE_TBI

Definition at line 115 of file emac.h.