mmc.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | mmc.h (36ff7c1e94a5d43a0ea2d386b211087f77669017) |
---|---|
1/******************************************************************************* 2 MMC Header file 3 4 Copyright (C) 2011 STMicroelectronics Ltd 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 21 unchanged lines hidden (view full) --- 30#define MMC_CNTRL_COUNTER_RESET 0x1 31/* When set, do not roll over zero after reaching the max value*/ 32#define MMC_CNTRL_COUNTER_STOP_ROLLOVER 0x2 33#define MMC_CNTRL_RESET_ON_READ 0x4 /* Reset after reading */ 34#define MMC_CNTRL_COUNTER_FREEZER 0x8 /* Freeze counter values to the 35 * current value.*/ 36#define MMC_CNTRL_PRESET 0x10 37#define MMC_CNTRL_FULL_HALF_PRESET 0x20 | 1/******************************************************************************* 2 MMC Header file 3 4 Copyright (C) 2011 STMicroelectronics Ltd 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 21 unchanged lines hidden (view full) --- 30#define MMC_CNTRL_COUNTER_RESET 0x1 31/* When set, do not roll over zero after reaching the max value*/ 32#define MMC_CNTRL_COUNTER_STOP_ROLLOVER 0x2 33#define MMC_CNTRL_RESET_ON_READ 0x4 /* Reset after reading */ 34#define MMC_CNTRL_COUNTER_FREEZER 0x8 /* Freeze counter values to the 35 * current value.*/ 36#define MMC_CNTRL_PRESET 0x10 37#define MMC_CNTRL_FULL_HALF_PRESET 0x20 |
38 39#define MMC_GMAC4_OFFSET 0x700 40#define MMC_GMAC3_X_OFFSET 0x100 41 |
|
38struct stmmac_counters { 39 unsigned int mmc_tx_octetcount_gb; 40 unsigned int mmc_tx_framecount_gb; 41 unsigned int mmc_tx_broadcastframe_g; 42 unsigned int mmc_tx_multicastframe_g; 43 unsigned int mmc_tx_64_octets_gb; 44 unsigned int mmc_tx_65_to_127_octets_gb; 45 unsigned int mmc_tx_128_to_255_octets_gb; --- 90 unchanged lines hidden --- | 42struct stmmac_counters { 43 unsigned int mmc_tx_octetcount_gb; 44 unsigned int mmc_tx_framecount_gb; 45 unsigned int mmc_tx_broadcastframe_g; 46 unsigned int mmc_tx_multicastframe_g; 47 unsigned int mmc_tx_64_octets_gb; 48 unsigned int mmc_tx_65_to_127_octets_gb; 49 unsigned int mmc_tx_128_to_255_octets_gb; --- 90 unchanged lines hidden --- |