| /* SPDX-License-Identifier: GPL-2.0 */ |
| #include <linux/kernel.h> |
| #include <linux/completion.h> |
| struct qcom_smem_state *state; |
| struct completion start_done; |
| struct completion stop_done; |
| void (*handover)(struct qcom_q6v5 *q6v5); |
| int qcom_q6v5_init(struct qcom_q6v5 *q6v5, struct platform_device *pdev, |
| struct rproc *rproc, int crash_reason, |
| void (*handover)(struct qcom_q6v5 *q6v5)); |
| int qcom_q6v5_prepare(struct qcom_q6v5 *q6v5); |
| int qcom_q6v5_unprepare(struct qcom_q6v5 *q6v5); |
| int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5); |
| int qcom_q6v5_wait_for_start(struct qcom_q6v5 *q6v5, int timeout); |