Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mxs-mmc.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/highmem.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/completion.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/sdio.h>
#include <linux/gpio.h>
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include <linux/pinctrl/consumer.h>
#include <linux/stmp_device.h>
#include <linux/mmc/mxs-mmc.h>
#include <linux/spi/mxs-spi.h>

Go to the source code of this file.

Data Structures

struct  mxs_mmc_host
 

Macros

#define DRIVER_NAME   "mxs-mmc"
 
#define MXS_MMC_IRQ_BITS
 
#define MXS_MMC_DETECT_TIMEOUT   (HZ/2)
 

Functions

 MODULE_DEVICE_TABLE (platform, mxs_ssp_ids)
 
 MODULE_DEVICE_TABLE (of, mxs_mmc_dt_ids)
 
 module_platform_driver (mxs_mmc_driver)
 
 MODULE_DESCRIPTION ("FREESCALE MXS MMC peripheral")
 
 MODULE_AUTHOR ("Freescale Semiconductor")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER_NAME   "mxs-mmc"

Definition at line 49 of file mxs-mmc.c.

#define MXS_MMC_DETECT_TIMEOUT   (HZ/2)

Definition at line 61 of file mxs-mmc.c.

#define MXS_MMC_IRQ_BITS
Value:
BM_SSP_CTRL1_RESP_ERR_IRQ | \
BM_SSP_CTRL1_RESP_TIMEOUT_IRQ | \
BM_SSP_CTRL1_DATA_TIMEOUT_IRQ | \
BM_SSP_CTRL1_DATA_CRC_IRQ | \
BM_SSP_CTRL1_FIFO_UNDERRUN_IRQ | \
BM_SSP_CTRL1_RECV_TIMEOUT_IRQ | \
BM_SSP_CTRL1_FIFO_OVERRUN_IRQ)

Definition at line 51 of file mxs-mmc.c.

Function Documentation

MODULE_AUTHOR ( "Freescale Semiconductor"  )
MODULE_DESCRIPTION ( "FREESCALE MXS MMC peripheral )
MODULE_DEVICE_TABLE ( platform  ,
mxs_ssp_ids   
)
MODULE_DEVICE_TABLE ( of  ,
mxs_mmc_dt_ids   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( mxs_mmc_driver  )