18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) STMicroelectronics SA 2015 48c2ecf20Sopenharmony_ci * Author: Hugues Fruchet <hugues.fruchet@st.com> for STMicroelectronics. 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef DELTA_MEM_H 88c2ecf20Sopenharmony_ci#define DELTA_MEM_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciint hw_alloc(struct delta_ctx *ctx, u32 size, const char *name, 118c2ecf20Sopenharmony_ci struct delta_buf *buf); 128c2ecf20Sopenharmony_civoid hw_free(struct delta_ctx *ctx, struct delta_buf *buf); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#endif /* DELTA_MEM_H */ 15