snd_ac97_update_bits
int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value);
snd_ac97_update_bits(ac97, AC97_GENERAL_PURPOSE, ~AC97_GP_DRSS_MASK, 0x0000);
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS,
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS,
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS,
snd_ac97_update_bits(ac97, AC97_SPDIF, AC97_SC_SPSR_MASK, ctl_bits[i]);
snd_ac97_update_bits(ac97, AC97_GENERAL_PURPOSE, AC97_GP_DRSS_MASK, AC97_GP_DRSS_78);
snd_ac97_update_bits(ac97, AC97_GENERAL_PURPOSE, AC97_GP_DRSS_MASK, 0);
snd_ac97_update_bits(ac97, AC97_POWERDOWN,
snd_ac97_update_bits(ac97, AC97_POWERDOWN,
snd_ac97_update_bits(ac97, power_regs[i].power_reg,
snd_ac97_update_bits(ac97, AC97_POWERDOWN,
snd_ac97_update_bits(ac97, AC97_POWERDOWN,
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0);
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, AC97_EA_SPDIF); /* turn on again */
snd_ac97_update_bits(ac97, 0x7a, 0x20, 0x20); /* select jack detect function */
snd_ac97_update_bits(ac97, 0x7a, 0x01, 0x01); /* Line-out auto mute */
snd_ac97_update_bits(ac97, 0x74, 0x0800, 0x0800);
snd_ac97_update_bits(ac97, AC97_POWERDOWN, AC97_PD_EAPD,
snd_ac97_update_bits(
snd_ac97_update_bits(ac97, AC97_POWERDOWN, AC97_PD_EAPD,
snd_ac97_update_bits(
EXPORT_SYMBOL(snd_ac97_update_bits);
return snd_ac97_update_bits(ac97, e->reg, mask, val);
snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page);
snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page_save);
err = snd_ac97_update_bits(ac97, reg, val_mask, val);
snd_ac97_update_bits(ac97, AC97_POWERDOWN, (1<<15), (1<<15)); /* EAPD up */
snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, AC97_PAGE_VENDOR);
snd_ac97_update_bits(ac97, 0x5c, 0x01, 0x01);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000, 0x7000);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000, 0x7000);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000, mask);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000, cfg_bits[idx]);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000, 0x7000);
return snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x0004, val);
snd_ac97_update_bits(ac97, AC97_AD_JACK_SPDIF, 1<<11, 1<<11);
snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD198X_MSPLT, AC97_AD198X_MSPLT);
snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD198X_MSPLT, AC97_AD198X_MSPLT);
return snd_ac97_update_bits(ac97, AC97_AD_MISC,
return snd_ac97_update_bits(ac97, AC97_AD_MISC,
snd_ac97_update_bits(ac97, AC97_AD_MISC, (1 << 11) | (1 << 12), val);
return snd_ac97_update_bits(ac97, AC97_AD_MISC,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 1 << 9,
ret0 = snd_ac97_update_bits(ac97, AC97_AD_MISC3, AC97_AD1986_LOSEL,
ret1 = snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD1986_SOSEL,
ret0 = snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD1986_SPRD,
ret1 = snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD1986_SOSEL,
cret = snd_ac97_update_bits(ac97, AC97_AD_MISC2,
lret = snd_ac97_update_bits(ac97, AC97_AD_MISC3,
mret = snd_ac97_update_bits(ac97, AC97_AD_MISC2,
snd_ac97_update_bits(ac97, AC97_AD_MISC,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG,
snd_ac97_update_bits(ac97, 0x7a, 0x400, 0x400);
snd_ac97_update_bits(ac97, AC97_ALC650_MULTICH, 1 << 9,
snd_ac97_update_bits(ac97, AC97_ALC650_CLOCK, 1 << 12,
snd_ac97_update_bits(ac97, AC97_ALC650_MULTICH, 1 << 10,
snd_ac97_update_bits(ac97, AC97_ALC650_GPIO_STATUS, 0x100,
snd_ac97_update_bits(ac97, AC97_ALC650_CLOCK, 1 << 12,
snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, AC97_PAGE_VENDOR);
snd_ac97_update_bits(ac97, 0x74, 0x0800, 0x0800);
snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<4)|(1<<5),
snd_ac97_update_bits(ac97, AC97_ALC850_JACK_SELECT, 7 << 12,
snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<12)|(1<<13),
snd_ac97_update_bits(ac97, AC97_ALC850_JACK_SELECT, 7 << 4,
snd_ac97_update_bits(ac97, AC97_ALC850_MULTICH, 1 << 10,
return snd_ac97_update_bits(ac97, AC97_YMF7X3_DIT_CTRL, 0x0002, val);
snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, AC97_PAGE_VENDOR);
snd_ac97_update_bits(ac97, AC97_CM9738_VENDOR_CTRL, 1 << 10,
return snd_ac97_update_bits(ac97, AC97_CM9739_SPDIF_CTRL,
snd_ac97_update_bits(ac97, AC97_CM9739_MULTI_CHAN, 1 << 10,
snd_ac97_update_bits(ac97, AC97_CM9739_MULTI_CHAN, 0x3000,
snd_ac97_update_bits(ac97, AC97_CM9761_MULTI_CHAN, 0x3c88, val);
return snd_ac97_update_bits(ac97, AC97_CM9761_FUNC, 0x1, 0x1);
snd_ac97_update_bits(ac97, AC97_CM9761_FUNC, 0x1, 0);
return snd_ac97_update_bits(ac97, AC97_CM9761_SPDIF_CTRL, 0x2,
snd_ac97_update_bits(pac97, AC97_INT_PAGING, AC97_PAGE_MASK, 0);
snd_ac97_update_bits(pac97, AC97_INT_PAGING, AC97_PAGE_MASK, datpag);
snd_ac97_update_bits(snd_kcontrol_chip(kcontrol), 0x5c, 0x0008,
return snd_ac97_update_bits(snd_kcontrol_chip(kcontrol), 0x76, 0x0008,
snd_ac97_update_bits(ac97, 0x76, 1 << 9,
snd_ac97_update_bits(ac97, 0x76, 1 << 10,
return snd_ac97_update_bits(ac97, AC97_YMF7X3_DIT_CTRL, 0x0028, val);
snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page);
ret = snd_ac97_update_bits(ac97, reg, mask, value);
snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page_save);
err = snd_ac97_update_bits(ac97, AC97_SIGMATEL_BIAS2, 0x0010,
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0);
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0);
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0);
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS,
snd_ac97_update_bits(ac97, AC97_GENERAL_PURPOSE,
snd_ac97_update_bits(ac97, AC97_INT_PAGING,
snd_ac97_update_bits(ac97, AC97_INT_PAGING,
snd_ac97_update_bits(ac97, AC97_INT_PAGING,
snd_ac97_update_bits(ac97, AC97_INT_PAGING,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000, 0x7000);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000,
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x7000, 0x7000);
snd_ac97_update_bits(chip->ac97[i],
return snd_ac97_update_bits(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX],
err = snd_ac97_update_bits(ac97, AC97_AD_TEST2,
err = snd_ac97_update_bits(ac97, AC97_AD_MISC,
snd_ac97_update_bits(emu->ac97, AC97_GENERAL_PURPOSE,
snd_ac97_update_bits(chip->ac97[0], AC97_EXTENDED_STATUS, 0x03 << 4, 0x03 << 4);
snd_ac97_update_bits(chip->ac97, AC97_EXTENDED_STATUS, 0x03 << 4, 0x03 << 4);
snd_ac97_update_bits(chip->ac97, AC97_EXTENDED_STATUS,
snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS,