aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/plat-orion/mv_xor.h
blob: c349e8ff5cc0f4702f6654d0473f074795045e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Marvell XOR platform device data definition file.
 */

#ifndef __ASM_PLAT_ORION_MV_XOR_H
#define __ASM_PLAT_ORION_MV_XOR_H

#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