Lines Matching defs:ati_sad
635 int spkalloc, ati_sad, aud_synch;
703 ati_sad = snd_hda_codec_read(codec, nid, 0, ATI_VERB_GET_AUDIO_DESCRIPTOR, 0);
705 if (ati_sad <= 0)
708 if (ati_sad & ATI_AUDIODESC_RATES) {
710 buf[pos++] = (ati_sad & 0x0000ff) >> 0;
711 buf[pos++] = (ati_sad & 0x00ff00) >> 8;
712 buf[pos++] = (ati_sad & 0xff0000) >> 16;
716 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES)
717 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES) >> 16 != (ati_sad & ATI_AUDIODESC_RATES)) {
719 buf[pos++] = ((ati_sad & 0x000000ff) & ~ATI_AUDIODESC_CHANNELS) | 0x1;
721 buf[pos++] = (ati_sad & 0xff000000) >> 24;
722 buf[pos++] = (ati_sad & 0x00ff0000) >> 16;