diff options
author | Zhang Peng <peng.zhang_8@nxp.com> | 2020-07-31 19:25:57 +0800 |
---|---|---|
committer | Zhang Peng <peng.zhang_8@nxp.com> | 2020-08-03 19:32:57 +0800 |
commit | 14a1f3afd3491c421177f102f0d16a40a7cb9979 (patch) | |
tree | 3eefabaf9ceae795d3264b0f8583f1d4218d0b1b /sound/soc/fsl/fsl_dsp_proxy.h | |
parent | ec10135c193594eff7ee081099b4a409d2c89205 (diff) |
MLK-24453 ASoC: fsl_dsp: Add pause&pause_release in dsp
Add dsp support pause and pause_release cmd.
Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_proxy.h')
-rw-r--r-- | sound/soc/fsl/fsl_dsp_proxy.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_dsp_proxy.h b/sound/soc/fsl/fsl_dsp_proxy.h index bc9ccf37bc8f..021befba6242 100644 --- a/sound/soc/fsl/fsl_dsp_proxy.h +++ b/sound/soc/fsl/fsl_dsp_proxy.h @@ -128,7 +128,6 @@ enum icm_action_t { /* ...resume component operation */ #define XF_SUSPEND __XF_OPCODE(0, 0, 15) - /******************************************************************************* * Ring buffer support ******************************************************************************/ @@ -429,6 +428,8 @@ void *xf_proxy_a2b(struct xf_proxy *proxy, u32 address); int xf_cmd_send_suspend(struct xf_proxy *proxy); int xf_cmd_send_resume(struct xf_proxy *proxy); +int xf_cmd_send_pause(struct xf_proxy *proxy); +int xf_cmd_send_pause_release(struct xf_proxy *proxy); int xf_cmd_alloc(struct xf_proxy *proxy, void **buffer, u32 length); int xf_cmd_free(struct xf_proxy *proxy, void *buffer, u32 length); @@ -514,7 +515,8 @@ int xf_close(struct xf_client *client, struct xf_handle *handle); /* ...component output eos operation */ #define XF_OUTPUT_EOS __XF_OPCODE(0, 0, 18) +#define XF_PAUSE_RELEASE __XF_OPCODE(0, 0, 19) /* ...total amount of supported decoder commands */ -#define __XF_OP_NUM 19 +#define __XF_OP_NUM 20 #endif |