wm8753 228 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 230 sound/soc/codecs/wm8753.c ucontrol->value.enumerated.item[0] = wm8753->dai_func; wm8753 238 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 241 sound/soc/codecs/wm8753.c if (wm8753->dai_func == ucontrol->value.enumerated.item[0]) wm8753 249 sound/soc/codecs/wm8753.c wm8753->dai_func = ucontrol->value.enumerated.item[0]; wm8753 251 sound/soc/codecs/wm8753.c if (((ioctl >> 2) & 0x3) == wm8753->dai_func) wm8753 254 sound/soc/codecs/wm8753.c ioctl = (ioctl & 0x1f3) | (wm8753->dai_func << 2); wm8753 258 sound/soc/codecs/wm8753.c wm8753_hifi_write_dai_fmt(component, wm8753->hifi_fmt); wm8753 259 sound/soc/codecs/wm8753.c wm8753_voice_write_dai_fmt(component, wm8753->voice_fmt); wm8753 865 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 874 sound/soc/codecs/wm8753.c wm8753->sysclk = freq; wm8753 877 sound/soc/codecs/wm8753.c wm8753->pcmclk = freq; wm8753 925 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 945 sound/soc/codecs/wm8753.c if (params_rate(params) * 384 == wm8753->pcmclk) wm8753 1154 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1160 sound/soc/codecs/wm8753.c coeff = get_coeff(wm8753->sysclk, params_rate(params)); wm8753 1234 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1237 sound/soc/codecs/wm8753.c switch (wm8753->dai_func) { wm8753 1261 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1263 sound/soc/codecs/wm8753.c wm8753->hifi_fmt = fmt; wm8753 1271 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1274 sound/soc/codecs/wm8753.c if (wm8753->dai_func != 0) wm8753 1291 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1293 sound/soc/codecs/wm8753.c wm8753->voice_fmt = fmt; wm8753 1302 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1306 sound/soc/codecs/wm8753.c if (mute && wm8753->dai_func == 1) { wm8753 1321 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = wm8753 1325 sound/soc/codecs/wm8753.c regmap_update_bits(wm8753->regmap, WM8753_PWR1, 0x0180, 0x0100); wm8753 1331 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1341 sound/soc/codecs/wm8753.c flush_delayed_work(&wm8753->charge_work); wm8753 1347 sound/soc/codecs/wm8753.c schedule_delayed_work(&wm8753->charge_work, wm8753 1355 sound/soc/codecs/wm8753.c cancel_delayed_work_sync(&wm8753->charge_work); wm8753 1440 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1442 sound/soc/codecs/wm8753.c regcache_sync(wm8753->regmap); wm8753 1449 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); wm8753 1452 sound/soc/codecs/wm8753.c INIT_DELAYED_WORK(&wm8753->charge_work, wm8753_charge_work); wm8753 1460 sound/soc/codecs/wm8753.c wm8753->dai_func = 0; wm8753 1515 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753; wm8753 1518 sound/soc/codecs/wm8753.c wm8753 = devm_kzalloc(&spi->dev, sizeof(struct wm8753_priv), wm8753 1520 sound/soc/codecs/wm8753.c if (wm8753 == NULL) wm8753 1523 sound/soc/codecs/wm8753.c spi_set_drvdata(spi, wm8753); wm8753 1525 sound/soc/codecs/wm8753.c wm8753->regmap = devm_regmap_init_spi(spi, &wm8753_regmap); wm8753 1526 sound/soc/codecs/wm8753.c if (IS_ERR(wm8753->regmap)) { wm8753 1527 sound/soc/codecs/wm8753.c ret = PTR_ERR(wm8753->regmap); wm8753 1554 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753; wm8753 1557 sound/soc/codecs/wm8753.c wm8753 = devm_kzalloc(&i2c->dev, sizeof(struct wm8753_priv), wm8753 1559 sound/soc/codecs/wm8753.c if (wm8753 == NULL) wm8753 1562 sound/soc/codecs/wm8753.c i2c_set_clientdata(i2c, wm8753); wm8753 1564 sound/soc/codecs/wm8753.c wm8753->regmap = devm_regmap_init_i2c(i2c, &wm8753_regmap); wm8753 1565 sound/soc/codecs/wm8753.c if (IS_ERR(wm8753->regmap)) { wm8753 1566 sound/soc/codecs/wm8753.c ret = PTR_ERR(wm8753->regmap); wm8753 269 sound/soc/samsung/neo1973_wm8753.c SND_SOC_DAILINK_DEFS(wm8753, wm8753 286 sound/soc/samsung/neo1973_wm8753.c SND_SOC_DAILINK_REG(wm8753),