Home
last modified time | relevance | path

Searched refs:vddc_voltage_table (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Dcypress_dpm.c745 &eg_pi->vddc_voltage_table, in cypress_convert_power_level_to_smc()
1286 &eg_pi->vddc_voltage_table, in cypress_populate_smc_initial_state()
1363 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state()
1379 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state()
1492 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables()
1496 if (eg_pi->vddc_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables()
1498 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables()
1533 if (eg_pi->vddc_voltage_table.count) { in cypress_populate_smc_voltage_tables()
1535 &eg_pi->vddc_voltage_table, in cypress_populate_smc_voltage_tables()
1540 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in cypress_populate_smc_voltage_tables()
[all …]
H A Dcypress_dpm.h84 struct atom_voltage_table vddc_voltage_table; member
H A Dci_dpm.h227 struct atom_voltage_table vddc_voltage_table; member
H A Dsi_dpm.c2285 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
2294 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
3902 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
3906 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
3909 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
3913 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
3999 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables()
4000 si_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables()
4002 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4004 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables()
[all …]
H A Dbtc_dpm.c1296 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.h262 struct pp_atomctrl_voltage_table vddc_voltage_table; member
H A Dvega12_hwmgr.h322 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
H A Dvega10_hwmgr.h320 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
H A Dvega20_hwmgr.h446 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
H A Dvega10_hwmgr.c1200 &(data->vddc_voltage_table)); in vega10_construct_voltage_tables()
1206 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 16, in vega10_construct_voltage_tables()
1209 16, &(data->vddc_voltage_table))); in vega10_construct_voltage_tables()
1493 (uint8_t)(data->vddc_voltage_table.psi0_enable); in vega10_populate_ulv_state()
1495 (uint8_t)(data->vddc_voltage_table.psi1_enable); in vega10_populate_ulv_state()
2615 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table()
2616 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
H A Dsmu7_hwmgr.c375 &data->vddc_voltage_table); in smu7_construct_voltage_tables()
381 result = phm_get_svi2_voltage_table_v0(&data->vddc_voltage_table, in smu7_construct_voltage_tables()
384 result = phm_get_svi2_vdd_voltage_table(&(data->vddc_voltage_table), in smu7_construct_voltage_tables()
393 (data->vddc_voltage_table.count <= tmp), in smu7_construct_voltage_tables()
396 &(data->vddc_voltage_table))); in smu7_construct_voltage_tables()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c422 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in iceland_populate_vddc_vid()
426 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) { in iceland_populate_vddc_vid()
427 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in iceland_populate_vddc_vid()
624 table->VddcLevelCount = data->vddc_voltage_table.count; in iceland_populate_smc_vddc_table()
627 &(data->vddc_voltage_table.entries[count]), in iceland_populate_smc_vddc_table()
633 table->VddcLevel[count].Smio |= data->vddc_voltage_table.entries[count].smio_low; in iceland_populate_smc_vddc_table()
H A Dci_smumgr.c613 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in ci_populate_vddc_vid()
617 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) in ci_populate_vddc_vid()
618 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid()
848 table->VddcLevelCount = data->vddc_voltage_table.count; in ci_populate_smc_vddc_table()
851 &(data->vddc_voltage_table.entries[count]), in ci_populate_smc_vddc_table()
858 table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
859 table->SmioMaskVddcVid |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
H A Dvegam_smumgr.c517 data->vddc_voltage_table.entries[count].value); in vegam_populate_cac_table()
H A Dfiji_smumgr.c772 data->vddc_voltage_table.entries[count].value); in fiji_populate_cac_table()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c2454 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
2463 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
3343 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
4467 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
4471 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
4474 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
4478 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
4564 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables()
4565 si_populate_smc_voltage_table(adev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables()
4567 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables()
[all …]