Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mmc.h File Reference

Go to the source code of this file.

Data Structures

struct  stmmac_counters
 

Macros

#define MMC_CNTRL_COUNTER_RESET   0x1
 
#define MMC_CNTRL_COUNTER_STOP_ROLLOVER   0x2
 
#define MMC_CNTRL_RESET_ON_READ   0x4 /* Reset after reading */
 
#define MMC_CNTRL_COUNTER_FREEZER
 
#define MMC_CNTRL_PRESET   0x10
 
#define MMC_CNTRL_FULL_HALF_PRESET   0x20
 

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)
 

Macro Definition Documentation

#define MMC_CNTRL_COUNTER_FREEZER
Value:
0x8 /* Freeze counter values to the
* current value.*/

Definition at line 35 of file mmc.h.

#define MMC_CNTRL_COUNTER_RESET   0x1

Definition at line 30 of file mmc.h.

#define MMC_CNTRL_COUNTER_STOP_ROLLOVER   0x2

Definition at line 33 of file mmc.h.

#define MMC_CNTRL_FULL_HALF_PRESET   0x20

Definition at line 37 of file mmc.h.

#define MMC_CNTRL_PRESET   0x10

Definition at line 36 of file mmc.h.

#define MMC_CNTRL_RESET_ON_READ   0x4 /* Reset after reading */

Definition at line 34 of file mmc.h.

Function Documentation

void dwmac_mmc_ctrl ( void __iomem ioaddr,
unsigned int  mode 
)

Definition at line 135 of file mmc_core.c.

void dwmac_mmc_intr_all_mask ( void __iomem ioaddr)

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.