blob: 785e196ee2cae6f1b0ec48fad8816db3839aa943 [file] [log] [blame]
Bjorn Andersson4b638df42015-06-26 14:50:10 -07001#ifndef __QCOM_SMEM_H__
2#define __QCOM_SMEM_H__
3
4#define QCOM_SMEM_HOST_ANY -1
5
6int qcom_smem_alloc(unsigned host, unsigned item, size_t size);
Stephen Boyd1a039642015-09-02 15:46:44 -07007void *qcom_smem_get(unsigned host, unsigned item, size_t *size);
Bjorn Andersson4b638df42015-06-26 14:50:10 -07008
9int qcom_smem_get_free_space(unsigned host);
10
11#endif