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