2008-07-09 02:58:36 +08:00
|
|
|
/*
|
|
|
|
* Marvell XOR platform device data definition file.
|
|
|
|
*/
|
|
|
|
|
2013-12-30 13:16:32 +08:00
|
|
|
#ifndef __DMA_MV_XOR_H
|
|
|
|
#define __DMA_MV_XOR_H
|
2008-07-09 02:58:36 +08:00
|
|
|
|
|
|
|
#include <linux/dmaengine.h>
|
|
|
|
#include <linux/mbus.h>
|
|
|
|
|
2012-10-30 18:59:42 +08:00
|
|
|
#define MV_XOR_NAME "mv_xor"
|
2008-07-09 02:58:36 +08:00
|
|
|
|
2012-10-30 18:56:26 +08:00
|
|
|
struct mv_xor_channel_data {
|
2008-07-09 02:58:36 +08:00
|
|
|
dma_cap_mask_t cap_mask;
|
|
|
|
};
|
|
|
|
|
2012-10-30 18:58:14 +08:00
|
|
|
struct mv_xor_platform_data {
|
2012-10-30 18:56:26 +08:00
|
|
|
struct mv_xor_channel_data *channels;
|
2012-10-29 23:54:49 +08:00
|
|
|
};
|
2008-07-09 02:58:36 +08:00
|
|
|
|
|
|
|
#endif
|