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