Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
0002 /*
0003  * This file is provided under a dual BSD/GPLv2 license. When using or
0004  * redistributing this file, you may do so under either license.
0005  *
0006  * Copyright(c) 2021 Advanced Micro Devices, Inc.. All rights reserved.
0007  */
0008 
0009 #ifndef __INCLUDE_SOUND_SOF_DAI_AMD_H__
0010 #define __INCLUDE_SOUND_SOF_DAI_AMD_H__
0011 
0012 #include <sound/sof/header.h>
0013 
0014 /* ACP Configuration Request - SOF_IPC_DAI_AMD_CONFIG */
0015 struct sof_ipc_dai_acp_params {
0016     struct sof_ipc_hdr hdr;
0017 
0018     uint32_t fsync_rate;    /* FSYNC frequency in Hz */
0019     uint32_t tdm_slots;
0020 } __packed;
0021 
0022 /* ACPDMIC Configuration Request - SOF_IPC_DAI_AMD_CONFIG */
0023 struct sof_ipc_dai_acpdmic_params {
0024     uint32_t pdm_rate;
0025     uint32_t pdm_ch;
0026 } __packed;
0027 
0028 #endif