summaryrefslogtreecommitdiff
path: root/drivers/media/platform/sti/delta/delta-mem.h
blob: f8ca109e1241baef0d2902af10de0ef6e70216ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (C) STMicroelectronics SA 2015
 * Author: Hugues Fruchet <hugues.fruchet@st.com> for STMicroelectronics.
 * License terms:  GNU General Public License (GPL), version 2
 */

#ifndef DELTA_MEM_H
#define DELTA_MEM_H

int hw_alloc(struct delta_ctx *ctx, u32 size, const char *name,
	     struct delta_buf *buf);
void hw_free(struct delta_ctx *ctx, struct delta_buf *buf);

#endif /* DELTA_MEM_H */