xref: /openbmc/linux/include/sound/sh_dac_audio.h (revision 9dcaa7b2)
19dcaa7b2SRafael Ignacio Zurita /*
29dcaa7b2SRafael Ignacio Zurita  * SH_DAC specific configuration, for the dac_audio platform_device
39dcaa7b2SRafael Ignacio Zurita  *
49dcaa7b2SRafael Ignacio Zurita  * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com>
59dcaa7b2SRafael Ignacio Zurita  *
69dcaa7b2SRafael Ignacio Zurita  * This program is free software; you can redistribute it and/or modify it
79dcaa7b2SRafael Ignacio Zurita  * under the terms of the GNU General Public License version 2 as published
89dcaa7b2SRafael Ignacio Zurita  * by the Free Software Foundation.
99dcaa7b2SRafael Ignacio Zurita  */
109dcaa7b2SRafael Ignacio Zurita 
119dcaa7b2SRafael Ignacio Zurita #ifndef __INCLUDE_SH_DAC_AUDIO_H
129dcaa7b2SRafael Ignacio Zurita #define __INCLUDE_SH_DAC_AUDIO_H
139dcaa7b2SRafael Ignacio Zurita 
149dcaa7b2SRafael Ignacio Zurita struct dac_audio_pdata {
159dcaa7b2SRafael Ignacio Zurita 	int buffer_size;
169dcaa7b2SRafael Ignacio Zurita 	int channel;
179dcaa7b2SRafael Ignacio Zurita 	void (*start)(struct dac_audio_pdata *pd);
189dcaa7b2SRafael Ignacio Zurita 	void (*stop)(struct dac_audio_pdata *pd);
199dcaa7b2SRafael Ignacio Zurita };
209dcaa7b2SRafael Ignacio Zurita 
219dcaa7b2SRafael Ignacio Zurita #endif /* __INCLUDE_SH_DAC_AUDIO_H */
22