xref: /openbmc/linux/sound/soc/sof/sof-utils.h (revision e2ad626f)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 /*
3  * This file is provided under a dual BSD/GPLv2 license.  When using or
4  * redistributing this file, you may do so under either license.
5  *
6  * Copyright(c) 2022 Intel Corporation. All rights reserved.
7  */
8 
9 #ifndef __SOC_SOF_UTILS_H
10 #define __SOC_SOF_UTILS_H
11 
12 struct snd_dma_buffer;
13 struct device;
14 
15 int snd_sof_create_page_table(struct device *dev,
16 			      struct snd_dma_buffer *dmab,
17 			      unsigned char *page_table, size_t size);
18 
19 #endif
20