1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
6 #ifndef __QCOM_AOSS_H__
7 #define __QCOM_AOSS_H__
10 #include <linux/device.h>
14 #if IS_ENABLED(CONFIG_QCOM_AOSS_QMP)
16 int qmp_send(struct qmp *qmp, const void *data, size_t len);
17 struct qmp *qmp_get(struct device *dev);
18 void qmp_put(struct qmp *qmp);
22 static inline int qmp_send(struct qmp *qmp, const void *data, size_t len)
27 static inline struct qmp *qmp_get(struct device *dev)
29 return ERR_PTR(-ENODEV);
32 static inline void qmp_put(struct qmp *qmp)