summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-10-03 19:27:58 +0300
committerJason Liu <jason.hui.liu@nxp.com>2018-10-29 11:10:38 +0800
commit34e8fd6971da16da5fd021a180f5ab37ba461249 (patch)
treeac7aecafdd0e51d542def35aedb1dec3daa5330d /include
parent21fa331157b34a90525a652eeaba1439dc526815 (diff)
MLK-18497-6: ASoC: fsl: dsp: Add Xtensa library handling API
This is based on RF-2016.4-linux package received from Cadence and introduce the API for loading shared libraries into memory. Based on this we create xf_load_lib/xf_load_unlib functions which are used to tell DSP framework that codec libraries are mapped in memory and it can start using them. Reviewed-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/mxc_dsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/mxc_dsp.h b/include/uapi/linux/mxc_dsp.h
index aa721f31d403..5820acc2e386 100644
--- a/include/uapi/linux/mxc_dsp.h
+++ b/include/uapi/linux/mxc_dsp.h
@@ -32,6 +32,9 @@
#define DSP_IPC_MSG_SEND _IOW(DSP_IOC_MAGIC, 2, unsigned int)
#define DSP_IPC_MSG_RECV _IOW(DSP_IOC_MAGIC, 3, unsigned int)
#define DSP_GET_SHMEM_INFO _IOW(DSP_IOC_MAGIC, 4, unsigned int)
+#define DSP_LOAD_LIB _IOW(DSP_IOC_MAGIC, 5, unsigned int)
+#define DSP_UNLOAD_LIB _IOW(DSP_IOC_MAGIC, 6, unsigned int)
+
#define CODEC_MP3_DEC 1
#define CODEC_AAC_DEC 2