enabled
     /ˆÇÆƒoÅÀÉ %    /// SPDX-License-Identifier: GPL-2.0
// HD-Audio helpers to sync with DRM driver

#ifndef __SOUND_HDA_COMPONENT_H
#define __SOUND_HDA_COMPONENT_H

#include <drm/drm_audio_component.h>
#include <sound/hdaudio.h>

/* virtual idx for controller */
#define HDA_CODEC_IDX_CONTROLLER	HDA_MAX_CODECS

#ifdef CONFIG_SND_HDA_COMPONENT
int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable);
void snd_hdac_display_power(struct hdac_bus *bus, unsigned int idx,
			    bool enable);
int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid,
			     int dev_id, int rate);
int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
			   bool *audio_enabled, char *buffer, int max_bytes);
int snd_hdac_acomp_init(struct hdac_bus *bus,
			const struct drm_audio_component_audio_ops *aops,
			int (*match_master)(struct device *, int, void *),
			size_t extra_size);
int snd_hdac_acomp_exit(struct hdac_bus *bus);
int snd_hdac_acomp_register_notifier(struct hdac_bus *bus,
				    const struct drm_audio_component_audio_ops *ops);
#else
static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable)
{
	return 0;
}
static inline void snd_hdac_display_power(struct hdac_bus *bus,
					  unsigned int idx, bool enable)
{
}
static inline int snd_hdac_sync_audio_rate(struct hdac_device *codec,
					   hda_nid_t nid, int dev_id, int rate)
{
	return 0;
}
static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid,
					 int dev_id, bool *audio_enabled,
					 char *buffer, int max_bytes)
{
	return -ENODEV;
}
static inline int snd_hdac_acomp_init(struct hdac_bus *bus,
				      const struct drm_audio_component_audio_ops *aops,
				      int (*match_master)(struct device *,
							  int, void *),
				      size_t extra_size)
{
	return -ENODEV;
}
static inline int snd_hdac_acomp_exit(struct hdac_bus *bus)
{
	return 0;
}
static inline int snd_hdac_acomp_register_notifier(struct hdac_bus *bus,
						  const struct drm_audio_component_audio_ops *ops)
{
	return -ENODEV;
}
#endif

#endif /* __SOUND_HDA_COMPONENT_H */
     1ˆ¾Æƒh¹ÀÉ      10
  	   3ˆ¿Æ0ÀÉ  /   5ˆl–ß=¿Jõ!®Å8 pÜŠbÑ¿Çƒ.‡_‹uÐb&=Ly¦�ÂË 	C    5<?xml version="1.0"?>
<libosinfo version="0.0.1">
  <!-- Licensed under the GNU General Public License version 2 or later.
     See http://www.gnu.org/licenses/ for a copy of the license text -->
  <os id="http://freebsd.org/freebsd/10.1">
    <short-id>freebsd10.1</short-id>
    <name>FreeBSD 10.1</name>
    <name xml:lang="zh-Hans">FreeBSD 10.1</name>
    <name xml:lang="ka">FreeBSD 10.1</name>
    <name xml:lang="ko">&#xD504;&#xB9AC;BSD 10.1</name>
    <name xml:lang="uk">FreeBSD 10.1</name>
    <name xml:lang="tr">FreeBSD 10.1</name>
    <name xml:lang="pt">FreeBSD 10.1</name>
    <name xml:lang="pt-BR">FreeBSD 10.1</name>
    <name xml:lang="pl">FreeBSD 10.1</name>
    <name xml:lang="it">FreeBSD 10.1</name>
    <name xml:lang="id">FreeBSD 10.1</name>
    <name xml:lang="fr">FreeBSD 10.1</name>
    <name xml:lang="es">FreeBSD 10.1</name>
    <name xml:lang="de">FreeBSD 10.1</name>
    <name xml:lang="ca">FreeBSD 10.1</name>
    <version>10.1</version>
    <vendor>FreeBSD Project</vendor>
    <vendor xml:lang="zh-Hans">FreeBSD Project</vendor>
    <vendor xml:lang="ka">FreeBSD Project</vendor>
    <vendor xml:lang="ko">&#xD504;&#xB9AC;BSD &#xD504;&#xB85C;&#xC81D;&#xD2B8;</vendor>
    <vendor xml:lang="fi">FreeBSD projekti</vendor>
    <vendor xml:lang="uk">&#x41F;&#x440;&#x43E;&#x454;&#x43A;&#x442; FreeBSD</vendor>
    <vendor xml:lang="tr">FreeBSD Projesi</vendor>
    <vendor xml:lang="pt">Projeto FreeBSD</vendor>
    <vendor xml:lang="pt-BR">Projeto FreeBSD</vendor>
    <vendor xml:lang="pl">Projekt FreeBSD</vendor>
    <vendor xml:lang="ja">FreeBSD &#x30D7;&#x30ED;&#x30B8;&#x30A7;&#x30AF;&#x30C8;</vendor>
    <vendor xml:lang="it">Progetto FreeBSD</vendor>
    <vendor xml:lang="id">Proyek FreeBSD</vendor>
    <vendor xml:lang="fr">Projet FreeBSD</vendor>
    <vendor xml:lang="es">FreeBSD Project</vendor>
    <vendor xml: