Lines Matching refs:component

219 	struct snd_soc_component *component = snd_soc_dapm_to_component(dapm);  in wm9712_hp_mixer_put()  local
220 struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component); in wm9712_hp_mixer_put()
263 struct snd_soc_component *component = snd_soc_dapm_to_component(dapm); in wm9712_hp_mixer_get() local
264 struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component); in wm9712_hp_mixer_get()
526 struct snd_soc_component *component = dai->component; in ac97_prepare() local
530 snd_soc_component_update_bits(component, AC97_EXTENDED_STATUS, 0x1, 0x1); in ac97_prepare()
537 return snd_soc_component_write(component, reg, runtime->rate); in ac97_prepare()
543 struct snd_soc_component *component = dai->component; in ac97_aux_prepare() local
546 snd_soc_component_update_bits(component, AC97_EXTENDED_STATUS, 0x1, 0x1); in ac97_aux_prepare()
547 snd_soc_component_update_bits(component, AC97_PCI_SID, 0x8000, 0x8000); in ac97_aux_prepare()
552 return snd_soc_component_write(component, AC97_PCM_SURR_DAC_RATE, runtime->rate); in ac97_aux_prepare()
596 static int wm9712_set_bias_level(struct snd_soc_component *component, in wm9712_set_bias_level() argument
604 snd_soc_component_write(component, AC97_POWERDOWN, 0x0000); in wm9712_set_bias_level()
608 snd_soc_component_write(component, AC97_EXTENDED_MSTATUS, 0xffff); in wm9712_set_bias_level()
609 snd_soc_component_write(component, AC97_POWERDOWN, 0xffff); in wm9712_set_bias_level()
615 static int wm9712_soc_resume(struct snd_soc_component *component) in wm9712_soc_resume() argument
617 struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component); in wm9712_soc_resume()
625 snd_soc_component_force_bias_level(component, SND_SOC_BIAS_STANDBY); in wm9712_soc_resume()
628 snd_soc_component_cache_sync(component); in wm9712_soc_resume()
633 static int wm9712_soc_probe(struct snd_soc_component *component) in wm9712_soc_probe() argument
635 struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component); in wm9712_soc_probe()
644 wm9712->ac97 = snd_soc_new_ac97_component(component, WM9712_VENDOR_ID, in wm9712_soc_probe()
648 dev_err(component->dev, in wm9712_soc_probe()
662 snd_soc_component_init_regmap(component, regmap); in wm9712_soc_probe()
665 snd_soc_component_update_bits(component, AC97_VIDEO, 0x3000, 0x3000); in wm9712_soc_probe()
670 static void wm9712_soc_remove(struct snd_soc_component *component) in wm9712_soc_remove() argument
672 struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component); in wm9712_soc_remove()
675 snd_soc_component_exit_regmap(component); in wm9712_soc_remove()