tse850 65 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 67 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->loop1_cache; tse850 77 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 84 sound/soc/atmel/tse850-pcm5142.c gpiod_set_value_cansleep(tse850->loop1, val); tse850 85 sound/soc/atmel/tse850-pcm5142.c tse850->loop1_cache = val; tse850 95 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 97 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->loop2_cache; tse850 107 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 114 sound/soc/atmel/tse850-pcm5142.c gpiod_set_value_cansleep(tse850->loop2, val); tse850 115 sound/soc/atmel/tse850-pcm5142.c tse850->loop2_cache = val; tse850 125 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 127 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->add_cache; tse850 137 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 140 sound/soc/atmel/tse850-pcm5142.c if (tse850->add_cache == connect) tse850 147 sound/soc/atmel/tse850-pcm5142.c gpiod_set_value_cansleep(tse850->add, connect); tse850 148 sound/soc/atmel/tse850-pcm5142.c tse850->add_cache = connect; tse850 159 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 162 sound/soc/atmel/tse850-pcm5142.c ret = regulator_get_voltage(tse850->ana); tse850 192 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 214 sound/soc/atmel/tse850-pcm5142.c ret = regulator_set_voltage(tse850->ana, uV, uV); tse850 358 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850; tse850 361 sound/soc/atmel/tse850-pcm5142.c tse850 = devm_kzalloc(dev, sizeof(*tse850), GFP_KERNEL); tse850 362 sound/soc/atmel/tse850-pcm5142.c if (!tse850) tse850 365 sound/soc/atmel/tse850-pcm5142.c snd_soc_card_set_drvdata(card, tse850); tse850 373 sound/soc/atmel/tse850-pcm5142.c tse850->add = devm_gpiod_get(dev, "axentia,add", GPIOD_OUT_HIGH); tse850 374 sound/soc/atmel/tse850-pcm5142.c if (IS_ERR(tse850->add)) { tse850 375 sound/soc/atmel/tse850-pcm5142.c if (PTR_ERR(tse850->add) != -EPROBE_DEFER) tse850 377 sound/soc/atmel/tse850-pcm5142.c return PTR_ERR(tse850->add); tse850 379 sound/soc/atmel/tse850-pcm5142.c tse850->add_cache = 1; tse850 381 sound/soc/atmel/tse850-pcm5142.c tse850->loop1 = devm_gpiod_get(dev, "axentia,loop1", GPIOD_OUT_HIGH); tse850 382 sound/soc/atmel/tse850-pcm5142.c if (IS_ERR(tse850->loop1)) { tse850 383 sound/soc/atmel/tse850-pcm5142.c if (PTR_ERR(tse850->loop1) != -EPROBE_DEFER) tse850 385 sound/soc/atmel/tse850-pcm5142.c return PTR_ERR(tse850->loop1); tse850 387 sound/soc/atmel/tse850-pcm5142.c tse850->loop1_cache = 1; tse850 389 sound/soc/atmel/tse850-pcm5142.c tse850->loop2 = devm_gpiod_get(dev, "axentia,loop2", GPIOD_OUT_HIGH); tse850 390 sound/soc/atmel/tse850-pcm5142.c if (IS_ERR(tse850->loop2)) { tse850 391 sound/soc/atmel/tse850-pcm5142.c if (PTR_ERR(tse850->loop2) != -EPROBE_DEFER) tse850 393 sound/soc/atmel/tse850-pcm5142.c return PTR_ERR(tse850->loop2); tse850 395 sound/soc/atmel/tse850-pcm5142.c tse850->loop2_cache = 1; tse850 397 sound/soc/atmel/tse850-pcm5142.c tse850->ana = devm_regulator_get(dev, "axentia,ana"); tse850 398 sound/soc/atmel/tse850-pcm5142.c if (IS_ERR(tse850->ana)) { tse850 399 sound/soc/atmel/tse850-pcm5142.c if (PTR_ERR(tse850->ana) != -EPROBE_DEFER) tse850 401 sound/soc/atmel/tse850-pcm5142.c return PTR_ERR(tse850->ana); tse850 404 sound/soc/atmel/tse850-pcm5142.c ret = regulator_enable(tse850->ana); tse850 419 sound/soc/atmel/tse850-pcm5142.c regulator_disable(tse850->ana); tse850 426 sound/soc/atmel/tse850-pcm5142.c struct tse850_priv *tse850 = snd_soc_card_get_drvdata(card); tse850 429 sound/soc/atmel/tse850-pcm5142.c regulator_disable(tse850->ana);