Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/cpufreq/
De_powersaver.c178 u8 max_multiplier, max_voltage; in eps_cpu_init() local
248 max_voltage = hi & 0xff; in eps_cpu_init()
249 pr_info("Highest voltage = %dmV\n", max_voltage * 16 + 700); in eps_cpu_init()
264 if (current_voltage > 0x1f || max_voltage > 0x1f) in eps_cpu_init()
266 if (max_voltage < min_voltage in eps_cpu_init()
268 || current_voltage > max_voltage) in eps_cpu_init()
277 if (!voltage_failsafe_off && max_voltage != current_voltage) { in eps_cpu_init()
311 if (v >= min_voltage && v <= max_voltage) { in eps_cpu_init()
313 max_voltage = v; in eps_cpu_init()
342 f_table[1].driver_data = (max_multiplier << 8) | max_voltage; in eps_cpu_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drs780_dpm.c248 fv_throt_pwm_range[2] = pi->max_voltage; in rs780_voltage_scaling_init()
249 fv_throt_pwm_range[3] = pi->max_voltage; in rs780_voltage_scaling_init()
262 STARTING_PWM_HIGHTIME(pi->max_voltage), in rs780_voltage_scaling_init()
281 MAX_PWM_HIGHTIME(pi->max_voltage))); in rs780_voltage_scaling_init()
383 if ((current_state->max_voltage == RS780_VDDC_LEVEL_HIGH) && in rs780_force_voltage()
516 return pi->max_voltage; in rs780_get_voltage_for_vddc_level()
520 return pi->max_voltage; in rs780_get_voltage_for_vddc_level()
532 if ((new_state->max_voltage == RS780_VDDC_LEVEL_HIGH) && in rs780_enable_voltage_scaling()
537 new_state->max_voltage); in rs780_enable_voltage_scaling()
550 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.h51 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.c3547 u8 voltage_type, u16 *max_voltage) in radeon_atom_get_max_voltage() argument
3568 *max_voltage = in radeon_atom_get_max_voltage()
3573 *max_voltage = in radeon_atom_get_max_voltage()
3590 *max_voltage = in radeon_atom_get_max_voltage()
3701 u16 min_voltage, max_voltage, voltage_step; in radeon_atom_round_to_true_voltage() local
3703 if (radeon_atom_get_max_voltage(rdev, voltage_type, &max_voltage)) in radeon_atom_round_to_true_voltage()
3712 else if (nominal_voltage >= max_voltage) in radeon_atom_round_to_true_voltage()
3713 *true_voltage = max_voltage; in radeon_atom_round_to_true_voltage()
Dradeon.h332 u8 voltage_type, u16 *max_voltage);
/kernel/linux/linux-5.10/drivers/power/supply/
Dwm97xx_battery.c71 if (pdata->max_voltage >= 0) in wm97xx_bat_get_property()
72 val->intval = pdata->max_voltage; in wm97xx_bat_get_property()
195 if (pdata->max_voltage >= 0) in wm97xx_bat_probe()
215 if (pdata->max_voltage >= 0) in wm97xx_bat_probe()
Dz2_battery.c61 if (info->max_voltage >= 0) in z2_batt_get_property()
62 val->intval = info->max_voltage; in z2_batt_get_property()
140 if (info->max_voltage >= 0) in z2_batt_ps_init()
156 if (info->max_voltage >= 0) in z2_batt_ps_init()
Dcpcap-charger.c364 int max_voltage, int charge_current, in cpcap_charger_set_state() argument
393 max_voltage | in cpcap_charger_set_state()
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_wcnss_iris.c136 if (data->vregs[i].max_voltage) in qcom_iris_probe()
139 data->vregs[i].max_voltage); in qcom_iris_probe()
Dqcom_wcnss.h13 int max_voltage; member
Dqcom_wcnss.c396 if (info[i].max_voltage) in wcnss_init_regulators()
399 info[i].max_voltage); in wcnss_init_regulators()
/kernel/linux/linux-5.10/include/linux/
Dz2_battery.h11 int max_voltage; member
Dwm97xx.h299 int max_voltage; member
/kernel/linux/linux-5.10/drivers/regulator/
Danatop-regulator.c171 u32 max_voltage; in anatop_regulator_probe() local
228 ret = of_property_read_u32(np, "anatop-max-voltage", &max_voltage); in anatop_regulator_probe()
242 rdesc->n_voltages = (max_voltage - min_voltage) / 25000 + 1 in anatop_regulator_probe()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dpalmte2.c277 .max_voltage = PALMTE2_BAT_MAX_VOLTAGE,
Dpalm27x.c254 palm27x_batt_pdata.max_voltage = maxv, in palm27x_ac97_init()
Dz2.c493 .max_voltage = 4190000,
Dmioa701.c582 .max_voltage = 0xfc0,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c3248 u32 clock, u16 max_voltage, u16 *voltage) in btc_apply_voltage_dependency_rules() argument
3258 *voltage = (u16)((table->entries[i].v < max_voltage) ? in btc_apply_voltage_dependency_rules()
3259 table->entries[i].v : max_voltage); in btc_apply_voltage_dependency_rules()
3264 *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; in btc_apply_voltage_dependency_rules()