Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mv_xor.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.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/clk.h>
#include <linux/platform_data/dma-mv_xor.h>
#include "dmaengine.h"
#include "mv_xor.h"

Go to the source code of this file.

Macros

#define to_mv_xor_chan(chan)   container_of(chan, struct mv_xor_chan, common)
 
#define to_mv_xor_device(dev)   container_of(dev, struct mv_xor_device, common)
 
#define to_mv_xor_slot(tx)   container_of(tx, struct mv_xor_desc_slot, async_tx)
 
#define mv_chan_memcpy_slot_count(c)   mv_chan_memset_slot_count(c)
 
#define MV_XOR_TEST_SIZE   2000
 
#define MV_XOR_NUM_SRC_TEST   4 /* must be <= 15 */
 

Functions

 module_init (mv_xor_init)
 
 MODULE_AUTHOR ("Saeed Bishara <[email protected]>")
 
 MODULE_DESCRIPTION ("DMA engine driver for Marvell's XOR engine")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define mv_chan_memcpy_slot_count (   c)    mv_chan_memset_slot_count(c)

Definition at line 106 of file mv_xor.c.

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

Definition at line 977 of file mv_xor.c.

#define MV_XOR_TEST_SIZE   2000

Definition at line 902 of file mv_xor.c.

#define to_mv_xor_chan (   chan)    container_of(chan, struct mv_xor_chan, common)

Definition at line 36 of file mv_xor.c.

#define to_mv_xor_device (   dev)    container_of(dev, struct mv_xor_device, common)

Definition at line 39 of file mv_xor.c.

#define to_mv_xor_slot (   tx)    container_of(tx, struct mv_xor_desc_slot, async_tx)

Definition at line 42 of file mv_xor.c.

Function Documentation

MODULE_AUTHOR ( "Saeed Bishara <[email protected]>"  )
MODULE_DESCRIPTION ( "DMA engine driver for Marvell's XOR engine"  )
module_init ( mv_xor_init  )
MODULE_LICENSE ( "GPL"  )