/*1* ALSA PCM interface for the TI DAVINCI processor2*3* Author: Vladimir Barinov, <[email protected]>4* Copyright: (C) 2007 MontaVista Software, Inc., <[email protected]>5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License version 2 as8* published by the Free Software Foundation.9*/1011#ifndef _DAVINCI_PCM_H12#define _DAVINCI_PCM_H1314#include <mach/edma.h>15#include <mach/asp.h>161718struct davinci_pcm_dma_params {19int channel; /* sync dma channel ID */20unsigned short acnt;21dma_addr_t dma_addr; /* device physical address for DMA */22unsigned sram_size;23enum dma_event_q asp_chan_q; /* event queue number for ASP channel */24enum dma_event_q ram_chan_q; /* event queue number for RAM channel */25unsigned char data_type; /* xfer data type */26unsigned char convert_mono_stereo;27unsigned int fifo_level;28};2930#endif313233