diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2018-10-03 19:27:58 +0300 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:51:57 +0800 |
commit | 93bc6108aa6708b411d28302dea98029a6acb5e1 (patch) | |
tree | 7bbf17f2708be4b67d2bd874cd7fd14853a5e800 /include/uapi/linux/mxc_dsp.h | |
parent | d2164cd4e6df01e34502d13785f5d38001062a53 (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/uapi/linux/mxc_dsp.h')
-rw-r--r-- | include/uapi/linux/mxc_dsp.h | 3 |
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 |