Lines Matching refs:ati_sad
635 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()
721 buf[pos++] = (ati_sad & 0xff000000) >> 24; in snd_hdmi_get_eld_ati()
722 buf[pos++] = (ati_sad & 0x00ff0000) >> 16; in snd_hdmi_get_eld_ati()