xref: /linux/drivers/media/platform/st/sti/delta/delta-mem.h (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
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