wm8737            329 sound/soc/codecs/wm8737.c 	struct wm8737_priv *wm8737 = snd_soc_component_get_drvdata(component);
wm8737            338 sound/soc/codecs/wm8737.c 		if (coeff_div[i].mclk == wm8737->mclk)
wm8737            341 sound/soc/codecs/wm8737.c 		if (coeff_div[i].mclk == wm8737->mclk * 2) {
wm8737            349 sound/soc/codecs/wm8737.c 			wm8737->mclk, params_rate(params));
wm8737            383 sound/soc/codecs/wm8737.c 	struct wm8737_priv *wm8737 = snd_soc_component_get_drvdata(component);
wm8737            389 sound/soc/codecs/wm8737.c 			wm8737->mclk = freq;
wm8737            454 sound/soc/codecs/wm8737.c 	struct wm8737_priv *wm8737 = snd_soc_component_get_drvdata(component);
wm8737            469 sound/soc/codecs/wm8737.c 			ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies),
wm8737            470 sound/soc/codecs/wm8737.c 						    wm8737->supplies);
wm8737            478 sound/soc/codecs/wm8737.c 			regcache_sync(wm8737->regmap);
wm8737            506 sound/soc/codecs/wm8737.c 		regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies),
wm8737            507 sound/soc/codecs/wm8737.c 				       wm8737->supplies);
wm8737            539 sound/soc/codecs/wm8737.c 	struct wm8737_priv *wm8737 = snd_soc_component_get_drvdata(component);
wm8737            542 sound/soc/codecs/wm8737.c 	ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies),
wm8737            543 sound/soc/codecs/wm8737.c 				    wm8737->supplies);
wm8737            563 sound/soc/codecs/wm8737.c 	regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies);
wm8737            568 sound/soc/codecs/wm8737.c 	regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies);
wm8737            612 sound/soc/codecs/wm8737.c 	struct wm8737_priv *wm8737;
wm8737            615 sound/soc/codecs/wm8737.c 	wm8737 = devm_kzalloc(&i2c->dev, sizeof(struct wm8737_priv),
wm8737            617 sound/soc/codecs/wm8737.c 	if (wm8737 == NULL)
wm8737            620 sound/soc/codecs/wm8737.c 	for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++)
wm8737            621 sound/soc/codecs/wm8737.c 		wm8737->supplies[i].supply = wm8737_supply_names[i];
wm8737            623 sound/soc/codecs/wm8737.c 	ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8737->supplies),
wm8737            624 sound/soc/codecs/wm8737.c 				      wm8737->supplies);
wm8737            630 sound/soc/codecs/wm8737.c 	wm8737->regmap = devm_regmap_init_i2c(i2c, &wm8737_regmap);
wm8737            631 sound/soc/codecs/wm8737.c 	if (IS_ERR(wm8737->regmap))
wm8737            632 sound/soc/codecs/wm8737.c 		return PTR_ERR(wm8737->regmap);
wm8737            634 sound/soc/codecs/wm8737.c 	i2c_set_clientdata(i2c, wm8737);
wm8737            662 sound/soc/codecs/wm8737.c 	struct wm8737_priv *wm8737;
wm8737            665 sound/soc/codecs/wm8737.c 	wm8737 = devm_kzalloc(&spi->dev, sizeof(struct wm8737_priv),
wm8737            667 sound/soc/codecs/wm8737.c 	if (wm8737 == NULL)
wm8737            670 sound/soc/codecs/wm8737.c 	for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++)
wm8737            671 sound/soc/codecs/wm8737.c 		wm8737->supplies[i].supply = wm8737_supply_names[i];
wm8737            673 sound/soc/codecs/wm8737.c 	ret = devm_regulator_bulk_get(&spi->dev, ARRAY_SIZE(wm8737->supplies),
wm8737            674 sound/soc/codecs/wm8737.c 				      wm8737->supplies);
wm8737            680 sound/soc/codecs/wm8737.c 	wm8737->regmap = devm_regmap_init_spi(spi, &wm8737_regmap);
wm8737            681 sound/soc/codecs/wm8737.c 	if (IS_ERR(wm8737->regmap))
wm8737            682 sound/soc/codecs/wm8737.c 		return PTR_ERR(wm8737->regmap);
wm8737            684 sound/soc/codecs/wm8737.c 	spi_set_drvdata(spi, wm8737);