2008-07-09 02:58:36 +08:00
|
|
|
/*
|
2008-08-09 19:44:58 +08:00
|
|
|
* arch/arm/plat-orion/include/plat/mv_xor.h
|
|
|
|
*
|
2008-07-09 02:58:36 +08:00
|
|
|
* Marvell XOR platform device data definition file.
|
|
|
|
*/
|
|
|
|
|
2008-08-09 19:44:58 +08:00
|
|
|
#ifndef __PLAT_MV_XOR_H
|
|
|
|
#define __PLAT_MV_XOR_H
|
2008-07-09 02:58:36 +08:00
|
|
|
|
|
|
|
#include <linux/dmaengine.h>
|
|
|
|
#include <linux/mbus.h>
|
|
|
|
|
|
|
|
#define MV_XOR_SHARED_NAME "mv_xor_shared"
|
|
|
|
#define MV_XOR_NAME "mv_xor"
|
|
|
|
|
|
|
|
struct mbus_dram_target_info;
|
|
|
|
|
|
|
|
struct mv_xor_platform_shared_data {
|
|
|
|
struct mbus_dram_target_info *dram;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct mv_xor_platform_data {
|
|
|
|
struct platform_device *shared;
|
|
|
|
int hw_id;
|
|
|
|
dma_cap_mask_t cap_mask;
|
|
|
|
size_t pool_size;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|