1 /* SPDX-License-Identifier: (GPL-2.0-only OR B 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* 2 /* 3 * This file is provided under a dual BSD/GPLv 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so und 4 * redistributing this file, you may do so under either license. 5 * 5 * 6 * Copyright(c) 2021 Advanced Micro Devices, I 6 * Copyright(c) 2021 Advanced Micro Devices, Inc.. All rights reserved. 7 */ 7 */ 8 8 9 #ifndef __INCLUDE_SOUND_SOF_DAI_AMD_H__ 9 #ifndef __INCLUDE_SOUND_SOF_DAI_AMD_H__ 10 #define __INCLUDE_SOUND_SOF_DAI_AMD_H__ 10 #define __INCLUDE_SOUND_SOF_DAI_AMD_H__ 11 11 12 #include <sound/sof/header.h> 12 #include <sound/sof/header.h> 13 13 14 /* ACP Configuration Request - SOF_IPC_DAI_AMD 14 /* ACP Configuration Request - SOF_IPC_DAI_AMD_CONFIG */ 15 struct sof_ipc_dai_acp_params { 15 struct sof_ipc_dai_acp_params { 16 struct sof_ipc_hdr hdr; 16 struct sof_ipc_hdr hdr; 17 17 18 uint32_t fsync_rate; /* FSYNC frequ 18 uint32_t fsync_rate; /* FSYNC frequency in Hz */ 19 uint32_t tdm_slots; 19 uint32_t tdm_slots; 20 uint32_t tdm_mode; << 21 } __packed; 20 } __packed; 22 << 23 /* ACPDMIC Configuration Request - SOF_IPC_DAI << 24 struct sof_ipc_dai_acpdmic_params { << 25 uint32_t pdm_rate; << 26 uint32_t pdm_ch; << 27 } __packed; << 28 << 29 /* ACP_SDW Configuration Request - SOF_IPC_DAI << 30 struct sof_ipc_dai_acp_sdw_params { << 31 struct sof_ipc_hdr hdr; << 32 u32 rate; << 33 u32 channels; << 34 } __packed; << 35 << 36 #endif 21 #endif 37 22
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.