Thomas Gleixner | 1a59d1b8 | 2019-05-27 08:55:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Rajeev Kumar | 241b446 | 2012-06-21 15:54:52 +0530 | [diff] [blame] | 2 | /* |
| 3 | * linux/spear_dma.h |
| 4 | * |
Rajeev Kumar | 9d7dd6c | 2015-04-28 11:30:08 +0530 | [diff] [blame] | 5 | * Copyright (ST) 2012 Rajeev Kumar (rajeevkumar.linux@gmail.com) |
Rajeev Kumar | 241b446 | 2012-06-21 15:54:52 +0530 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef SPEAR_DMA_H |
| 9 | #define SPEAR_DMA_H |
| 10 | |
| 11 | #include <linux/dmaengine.h> |
| 12 | |
| 13 | struct spear_dma_data { |
| 14 | void *data; |
| 15 | dma_addr_t addr; |
| 16 | u32 max_burst; |
| 17 | enum dma_slave_buswidth addr_width; |
Rajeev Kumar | 241b446 | 2012-06-21 15:54:52 +0530 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | #endif /* SPEAR_DMA_H */ |