Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/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()
280 MAX_PWM_HIGHTIME(pi->max_voltage))); in rs780_voltage_scaling_init()
515 return pi->max_voltage; in rs780_get_voltage_for_vddc_level()
519 return pi->max_voltage; in rs780_get_voltage_for_vddc_level()
536 new_state->max_voltage); in rs780_enable_voltage_scaling()
549 if (pi->max_voltage != vddc_high) { in rs780_enable_voltage_scaling()
904 pi->max_voltage = in rs780_dpm_init()
923 (pi->max_voltage == 0) || in rs780_dpm_init()
928 (pi->max_voltage == 0)) in rs780_dpm_init()
[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.c1190 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()
H A Dradeon_atombios.c3557 u8 voltage_type, u16 *max_voltage) in radeon_atom_get_max_voltage() argument
3578 *max_voltage = in radeon_atom_get_max_voltage()
3583 *max_voltage = in radeon_atom_get_max_voltage()
3600 *max_voltage = in radeon_atom_get_max_voltage()
3711 u16 min_voltage, max_voltage, voltage_step; in radeon_atom_round_to_true_voltage() local
3713 if (radeon_atom_get_max_voltage(rdev, voltage_type, &max_voltage)) in radeon_atom_round_to_true_voltage()
3722 else if (nominal_voltage >= max_voltage) in radeon_atom_round_to_true_voltage()
3723 *true_voltage = max_voltage; in radeon_atom_round_to_true_voltage()
H A Dradeon.h342 u8 voltage_type, u16 *max_voltage);
/openbsd/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn316/
H A Ddcn316_clk_mgr.c460 int max_voltage = 0; in find_clk_for_voltage() local
466 } else if (clock_table->SocVoltage[i] >= max_voltage && in find_clk_for_voltage()
468 max_voltage = clock_table->SocVoltage[i]; in find_clk_for_voltage()
/openbsd/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.c538 int max_voltage = 0; in find_clk_for_voltage() local
544 } else if (clock_table->SocVoltage[i] >= max_voltage && in find_clk_for_voltage()
546 max_voltage = clock_table->SocVoltage[i]; in find_clk_for_voltage()
/openbsd/sys/dev/pci/drm/amd/pm/legacy-dpm/
H A Damdgpu_si_dpm.c3263 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()