Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
shdma.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/dmaengine.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/sh_dma.h>
#include <linux/notifier.h>
#include <linux/kdebug.h>
#include <linux/spinlock.h>
#include <linux/rculist.h>
#include "../dmaengine.h"
#include "shdma.h"

Go to the source code of this file.

Macros

#define SH_DMAE_DRV_NAME   "sh-dma-engine"
 
#define LOG2_DEFAULT_XFER_SIZE   2
 
#define SH_DMA_SLAVE_NUMBER   256
 
#define SH_DMA_TCR_MAX   (16 * 1024 * 1024 - 1)
 
#define sh_dmae_suspend   NULL
 
#define sh_dmae_resume   NULL
 

Functions

 module_init (sh_dmae_init)
 
 module_exit (sh_dmae_exit)
 
 MODULE_AUTHOR ("Nobuhiro Iwamatsu <[email protected]>")
 
 MODULE_DESCRIPTION ("Renesas SH DMA Engine driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:"SH_DMAE_DRV_NAME)
 

Variables

struct dev_pm_ops sh_dmae_pm
 

Macro Definition Documentation

#define LOG2_DEFAULT_XFER_SIZE   2

Definition at line 41 of file shdma.c.

#define SH_DMA_SLAVE_NUMBER   256

Definition at line 42 of file shdma.c.

#define SH_DMA_TCR_MAX   (16 * 1024 * 1024 - 1)

Definition at line 43 of file shdma.c.

#define SH_DMAE_DRV_NAME   "sh-dma-engine"

Definition at line 38 of file shdma.c.

#define sh_dmae_resume   NULL

Definition at line 607 of file shdma.c.

#define sh_dmae_suspend   NULL

Definition at line 606 of file shdma.c.

Function Documentation

MODULE_ALIAS ( "platform:"  SH_DMAE_DRV_NAME)
MODULE_AUTHOR ( "Nobuhiro Iwamatsu <[email protected]>"  )
MODULE_DESCRIPTION ( "Renesas SH DMA Engine driver )
module_exit ( sh_dmae_exit  )
module_init ( sh_dmae_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct dev_pm_ops sh_dmae_pm
Initial value:
= {
.suspend = sh_dmae_suspend,
.resume = sh_dmae_resume,
.runtime_suspend = sh_dmae_runtime_suspend,
.runtime_resume = sh_dmae_runtime_resume,
}

Definition at line 610 of file shdma.c.