summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst/sst.h
diff options
context:
space:
mode:
authorVinod Koul2014-11-04 11:55:16 +0100
committerMark Brown2014-11-06 13:36:17 +0100
commitf533a035e4da2fdd5e7b0100c84b62fd73ecd6c7 (patch)
tree8351954cf6e0364eac49546d10adb9fca8280958 /sound/soc/intel/sst/sst.h
parentASoC: Intel: mrfld - remove unnecessary check for pointer (diff)
downloadkernel-qcow2-linux-f533a035e4da2fdd5e7b0100c84b62fd73ecd6c7.tar.gz
kernel-qcow2-linux-f533a035e4da2fdd5e7b0100c84b62fd73ecd6c7.tar.xz
kernel-qcow2-linux-f533a035e4da2fdd5e7b0100c84b62fd73ecd6c7.zip
ASoC: Intel: mrfld - create separate module for pci part
Now the SST_IPC will support both ACPI and PCI, separate into core module and PCI module. This also move probe function into PCI module and exports the required symbols from core module Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@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/sst/sst.h')
-rw-r--r--sound/soc/intel/sst/sst.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/intel/sst/sst.h b/sound/soc/intel/sst/sst.h
index b65b9c0d8750..3ee555e31716 100644
--- a/sound/soc/intel/sst/sst.h
+++ b/sound/soc/intel/sst/sst.h
@@ -40,6 +40,7 @@
#define MRFLD_FW_FEATURE_BASE_OFFSET 0x4
#define MRFLD_FW_BSS_RESET_BIT 0
+extern const struct dev_pm_ops intel_sst_pm;
enum sst_states {
SST_FW_LOADING = 1,
SST_FW_RUNNING,
@@ -537,4 +538,9 @@ void sst_fill_header_dsp(struct ipc_dsp_hdr *dsp, int msg,
int sst_register(struct device *);
int sst_unregister(struct device *);
+int sst_alloc_drv_context(struct intel_sst_drv **ctx,
+ struct device *dev, unsigned int dev_id);
+int sst_context_init(struct intel_sst_drv *ctx);
+void sst_context_cleanup(struct intel_sst_drv *ctx);
+void sst_configure_runtime_pm(struct intel_sst_drv *ctx);
#endif