Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mvsdio.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/mbus.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/scatterlist.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/gpio.h>
#include <linux/mmc/host.h>
#include <asm/sizes.h>
#include <asm/unaligned.h>
#include <linux/platform_data/mmc-mvsdio.h>
#include "mvsdio.h"

Go to the source code of this file.

Data Structures

struct  mvsd_host
 

Macros

#define DRIVER_NAME   "mvsdio"
 
#define mvsd_write(offs, val)   writel(val, iobase + (offs))
 
#define mvsd_read(offs)   readl(iobase + (offs))
 
#define mvsd_suspend   NULL
 
#define mvsd_resume   NULL
 

Functions

 module_init (mvsd_init)
 
 module_exit (mvsd_exit)
 
 module_param (maxfreq, int, 0)
 
 module_param (nodma, int, 0)
 
 MODULE_AUTHOR ("Maen Suleiman, Nicolas Pitre")
 
 MODULE_DESCRIPTION ("Marvell MMC,SD,SDIO Host Controller driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:mvsdio")
 

Macro Definition Documentation

#define DRIVER_NAME   "mvsdio"

Definition at line 32 of file mvsdio.c.

#define mvsd_read (   offs)    readl(iobase + (offs))

Definition at line 61 of file mvsdio.c.

#define mvsd_resume   NULL

Definition at line 905 of file mvsdio.c.

#define mvsd_suspend   NULL

Definition at line 904 of file mvsdio.c.

#define mvsd_write (   offs,
  val 
)    writel(val, iobase + (offs))

Definition at line 60 of file mvsdio.c.

Function Documentation

MODULE_ALIAS ( "platform:mvsdio"  )
MODULE_AUTHOR ( "Maen  Suleiman,
Nicolas Pitre"   
)
MODULE_DESCRIPTION ( "Marvell  MMC,
SD  ,
SDIO Host Controller driver  
)
module_exit ( mvsd_exit  )
module_init ( mvsd_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( maxfreq  ,
int  ,
 
)
module_param ( nodma  ,
int  ,
 
)