| /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ |
| * This file is provided under a dual BSD/GPLv2 license. When using or |
| * redistributing this file, you may do so under either license. |
| * Copyright(c) 2018 Intel Corporation. All rights reserved. |
| #ifndef __INCLUDE_SOUND_SOF_PM_H__ |
| #define __INCLUDE_SOUND_SOF_PM_H__ |
| #include <sound/sof/header.h> |
| struct sof_ipc_pm_ctx_elem { |
| * PM context - SOF_IPC_PM_CTX_SAVE, SOF_IPC_PM_CTX_RESTORE, |
| struct sof_ipc_cmd_hdr hdr; |
| struct sof_ipc_host_buffer buffer; |
| /* reserved for future use */ |
| struct sof_ipc_pm_ctx_elem elems[]; |
| /* enable or disable cores - SOF_IPC_PM_CORE_ENABLE */ |
| struct sof_ipc_pm_core_config { |
| struct sof_ipc_cmd_hdr hdr; |
| struct sof_ipc_cmd_hdr hdr; |
| uint32_t flags; /* platform specific */ |
| /* reserved for future use */ |