wm8955            244 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component);
wm8955            252 sound/soc/codecs/wm8955.c 	if (wm8955->fs == 0)
wm8955            253 sound/soc/codecs/wm8955.c 		wm8955->fs = 8000;
wm8955            257 sound/soc/codecs/wm8955.c 		if (wm8955->fs != clock_cfgs[i].fs)
wm8955            261 sound/soc/codecs/wm8955.c 		if (wm8955->mclk_rate == clock_cfgs[i].mclk)
wm8955            268 sound/soc/codecs/wm8955.c 			wm8955->fs);
wm8955            282 sound/soc/codecs/wm8955.c 		ret = wm8955_pll_factors(component->dev, wm8955->mclk_rate,
wm8955            287 sound/soc/codecs/wm8955.c 				wm8955->fs, wm8955->mclk_rate);
wm8955            362 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component);
wm8955            368 sound/soc/codecs/wm8955.c 	if (wm8955->deemph) {
wm8955            371 sound/soc/codecs/wm8955.c 			if (abs(deemph_settings[i] - wm8955->fs) <
wm8955            372 sound/soc/codecs/wm8955.c 			    abs(deemph_settings[best] - wm8955->fs))
wm8955            391 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component);
wm8955            393 sound/soc/codecs/wm8955.c 	ucontrol->value.integer.value[0] = wm8955->deemph;
wm8955            401 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component);
wm8955            407 sound/soc/codecs/wm8955.c 	wm8955->deemph = deemph;
wm8955            593 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component);
wm8955            616 sound/soc/codecs/wm8955.c 	wm8955->fs = params_rate(params);
wm8955            766 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component);
wm8955            787 sound/soc/codecs/wm8955.c 			ret = regulator_bulk_enable(ARRAY_SIZE(wm8955->supplies),
wm8955            788 sound/soc/codecs/wm8955.c 						    wm8955->supplies);
wm8955            796 sound/soc/codecs/wm8955.c 			regcache_sync(wm8955->regmap);
wm8955            835 sound/soc/codecs/wm8955.c 		regulator_bulk_disable(ARRAY_SIZE(wm8955->supplies),
wm8955            836 sound/soc/codecs/wm8955.c 				       wm8955->supplies);
wm8955            868 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component);
wm8955            872 sound/soc/codecs/wm8955.c 	for (i = 0; i < ARRAY_SIZE(wm8955->supplies); i++)
wm8955            873 sound/soc/codecs/wm8955.c 		wm8955->supplies[i].supply = wm8955_supply_names[i];
wm8955            875 sound/soc/codecs/wm8955.c 	ret = devm_regulator_bulk_get(component->dev, ARRAY_SIZE(wm8955->supplies),
wm8955            876 sound/soc/codecs/wm8955.c 				 wm8955->supplies);
wm8955            882 sound/soc/codecs/wm8955.c 	ret = regulator_bulk_enable(ARRAY_SIZE(wm8955->supplies),
wm8955            883 sound/soc/codecs/wm8955.c 				    wm8955->supplies);
wm8955            932 sound/soc/codecs/wm8955.c 	regulator_bulk_disable(ARRAY_SIZE(wm8955->supplies), wm8955->supplies);
wm8955            937 sound/soc/codecs/wm8955.c 	regulator_bulk_disable(ARRAY_SIZE(wm8955->supplies), wm8955->supplies);
wm8955            973 sound/soc/codecs/wm8955.c 	struct wm8955_priv *wm8955;
wm8955            976 sound/soc/codecs/wm8955.c 	wm8955 = devm_kzalloc(&i2c->dev, sizeof(struct wm8955_priv),
wm8955            978 sound/soc/codecs/wm8955.c 	if (wm8955 == NULL)
wm8955            981 sound/soc/codecs/wm8955.c 	wm8955->regmap = devm_regmap_init_i2c(i2c, &wm8955_regmap);
wm8955            982 sound/soc/codecs/wm8955.c 	if (IS_ERR(wm8955->regmap)) {
wm8955            983 sound/soc/codecs/wm8955.c 		ret = PTR_ERR(wm8955->regmap);
wm8955            989 sound/soc/codecs/wm8955.c 	i2c_set_clientdata(i2c, wm8955);