hda.h 510 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
  4. *
  5. * Author: Cezary Rojewski <[email protected]>
  6. */
  7. #ifndef SND_SOC_CODECS_HDA_H
  8. #define SND_SOC_CODECS_HDA_H
  9. #define hda_codec_is_display(codec) \
  10. ((((codec)->core.vendor_id >> 16) & 0xFFFF) == 0x8086)
  11. extern const struct snd_soc_dai_ops snd_soc_hda_codec_dai_ops;
  12. extern const struct hdac_ext_bus_ops soc_hda_ext_bus_ops;
  13. int hda_codec_probe_complete(struct hda_codec *codec);
  14. #endif