0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __INCLUDE_SOUND_SOF_DAI_IMX_H__
0009 #define __INCLUDE_SOUND_SOF_DAI_IMX_H__
0010
0011 #include <sound/sof/header.h>
0012
0013
0014 struct sof_ipc_dai_esai_params {
0015 struct sof_ipc_hdr hdr;
0016
0017
0018 uint16_t reserved1;
0019 uint16_t mclk_id;
0020 uint32_t mclk_direction;
0021
0022 uint32_t mclk_rate;
0023 uint32_t fsync_rate;
0024 uint32_t bclk_rate;
0025
0026
0027 uint32_t tdm_slots;
0028 uint32_t rx_slots;
0029 uint32_t tx_slots;
0030 uint16_t tdm_slot_width;
0031 uint16_t reserved2;
0032 } __packed;
0033
0034
0035 struct sof_ipc_dai_sai_params {
0036 struct sof_ipc_hdr hdr;
0037
0038
0039 uint16_t reserved1;
0040 uint16_t mclk_id;
0041 uint32_t mclk_direction;
0042
0043 uint32_t mclk_rate;
0044 uint32_t fsync_rate;
0045 uint32_t bclk_rate;
0046
0047
0048 uint32_t tdm_slots;
0049 uint32_t rx_slots;
0050 uint32_t tx_slots;
0051 uint16_t tdm_slot_width;
0052 uint16_t reserved2;
0053 } __packed;
0054 #endif