1241b446fSRajeev Kumar /* 2241b446fSRajeev Kumar * linux/spear_dma.h 3241b446fSRajeev Kumar * 4*9d7dd6cdSRajeev Kumar * Copyright (ST) 2012 Rajeev Kumar (rajeevkumar.linux@gmail.com) 5241b446fSRajeev Kumar * 6241b446fSRajeev Kumar * This program is free software; you can redistribute it and/or modify 7241b446fSRajeev Kumar * it under the terms of the GNU General Public License as published by 8241b446fSRajeev Kumar * the Free Software Foundation; either version 2 of the License, or 9241b446fSRajeev Kumar * (at your option) any later version. 10241b446fSRajeev Kumar * 11241b446fSRajeev Kumar * This program is distributed in the hope that it will be useful, 12241b446fSRajeev Kumar * but WITHOUT ANY WARRANTY; without even the implied warranty of 13241b446fSRajeev Kumar * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14241b446fSRajeev Kumar * GNU General Public License for more details. 15241b446fSRajeev Kumar * 16241b446fSRajeev Kumar * You should have received a copy of the GNU General Public License 17241b446fSRajeev Kumar * along with this program; if not, write to the Free Software 18241b446fSRajeev Kumar * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19241b446fSRajeev Kumar * 20241b446fSRajeev Kumar */ 21241b446fSRajeev Kumar 22241b446fSRajeev Kumar #ifndef SPEAR_DMA_H 23241b446fSRajeev Kumar #define SPEAR_DMA_H 24241b446fSRajeev Kumar 25241b446fSRajeev Kumar #include <linux/dmaengine.h> 26241b446fSRajeev Kumar 27241b446fSRajeev Kumar struct spear_dma_data { 28241b446fSRajeev Kumar void *data; 29241b446fSRajeev Kumar dma_addr_t addr; 30241b446fSRajeev Kumar u32 max_burst; 31241b446fSRajeev Kumar enum dma_slave_buswidth addr_width; 32241b446fSRajeev Kumar }; 33241b446fSRajeev Kumar 34241b446fSRajeev Kumar #endif /* SPEAR_DMA_H */ 35