wm8580            262 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580 = snd_soc_component_get_drvdata(component);
wm8580            268 sound/soc/codecs/wm8580.c 	regcache_cache_only(wm8580->regmap, true);
wm8580            269 sound/soc/codecs/wm8580.c 	regmap_update_bits(wm8580->regmap, reg, 0x100, 0x000);
wm8580            270 sound/soc/codecs/wm8580.c 	regmap_update_bits(wm8580->regmap, reg2, 0x100, 0x000);
wm8580            271 sound/soc/codecs/wm8580.c 	regcache_cache_only(wm8580->regmap, false);
wm8580            465 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580 = snd_soc_component_get_drvdata(component);
wm8580            479 sound/soc/codecs/wm8580.c 		state = &wm8580->a;
wm8580            484 sound/soc/codecs/wm8580.c 		state = &wm8580->b;
wm8580            539 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580 = snd_soc_component_get_drvdata(component);
wm8580            566 sound/soc/codecs/wm8580.c 	ratio = wm8580->sysclk[dai->driver->id] / params_rate(params);
wm8580            572 sound/soc/codecs/wm8580.c 			wm8580->sysclk[dai->driver->id], params_rate(params));
wm8580            577 sound/soc/codecs/wm8580.c 		wm8580_sysclk_ratios[i], wm8580->sysclk[dai->driver->id]);
wm8580            754 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580 = snd_soc_component_get_drvdata(component);
wm8580            794 sound/soc/codecs/wm8580.c 	wm8580->sysclk[dai->driver->id] = freq;
wm8580            853 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580 = snd_soc_component_get_drvdata(component);
wm8580            856 sound/soc/codecs/wm8580.c 		SNDRV_PCM_HW_PARAM_CHANNELS, 1, wm8580->drvdata->num_dacs * 2);
wm8580            908 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580 = snd_soc_component_get_drvdata(component);
wm8580            912 sound/soc/codecs/wm8580.c 	switch (wm8580->drvdata->num_dacs) {
wm8580            925 sound/soc/codecs/wm8580.c 	ret = regulator_bulk_enable(ARRAY_SIZE(wm8580->supplies),
wm8580            926 sound/soc/codecs/wm8580.c 				    wm8580->supplies);
wm8580            942 sound/soc/codecs/wm8580.c 	regulator_bulk_disable(ARRAY_SIZE(wm8580->supplies), wm8580->supplies);
wm8580            950 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580 = snd_soc_component_get_drvdata(component);
wm8580            952 sound/soc/codecs/wm8580.c 	regulator_bulk_disable(ARRAY_SIZE(wm8580->supplies), wm8580->supplies);
wm8580           1002 sound/soc/codecs/wm8580.c 	struct wm8580_priv *wm8580;
wm8580           1005 sound/soc/codecs/wm8580.c 	wm8580 = devm_kzalloc(&i2c->dev, sizeof(struct wm8580_priv),
wm8580           1007 sound/soc/codecs/wm8580.c 	if (wm8580 == NULL)
wm8580           1010 sound/soc/codecs/wm8580.c 	wm8580->regmap = devm_regmap_init_i2c(i2c, &wm8580_regmap);
wm8580           1011 sound/soc/codecs/wm8580.c 	if (IS_ERR(wm8580->regmap))
wm8580           1012 sound/soc/codecs/wm8580.c 		return PTR_ERR(wm8580->regmap);
wm8580           1014 sound/soc/codecs/wm8580.c 	for (i = 0; i < ARRAY_SIZE(wm8580->supplies); i++)
wm8580           1015 sound/soc/codecs/wm8580.c 		wm8580->supplies[i].supply = wm8580_supply_names[i];
wm8580           1017 sound/soc/codecs/wm8580.c 	ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8580->supplies),
wm8580           1018 sound/soc/codecs/wm8580.c 				      wm8580->supplies);
wm8580           1024 sound/soc/codecs/wm8580.c 	i2c_set_clientdata(i2c, wm8580);
wm8580           1028 sound/soc/codecs/wm8580.c 		wm8580->drvdata = of_id->data;
wm8580           1030 sound/soc/codecs/wm8580.c 	if (!wm8580->drvdata) {