Lines Matching refs:stac9766_ac97_write
142 static int stac9766_ac97_write(struct snd_soc_codec *codec, unsigned int reg,
148 stac9766_ac97_write(codec, AC97_INT_PAGING, 0);
150 stac9766_ac97_write(codec, AC97_INT_PAGING, 1);
167 stac9766_ac97_write(codec, AC97_INT_PAGING, 0);
169 stac9766_ac97_write(codec, AC97_INT_PAGING, 1);
197 stac9766_ac97_write(codec, AC97_EXTENDED_STATUS, vra);
204 return stac9766_ac97_write(codec, reg, runtime->rate);
214 stac9766_ac97_write(codec, AC97_SPDIF, 0x2002);
219 stac9766_ac97_write(codec, AC97_EXTENDED_STATUS, vra);
223 return stac9766_ac97_write(codec, reg, runtime->rate);
233 stac9766_ac97_write(codec, AC97_POWERDOWN, 0x0000);
237 stac9766_ac97_write(codec, AC97_POWERDOWN, 0xffff);
374 codec->write = stac9766_ac97_write;