Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
s3cmci.c File Reference
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/clk.h>
#include <linux/mmc/host.h>
#include <linux/platform_device.h>
#include <linux/cpufreq.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <mach/dma.h>
#include <mach/regs-sdi.h>
#include <linux/platform_data/mmc-s3cmci.h>
#include "s3cmci.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "s3c-mci"
 
#define dbg(host, channels, args...)
 
#define BOTH_DIR   (MMC_DATA_WRITE | MMC_DATA_READ)
 
#define s3cmci_pm_ops   NULL
 

Enumerations

enum  dbg_channels {
  dbg_err = (1 << 0), dbg_debug = (1 << 1), dbg_info = (1 << 2), dbg_irq = (1 << 3),
  dbg_sg = (1 << 4), dbg_dma = (1 << 5), dbg_pio = (1 << 6), dbg_fail = (1 << 7),
  dbg_conf = (1 << 8)
}
 

Functions

 MODULE_DEVICE_TABLE (platform, s3cmci_driver_ids)
 
 module_platform_driver (s3cmci_driver)
 
 MODULE_DESCRIPTION ("Samsung S3C MMC/SD Card Interface driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Thomas Kleffel <[email protected]>, Ben Dooks <[email protected]>")
 

Macro Definition Documentation

#define BOTH_DIR   (MMC_DATA_WRITE | MMC_DATA_READ)

Definition at line 1058 of file s3cmci.c.

#define dbg (   host,
  channels,
  args... 
)
Value:
do { \
if (dbgmap_err & channels) \
dev_err(&host->pdev->dev, args); \
else if (dbgmap_info & channels) \
dev_info(&host->pdev->dev, args); \
else if (dbgmap_debug & channels) \
dev_dbg(&host->pdev->dev, args); \
} while (0)

Definition at line 52 of file s3cmci.c.

#define DRIVER_NAME   "s3c-mci"

Definition at line 34 of file s3cmci.c.

#define s3cmci_pm_ops   NULL

Definition at line 1897 of file s3cmci.c.

Enumeration Type Documentation

Enumerator:
dbg_err 
dbg_debug 
dbg_info 
dbg_irq 
dbg_sg 
dbg_dma 
dbg_pio 
dbg_fail 
dbg_conf 

Definition at line 36 of file s3cmci.c.

Function Documentation

MODULE_AUTHOR ( "Thomas Kleffel <[email protected] ,
Ben Dooks< ben-linux @fluff.org >"   
)
MODULE_DESCRIPTION ( "Samsung S3C MMC/SD Card Interface driver )
MODULE_DEVICE_TABLE ( platform  ,
s3cmci_driver_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( s3cmci_driver  )