Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
iop-adma.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/memory.h>
#include <linux/ioport.h>
#include <linux/raid/pq.h>
#include <linux/slab.h>
#include <mach/adma.h>
#include "dmaengine.h"

Go to the source code of this file.

Macros

#define to_iop_adma_chan(chan)   container_of(chan, struct iop_adma_chan, common)
 
#define to_iop_adma_device(dev)   container_of(dev, struct iop_adma_device, common)
 
#define tx_to_iop_adma_slot(tx)   container_of(tx, struct iop_adma_desc_slot, async_tx)
 
#define IOP_ADMA_TEST_SIZE   2000
 
#define IOP_ADMA_NUM_SRC_TEST   4 /* must be <= 15 */
 

Functions

 module_platform_driver (iop_adma_driver)
 
 MODULE_AUTHOR ("Intel Corporation")
 
 MODULE_DESCRIPTION ("IOP ADMA Engine Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:iop-adma")
 

Macro Definition Documentation

#define IOP_ADMA_NUM_SRC_TEST   4 /* must be <= 15 */

Definition at line 1044 of file iop-adma.c.

#define IOP_ADMA_TEST_SIZE   2000

Definition at line 969 of file iop-adma.c.

#define to_iop_adma_chan (   chan)    container_of(chan, struct iop_adma_chan, common)

Definition at line 41 of file iop-adma.c.

#define to_iop_adma_device (   dev)    container_of(dev, struct iop_adma_device, common)

Definition at line 42 of file iop-adma.c.

#define tx_to_iop_adma_slot (   tx)    container_of(tx, struct iop_adma_desc_slot, async_tx)

Definition at line 44 of file iop-adma.c.

Function Documentation

MODULE_ALIAS ( "platform:iop-adma"  )
MODULE_AUTHOR ( "Intel Corporation"  )
MODULE_DESCRIPTION ( "IOP ADMA Engine Driver"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( iop_adma_driver  )