Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | MMC_CNTRL 0x00000100 /* MMC Control */ |
#define | MMC_RX_INTR 0x00000104 /* MMC RX Interrupt */ |
#define | MMC_TX_INTR 0x00000108 /* MMC TX Interrupt */ |
#define | MMC_RX_INTR_MASK 0x0000010c /* MMC Interrupt Mask */ |
#define | MMC_TX_INTR_MASK 0x00000110 /* MMC Interrupt Mask */ |
#define | MMC_DEFAULT_MASK 0xffffffff |
#define | MMC_TX_OCTETCOUNT_GB 0x00000114 |
#define | MMC_TX_FRAMECOUNT_GB 0x00000118 |
#define | MMC_TX_BROADCASTFRAME_G 0x0000011c |
#define | MMC_TX_MULTICASTFRAME_G 0x00000120 |
#define | MMC_TX_64_OCTETS_GB 0x00000124 |
#define | MMC_TX_65_TO_127_OCTETS_GB 0x00000128 |
#define | MMC_TX_128_TO_255_OCTETS_GB 0x0000012c |
#define | MMC_TX_256_TO_511_OCTETS_GB 0x00000130 |
#define | MMC_TX_512_TO_1023_OCTETS_GB 0x00000134 |
#define | MMC_TX_1024_TO_MAX_OCTETS_GB 0x00000138 |
#define | MMC_TX_UNICAST_GB 0x0000013c |
#define | MMC_TX_MULTICAST_GB 0x00000140 |
#define | MMC_TX_BROADCAST_GB 0x00000144 |
#define | MMC_TX_UNDERFLOW_ERROR 0x00000148 |
#define | MMC_TX_SINGLECOL_G 0x0000014c |
#define | MMC_TX_MULTICOL_G 0x00000150 |
#define | MMC_TX_DEFERRED 0x00000154 |
#define | MMC_TX_LATECOL 0x00000158 |
#define | MMC_TX_EXESSCOL 0x0000015c |
#define | MMC_TX_CARRIER_ERROR 0x00000160 |
#define | MMC_TX_OCTETCOUNT_G 0x00000164 |
#define | MMC_TX_FRAMECOUNT_G 0x00000168 |
#define | MMC_TX_EXCESSDEF 0x0000016c |
#define | MMC_TX_PAUSE_FRAME 0x00000170 |
#define | MMC_TX_VLAN_FRAME_G 0x00000174 |
#define | MMC_RX_FRAMECOUNT_GB 0x00000180 |
#define | MMC_RX_OCTETCOUNT_GB 0x00000184 |
#define | MMC_RX_OCTETCOUNT_G 0x00000188 |
#define | MMC_RX_BROADCASTFRAME_G 0x0000018c |
#define | MMC_RX_MULTICASTFRAME_G 0x00000190 |
#define | MMC_RX_CRC_ERRROR 0x00000194 |
#define | MMC_RX_ALIGN_ERROR 0x00000198 |
#define | MMC_RX_RUN_ERROR 0x0000019C |
#define | MMC_RX_JABBER_ERROR 0x000001A0 |
#define | MMC_RX_UNDERSIZE_G 0x000001A4 |
#define | MMC_RX_OVERSIZE_G 0x000001A8 |
#define | MMC_RX_64_OCTETS_GB 0x000001AC |
#define | MMC_RX_65_TO_127_OCTETS_GB 0x000001b0 |
#define | MMC_RX_128_TO_255_OCTETS_GB 0x000001b4 |
#define | MMC_RX_256_TO_511_OCTETS_GB 0x000001b8 |
#define | MMC_RX_512_TO_1023_OCTETS_GB 0x000001bc |
#define | MMC_RX_1024_TO_MAX_OCTETS_GB 0x000001c0 |
#define | MMC_RX_UNICAST_G 0x000001c4 |
#define | MMC_RX_LENGTH_ERROR 0x000001c8 |
#define | MMC_RX_AUTOFRANGETYPE 0x000001cc |
#define | MMC_RX_PAUSE_FRAMES 0x000001d0 |
#define | MMC_RX_FIFO_OVERFLOW 0x000001d4 |
#define | MMC_RX_VLAN_FRAMES_GB 0x000001d8 |
#define | MMC_RX_WATCHDOG_ERROR 0x000001dc |
#define | MMC_RX_IPC_INTR_MASK 0x00000200 |
#define | MMC_RX_IPC_INTR 0x00000208 |
#define | MMC_RX_IPV4_GD 0x00000210 |
#define | MMC_RX_IPV4_HDERR 0x00000214 |
#define | MMC_RX_IPV4_NOPAY 0x00000218 |
#define | MMC_RX_IPV4_FRAG 0x0000021C |
#define | MMC_RX_IPV4_UDSBL 0x00000220 |
#define | MMC_RX_IPV4_GD_OCTETS 0x00000250 |
#define | MMC_RX_IPV4_HDERR_OCTETS 0x00000254 |
#define | MMC_RX_IPV4_NOPAY_OCTETS 0x00000258 |
#define | MMC_RX_IPV4_FRAG_OCTETS 0x0000025c |
#define | MMC_RX_IPV4_UDSBL_OCTETS 0x00000260 |
#define | MMC_RX_IPV6_GD_OCTETS 0x00000264 |
#define | MMC_RX_IPV6_HDERR_OCTETS 0x00000268 |
#define | MMC_RX_IPV6_NOPAY_OCTETS 0x0000026c |
#define | MMC_RX_IPV6_GD 0x00000224 |
#define | MMC_RX_IPV6_HDERR 0x00000228 |
#define | MMC_RX_IPV6_NOPAY 0x0000022c |
#define | MMC_RX_UDP_GD 0x00000230 |
#define | MMC_RX_UDP_ERR 0x00000234 |
#define | MMC_RX_TCP_GD 0x00000238 |
#define | MMC_RX_TCP_ERR 0x0000023c |
#define | MMC_RX_ICMP_GD 0x00000240 |
#define | MMC_RX_ICMP_ERR 0x00000244 |
#define | MMC_RX_UDP_GD_OCTETS 0x00000270 |
#define | MMC_RX_UDP_ERR_OCTETS 0x00000274 |
#define | MMC_RX_TCP_GD_OCTETS 0x00000278 |
#define | MMC_RX_TCP_ERR_OCTETS 0x0000027c |
#define | MMC_RX_ICMP_GD_OCTETS 0x00000280 |
#define | MMC_RX_ICMP_ERR_OCTETS 0x00000284 |
Functions | |
void | dwmac_mmc_ctrl (void __iomem *ioaddr, unsigned int mode) |
void | dwmac_mmc_intr_all_mask (void __iomem *ioaddr) |
void | dwmac_mmc_read (void __iomem *ioaddr, struct stmmac_counters *mmc) |
#define MMC_CNTRL 0x00000100 /* MMC Control */ |
Definition at line 31 of file mmc_core.c.
#define MMC_DEFAULT_MASK 0xffffffff |
Definition at line 36 of file mmc_core.c.
#define MMC_RX_1024_TO_MAX_OCTETS_GB 0x000001c0 |
Definition at line 87 of file mmc_core.c.
#define MMC_RX_128_TO_255_OCTETS_GB 0x000001b4 |
Definition at line 84 of file mmc_core.c.
#define MMC_RX_256_TO_511_OCTETS_GB 0x000001b8 |
Definition at line 85 of file mmc_core.c.
#define MMC_RX_512_TO_1023_OCTETS_GB 0x000001bc |
Definition at line 86 of file mmc_core.c.
#define MMC_RX_64_OCTETS_GB 0x000001AC |
Definition at line 82 of file mmc_core.c.
#define MMC_RX_65_TO_127_OCTETS_GB 0x000001b0 |
Definition at line 83 of file mmc_core.c.
#define MMC_RX_ALIGN_ERROR 0x00000198 |
Definition at line 77 of file mmc_core.c.
#define MMC_RX_AUTOFRANGETYPE 0x000001cc |
Definition at line 90 of file mmc_core.c.
#define MMC_RX_BROADCASTFRAME_G 0x0000018c |
Definition at line 74 of file mmc_core.c.
#define MMC_RX_CRC_ERRROR 0x00000194 |
Definition at line 76 of file mmc_core.c.
#define MMC_RX_FIFO_OVERFLOW 0x000001d4 |
Definition at line 92 of file mmc_core.c.
#define MMC_RX_FRAMECOUNT_GB 0x00000180 |
Definition at line 71 of file mmc_core.c.
#define MMC_RX_ICMP_ERR 0x00000244 |
Definition at line 126 of file mmc_core.c.
#define MMC_RX_ICMP_ERR_OCTETS 0x00000284 |
Definition at line 133 of file mmc_core.c.
#define MMC_RX_ICMP_GD 0x00000240 |
Definition at line 125 of file mmc_core.c.
#define MMC_RX_ICMP_GD_OCTETS 0x00000280 |
Definition at line 132 of file mmc_core.c.
#define MMC_RX_INTR 0x00000104 /* MMC RX Interrupt */ |
Definition at line 32 of file mmc_core.c.
#define MMC_RX_INTR_MASK 0x0000010c /* MMC Interrupt Mask */ |
Definition at line 34 of file mmc_core.c.
#define MMC_RX_IPC_INTR 0x00000208 |
Definition at line 97 of file mmc_core.c.
#define MMC_RX_IPC_INTR_MASK 0x00000200 |
Definition at line 96 of file mmc_core.c.
#define MMC_RX_IPV4_FRAG 0x0000021C |
Definition at line 102 of file mmc_core.c.
#define MMC_RX_IPV4_FRAG_OCTETS 0x0000025c |
Definition at line 108 of file mmc_core.c.
#define MMC_RX_IPV4_GD 0x00000210 |
Definition at line 99 of file mmc_core.c.
#define MMC_RX_IPV4_GD_OCTETS 0x00000250 |
Definition at line 105 of file mmc_core.c.
#define MMC_RX_IPV4_HDERR 0x00000214 |
Definition at line 100 of file mmc_core.c.
#define MMC_RX_IPV4_HDERR_OCTETS 0x00000254 |
Definition at line 106 of file mmc_core.c.
#define MMC_RX_IPV4_NOPAY 0x00000218 |
Definition at line 101 of file mmc_core.c.
#define MMC_RX_IPV4_NOPAY_OCTETS 0x00000258 |
Definition at line 107 of file mmc_core.c.
#define MMC_RX_IPV4_UDSBL 0x00000220 |
Definition at line 103 of file mmc_core.c.
#define MMC_RX_IPV4_UDSBL_OCTETS 0x00000260 |
Definition at line 109 of file mmc_core.c.
#define MMC_RX_IPV6_GD 0x00000224 |
Definition at line 116 of file mmc_core.c.
#define MMC_RX_IPV6_GD_OCTETS 0x00000264 |
Definition at line 112 of file mmc_core.c.
#define MMC_RX_IPV6_HDERR 0x00000228 |
Definition at line 117 of file mmc_core.c.
#define MMC_RX_IPV6_HDERR_OCTETS 0x00000268 |
Definition at line 113 of file mmc_core.c.
#define MMC_RX_IPV6_NOPAY 0x0000022c |
Definition at line 118 of file mmc_core.c.
#define MMC_RX_IPV6_NOPAY_OCTETS 0x0000026c |
Definition at line 114 of file mmc_core.c.
#define MMC_RX_JABBER_ERROR 0x000001A0 |
Definition at line 79 of file mmc_core.c.
#define MMC_RX_LENGTH_ERROR 0x000001c8 |
Definition at line 89 of file mmc_core.c.
#define MMC_RX_MULTICASTFRAME_G 0x00000190 |
Definition at line 75 of file mmc_core.c.
#define MMC_RX_OCTETCOUNT_G 0x00000188 |
Definition at line 73 of file mmc_core.c.
#define MMC_RX_OCTETCOUNT_GB 0x00000184 |
Definition at line 72 of file mmc_core.c.
#define MMC_RX_OVERSIZE_G 0x000001A8 |
Definition at line 81 of file mmc_core.c.
#define MMC_RX_PAUSE_FRAMES 0x000001d0 |
Definition at line 91 of file mmc_core.c.
#define MMC_RX_RUN_ERROR 0x0000019C |
Definition at line 78 of file mmc_core.c.
#define MMC_RX_TCP_ERR 0x0000023c |
Definition at line 124 of file mmc_core.c.
#define MMC_RX_TCP_ERR_OCTETS 0x0000027c |
Definition at line 131 of file mmc_core.c.
#define MMC_RX_TCP_GD 0x00000238 |
Definition at line 123 of file mmc_core.c.
#define MMC_RX_TCP_GD_OCTETS 0x00000278 |
Definition at line 130 of file mmc_core.c.
#define MMC_RX_UDP_ERR 0x00000234 |
Definition at line 122 of file mmc_core.c.
#define MMC_RX_UDP_ERR_OCTETS 0x00000274 |
Definition at line 129 of file mmc_core.c.
#define MMC_RX_UDP_GD 0x00000230 |
Definition at line 121 of file mmc_core.c.
#define MMC_RX_UDP_GD_OCTETS 0x00000270 |
Definition at line 128 of file mmc_core.c.
#define MMC_RX_UNDERSIZE_G 0x000001A4 |
Definition at line 80 of file mmc_core.c.
#define MMC_RX_UNICAST_G 0x000001c4 |
Definition at line 88 of file mmc_core.c.
#define MMC_RX_VLAN_FRAMES_GB 0x000001d8 |
Definition at line 93 of file mmc_core.c.
#define MMC_RX_WATCHDOG_ERROR 0x000001dc |
Definition at line 94 of file mmc_core.c.
#define MMC_TX_1024_TO_MAX_OCTETS_GB 0x00000138 |
Definition at line 53 of file mmc_core.c.
#define MMC_TX_128_TO_255_OCTETS_GB 0x0000012c |
Definition at line 50 of file mmc_core.c.
#define MMC_TX_256_TO_511_OCTETS_GB 0x00000130 |
Definition at line 51 of file mmc_core.c.
#define MMC_TX_512_TO_1023_OCTETS_GB 0x00000134 |
Definition at line 52 of file mmc_core.c.
#define MMC_TX_64_OCTETS_GB 0x00000124 |
Definition at line 48 of file mmc_core.c.
#define MMC_TX_65_TO_127_OCTETS_GB 0x00000128 |
Definition at line 49 of file mmc_core.c.
#define MMC_TX_BROADCAST_GB 0x00000144 |
Definition at line 56 of file mmc_core.c.
#define MMC_TX_BROADCASTFRAME_G 0x0000011c |
Definition at line 46 of file mmc_core.c.
#define MMC_TX_CARRIER_ERROR 0x00000160 |
Definition at line 63 of file mmc_core.c.
#define MMC_TX_DEFERRED 0x00000154 |
Definition at line 60 of file mmc_core.c.
#define MMC_TX_EXCESSDEF 0x0000016c |
Definition at line 66 of file mmc_core.c.
#define MMC_TX_EXESSCOL 0x0000015c |
Definition at line 62 of file mmc_core.c.
#define MMC_TX_FRAMECOUNT_G 0x00000168 |
Definition at line 65 of file mmc_core.c.
#define MMC_TX_FRAMECOUNT_GB 0x00000118 |
Definition at line 45 of file mmc_core.c.
#define MMC_TX_INTR 0x00000108 /* MMC TX Interrupt */ |
Definition at line 33 of file mmc_core.c.
#define MMC_TX_INTR_MASK 0x00000110 /* MMC Interrupt Mask */ |
Definition at line 35 of file mmc_core.c.
#define MMC_TX_LATECOL 0x00000158 |
Definition at line 61 of file mmc_core.c.
#define MMC_TX_MULTICAST_GB 0x00000140 |
Definition at line 55 of file mmc_core.c.
#define MMC_TX_MULTICASTFRAME_G 0x00000120 |
Definition at line 47 of file mmc_core.c.
#define MMC_TX_MULTICOL_G 0x00000150 |
Definition at line 59 of file mmc_core.c.
#define MMC_TX_OCTETCOUNT_G 0x00000164 |
Definition at line 64 of file mmc_core.c.
#define MMC_TX_OCTETCOUNT_GB 0x00000114 |
Definition at line 44 of file mmc_core.c.
#define MMC_TX_PAUSE_FRAME 0x00000170 |
Definition at line 67 of file mmc_core.c.
#define MMC_TX_SINGLECOL_G 0x0000014c |
Definition at line 58 of file mmc_core.c.
#define MMC_TX_UNDERFLOW_ERROR 0x00000148 |
Definition at line 57 of file mmc_core.c.
#define MMC_TX_UNICAST_GB 0x0000013c |
Definition at line 54 of file mmc_core.c.
#define MMC_TX_VLAN_FRAME_G 0x00000174 |
Definition at line 68 of file mmc_core.c.
Definition at line 135 of file mmc_core.c.
Definition at line 148 of file mmc_core.c.
void dwmac_mmc_read | ( | void __iomem * | ioaddr, |
struct stmmac_counters * | mmc | ||
) |
Definition at line 159 of file mmc_core.c.