/Linux-v6.1/drivers/cpufreq/ |
D | e_powersaver.c | 178 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 …]
|
/Linux-v6.1/drivers/gpu/drm/radeon/ |
D | rs780_dpm.c | 247 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 …]
|
D | rs780_dpm.h | 41 u16 max_voltage; member 54 enum rs780_vddc_level max_voltage; member
|
D | btc_dpm.h | 51 u32 clock, u16 max_voltage, u16 *voltage);
|
D | btc_dpm.c | 1190 u32 clock, u16 max_voltage, u16 *voltage) in btc_apply_voltage_dependency_rules() argument 1200 *voltage = (u16)((table->entries[i].v < max_voltage) ? in btc_apply_voltage_dependency_rules() 1201 table->entries[i].v : max_voltage); in btc_apply_voltage_dependency_rules() 1206 *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; in btc_apply_voltage_dependency_rules()
|
D | radeon_atombios.c | 3539 u8 voltage_type, u16 *max_voltage) in radeon_atom_get_max_voltage() argument 3560 *max_voltage = in radeon_atom_get_max_voltage() 3565 *max_voltage = in radeon_atom_get_max_voltage() 3582 *max_voltage = in radeon_atom_get_max_voltage() 3693 u16 min_voltage, max_voltage, voltage_step; in radeon_atom_round_to_true_voltage() local 3695 if (radeon_atom_get_max_voltage(rdev, voltage_type, &max_voltage)) in radeon_atom_round_to_true_voltage() 3704 else if (nominal_voltage >= max_voltage) in radeon_atom_round_to_true_voltage() 3705 *true_voltage = max_voltage; in radeon_atom_round_to_true_voltage()
|
D | radeon.h | 331 u8 voltage_type, u16 *max_voltage);
|
/Linux-v6.1/drivers/power/supply/ |
D | wm97xx_battery.c | 72 if (pdata->max_voltage >= 0) in wm97xx_bat_get_property() 73 val->intval = pdata->max_voltage; in wm97xx_bat_get_property() 196 if (pdata->max_voltage >= 0) in wm97xx_bat_probe() 216 if (pdata->max_voltage >= 0) in wm97xx_bat_probe()
|
D | z2_battery.c | 62 if (info->max_voltage >= 0) in z2_batt_get_property() 63 val->intval = info->max_voltage; in z2_batt_get_property() 138 if (info->max_voltage >= 0) in z2_batt_ps_init() 154 if (info->max_voltage >= 0) in z2_batt_ps_init()
|
D | cpcap-charger.c | 419 int max_voltage, int charge_current, in cpcap_charger_enable() argument 424 if (!max_voltage || !charge_current) in cpcap_charger_enable() 428 max_voltage, charge_current, trickle_current); in cpcap_charger_enable() 435 max_voltage | in cpcap_charger_enable()
|
/Linux-v6.1/include/linux/ |
D | z2_battery.h | 10 int max_voltage; member
|
D | wm97xx.h | 294 int max_voltage; member
|
/Linux-v6.1/drivers/regulator/ |
D | anatop-regulator.c | 171 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()
|
/Linux-v6.1/drivers/remoteproc/ |
D | qcom_wcnss_iris.c | 183 if (data->vregs[i].max_voltage) in qcom_iris_probe() 186 data->vregs[i].max_voltage); in qcom_iris_probe()
|
D | qcom_wcnss.h | 13 int max_voltage; member
|
D | qcom_wcnss.c | 448 if (info[i].max_voltage) in wcnss_init_regulators() 451 info[i].max_voltage); in wcnss_init_regulators()
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
D | dcn316_clk_mgr.c | 472 int max_voltage = 0; in find_clk_for_voltage() local 478 } else if (clock_table->SocVoltage[i] >= max_voltage && in find_clk_for_voltage() 480 max_voltage = clock_table->SocVoltage[i]; in find_clk_for_voltage()
|
/Linux-v6.1/arch/arm/mach-pxa/ |
D | palmte2.c | 276 .max_voltage = PALMTE2_BAT_MAX_VOLTAGE,
|
D | palm27x.c | 253 palm27x_batt_pdata.max_voltage = maxv, in palm27x_ac97_init()
|
D | z2.c | 491 .max_voltage = 4190000,
|
D | mioa701.c | 581 .max_voltage = 0xfc0,
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_clk_mgr.c | 536 int max_voltage = 0; in find_clk_for_voltage() local 542 } else if (clock_table->SocVoltage[i] >= max_voltage && in find_clk_for_voltage() 544 max_voltage = clock_table->SocVoltage[i]; in find_clk_for_voltage()
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 3263 u32 clock, u16 max_voltage, u16 *voltage) in btc_apply_voltage_dependency_rules() argument 3273 *voltage = (u16)((table->entries[i].v < max_voltage) ? in btc_apply_voltage_dependency_rules() 3274 table->entries[i].v : max_voltage); in btc_apply_voltage_dependency_rules() 3279 *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; in btc_apply_voltage_dependency_rules()
|