diff options
author | Lu, Han <han.lu@intel.com> | 2015-03-10 10:41:22 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-11 12:53:45 +0000 |
commit | e8e79ede44ec99e09f8604c23ee99dc25065a343 (patch) | |
tree | 495d6d666737b525dce65c04396a509de26f2c54 /sound/soc/intel/sst-haswell-ipc.h | |
parent | 8c43fc2fdda0858879ee4dd7d7ed8e67890f699f (diff) | |
download | op-kernel-dev-e8e79ede44ec99e09f8604c23ee99dc25065a343.zip op-kernel-dev-e8e79ede44ec99e09f8604c23ee99dc25065a343.tar.gz |
ASoC: Intel: add function to enable/disable sound effect module waves
Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst-haswell-ipc.h')
-rw-r--r-- | sound/soc/intel/sst-haswell-ipc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-haswell-ipc.h b/sound/soc/intel/sst-haswell-ipc.h index 208724b..30c65b28 100644 --- a/sound/soc/intel/sst-haswell-ipc.h +++ b/sound/soc/intel/sst-haswell-ipc.h @@ -215,6 +215,12 @@ struct sst_hsw_fx_enable { struct sst_hsw_memory_info persistent_mem; } __attribute__((packed)); +struct sst_hsw_ipc_module_config { + struct sst_hsw_module_map map; + struct sst_hsw_memory_info persistent_mem; + struct sst_hsw_memory_info scratch_mem; +} __attribute__((packed)); + struct sst_hsw_get_fx_param { u32 parameter_id; u32 param_size; @@ -470,9 +476,14 @@ struct sst_dsp *sst_hsw_get_dsp(struct sst_hsw *hsw); /* fw module function */ void sst_hsw_init_module_state(struct sst_hsw *hsw); bool sst_hsw_is_module_loaded(struct sst_hsw *hsw, u32 module_id); +bool sst_hsw_is_module_active(struct sst_hsw *hsw, u32 module_id); int sst_hsw_module_load(struct sst_hsw *hsw, u32 module_id, u32 instance_id, char *name); +int sst_hsw_module_enable(struct sst_hsw *hsw, + u32 module_id, u32 instance_id); +int sst_hsw_module_disable(struct sst_hsw *hsw, + u32 module_id, u32 instance_id); /* runtime module management */ struct sst_module_runtime *sst_hsw_runtime_module_create(struct sst_hsw *hsw, |