Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
0004  *
0005  * Author: Cezary Rojewski <cezary.rojewski@intel.com>
0006  */
0007 
0008 #ifndef SND_SOC_CODECS_HDA_H
0009 #define SND_SOC_CODECS_HDA_H
0010 
0011 #define hda_codec_is_display(codec) \
0012     ((((codec)->core.vendor_id >> 16) & 0xFFFF) == 0x8086)
0013 
0014 extern const struct snd_soc_dai_ops snd_soc_hda_codec_dai_ops;
0015 
0016 extern const struct hdac_ext_bus_ops soc_hda_ext_bus_ops;
0017 int hda_codec_probe_complete(struct hda_codec *codec);
0018 
0019 #endif