mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
ea89a742da
For some reason a number of files included the "All rights reserved" statement. Good old copy-paste made sure this mistake proliferated. Remove the "All rights reserved" in all Intel-copyright to align with internal guidance. Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20240503140359.259762-10-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
57 lines
1.1 KiB
C
57 lines
1.1 KiB
C
/* 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
|
|
*/
|
|
|
|
#ifndef __INCLUDE_SOUND_SOF_PM_H__
|
|
#define __INCLUDE_SOUND_SOF_PM_H__
|
|
|
|
#include <sound/sof/header.h>
|
|
|
|
/*
|
|
* PM
|
|
*/
|
|
|
|
/* PM context element */
|
|
struct sof_ipc_pm_ctx_elem {
|
|
struct sof_ipc_hdr hdr;
|
|
uint32_t type;
|
|
uint32_t size;
|
|
uint64_t addr;
|
|
} __packed;
|
|
|
|
/*
|
|
* PM context - SOF_IPC_PM_CTX_SAVE, SOF_IPC_PM_CTX_RESTORE,
|
|
* SOF_IPC_PM_CTX_SIZE
|
|
*/
|
|
struct sof_ipc_pm_ctx {
|
|
struct sof_ipc_cmd_hdr hdr;
|
|
struct sof_ipc_host_buffer buffer;
|
|
uint32_t num_elems;
|
|
uint32_t size;
|
|
|
|
/* reserved for future use */
|
|
uint32_t reserved[8];
|
|
|
|
struct sof_ipc_pm_ctx_elem elems[];
|
|
} __packed;
|
|
|
|
/* enable or disable cores - SOF_IPC_PM_CORE_ENABLE */
|
|
struct sof_ipc_pm_core_config {
|
|
struct sof_ipc_cmd_hdr hdr;
|
|
uint32_t enable_mask;
|
|
} __packed;
|
|
|
|
struct sof_ipc_pm_gate {
|
|
struct sof_ipc_cmd_hdr hdr;
|
|
uint32_t flags; /* platform specific */
|
|
|
|
/* reserved for future use */
|
|
uint32_t reserved[5];
|
|
} __packed;
|
|
|
|
#endif
|