/*
 * linux/sound/arm/pxa2xx-pcm.h -- ALSA PCM interface for the Intel PXA2xx chip
 *
 * Author:	Nicolas Pitre
 * Created:	Nov 30, 2004
 * Copyright:	MontaVista Software, Inc.
 *
 * 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.
 */

struct pxa2xx_runtime_data {
	int dma_ch;
	struct snd_dmaengine_dai_dma_data *params;
};

struct pxa2xx_pcm_client {
	struct snd_dmaengine_dai_dma_data *playback_params;
	struct snd_dmaengine_dai_dma_data *capture_params;
	int (*startup)(struct snd_pcm_substream *);
	void (*shutdown)(struct snd_pcm_substream *);
	int (*prepare)(struct snd_pcm_substream *);
};

extern int pxa2xx_pcm_new(struct snd_card *, struct pxa2xx_pcm_client *, struct snd_pcm **);

t-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='10435c1192d06bdb0bac7666452d8219d7e7c477'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/sound/aoa/codecs/Kconfig?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/aoa/codecs/Kconfig?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/aoa/codecs/Kconfig?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/sound/aoa/codecs/Kconfig?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/aoa/codecs/Kconfig'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='10435c1192d06bdb0bac7666452d8219d7e7c477'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound/aoa?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>aoa</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound/aoa/codecs?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>codecs</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound/aoa/codecs/Kconfig?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>Kconfig</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='10435c1192d06bdb0bac7666452d8219d7e7c477'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&amp;id=10435c1192d06bdb0bac7666452d8219d7e7c477'>Diffstat</a> (limited to 'sound/aoa/codecs/Kconfig')</div><table summary='diffstat' class='diffstat'>