brintos

brintos / linux-shallow public Read only

0
0
Text · 620 B · d03a5d4 Raw
35 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Copyright(c) 2015-18 Intel Corporation.4 */5 6#ifndef __HDAC_HDA_H__7#define __HDAC_HDA_H__8 9enum {10	HDAC_ANALOG_DAI_ID = 0,11	HDAC_DIGITAL_DAI_ID,12	HDAC_ALT_ANALOG_DAI_ID,13	HDAC_HDMI_0_DAI_ID,14	HDAC_HDMI_1_DAI_ID,15	HDAC_HDMI_2_DAI_ID,16	HDAC_HDMI_3_DAI_ID,17	HDAC_DAI_ID_NUM18};19 20struct hdac_hda_pcm {21	int stream_tag[2];22	unsigned int format_val[2];23};24 25struct hdac_hda_priv {26	struct hda_codec *codec;27	struct hdac_hda_pcm pcm[HDAC_DAI_ID_NUM];28	bool need_display_power;29	int dev_index;30};31 32struct hdac_ext_bus_ops *snd_soc_hdac_hda_get_ops(void);33 34#endif /* __HDAC_HDA_H__ */35