Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
platform-sdhci-esdhc-imx.c File Reference
#include <mach/hardware.h>
#include <mach/devices-common.h>
#include <linux/platform_data/mmc-esdhc-imx.h>

Go to the source code of this file.

Macros

#define imx_sdhci_esdhc_imx_data_entry_single(soc, _devid, _id, hwid)
 
#define imx_sdhci_esdhc_imx_data_entry(soc, devid, id, hwid)   [id] = imx_sdhci_esdhc_imx_data_entry_single(soc, devid, id, hwid)
 

Functions

struct platform_device *__init imx_add_sdhci_esdhc_imx (const struct imx_sdhci_esdhc_imx_data *data, const struct esdhc_platform_data *pdata)
 

Macro Definition Documentation

#define imx_sdhci_esdhc_imx_data_entry (   soc,
  devid,
  id,
  hwid 
)    [id] = imx_sdhci_esdhc_imx_data_entry_single(soc, devid, id, hwid)

Definition at line 21 of file platform-sdhci-esdhc-imx.c.

#define imx_sdhci_esdhc_imx_data_entry_single (   soc,
  _devid,
  _id,
  hwid 
)
Value:
{ \
.devid = _devid, \
.id = _id, \
.iobase = soc ## _ESDHC ## hwid ## _BASE_ADDR, \
.irq = soc ## _INT_ESDHC ## hwid, \
}

Definition at line 13 of file platform-sdhci-esdhc-imx.c.

Function Documentation

struct platform_device* __init imx_add_sdhci_esdhc_imx ( const struct imx_sdhci_esdhc_imx_data data,
const struct esdhc_platform_data pdata 
)
read

Definition at line 74 of file platform-sdhci-esdhc-imx.c.