sof-utils.h 509 B

12345678910111213141516171819
  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. #ifndef __SOC_SOF_UTILS_H
  9. #define __SOC_SOF_UTILS_H
  10. struct snd_dma_buffer;
  11. struct device;
  12. int snd_sof_create_page_table(struct device *dev,
  13. struct snd_dma_buffer *dmab,
  14. unsigned char *page_table, size_t size);
  15. #endif