xref: /linux/drivers/media/platform/st/sti/delta/delta-mem.h (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) STMicroelectronics SA 2015
4  * Author: Hugues Fruchet <hugues.fruchet@st.com> for STMicroelectronics.
5  */
6 
7 #ifndef DELTA_MEM_H
8 #define DELTA_MEM_H
9 
10 int hw_alloc(struct delta_ctx *ctx, u32 size, const char *name,
11 	     struct delta_buf *buf);
12 void hw_free(struct delta_ctx *ctx, struct delta_buf *buf);
13 
14 #endif /* DELTA_MEM_H */
15