Searched refs:new_voltage (Results 1 – 3 of 3) sorted by relevance
39 static int mtk_ccifreq_set_voltage(struct mtk_ccifreq_drv *drv, int new_voltage) in mtk_ccifreq_set_voltage() argument47 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()
1311 u16 new_voltage; in btc_apply_voltage_delta_rules() local1318 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()
3314 u16 new_voltage; in btc_apply_voltage_delta_rules() local3321 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()