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) 2018 Intel Corporation. All rights reserved.
9 #ifndef __INCLUDE_SOUND_SOF_PM_H__
10 #define __INCLUDE_SOUND_SOF_PM_H__
12 #include <sound/sof/header.h>
18 /* PM context element */
19 struct sof_ipc_pm_ctx_elem
{
20 struct sof_ipc_hdr hdr
;
27 * PM context - SOF_IPC_PM_CTX_SAVE, SOF_IPC_PM_CTX_RESTORE,
30 struct sof_ipc_pm_ctx
{
31 struct sof_ipc_cmd_hdr hdr
;
32 struct sof_ipc_host_buffer buffer
;
36 /* reserved for future use */
39 struct sof_ipc_pm_ctx_elem elems
[];
42 /* enable or disable cores - SOF_IPC_PM_CORE_ENABLE */
43 struct sof_ipc_pm_core_config
{
44 struct sof_ipc_cmd_hdr hdr
;
48 struct sof_ipc_pm_gate
{
49 struct sof_ipc_cmd_hdr hdr
;
50 uint32_t flags
; /* platform specific */
52 /* reserved for future use */