/*1* omap-pcm.h2*3* Copyright (C) 2008 Nokia Corporation4*5* Contact: Jarkko Nikula <[email protected]>6* Peter Ujfalusi <[email protected]>7*8* This program is free software; you can redistribute it and/or9* modify it under the terms of the GNU General Public License10* version 2 as published by the Free Software Foundation.11*12* This program is distributed in the hope that it will be useful, but13* WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU15* General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software19* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA20* 02110-1301 USA21*22*/2324#ifndef __OMAP_PCM_H__25#define __OMAP_PCM_H__2627struct omap_pcm_dma_data {28char *name; /* stream identifier */29int dma_req; /* DMA request line */30unsigned long port_addr; /* transmit/receive register */31void (*set_threshold)(struct snd_pcm_substream *substream);32int data_type; /* data type 8,16,32 */33int sync_mode; /* DMA sync mode */34int packet_size; /* packet size only in PACKET mode */35};3637#endif383940