| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | /* |
| 3 | * Marvell XOR platform device data definition file. |
| 4 | */ |
| 5 | |
| 6 | #ifndef __DMA_MV_XOR_H |
| 7 | #define __DMA_MV_XOR_H |
| 8 | |
| 9 | #include <linux/dmaengine.h> |
| 10 | #include <linux/mbus.h> |
| 11 | |
| 12 | #define MV_XOR_NAME "mv_xor" |
| 13 | |
| 14 | struct mv_xor_channel_data { |
| 15 | dma_cap_mask_t cap_mask; |
| 16 | }; |
| 17 | |
| 18 | struct mv_xor_platform_data { |
| 19 | struct mv_xor_channel_data *channels; |
| 20 | }; |
| 21 | |
| 22 | #endif |
| 23 |
