Lines Matching defs:ati_sad
639 int spkalloc, ati_sad, aud_synch;
707 ati_sad = snd_hda_codec_read(codec, nid, 0, ATI_VERB_GET_AUDIO_DESCRIPTOR, 0);
709 if (ati_sad <= 0)
712 if (ati_sad & ATI_AUDIODESC_RATES) {
714 buf[pos++] = (ati_sad & 0x0000ff) >> 0;
715 buf[pos++] = (ati_sad & 0x00ff00) >> 8;
716 buf[pos++] = (ati_sad & 0xff0000) >> 16;
720 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES)
721 && (ati_sad & ATI_AUDIODESC_LPCM_STEREO_RATES) >> 16 != (ati_sad & ATI_AUDIODESC_RATES)) {
723 buf[pos++] = ((ati_sad & 0x000000ff) & ~ATI_AUDIODESC_CHANNELS) | 0x1;
725 buf[pos++] = (ati_sad & 0xff000000) >> 24;
726 buf[pos++] = (ati_sad & 0x00ff0000) >> 16;