Home
last modified time | relevance | path

Searched refs:max_voltage (Results 1 – 13 of 13) sorted by relevance

/drivers/cpufreq/
De_powersaver.c179 u8 max_multiplier, max_voltage; in eps_cpu_init() local
252 max_voltage = hi & 0xff; in eps_cpu_init()
254 max_voltage * 16 + 700); in eps_cpu_init()
270 if (current_voltage > 0x1f || max_voltage > 0x1f) in eps_cpu_init()
272 if (max_voltage < min_voltage in eps_cpu_init()
274 || current_voltage > max_voltage) in eps_cpu_init()
285 if (!voltage_failsafe_off && max_voltage != current_voltage) { in eps_cpu_init()
321 if (v >= min_voltage && v <= max_voltage) { in eps_cpu_init()
324 max_voltage = v; in eps_cpu_init()
354 f_table[1].driver_data = (max_multiplier << 8) | max_voltage; in eps_cpu_init()
[all …]
/drivers/gpu/drm/radeon/
Drs780_dpm.c247 fv_throt_pwm_range[2] = pi->max_voltage; in rs780_voltage_scaling_init()
248 fv_throt_pwm_range[3] = pi->max_voltage; in rs780_voltage_scaling_init()
261 STARTING_PWM_HIGHTIME(pi->max_voltage), in rs780_voltage_scaling_init()
280 MAX_PWM_HIGHTIME(pi->max_voltage))); in rs780_voltage_scaling_init()
382 if ((current_state->max_voltage == RS780_VDDC_LEVEL_HIGH) && in rs780_force_voltage()
515 return pi->max_voltage; in rs780_get_voltage_for_vddc_level()
519 return pi->max_voltage; in rs780_get_voltage_for_vddc_level()
531 if ((new_state->max_voltage == RS780_VDDC_LEVEL_HIGH) && in rs780_enable_voltage_scaling()
536 new_state->max_voltage); in rs780_enable_voltage_scaling()
549 if (pi->max_voltage != vddc_high) { in rs780_enable_voltage_scaling()
[all …]
Drs780_dpm.h41 u16 max_voltage; member
54 enum rs780_vddc_level max_voltage; member
Dbtc_dpm.h48 u32 clock, u16 max_voltage, u16 *voltage);
Dbtc_dpm.c1192 u32 clock, u16 max_voltage, u16 *voltage) in btc_apply_voltage_dependency_rules() argument
1202 *voltage = (u16)((table->entries[i].v < max_voltage) ? in btc_apply_voltage_dependency_rules()
1203 table->entries[i].v : max_voltage); in btc_apply_voltage_dependency_rules()
1208 *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; in btc_apply_voltage_dependency_rules()
Dradeon_atombios.c3534 u8 voltage_type, u16 *max_voltage) in radeon_atom_get_max_voltage() argument
3555 *max_voltage = in radeon_atom_get_max_voltage()
3560 *max_voltage = in radeon_atom_get_max_voltage()
3577 *max_voltage = in radeon_atom_get_max_voltage()
3688 u16 min_voltage, max_voltage, voltage_step; in radeon_atom_round_to_true_voltage() local
3690 if (radeon_atom_get_max_voltage(rdev, voltage_type, &max_voltage)) in radeon_atom_round_to_true_voltage()
3699 else if (nominal_voltage >= max_voltage) in radeon_atom_round_to_true_voltage()
3700 *true_voltage = max_voltage; in radeon_atom_round_to_true_voltage()
Dradeon.h323 u8 voltage_type, u16 *max_voltage);
/drivers/power/
Dwm97xx_battery.c80 if (pdata->max_voltage >= 0) in wm97xx_bat_get_property()
81 val->intval = pdata->max_voltage; in wm97xx_bat_get_property()
210 if (pdata->max_voltage >= 0) in wm97xx_bat_probe()
230 if (pdata->max_voltage >= 0) in wm97xx_bat_probe()
Dz2_battery.c65 if (info->max_voltage >= 0) in z2_batt_get_property()
66 val->intval = info->max_voltage; in z2_batt_get_property()
144 if (info->max_voltage >= 0) in z2_batt_ps_init()
160 if (info->max_voltage >= 0) in z2_batt_ps_init()
/drivers/regulator/
Danatop-regulator.c52 int max_voltage; member
245 &sreg->max_voltage); in anatop_regulator_probe()
259 rdesc->n_voltages = (sreg->max_voltage - sreg->min_voltage) / 25000 + 1 in anatop_regulator_probe()
/drivers/gpu/drm/msm/dsi/
Ddsi.h43 int max_voltage; member
Ddsi_host.c285 regs[i].min_voltage, regs[i].max_voltage); in dsi_regulator_init()
/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c183 regs[i].min_voltage, regs[i].max_voltage); in dsi_phy_regulator_init()