Home
last modified time | relevance | path

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

/sound/pci/hda/
Dhda_eld.c635 int spkalloc, ati_sad, aud_synch; in snd_hdmi_get_eld_ati() local
703 ati_sad = snd_hda_codec_read(codec, nid, 0, ATI_VERB_GET_AUDIO_DESCRIPTOR, 0); in snd_hdmi_get_eld_ati()
705 if (ati_sad <= 0) in snd_hdmi_get_eld_ati()
708 if (ati_sad & ATI_AUDIODESC_RATES) { in snd_hdmi_get_eld_ati()
710 buf[pos++] = (ati_sad & 0x0000ff) >> 0; in snd_hdmi_get_eld_ati()
711 buf[pos++] = (ati_sad & 0x00ff00) >> 8; in snd_hdmi_get_eld_ati()
712 buf[pos++] = (ati_sad & 0xff0000) >> 16; in snd_hdmi_get_eld_ati()
716 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES) in snd_hdmi_get_eld_ati()
717 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES) >> 16 != (ati_sad & ATI_AUDIODESC_RATES)) { in snd_hdmi_get_eld_ati()
719 buf[pos++] = ((ati_sad & 0x000000ff) & ~ATI_AUDIODESC_CHANNELS) | 0x1; in snd_hdmi_get_eld_ati()
[all …]