aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-mfld-platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/intel/sst-mfld-platform.h')
-rw-r--r--sound/soc/intel/sst-mfld-platform.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sound/soc/intel/sst-mfld-platform.h b/sound/soc/intel/sst-mfld-platform.h
index 0c4e2ddcecb1..6c5e7dc49e3c 100644
--- a/sound/soc/intel/sst-mfld-platform.h
+++ b/sound/soc/intel/sst-mfld-platform.h
@@ -15,13 +15,7 @@
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details. 16 * General Public License for more details.
17 * 17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 *
22 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23 *
24 *
25 */ 19 */
26 20
27#ifndef __SST_PLATFORMDRV_H__ 21#ifndef __SST_PLATFORMDRV_H__
@@ -29,6 +23,8 @@
29 23
30#include "sst-mfld-dsp.h" 24#include "sst-mfld-dsp.h"
31 25
26extern struct sst_device *sst;
27
32#define SST_MONO 1 28#define SST_MONO 1
33#define SST_STEREO 2 29#define SST_STEREO 2
34#define SST_MAX_CAP 5 30#define SST_MAX_CAP 5
@@ -108,6 +104,8 @@ struct sst_stream_params {
108struct sst_compress_cb { 104struct sst_compress_cb {
109 void *param; 105 void *param;
110 void (*compr_cb)(void *param); 106 void (*compr_cb)(void *param);
107 void *drain_cb_param;
108 void (*drain_notify)(void *param);
111}; 109};
112 110
113struct compress_sst_ops { 111struct compress_sst_ops {
@@ -148,6 +146,7 @@ struct sst_device {
148 struct compress_sst_ops *compr_ops; 146 struct compress_sst_ops *compr_ops;
149}; 147};
150 148
149void sst_set_stream_status(struct sst_runtime_stream *stream, int state);
151int sst_register_dsp(struct sst_device *sst); 150int sst_register_dsp(struct sst_device *sst);
152int sst_unregister_dsp(struct sst_device *sst); 151int sst_unregister_dsp(struct sst_device *sst);
153#endif 152#endif