Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
sdhci-esdhc-imx.c File Reference
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/sdio.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/pinctrl/consumer.h>
#include <linux/platform_data/mmc-esdhc-imx.h>
#include "sdhci-pltfm.h"
#include "sdhci-esdhc.h"

Go to the source code of this file.

Data Structures

struct  pltfm_imx_data
 

Macros

#define SDHCI_CTRL_D3CD   0x08
 
#define SDHCI_VENDOR_SPEC   0xC0
 
#define SDHCI_VENDOR_SPEC_SDIO_QUIRK   0x00000002
 
#define SDHCI_WTMK_LVL   0x44
 
#define SDHCI_MIX_CTRL   0x48
 
#define SDHCI_INT_VENDOR_SPEC_DMA_ERR   0x10000000
 
#define ESDHC_FLAG_MULTIBLK_NO_INT   (1 << 1)
 

Enumerations

enum  imx_esdhc_type {
  IMX25_ESDHC, IMX35_ESDHC, IMX51_ESDHC, IMX53_ESDHC,
  IMX6Q_USDHC
}
 

Functions

 MODULE_DEVICE_TABLE (platform, imx_esdhc_devtype)
 
 MODULE_DEVICE_TABLE (of, imx_esdhc_dt_ids)
 
 module_platform_driver (sdhci_esdhc_imx_driver)
 
 MODULE_DESCRIPTION ("SDHCI driver for Freescale i.MX eSDHC")
 
 MODULE_AUTHOR ("Wolfram Sang <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define ESDHC_FLAG_MULTIBLK_NO_INT   (1 << 1)

Definition at line 58 of file sdhci-esdhc-imx.c.

#define SDHCI_CTRL_D3CD   0x08

Definition at line 32 of file sdhci-esdhc-imx.c.

#define SDHCI_INT_VENDOR_SPEC_DMA_ERR   0x10000000

Definition at line 45 of file sdhci-esdhc-imx.c.

#define SDHCI_MIX_CTRL   0x48

Definition at line 37 of file sdhci-esdhc-imx.c.

#define SDHCI_VENDOR_SPEC   0xC0

Definition at line 34 of file sdhci-esdhc-imx.c.

#define SDHCI_VENDOR_SPEC_SDIO_QUIRK   0x00000002

Definition at line 35 of file sdhci-esdhc-imx.c.

#define SDHCI_WTMK_LVL   0x44

Definition at line 36 of file sdhci-esdhc-imx.c.

Enumeration Type Documentation

Enumerator:
IMX25_ESDHC 
IMX35_ESDHC 
IMX51_ESDHC 
IMX53_ESDHC 
IMX6Q_USDHC 

Definition at line 60 of file sdhci-esdhc-imx.c.

Function Documentation

MODULE_AUTHOR ( "Wolfram Sang <[email protected]>"  )
MODULE_DESCRIPTION ( "SDHCI driver for Freescale i.MX eSDHC"  )
MODULE_DEVICE_TABLE ( platform  ,
imx_esdhc_devtype   
)
MODULE_DEVICE_TABLE ( of  ,
imx_esdhc_dt_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( sdhci_esdhc_imx_driver  )