diff options
Diffstat (limited to 'sound/soc/fsl/fsl_dsp.h')
-rw-r--r-- | sound/soc/fsl/fsl_dsp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_dsp.h b/sound/soc/fsl/fsl_dsp.h index eaabe17e0f54..ad6f7a9e8be1 100644 --- a/sound/soc/fsl/fsl_dsp.h +++ b/sound/soc/fsl/fsl_dsp.h @@ -10,8 +10,11 @@ #include <uapi/linux/mxc_dsp.h> #include <linux/firmware/imx/ipc.h> #include "fsl_dsp_proxy.h" +#include "fsl_dsp_platform.h" +#define FSL_DSP_COMP_NAME "fsl-dsp-component" + typedef void (*memcpy_func) (void *dest, const void *src, size_t n); typedef void (*memset_func) (void *s, int c, size_t n); @@ -41,8 +44,13 @@ struct xf_client { void *global; struct xf_message m; + struct snd_compr_stream *cstream; + struct work_struct work; struct completion compr_complete; + + int input_bytes; + int consume_bytes; }; union xf_client_link { @@ -88,6 +96,8 @@ struct fsl_dsp { /* ...mutex lock */ struct mutex dsp_mutex; + struct dsp_data dsp_data; + /* ...global clients pool (item[0] serves as list terminator) */ union xf_client_link xf_client_map[XF_CFG_MAX_IPC_CLIENTS]; }; |