diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-07-10 22:18:42 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 21:46:50 +0100 |
commit | 3e40a78461739d86fe1084c515ec227507ba993d (patch) | |
tree | 2f47d509ff7437b5992ebe5dad1c6a80eb8ca6c5 /sound/soc/intel/skylake/skl-sst-dsp.h | |
parent | 914426c8657c1e934b015ffa32e7bfd0cb34f47f (diff) | |
download | op-kernel-dev-3e40a78461739d86fe1084c515ec227507ba993d.zip op-kernel-dev-3e40a78461739d86fe1084c515ec227507ba993d.tar.gz |
ASoC: Intel: Skylake: Add code loader DMA APIs
This patch adds the last piece of code loader DMA APIs by adding the code
loader DMA APIs for the driver to use
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-sst-dsp.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-dsp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.h b/sound/soc/intel/skylake/skl-sst-dsp.h index c2d2878..e8ce136 100644 --- a/sound/soc/intel/skylake/skl-sst-dsp.h +++ b/sound/soc/intel/skylake/skl-sst-dsp.h @@ -17,7 +17,9 @@ #define __SKL_SST_DSP_H__ #include <sound/memalloc.h> +#include "skl-sst-cldma.h" +struct sst_dsp; struct sst_dsp_device; /* Intel HD Audio General DSP Registers */ @@ -113,6 +115,10 @@ struct skl_dsp_loader_ops { struct snd_dma_buffer *dmab); }; +void skl_cldma_process_intr(struct sst_dsp *ctx); +void skl_cldma_int_disable(struct sst_dsp *ctx); +int skl_cldma_prepare(struct sst_dsp *ctx); + void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state); struct sst_dsp *skl_dsp_ctx_init(struct device *dev, struct sst_dsp_device *sst_dev, int irq); |