Lines Matching refs:opp_dev

422 	struct device *opp_dev;  member
523 opp = dev_pm_opp_find_freq_exact(svsb->opp_dev, in svs_sync_bank_volts_from_opp()
614 ret = dev_pm_opp_adjust_voltage(svsb->opp_dev, in svs_adjust_pm_opp_volts()
757 opp = dev_pm_opp_find_freq_exact(svsb->opp_dev, in svs_status_debug_show()
1322 if (!pm_runtime_enabled(svsb->opp_dev)) { in svs_init01()
1323 pm_runtime_enable(svsb->opp_dev); in svs_init01()
1327 ret = pm_runtime_get_sync(svsb->opp_dev); in svs_init01()
1358 ret = dev_pm_opp_adjust_voltage(svsb->opp_dev, in svs_init01()
1372 ret = dev_pm_opp_disable(svsb->opp_dev, in svs_init01()
1426 r = dev_pm_opp_enable(svsb->opp_dev, in svs_init01()
1434 r = pm_runtime_put_sync(svsb->opp_dev); in svs_init01()
1439 pm_runtime_disable(svsb->opp_dev); in svs_init01()
1655 ret = devm_pm_opp_of_add_table(svsb->opp_dev); in svs_bank_resource_setup()
1665 svsb->buck = devm_regulator_get_optional(svsb->opp_dev, in svs_bank_resource_setup()
1683 count = dev_pm_opp_get_opp_count(svsb->opp_dev); in svs_bank_resource_setup()
1692 opp = dev_pm_opp_find_freq_floor(svsb->opp_dev, &freq); in svs_bank_resource_setup()
2089 svsb->opp_dev = svs_add_device_link(svsp, "mali"); in svs_mt8192_platform_probe()
2091 svsb->opp_dev = svs_get_subsys_device(svsp, "mali"); in svs_mt8192_platform_probe()
2093 if (IS_ERR(svsb->opp_dev)) in svs_mt8192_platform_probe()
2094 return dev_err_probe(svsp->dev, PTR_ERR(svsb->opp_dev), in svs_mt8192_platform_probe()
2119 svsb->opp_dev = get_cpu_device(svsb->cpu_id); in svs_mt8183_platform_probe()
2122 svsb->opp_dev = svs_add_device_link(svsp, "cci"); in svs_mt8183_platform_probe()
2125 svsb->opp_dev = svs_add_device_link(svsp, "gpu"); in svs_mt8183_platform_probe()
2132 if (IS_ERR(svsb->opp_dev)) in svs_mt8183_platform_probe()
2133 return dev_err_probe(svsp->dev, PTR_ERR(svsb->opp_dev), in svs_mt8183_platform_probe()