Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A 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 …]
H A Drs780_dpm.h41 u16 max_voltage; member
54 enum rs780_vddc_level max_voltage; member
H A Dbtc_dpm.h51 u32 clock, u16 max_voltage, u16 *voltage);
H A Dbtc_dpm.c1162 u32 clock, u16 max_voltage, u16 *voltage) in btc_apply_voltage_dependency_rules() argument
1172 *voltage = (u16)((table->entries[i].v < max_voltage) ? in btc_apply_voltage_dependency_rules()
1173 table->entries[i].v : max_voltage); in btc_apply_voltage_dependency_rules()
1178 *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; in btc_apply_voltage_dependency_rules()
H A Dradeon_atombios.c3545 u8 voltage_type, u16 *max_voltage) in radeon_atom_get_max_voltage() argument
3566 *max_voltage = in radeon_atom_get_max_voltage()
3571 *max_voltage = in radeon_atom_get_max_voltage()
3588 *max_voltage = in radeon_atom_get_max_voltage()
3699 u16 min_voltage, max_voltage, voltage_step; in radeon_atom_round_to_true_voltage() local
3701 if (radeon_atom_get_max_voltage(rdev, voltage_type, &max_voltage)) in radeon_atom_round_to_true_voltage()
3710 else if (nominal_voltage >= max_voltage) in radeon_atom_round_to_true_voltage()
3711 *true_voltage = max_voltage; in radeon_atom_round_to_true_voltage()
/linux/drivers/power/supply/
H A Dwm97xx_battery.c72 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()
H A Dcpcap-charger.c419 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/drivers/regulator/
H A 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()
/linux/rust/kernel/
H A Dregulator.rs251 pub fn set_voltage(&self, min_voltage: Voltage, max_voltage: Voltage) -> Result { in set_voltage()
257 max_voltage.as_microvolts(), in set_voltage()
/linux/drivers/remoteproc/
H A Dqcom_wcnss.h11 int max_voltage; member
H A Dqcom_wcnss.c479 if (info[i].max_voltage) in wcnss_init_regulators()
482 info[i].max_voltage); in wcnss_init_regulators()
/linux/include/linux/
H A Dwm97xx.h294 int max_voltage; member
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c3283 u32 clock, u16 max_voltage, u16 *voltage) in btc_apply_voltage_dependency_rules() argument
3293 *voltage = (u16)((table->entries[i].v < max_voltage) ? in btc_apply_voltage_dependency_rules()
3294 table->entries[i].v : max_voltage); in btc_apply_voltage_dependency_rules()
3299 *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; in btc_apply_voltage_dependency_rules()