Lines Matching refs:component

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