File Index
Files and directories
Sign in
FILE

hda.h

File preview with syntax highlighting.

linux-6.19.14/sound/soc/codecs/hda.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Copyright(c) 2021-2022 Intel Corporation
 4 *
 5 * Author: Cezary Rojewski <cezary.rojewski@intel.com>
 6 */
 7
 8#ifndef SND_SOC_CODECS_HDA_H
 9#define SND_SOC_CODECS_HDA_H
10
11#define hda_codec_is_display(codec) \
12	((((codec)->core.vendor_id >> 16) & 0xFFFF) == 0x8086)
13
14extern const struct snd_soc_dai_ops snd_soc_hda_codec_dai_ops;
15
16extern const struct hdac_ext_bus_ops soc_hda_ext_bus_ops;
17int hda_codec_probe_complete(struct hda_codec *codec);
18
19#endif
~/ Read-only file preview.