1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright(c) 2015-18 Intel Corporation.
10 HDAC_ANALOG_DAI_ID = 0,
12 HDAC_ALT_ANALOG_DAI_ID,
17 HDAC_LAST_DAI_ID = HDAC_HDMI_3_DAI_ID,
22 unsigned int format_val[2];
25 struct hdac_hda_priv {
26 struct hda_codec codec;
27 struct hdac_hda_pcm pcm[HDAC_LAST_DAI_ID];
28 bool need_display_power;
31 #define hdac_to_hda_priv(_hdac) \
32 container_of(_hdac, struct hdac_hda_priv, codec.core)
33 #define hdac_to_hda_codec(_hdac) container_of(_hdac, struct hda_codec, core)
35 struct hdac_ext_bus_ops *snd_soc_hdac_hda_get_ops(void);
37 #endif /* __HDAC_HDA_H__ */