xref: /linux/include/sound/spear_dma.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*1a59d1b8SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2241b446fSRajeev Kumar /*
3241b446fSRajeev Kumar * linux/spear_dma.h
4241b446fSRajeev Kumar *
59d7dd6cdSRajeev Kumar * Copyright (ST) 2012 Rajeev Kumar (rajeevkumar.linux@gmail.com)
6241b446fSRajeev Kumar */
7241b446fSRajeev Kumar 
8241b446fSRajeev Kumar #ifndef SPEAR_DMA_H
9241b446fSRajeev Kumar #define SPEAR_DMA_H
10241b446fSRajeev Kumar 
11241b446fSRajeev Kumar #include <linux/dmaengine.h>
12241b446fSRajeev Kumar 
13241b446fSRajeev Kumar struct spear_dma_data {
14241b446fSRajeev Kumar 	void *data;
15241b446fSRajeev Kumar 	dma_addr_t addr;
16241b446fSRajeev Kumar 	u32 max_burst;
17241b446fSRajeev Kumar 	enum dma_slave_buswidth addr_width;
18241b446fSRajeev Kumar };
19241b446fSRajeev Kumar 
20241b446fSRajeev Kumar #endif /* SPEAR_DMA_H */
21