]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/soc/qcom/smem.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / include / linux / soc / qcom / smem.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __QCOM_SMEM_H__
3 #define __QCOM_SMEM_H__
4
5 #define QCOM_SMEM_HOST_ANY -1
6
7 int qcom_smem_alloc(unsigned host, unsigned item, size_t size);
8 void *qcom_smem_get(unsigned host, unsigned item, size_t *size);
9
10 int qcom_smem_get_free_space(unsigned host);
11
12 #endif