Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dw_mmc.c File Reference
#include <linux/blkdev.h>
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/dw_mmc.h>
#include <linux/bitops.h>
#include <linux/regulator/consumer.h>
#include <linux/workqueue.h>
#include <linux/of.h>
#include "dw_mmc.h"

Go to the source code of this file.

Data Structures

struct  dw_mci_slot
 

Macros

#define DW_MCI_DATA_ERROR_FLAGS
 
#define DW_MCI_CMD_ERROR_FLAGS
 
#define DW_MCI_ERROR_FLAGS
 
#define DW_MCI_SEND_STATUS   1
 
#define DW_MCI_RECV_STATUS   2
 
#define DW_MCI_DMA_THRESHOLD   16
 
#define DW_MMC_CARD_PRESENT   0
 
#define DW_MMC_CARD_NEED_INIT   1
 

Functions

int dw_mci_probe (struct dw_mci *host)
 
 EXPORT_SYMBOL (dw_mci_probe)
 
void dw_mci_remove (struct dw_mci *host)
 
 EXPORT_SYMBOL (dw_mci_remove)
 
 module_init (dw_mci_init)
 
 module_exit (dw_mci_exit)
 
 MODULE_DESCRIPTION ("DW Multimedia Card Interface driver")
 
 MODULE_AUTHOR ("NXP Semiconductor VietNam")
 
 MODULE_AUTHOR ("Imagination Technologies Ltd")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define DW_MCI_CMD_ERROR_FLAGS
Value:
SDMMC_INT_RESP_ERR)

Definition at line 44 of file dw_mmc.c.

#define DW_MCI_DATA_ERROR_FLAGS
Value:
SDMMC_INT_HTO | SDMMC_INT_SBE | \
SDMMC_INT_EBE)

Definition at line 41 of file dw_mmc.c.

#define DW_MCI_DMA_THRESHOLD   16

Definition at line 50 of file dw_mmc.c.

#define DW_MCI_ERROR_FLAGS
Value:
DW_MCI_CMD_ERROR_FLAGS | SDMMC_INT_HLE)

Definition at line 46 of file dw_mmc.c.

#define DW_MCI_RECV_STATUS   2

Definition at line 49 of file dw_mmc.c.

#define DW_MCI_SEND_STATUS   1

Definition at line 48 of file dw_mmc.c.

#define DW_MMC_CARD_NEED_INIT   1

Definition at line 99 of file dw_mmc.c.

#define DW_MMC_CARD_PRESENT   0

Definition at line 98 of file dw_mmc.c.

Function Documentation

int dw_mci_probe ( struct dw_mci host)

Definition at line 2085 of file dw_mmc.c.

void dw_mci_remove ( struct dw_mci host)

Definition at line 2316 of file dw_mmc.c.

EXPORT_SYMBOL ( dw_mci_probe  )
EXPORT_SYMBOL ( dw_mci_remove  )
MODULE_AUTHOR ( "NXP Semiconductor VietNam"  )
MODULE_AUTHOR ( "Imagination Technologies Ltd"  )
MODULE_DESCRIPTION ( "DW Multimedia Card Interface driver )
module_exit ( dw_mci_exit  )
module_init ( dw_mci_init  )
MODULE_LICENSE ( "GPL v2 )