diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-05-18 13:56:02 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-21 16:41:00 +0100 |
commit | a2a5d30218fdf6ad869248ef46bf35b912dc1686 (patch) | |
tree | 382788836b1cd780e3c5eecc4b04a0746a4ed94b /sound/soc/qcom/qdsp6/q6asm.h | |
parent | ASoC: qdsp6: q6asm: Add q6asm driver (diff) | |
download | wireguard-linux-a2a5d30218fdf6ad869248ef46bf35b912dc1686.tar.xz wireguard-linux-a2a5d30218fdf6ad869248ef46bf35b912dc1686.zip |
ASoC: qdsp6: q6asm: Add support to memory map and unmap
This patch adds support to memory map and unmap regions commands in
q6asm module.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-and-tested-by: Rohit kumar <rohitkr@codeaurora.org>
Reviewed-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/qdsp6/q6asm.h')
-rw-r--r-- | sound/soc/qcom/qdsp6/q6asm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/qcom/qdsp6/q6asm.h b/sound/soc/qcom/qdsp6/q6asm.h index b7816e6384e7..8c317b7b63c3 100644 --- a/sound/soc/qcom/qdsp6/q6asm.h +++ b/sound/soc/qcom/qdsp6/q6asm.h @@ -12,4 +12,9 @@ struct audio_client *q6asm_audio_client_alloc(struct device *dev, int session_id, int perf_mode); void q6asm_audio_client_free(struct audio_client *ac); int q6asm_get_session_id(struct audio_client *ac); +int q6asm_map_memory_regions(unsigned int dir, + struct audio_client *ac, + phys_addr_t phys, + size_t bufsz, unsigned int bufcnt); +int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac); #endif /* __Q6_ASM_H__ */ |