summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/soc/qcom/smem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/soc/qcom/smem.h')
-rw-r--r--kernel/include/linux/soc/qcom/smem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/include/linux/soc/qcom/smem.h b/kernel/include/linux/soc/qcom/smem.h
new file mode 100644
index 000000000..785e196ee
--- /dev/null
+++ b/kernel/include/linux/soc/qcom/smem.h
@@ -0,0 +1,11 @@
+#ifndef __QCOM_SMEM_H__
+#define __QCOM_SMEM_H__
+
+#define QCOM_SMEM_HOST_ANY -1
+
+int qcom_smem_alloc(unsigned host, unsigned item, size_t size);
+void *qcom_smem_get(unsigned host, unsigned item, size_t *size);
+
+int qcom_smem_get_free_space(unsigned host);
+
+#endif