evea 107 sound/soc/uniphier/evea.c static void evea_set_power_state_on(struct evea_priv *evea) evea 109 sound/soc/uniphier/evea.c struct regmap *map = evea->regmap; evea 125 sound/soc/uniphier/evea.c static void evea_set_power_state_off(struct evea_priv *evea) evea 127 sound/soc/uniphier/evea.c struct regmap *map = evea->regmap; evea 144 sound/soc/uniphier/evea.c static int evea_update_switch_lin(struct evea_priv *evea) evea 146 sound/soc/uniphier/evea.c struct regmap *map = evea->regmap; evea 148 sound/soc/uniphier/evea.c if (evea->switch_lin) { evea 168 sound/soc/uniphier/evea.c static int evea_update_switch_lo(struct evea_priv *evea) evea 170 sound/soc/uniphier/evea.c struct regmap *map = evea->regmap; evea 172 sound/soc/uniphier/evea.c if (evea->switch_lo) { evea 196 sound/soc/uniphier/evea.c static int evea_update_switch_hp(struct evea_priv *evea) evea 198 sound/soc/uniphier/evea.c struct regmap *map = evea->regmap; evea 200 sound/soc/uniphier/evea.c if (evea->switch_hp) { evea 221 sound/soc/uniphier/evea.c static void evea_update_switch_all(struct evea_priv *evea) evea 223 sound/soc/uniphier/evea.c evea_update_switch_lin(evea); evea 224 sound/soc/uniphier/evea.c evea_update_switch_lo(evea); evea 225 sound/soc/uniphier/evea.c evea_update_switch_hp(evea); evea 232 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 234 sound/soc/uniphier/evea.c ucontrol->value.integer.value[0] = evea->switch_lin; evea 243 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 245 sound/soc/uniphier/evea.c if (evea->switch_lin == ucontrol->value.integer.value[0]) evea 248 sound/soc/uniphier/evea.c evea->switch_lin = ucontrol->value.integer.value[0]; evea 250 sound/soc/uniphier/evea.c return evea_update_switch_lin(evea); evea 257 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 259 sound/soc/uniphier/evea.c ucontrol->value.integer.value[0] = evea->switch_lo; evea 268 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 270 sound/soc/uniphier/evea.c if (evea->switch_lo == ucontrol->value.integer.value[0]) evea 273 sound/soc/uniphier/evea.c evea->switch_lo = ucontrol->value.integer.value[0]; evea 275 sound/soc/uniphier/evea.c return evea_update_switch_lo(evea); evea 282 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 284 sound/soc/uniphier/evea.c ucontrol->value.integer.value[0] = evea->switch_hp; evea 293 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 295 sound/soc/uniphier/evea.c if (evea->switch_hp == ucontrol->value.integer.value[0]) evea 298 sound/soc/uniphier/evea.c evea->switch_hp = ucontrol->value.integer.value[0]; evea 300 sound/soc/uniphier/evea.c return evea_update_switch_hp(evea); evea 314 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 316 sound/soc/uniphier/evea.c evea->switch_lin = 1; evea 317 sound/soc/uniphier/evea.c evea->switch_lo = 1; evea 318 sound/soc/uniphier/evea.c evea->switch_hp = 1; evea 320 sound/soc/uniphier/evea.c evea_set_power_state_on(evea); evea 321 sound/soc/uniphier/evea.c evea_update_switch_all(evea); evea 328 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 330 sound/soc/uniphier/evea.c evea_set_power_state_off(evea); evea 332 sound/soc/uniphier/evea.c reset_control_assert(evea->rst_adamv); evea 333 sound/soc/uniphier/evea.c reset_control_assert(evea->rst_exiv); evea 334 sound/soc/uniphier/evea.c reset_control_assert(evea->rst); evea 336 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk_exiv); evea 337 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk); evea 344 sound/soc/uniphier/evea.c struct evea_priv *evea = snd_soc_component_get_drvdata(component); evea 347 sound/soc/uniphier/evea.c ret = clk_prepare_enable(evea->clk); evea 351 sound/soc/uniphier/evea.c ret = clk_prepare_enable(evea->clk_exiv); evea 355 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst); evea 359 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst_exiv); evea 363 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst_adamv); evea 367 sound/soc/uniphier/evea.c evea_set_power_state_on(evea); evea 368 sound/soc/uniphier/evea.c evea_update_switch_all(evea); evea 373 sound/soc/uniphier/evea.c reset_control_assert(evea->rst_exiv); evea 376 sound/soc/uniphier/evea.c reset_control_assert(evea->rst); evea 379 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk_exiv); evea 382 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk); evea 453 sound/soc/uniphier/evea.c struct evea_priv *evea; evea 457 sound/soc/uniphier/evea.c evea = devm_kzalloc(&pdev->dev, sizeof(struct evea_priv), GFP_KERNEL); evea 458 sound/soc/uniphier/evea.c if (!evea) evea 461 sound/soc/uniphier/evea.c evea->clk = devm_clk_get(&pdev->dev, "evea"); evea 462 sound/soc/uniphier/evea.c if (IS_ERR(evea->clk)) evea 463 sound/soc/uniphier/evea.c return PTR_ERR(evea->clk); evea 465 sound/soc/uniphier/evea.c evea->clk_exiv = devm_clk_get(&pdev->dev, "exiv"); evea 466 sound/soc/uniphier/evea.c if (IS_ERR(evea->clk_exiv)) evea 467 sound/soc/uniphier/evea.c return PTR_ERR(evea->clk_exiv); evea 469 sound/soc/uniphier/evea.c evea->rst = devm_reset_control_get_shared(&pdev->dev, "evea"); evea 470 sound/soc/uniphier/evea.c if (IS_ERR(evea->rst)) evea 471 sound/soc/uniphier/evea.c return PTR_ERR(evea->rst); evea 473 sound/soc/uniphier/evea.c evea->rst_exiv = devm_reset_control_get_shared(&pdev->dev, "exiv"); evea 474 sound/soc/uniphier/evea.c if (IS_ERR(evea->rst_exiv)) evea 475 sound/soc/uniphier/evea.c return PTR_ERR(evea->rst_exiv); evea 481 sound/soc/uniphier/evea.c evea->regmap = devm_regmap_init_mmio(&pdev->dev, preg, evea 483 sound/soc/uniphier/evea.c if (IS_ERR(evea->regmap)) evea 484 sound/soc/uniphier/evea.c return PTR_ERR(evea->regmap); evea 486 sound/soc/uniphier/evea.c ret = clk_prepare_enable(evea->clk); evea 490 sound/soc/uniphier/evea.c ret = clk_prepare_enable(evea->clk_exiv); evea 494 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst); evea 498 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst_exiv); evea 503 sound/soc/uniphier/evea.c evea->rst_adamv = devm_reset_control_get_shared(&pdev->dev, "adamv"); evea 504 sound/soc/uniphier/evea.c if (IS_ERR(evea->rst_adamv)) { evea 505 sound/soc/uniphier/evea.c ret = PTR_ERR(evea->rst_adamv); evea 509 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst_adamv); evea 513 sound/soc/uniphier/evea.c platform_set_drvdata(pdev, evea); evea 523 sound/soc/uniphier/evea.c reset_control_assert(evea->rst_adamv); evea 526 sound/soc/uniphier/evea.c reset_control_assert(evea->rst_exiv); evea 529 sound/soc/uniphier/evea.c reset_control_assert(evea->rst); evea 532 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk_exiv); evea 535 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk); evea 542 sound/soc/uniphier/evea.c struct evea_priv *evea = platform_get_drvdata(pdev); evea 544 sound/soc/uniphier/evea.c reset_control_assert(evea->rst_adamv); evea 545 sound/soc/uniphier/evea.c reset_control_assert(evea->rst_exiv); evea 546 sound/soc/uniphier/evea.c reset_control_assert(evea->rst); evea 548 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk_exiv); evea 549 sound/soc/uniphier/evea.c clk_disable_unprepare(evea->clk);