Linux Kernel
3.7.1
|
#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") | |
#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) |
MODULE_AUTHOR | ( | "Saeed Bishara <[email protected]>" | ) |
module_init | ( | mv_xor_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |