Merge tag 'for-linus-20190706' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / sound / soc / codecs / hdac_hda.h
blob6b1bd4f428e70ed4037adef636ef9c42878d2865
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright(c) 2015-18 Intel Corporation.
4 */
6 #ifndef __HDAC_HDA_H__
7 #define __HDAC_HDA_H__
9 struct hdac_hda_pcm {
10 int stream_tag[2];
11 unsigned int format_val[2];
14 struct hdac_hda_priv {
15 struct hda_codec codec;
16 struct hdac_hda_pcm pcm[2];
19 #define hdac_to_hda_priv(_hdac) \
20 container_of(_hdac, struct hdac_hda_priv, codec.core)
21 #define hdac_to_hda_codec(_hdac) container_of(_hdac, struct hda_codec, core)
23 struct hdac_ext_bus_ops *snd_soc_hdac_hda_get_ops(void);
25 #endif /* __HDAC_HDA_H__ */