Home
last modified time | relevance | path

Searched refs:ati_sad (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/sound/pci/hda/
Dhda_eld.c639 int spkalloc, ati_sad, aud_synch; in snd_hdmi_get_eld_ati() local
707 ati_sad = snd_hda_codec_read(codec, nid, 0, ATI_VERB_GET_AUDIO_DESCRIPTOR, 0); in snd_hdmi_get_eld_ati()
709 if (ati_sad <= 0) in snd_hdmi_get_eld_ati()
712 if (ati_sad & ATI_AUDIODESC_RATES) { in snd_hdmi_get_eld_ati()
714 buf[pos++] = (ati_sad & 0x0000ff) >> 0; in snd_hdmi_get_eld_ati()
715 buf[pos++] = (ati_sad & 0x00ff00) >> 8; in snd_hdmi_get_eld_ati()
716 buf[pos++] = (ati_sad & 0xff0000) >> 16; in snd_hdmi_get_eld_ati()
720 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES) in snd_hdmi_get_eld_ati()
721 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES) >> 16 != (ati_sad & ATI_AUDIODESC_RATES)) { in snd_hdmi_get_eld_ati()
723 buf[pos++] = ((ati_sad & 0x000000ff) & ~ATI_AUDIODESC_CHANNELS) | 0x1; in snd_hdmi_get_eld_ati()
[all …]