| 1 |
|
| 2 | |
| 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.
|
| 5 | *
|
| 6 | * Copyright(c) 2021 Advanced Micro Devices, Inc.. All rights reserved.
|
| 7 |
|
| 8 |
|
| 9 | #ifndef __INCLUDE_SOUND_SOF_DAI_AMD_H__
|
| 10 | #define __INCLUDE_SOUND_SOF_DAI_AMD_H__
|
| 11 |
|
| 12 | #include <sound/sof/header.h>
|
| 13 |
|
| 14 |
|
| 15 | struct sof_ipc_dai_acp_params {
|
| 16 | struct sof_ipc_hdr hdr;
|
| 17 |
|
| 18 | uint32_t fsync_rate;
|
| 19 | uint32_t tdm_slots;
|
| 20 | uint32_t tdm_mode;
|
| 21 | uint32_t format;
|
| 22 | } __packed;
|
| 23 |
|
| 24 |
|
| 25 | struct sof_ipc_dai_acpdmic_params {
|
| 26 | uint32_t pdm_rate;
|
| 27 | uint32_t pdm_ch;
|
| 28 | } __packed;
|
| 29 |
|
| 30 |
|
| 31 | struct sof_ipc_dai_acp_sdw_params {
|
| 32 | struct sof_ipc_hdr hdr;
|
| 33 | u32 rate;
|
| 34 | u32 channels;
|
| 35 | } __packed;
|
| 36 |
|
| 37 | #endif
|