Searched refs:sram_reg (Results 1 – 2 of 2) sorted by relevance
27 struct regulator *sram_reg; member46 if (!drv->sram_reg) { in mtk_ccifreq_set_voltage()58 pre_vsram = regulator_get_voltage(drv->sram_reg); in mtk_ccifreq_set_voltage()294 if (IS_ERR(drv->sram_reg)) { in mtk_ccifreq_probe()295 ret = PTR_ERR(drv->sram_reg); in mtk_ccifreq_probe()299 drv->sram_reg = NULL; in mtk_ccifreq_probe()301 ret = regulator_enable(drv->sram_reg); in mtk_ccifreq_probe()388 if (drv->sram_reg && regulator_is_enabled(drv->sram_reg)) in mtk_ccifreq_probe()389 regulator_disable(drv->sram_reg); in mtk_ccifreq_probe()405 if (drv->sram_reg) in mtk_ccifreq_remove()[all …]
44 struct regulator *sram_reg; member83 struct regulator *sram_reg = info->sram_reg; in mtk_cpufreq_voltage_tracking() local440 if (IS_ERR(info->sram_reg)) { in mtk_cpu_dvfs_info_init()441 ret = PTR_ERR(info->sram_reg); in mtk_cpu_dvfs_info_init()445 info->sram_reg = NULL; in mtk_cpu_dvfs_info_init()535 if (info->sram_reg) in mtk_cpu_dvfs_info_init()536 regulator_disable(info->sram_reg); in mtk_cpu_dvfs_info_init()539 if (info->sram_reg) in mtk_cpu_dvfs_info_init()540 regulator_put(info->sram_reg); in mtk_cpu_dvfs_info_init()561 if (info->sram_reg) { in mtk_cpu_dvfs_info_release()[all …]