/* * ALSA PCM interface for the TI DAVINCI processor * * Author: Vladimir Barinov, <vbarinov@ru.mvista.com> * Copyright: (C) 2007 MontaVista Software, Inc., <source@mvista.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#ifndef _DAVINCI_PCM_H#define _DAVINCI_PCM_Hstructdavinci_pcm_dma_params{char*name;/* stream identifier */intchannel;/* sync dma channel ID */dma_addr_tdma_addr;/* device physical address for DMA */unsignedintdata_type;/* xfer data type */};structevm_snd_platform_data{inttx_dma_ch;intrx_dma_ch;};externstructsnd_soc_platformdavinci_soc_platform;#endif