1d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 29dcaa7b2SRafael Ignacio Zurita /* 39dcaa7b2SRafael Ignacio Zurita * SH_DAC specific configuration, for the dac_audio platform_device 49dcaa7b2SRafael Ignacio Zurita * 59dcaa7b2SRafael Ignacio Zurita * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com> 69dcaa7b2SRafael Ignacio Zurita */ 79dcaa7b2SRafael Ignacio Zurita 89dcaa7b2SRafael Ignacio Zurita #ifndef __INCLUDE_SH_DAC_AUDIO_H 99dcaa7b2SRafael Ignacio Zurita #define __INCLUDE_SH_DAC_AUDIO_H 109dcaa7b2SRafael Ignacio Zurita 119dcaa7b2SRafael Ignacio Zurita struct dac_audio_pdata { 129dcaa7b2SRafael Ignacio Zurita int buffer_size; 139dcaa7b2SRafael Ignacio Zurita int channel; 149dcaa7b2SRafael Ignacio Zurita void (*start)(struct dac_audio_pdata *pd); 159dcaa7b2SRafael Ignacio Zurita void (*stop)(struct dac_audio_pdata *pd); 169dcaa7b2SRafael Ignacio Zurita }; 179dcaa7b2SRafael Ignacio Zurita 189dcaa7b2SRafael Ignacio Zurita #endif /* __INCLUDE_SH_DAC_AUDIO_H */ 19