Lines Matching refs:wm8711
160 struct wm8711_priv *wm8711 = snd_soc_component_get_drvdata(component); in wm8711_hw_params() local
162 int i = get_coeff(wm8711->sysclk, params_rate(params)); in wm8711_hw_params()
224 struct wm8711_priv *wm8711 = snd_soc_component_get_drvdata(component); in wm8711_set_dai_sysclk() local
232 wm8711->sysclk = freq; in wm8711_set_dai_sysclk()
300 struct wm8711_priv *wm8711 = snd_soc_component_get_drvdata(component); in wm8711_set_bias_level() local
311 regcache_sync(wm8711->regmap); in wm8711_set_bias_level()
404 struct wm8711_priv *wm8711; in wm8711_spi_probe() local
407 wm8711 = devm_kzalloc(&spi->dev, sizeof(struct wm8711_priv), in wm8711_spi_probe()
409 if (wm8711 == NULL) in wm8711_spi_probe()
412 wm8711->regmap = devm_regmap_init_spi(spi, &wm8711_regmap); in wm8711_spi_probe()
413 if (IS_ERR(wm8711->regmap)) in wm8711_spi_probe()
414 return PTR_ERR(wm8711->regmap); in wm8711_spi_probe()
416 spi_set_drvdata(spi, wm8711); in wm8711_spi_probe()
437 struct wm8711_priv *wm8711; in wm8711_i2c_probe() local
440 wm8711 = devm_kzalloc(&client->dev, sizeof(struct wm8711_priv), in wm8711_i2c_probe()
442 if (wm8711 == NULL) in wm8711_i2c_probe()
445 wm8711->regmap = devm_regmap_init_i2c(client, &wm8711_regmap); in wm8711_i2c_probe()
446 if (IS_ERR(wm8711->regmap)) in wm8711_i2c_probe()
447 return PTR_ERR(wm8711->regmap); in wm8711_i2c_probe()
449 i2c_set_clientdata(client, wm8711); in wm8711_i2c_probe()