linux/sound/soc/qcom/qdsp6/q6core.h
Srinivas Kandagatla b73e93e183
ASoC: qdsp6: q6core: Add q6core driver
This patch adds support to core apr service, which is used to query
status of other static and dynamic services on the dsp.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-and-tested-by: Rohit kumar <rohitkr@codeaurora.org>
Acked-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-05-17 15:49:38 +09:00

16 lines
327 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __Q6CORE_H__
#define __Q6CORE_H__
struct q6core_svc_api_info {
uint32_t service_id;
uint32_t api_version;
uint32_t api_branch_version;
};
bool q6core_is_adsp_ready(void);
int q6core_get_svc_api_info(int svc_id, struct q6core_svc_api_info *ainfo);
#endif /* __Q6CORE_H__ */