blob: fa6667141666c487d19b5bcf8225e2534d817134 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 Google LLC
*/
#include <linux/samsung-dma-heap.h>
typedef void(ion_physical_heap_allocate_callback)(struct samsung_dma_buffer *buffer,
void *ctx);
typedef void(ion_physical_heap_free_callback)(struct samsung_dma_buffer *buffer,
void *ctx);
struct dma_heap *ion_physical_heap_create(phys_addr_t base, size_t size,
size_t align, const char *name,
ion_physical_heap_allocate_callback alloc_cb,
ion_physical_heap_free_callback free_cb,
void *ctx);