Lines Matching refs:component
167 struct snd_soc_component *component = dai->component; in ac97_analog_prepare() local
172 snd_soc_component_update_bits(component, AC97_EXTENDED_STATUS, 0x5, 0x1); in ac97_analog_prepare()
179 return snd_soc_component_write(component, reg, runtime->rate); in ac97_analog_prepare()
185 struct snd_soc_component *component = dai->component; in ac97_digital_prepare() local
189 snd_soc_component_write(component, AC97_SPDIF, 0x2002); in ac97_digital_prepare()
192 snd_soc_component_update_bits(component, AC97_EXTENDED_STATUS, 0x5, 0x5); in ac97_digital_prepare()
196 return snd_soc_component_write(component, reg, runtime->rate); in ac97_digital_prepare()
199 static int stac9766_set_bias_level(struct snd_soc_component *component, in stac9766_set_bias_level() argument
206 snd_soc_component_write(component, AC97_POWERDOWN, 0x0000); in stac9766_set_bias_level()
210 snd_soc_component_write(component, AC97_POWERDOWN, 0xffff); in stac9766_set_bias_level()
216 static int stac9766_component_resume(struct snd_soc_component *component) in stac9766_component_resume() argument
218 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in stac9766_component_resume()
271 static int stac9766_component_probe(struct snd_soc_component *component) in stac9766_component_probe() argument
277 ac97 = snd_soc_new_ac97_component(component, STAC9766_VENDOR_ID, in stac9766_component_probe()
288 snd_soc_component_init_regmap(component, regmap); in stac9766_component_probe()
289 snd_soc_component_set_drvdata(component, ac97); in stac9766_component_probe()
297 static void stac9766_component_remove(struct snd_soc_component *component) in stac9766_component_remove() argument
299 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in stac9766_component_remove()
301 snd_soc_component_exit_regmap(component); in stac9766_component_remove()