Home
last modified time | relevance | path

Searched refs:new_voltage (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c39 static int mtk_ccifreq_set_voltage(struct mtk_ccifreq_drv *drv, int new_voltage) in mtk_ccifreq_set_voltage() argument
47 ret = regulator_set_voltage(drv->proc_reg, new_voltage, in mtk_ccifreq_set_voltage()
64 new_vsram = clamp(new_voltage + soc_data->min_volt_shift, in mtk_ccifreq_set_voltage()
68 if (pre_voltage <= new_voltage) { in mtk_ccifreq_set_voltage()
78 voltage = new_voltage; in mtk_ccifreq_set_voltage()
89 } else if (pre_voltage > new_voltage) { in mtk_ccifreq_set_voltage()
90 voltage = max(new_voltage, in mtk_ccifreq_set_voltage()
97 if (voltage == new_voltage) in mtk_ccifreq_set_voltage()
120 } while (voltage != new_voltage || vsram != new_vsram); in mtk_ccifreq_set_voltage()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dbtc_dpm.c1311 u16 new_voltage; in btc_apply_voltage_delta_rules() local
1318 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules()
1320 *vddci = (new_voltage < max_vddci) ? new_voltage : max_vddci; in btc_apply_voltage_delta_rules()
1324 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
1326 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c3314 u16 new_voltage; in btc_apply_voltage_delta_rules() local
3321 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules()
3323 *vddci = (new_voltage < max_vddci) ? new_voltage : max_vddci; in btc_apply_voltage_delta_rules()
3327 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
3329 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()