Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wbsd.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/pnp.h>
#include <linux/highmem.h>
#include <linux/mmc/host.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/dma.h>
#include "wbsd.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "wbsd"
 
#define DBG(x...)   pr_debug(DRIVER_NAME ": " x)
 
#define DBGF(f, x...)   pr_debug(DRIVER_NAME " [%s()]: " f, __func__ , ##x)
 
#define wbsd_platform_suspend   NULL
 
#define wbsd_platform_resume   NULL
 
#define wbsd_pnp_suspend   NULL
 
#define wbsd_pnp_resume   NULL
 

Functions

 module_init (wbsd_drv_init)
 
 module_exit (wbsd_drv_exit)
 
 module_param_named (io, param_io, uint, 0444)
 
 module_param_named (irq, param_irq, uint, 0444)
 
 module_param_named (dma, param_dma, int, 0444)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Pierre Ossman <[email protected]>")
 
 MODULE_DESCRIPTION ("Winbond W83L51xD SD/MMC card interface driver")
 
 MODULE_PARM_DESC (io,"I/O base to allocate. Must be 8 byte aligned. (default 0x248)")
 
 MODULE_PARM_DESC (irq,"IRQ to allocate. (default 6)")
 
 MODULE_PARM_DESC (dma,"DMA channel to allocate. -1 for no DMA. (default 2)")
 

Macro Definition Documentation

#define DBG (   x...)    pr_debug(DRIVER_NAME ": " x)

Definition at line 46 of file wbsd.c.

#define DBGF (   f,
  x... 
)    pr_debug(DRIVER_NAME " [%s()]: " f, __func__ , ##x)

Definition at line 48 of file wbsd.c.

#define DRIVER_NAME   "wbsd"

Definition at line 44 of file wbsd.c.

#define wbsd_platform_resume   NULL

Definition at line 1933 of file wbsd.c.

#define wbsd_platform_suspend   NULL

Definition at line 1932 of file wbsd.c.

#define wbsd_pnp_resume   NULL

Definition at line 1936 of file wbsd.c.

#define wbsd_pnp_suspend   NULL

Definition at line 1935 of file wbsd.c.

Function Documentation

MODULE_AUTHOR ( "Pierre Ossman <[email protected]>"  )
MODULE_DESCRIPTION ( "Winbond W83L51xD SD/MMC card interface driver )
module_exit ( wbsd_drv_exit  )
module_init ( wbsd_drv_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( io  ,
param_io  ,
uint  ,
0444   
)
module_param_named ( irq  ,
param_irq  ,
uint  ,
0444   
)
module_param_named ( dma  ,
param_dma  ,
int  ,
0444   
)
MODULE_PARM_DESC ( io  ,
"I/O base to allocate. Must be 8 byte aligned. (default 0x248)"   
)
MODULE_PARM_DESC ( irq  ,
"IRQ to allocate. (default 6)"   
)
MODULE_PARM_DESC ( dma  ,
"DMA channel to allocate. -1 for no DMA. (default 2)"   
)