kernel_samsung_a53x/drivers/vision3/dsp/hardware/dummy/dsp-hw-dummy-memory.c
2024-06-15 16:02:09 -03:00

36 lines
718 B
C
Executable file

// SPDX-License-Identifier: GPL-2.0
/*
* Samsung Exynos SoC series dsp driver
*
* Copyright (c) 2020 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*/
#include "dsp-log.h"
#include "dsp-hw-dummy-memory.h"
int dsp_hw_dummy_memory_ion_alloc_secure(struct dsp_memory *mem,
struct dsp_priv_mem *pmem)
{
dsp_check();
return 0;
}
void dsp_hw_dummy_memory_ion_free_secure(struct dsp_memory *mem,
struct dsp_priv_mem *pmem)
{
dsp_check();
}
int dsp_hw_dummy_memory_map_reserved_mem(struct dsp_memory *mem,
struct dsp_reserved_mem *rmem)
{
dsp_check();
return 0;
}
void dsp_hw_dummy_memory_unmap_reserved_mem(struct dsp_memory *mem,
struct dsp_reserved_mem *rmem)
{
dsp_check();
}