1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
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) 2022 Intel Corporation. All rights reserved.
9 #ifndef __SOUND_SOC_SOF_IPC4_PRIV_H
10 #define __SOUND_SOC_SOF_IPC4_PRIV_H
12 #include <linux/idr.h>
13 #include <sound/sof/ext_manifest4.h>
17 * struct sof_ipc4_fw_data - IPC4-specific data
18 * @manifest_fw_hdr_offset: FW header offset in the manifest
19 * @num_fw_modules : Number of modules in base FW
20 * @fw_modules: Array of base FW modules
22 struct sof_ipc4_fw_data {
23 u32 manifest_fw_hdr_offset;
29 * struct sof_ipc4_fw_module - IPC4 module info
30 * @sof_man4_module : Module info
31 * @m_ida: Module instance identifier
32 * @bss_size: Module object size
33 * @private: Module private data
35 struct sof_ipc4_fw_module {
36 struct sof_man4_module man4_module_entry;
42 extern const struct sof_ipc_fw_loader_ops ipc4_loader_ops;