xref: /linux/sound/soc/sof/sof-utils.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
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