• Home
  • Raw
  • Download

Lines Matching refs:new

402 	unsigned short old, new;  in snd_ac97_update_bits_nolock()  local
405 new = (old & ~mask) | (value & mask); in snd_ac97_update_bits_nolock()
406 change = old != new; in snd_ac97_update_bits_nolock()
408 ac97->regs[reg] = new; in snd_ac97_update_bits_nolock()
409 ac97->bus->ops->write(ac97, reg, new); in snd_ac97_update_bits_nolock()
418 unsigned short old, new, cfg; in snd_ac97_ad18xx_update_pcm_bits() local
422 new = (old & ~mask) | (value & mask); in snd_ac97_ad18xx_update_pcm_bits()
423 change = old != new; in snd_ac97_ad18xx_update_pcm_bits()
427 ac97->spec.ad18xx.pcmreg[codec] = new; in snd_ac97_ad18xx_update_pcm_bits()
433 ac97->bus->ops->write(ac97, AC97_PCM, new); in snd_ac97_ad18xx_update_pcm_bits()
732 unsigned int new = 0; in snd_ac97_spdif_default_put() local
736 new = val = ucontrol->value.iec958.status[0] & (IEC958_AES0_PROFESSIONAL|IEC958_AES0_NONAUDIO); in snd_ac97_spdif_default_put()
738 new |= ucontrol->value.iec958.status[0] & (IEC958_AES0_PRO_FS|IEC958_AES0_PRO_EMPHASIS_5015); in snd_ac97_spdif_default_put()
739 switch (new & IEC958_AES0_PRO_FS) { in snd_ac97_spdif_default_put()
745 if ((new & IEC958_AES0_PRO_EMPHASIS) == IEC958_AES0_PRO_EMPHASIS_5015) in snd_ac97_spdif_default_put()
748new |= ucontrol->value.iec958.status[0] & (IEC958_AES0_CON_EMPHASIS_5015|IEC958_AES0_CON_NOT_COPYR… in snd_ac97_spdif_default_put()
749new |= ((ucontrol->value.iec958.status[1] & (IEC958_AES1_CON_CATEGORY|IEC958_AES1_CON_ORIGINAL)) <… in snd_ac97_spdif_default_put()
750 new |= ((ucontrol->value.iec958.status[3] & IEC958_AES3_CON_FS) << 24); in snd_ac97_spdif_default_put()
751 if ((new & IEC958_AES0_CON_EMPHASIS) == IEC958_AES0_CON_EMPHASIS_5015) in snd_ac97_spdif_default_put()
753 if (!(new & IEC958_AES0_CON_NOT_COPYRIGHT)) in snd_ac97_spdif_default_put()
755 val |= ((new >> 8) & 0xff) << 4; // category + original in snd_ac97_spdif_default_put()
756 switch ((new >> 24) & 0xff) { in snd_ac97_spdif_default_put()
765 change = ac97->spdif_status != new; in snd_ac97_spdif_default_put()
766 ac97->spdif_status = new; in snd_ac97_spdif_default_put()
778 v = new & (IEC958_AES0_CON_EMPHASIS_5015|IEC958_AES0_CON_NOT_COPYRIGHT) ? 0 : AC97_CXR_COPYRGT; in snd_ac97_spdif_default_put()
779 v |= new & IEC958_AES0_NONAUDIO ? AC97_CXR_SPDIF_AC3 : AC97_CXR_SPDIF_PCM; in snd_ac97_spdif_default_put()
810 unsigned short value, old, new; in snd_ac97_put_spsa() local
819 new = (old & ~mask) | value; in snd_ac97_put_spsa()
820 change = old != new; in snd_ac97_put_spsa()