]> git.ipfire.org Git - thirdparty/kernel/stable.git/blob - sound/soc/codecs/hdac_hda.h
dma-debug: only skip one stackframe entry
[thirdparty/kernel/stable.git] / sound / soc / codecs / hdac_hda.h
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
9 struct hdac_hda_pcm {
10 int stream_tag[2];
11 };
12
13 struct hdac_hda_priv {
14 struct hda_codec codec;
15 struct hdac_hda_pcm pcm[2];
16 };
17
18 #define hdac_to_hda_priv(_hdac) \
19 container_of(_hdac, struct hdac_hda_priv, codec.core)
20 #define hdac_to_hda_codec(_hdac) container_of(_hdac, struct hda_codec, core)
21
22 struct hdac_ext_bus_ops *snd_soc_hdac_hda_get_ops(void);
23
24 #endif /* __HDAC_HDA_H__ */