Go to the documentation of this file.
26 #ifndef __STMMAC_PLATFORM_DATA
27 #define __STMMAC_PLATFORM_DATA
31 #define STMMAC_RX_COE_NONE 0
32 #define STMMAC_RX_COE_TYPE1 1
33 #define STMMAC_RX_COE_TYPE2 2
40 #define STMMAC_CSR_60_100M 0x0
41 #define STMMAC_CSR_100_150M 0x1
42 #define STMMAC_CSR_20_35M 0x2
43 #define STMMAC_CSR_35_60M 0x3
44 #define STMMAC_CSR_150_250M 0x4
45 #define STMMAC_CSR_250_300M 0x5
55 #define STMMAC_CSR_I_4 0x8
56 #define STMMAC_CSR_I_6 0x9
57 #define STMMAC_CSR_I_8 0xA
58 #define STMMAC_CSR_I_10 0xB
59 #define STMMAC_CSR_I_12 0xC
60 #define STMMAC_CSR_I_14 0xD
61 #define STMMAC_CSR_I_16 0xE
62 #define STMMAC_CSR_I_18 0xF
65 #define DMA_AXI_BLEN_4 (1 << 1)
66 #define DMA_AXI_BLEN_8 (1 << 2)
67 #define DMA_AXI_BLEN_16 (1 << 3)
68 #define DMA_AXI_BLEN_32 (1 << 4)
69 #define DMA_AXI_BLEN_64 (1 << 5)
70 #define DMA_AXI_BLEN_128 (1 << 6)
71 #define DMA_AXI_BLEN_256 (1 << 7)
72 #define DMA_AXI_BLEN_ALL (DMA_AXI_BLEN_4 | DMA_AXI_BLEN_8 | DMA_AXI_BLEN_16 \
73 | DMA_AXI_BLEN_32 | DMA_AXI_BLEN_64 \
74 | DMA_AXI_BLEN_128 | DMA_AXI_BLEN_256)