1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) STMicroelectronics SA 2015
4 * Authors: Yannick Fertre <yannick.fertre@st.com>
5 * Hugues Fruchet <hugues.fruchet@st.com>
12 * struct hva_buffer - hva buffer
14 * @name: name of requester
15 * @paddr: physical address (for hardware)
16 * @vaddr: virtual address (kernel can read/write)
17 * @size: size of buffer
26 int hva_mem_alloc(struct hva_ctx
*ctx
,
29 struct hva_buffer
**buf
);
31 void hva_mem_free(struct hva_ctx
*ctx
,
32 struct hva_buffer
*buf
);
34 #endif /* HVA_MEM_H */