mm: make wait_on_page_writeback() wait for multiple pending writebacks
[linux/fpc-iii.git] / include / uapi / sound / sof / header.h
blob5f4518e7a972347c121784b8bc7d9194201267fa
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) 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.
6 * Copyright(c) 2018 Intel Corporation. All rights reserved.
7 */
9 #ifndef __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
10 #define __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
12 #include <linux/types.h>
15 * Header for all non IPC ABI data.
17 * Identifies data type, size and ABI.
18 * Used by any bespoke component data structures or binary blobs.
20 struct sof_abi_hdr {
21 __u32 magic; /**< 'S', 'O', 'F', '\0' */
22 __u32 type; /**< component specific type */
23 __u32 size; /**< size in bytes of data excl. this struct */
24 __u32 abi; /**< SOF ABI version */
25 __u32 reserved[4]; /**< reserved for future use */
26 __u32 data[0]; /**< Component data - opaque to core */
27 } __packed;
29 #endif