snd_ac97_write_cache
void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
snd_ac97_write_cache(ac97, AC97_PC_BEEP, 0x801e);
snd_ac97_write_cache(ac97, reg, val | mask);
snd_ac97_write_cache(ac97, reg, orig);
snd_ac97_write_cache(ac97, reg, AC97_MUTE_MASK_STEREO);
snd_ac97_write_cache(ac97, reg, val | mute_mask);
snd_ac97_write_cache(
snd_ac97_write_cache(ac97, AC97_CENTER_LFE_MASTER, ac97->regs[AC97_CENTER_LFE_MASTER] | max);
snd_ac97_write_cache(ac97, AC97_CENTER_LFE_MASTER, ac97->regs[AC97_CENTER_LFE_MASTER] | max << 8);
snd_ac97_write_cache(ac97, AC97_MASTER_TONE, 0x0f0f);
snd_ac97_write_cache(
snd_ac97_write_cache(ac97, AC97_PCM, init_val);
snd_ac97_write_cache(ac97, AC97_REC_SEL, 0x0000);
snd_ac97_write_cache(ac97, AC97_REC_GAIN, 0x0000);
snd_ac97_write_cache(ac97, AC97_REC_GAIN_MIC, 0x0000);
snd_ac97_write_cache(ac97, AC97_3D_CONTROL, 0x0000);
snd_ac97_write_cache(ac97, AC97_SPDIF, 0x2a20);
snd_ac97_write_cache(ac97, reg, tmp & 0xffff);
snd_ac97_write_cache(ac97, shadow_reg, tmp & 0xffff);
snd_ac97_write_cache(ac97, reg, saved);
snd_ac97_write_cache(ac97, shadow_reg, saved);
snd_ac97_write_cache(ac97, AC97_REC_GAIN, 0x8a05);
snd_ac97_write_cache(ac97, AC97_REC_GAIN, 0x8a06);
snd_ac97_write_cache(ac97, AC97_POWERDOWN, 0);
snd_ac97_write_cache(ac97, AC97_RESET, 0); /* reset to defaults */
snd_ac97_write_cache(ac97, AC97_POWERDOWN, 0);
snd_ac97_write_cache(ac97, AC97_GENERAL_PURPOSE, 0);
snd_ac97_write_cache(ac97, AC97_LINE1_RATE, 8000);
snd_ac97_write_cache(ac97, AC97_LINE2_RATE, 8000);
snd_ac97_write_cache(ac97, AC97_HANDSET_RATE, 8000);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MSTATUS, 0);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MSTATUS, 0);
snd_ac97_write_cache(ac97, AC97_EXTENDED_STATUS, reg);
snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x0200);
EXPORT_SYMBOL(snd_ac97_write_cache);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC2, 0x1000);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS2, 0x0007);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC2, 0x1001);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_DAC2INVERT, 0x0008);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_MULTICHN, 0x0000);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC2, 0x4000);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS2, 0x0002);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_MULTICHN, 0x0000);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC2, 0x0000); /* is this correct? --jk */
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS2, 0x0002);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_MULTICHN, 0x0000);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_CIC2, 0x0000); /* is this correct? --jk */
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS1, 0xabba);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_BIAS2, 0x0002);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_MULTICHN, 0x0000);
snd_ac97_write_cache(ac97, regs[i], pregs[i]);
snd_ac97_write_cache(ac97, AC97_CSR_SPDIF, 0x0a20);
snd_ac97_write_cache(ac97, AC97_CSR_ACMODE, 0x0080);
snd_ac97_write_cache(ac97, AC97_CXR_AUDIO_MISC,
snd_ac97_write_cache(ac97, AC97_CODEC_CLASS_REV, 0x8080);
snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x7000); /* select all codecs */
snd_ac97_write_cache(ac97, AC97_AD_CODEC_CFG, 0x0000); /* ID0C, ID1C, SDIE = off */
snd_ac97_write_cache(ac97, AC97_AD_CODEC_CFG, 0x0004); // SDIE
snd_ac97_write_cache(ac97, AC97_AD_CODEC_CFG, codec_bits);
snd_ac97_write_cache(ac97, AC97_AD_CODEC_CFG, 0x0002); // ID1C
snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, val);
snd_ac97_write_cache(ac97, AC97_AD_CODEC_CFG, 0x0000);
snd_ac97_write_cache(ac97, AC97_AD_MISC, 0x0404);
snd_ac97_write_cache(ac97, AC97_AD_JACK_SPDIF, 0x0010);
snd_ac97_write_cache(ac97, AC97_AD_MISC, misc);
snd_ac97_write_cache(ac97, AC97_AD_MISC, misc |
snd_ac97_write_cache(ac97, AC97_ALC650_GPIO_STATUS,
snd_ac97_write_cache(ac97, AC97_ALC650_CLOCK, val);
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, 0);
snd_ac97_write_cache(ac97, AC97_ALC650_GPIO_SETUP,
snd_ac97_write_cache(ac97, AC97_ALC650_GPIO_STATUS,
snd_ac97_write_cache(ac97, AC97_ALC650_SURR_DAC_VOL, 0x0808);
snd_ac97_write_cache(ac97, AC97_ALC650_LFE_DAC_VOL, 0x0808);
snd_ac97_write_cache(ac97, 0x7a, val);
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, 1<<15);
snd_ac97_write_cache(ac97, AC97_ALC650_SURR_DAC_VOL, 0x0808);
snd_ac97_write_cache(ac97, AC97_ALC650_LFE_DAC_VOL, 0x0808);
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, 1<<15);
snd_ac97_write_cache(ac97, 0x7a, (1<<1)|(1<<4)|(0<<5)|(1<<6)|
snd_ac97_write_cache(ac97, 0x76, (0<<0)|(0<<2)|(1<<4)|(1<<7)|(2<<8)|
snd_ac97_write_cache(ac97, AC97_ALC650_SURR_DAC_VOL, 0x0808);
snd_ac97_write_cache(ac97, AC97_ALC650_LFE_DAC_VOL, 0x0808);
snd_ac97_write_cache(ac97, AC97_PCM, 0x8000);
snd_ac97_write_cache(ac97, AC97_3D_CONTROL, 0x0000);
snd_ac97_write_cache(ac97, AC97_YMF7X3_3D_MODE_SEL, 0x0c00);
snd_ac97_write_cache(ac97, AC97_MASTER, 0x8000);
snd_ac97_write_cache(ac97, AC97_PCM, 0x8000);
snd_ac97_write_cache(ac97, AC97_CM9739_SPDIF_CTRL,
snd_ac97_write_cache(ac97, AC97_CM9739_MULTI_CHAN, val);
snd_ac97_write_cache(ac97, 0x70, 0x0100);
snd_ac97_write_cache(ac97, 0x72, 0x0020);
snd_ac97_write_cache(ac97, AC97_CM9739_SPDIF_CTRL,
snd_ac97_write_cache(ac97, AC97_CM9739_MULTI_CHAN,
snd_ac97_write_cache(ac97, AC97_MASTER, 0x8808);
snd_ac97_write_cache(ac97, AC97_PCM, 0x8808);
snd_ac97_write_cache(ac97, AC97_INT_PAGING, (val & ~0x0f) | 0x01);
snd_ac97_write_cache(ac97, AC97_INT_PAGING, val);
snd_ac97_write_cache(ac97, AC97_EXTENDED_STATUS, 0x05c0);
snd_ac97_write_cache(ac97, AC97_CM9761_SPDIF_CTRL, 0x0001); /* enable spdif-in */
snd_ac97_write_cache(ac97, AC97_CM9761_MULTI_CHAN, val);
snd_ac97_write_cache(ac97, 0x70, 0x0100);
snd_ac97_write_cache(ac97, 0x72, 0x0020);
snd_ac97_write_cache(ac97, AC97_CM9780_SPDIF, val);
snd_ac97_write_cache(ac97, AC97_YMF7X3_DIT_CTRL, 0xa201);
snd_ac97_write_cache(pac97, 0x7a, (usReg & 0x3FFF) + (usSM51 << 14));
snd_ac97_write_cache(pac97, 0x20, (usReg & 0xFEFF) + (usMS << 8));
snd_ac97_write_cache(ac97, 0x5c, 0x20);
snd_ac97_write_cache(ac97, 0x5E, 0x0808);
snd_ac97_write_cache(ac97, 0x7A, 0x0808);
snd_ac97_write_cache(ac97, 0x5c, 0xf210 );
snd_ac97_write_cache(ac97, 0x68, 0);
snd_ac97_write_cache(ac97, AC97_WM97XX_FMIXER_VOL, 0x0808);
snd_ac97_write_cache(ac97, AC97_WM9704_TEST, 0x0200);
snd_ac97_write_cache(ac97, AC97_CODEC_CLASS_REV, 0x0808);
snd_ac97_write_cache(ac97, AC97_PCI_SVID, 0x0808);
snd_ac97_write_cache(ac97, AC97_VIDEO, 0x0808);
snd_ac97_write_cache(ac97, AC97_AUX, 0x0808);
snd_ac97_write_cache(ac97, AC97_PC_BEEP, 0x0808);
snd_ac97_write_cache(ac97, AC97_CD, 0x0000);
snd_ac97_write_cache(ac97, AC97_PC_BEEP, 0x0808);
snd_ac97_write_cache(ac97, AC97_PHONE, 0x0808);
snd_ac97_write_cache(ac97, AC97_MIC, 0x0808);
snd_ac97_write_cache(ac97, AC97_LINE, 0x00da);
snd_ac97_write_cache(ac97, AC97_CD, 0x0808);
snd_ac97_write_cache(ac97, AC97_VIDEO, 0xd612);
snd_ac97_write_cache(ac97, AC97_REC_GAIN, 0x1ba0);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MID, 0xfeff);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MSTATUS, 0xffff);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MID, 0xda00);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MSTATUS, 0x3810);
snd_ac97_write_cache(ac97, AC97_POWERDOWN, 0x0);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MID, 0xda00);
snd_ac97_write_cache(ac97, AC97_EXTENDED_MSTATUS, 0x3810);
snd_ac97_write_cache(ac97, AC97_POWERDOWN, 0x0);
snd_ac97_write_cache(ac97, 0x26, 0x0300);
snd_ac97_write_cache(ac97, 0x26, 0x0000);
snd_ac97_write_cache(ac97, AC97_SURROUND_MASTER, 0x0000);
snd_ac97_write_cache(ac97, AC97_SPDIF, 0x0000);
snd_ac97_write_cache(ac97, AC97_3D_CONTROL, 0x0000);
snd_ac97_write_cache(ac97, AC97_3D_CONTROL, 0x0000);
snd_ac97_write_cache(ac97, AC97_SIGMATEL_ANALOG, snd_ac97_read(ac97, AC97_SIGMATEL_ANALOG) & ~0x0003);
snd_ac97_write_cache(ac97, AC97_EXTENDED_ID, es);
snd_ac97_write_cache(ac97, reg, val);
snd_ac97_write_cache(vortex->codec,
snd_ac97_write_cache(vortex->codec,
snd_ac97_write_cache(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX],
snd_ac97_write_cache(emu->ac97, AC97_MASTER, 0x0000);
snd_ac97_write_cache(emu->ac97, AC97_REC_SEL, 0x0000);
snd_ac97_write_cache(emu->ac97, AC97_HEADPHONE, 0x0202);
snd_ac97_write_cache(emu->ac97, AC97_SURROUND_MASTER, 0x0202);
snd_ac97_write_cache(emu->ac97, AC97_CENTER_LFE_MASTER, 0x0202);
snd_ac97_write_cache(ice->ac97, 0x5a,