summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-dsp-priv.h
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2014-10-29 15:40:28 +0000
committerMark Brown <broonie@kernel.org>2014-10-29 16:56:55 +0000
commitd96c53a193dd65380452c8e9f6dcf15cf829c7dc (patch)
treedb63717971469d0639ac3f6b77086a0e1a6da1b9 /sound/soc/intel/sst-dsp-priv.h
parent137f6d541ae75b3769c4c67e61c25340789b3cbc (diff)
downloadop-kernel-dev-d96c53a193dd65380452c8e9f6dcf15cf829c7dc.zip
op-kernel-dev-d96c53a193dd65380452c8e9f6dcf15cf829c7dc.tar.gz
ASoC: Intel: Add generic support for DSP wake, sleep and stall
Add generic functions to support DSP sleep, wake and stall. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst-dsp-priv.h')
-rw-r--r--sound/soc/intel/sst-dsp-priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-dsp-priv.h b/sound/soc/intel/sst-dsp-priv.h
index be81b86..b9da030 100644
--- a/sound/soc/intel/sst-dsp-priv.h
+++ b/sound/soc/intel/sst-dsp-priv.h
@@ -36,6 +36,9 @@ struct sst_ops {
/* DSP core boot / reset */
void (*boot)(struct sst_dsp *);
void (*reset)(struct sst_dsp *);
+ int (*wake)(struct sst_dsp *);
+ void (*sleep)(struct sst_dsp *);
+ void (*stall)(struct sst_dsp *);
/* Shim IO */
void (*write)(void __iomem *addr, u32 offset, u32 value);
OpenPOWER on IntegriCloud