Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/radeon/ !
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 …]
Dcypress_dpm.h84 struct atom_voltage_table vddc_voltage_table; member
Dni_dpm.c1276 if (eg_pi->vddc_voltage_table.count) { in ni_populate_smc_voltage_tables()
1277 ni_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in ni_populate_smc_voltage_tables()
1280 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in ni_populate_smc_voltage_tables()
1282 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in ni_populate_smc_voltage_tables()
1283 if (pi->max_vddc_in_table <= eg_pi->vddc_voltage_table.entries[i].value) { in ni_populate_smc_voltage_tables()
1400 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_calculate_power_boost_limit()
1410 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_calculate_power_boost_limit()
1728 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_populate_smc_initial_state()
1815 &eg_pi->vddc_voltage_table, in ni_populate_smc_acpi_state()
1838 &eg_pi->vddc_voltage_table, in ni_populate_smc_acpi_state()
[all …]
Dci_dpm.h229 struct atom_voltage_table vddc_voltage_table; member
Dsi_dpm.c2329 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
2338 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
3946 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
3950 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
3953 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
3957 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
4043 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables()
4044 si_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables()
4046 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4048 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables()
[all …]
Dci_dpm.c286 if (pi->vddc_voltage_table.count > 8) in ci_populate_vddc_vid()
289 for (i = 0; i < pi->vddc_voltage_table.count; i++) in ci_populate_vddc_vid()
290 vid[i] = ci_convert_to_vid(pi->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid()
2103 &pi->vddc_voltage_table); in ci_construct_voltage_tables()
2109 &pi->vddc_voltage_table); in ci_construct_voltage_tables()
2114 if (pi->vddc_voltage_table.count > SMU7_MAX_LEVELS_VDDC) in ci_construct_voltage_tables()
2116 &pi->vddc_voltage_table); in ci_construct_voltage_tables()
2185 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table()
2188 &pi->vddc_voltage_table.entries[count], in ci_populate_smc_vddc_table()
2193 pi->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
Dbtc_dpm.c1324 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ !
Dsmu7_hwmgr.h262 struct pp_atomctrl_voltage_table vddc_voltage_table; member
Dvega10_hwmgr.h320 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
Dvega12_hwmgr.h322 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
Dvega20_hwmgr.h446 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
Dvega10_hwmgr.c1189 &(data->vddc_voltage_table)); in vega10_construct_voltage_tables()
1195 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 16, in vega10_construct_voltage_tables()
1198 16, &(data->vddc_voltage_table))); in vega10_construct_voltage_tables()
1482 (uint8_t)(data->vddc_voltage_table.psi0_enable); in vega10_populate_ulv_state()
1484 (uint8_t)(data->vddc_voltage_table.psi1_enable); in vega10_populate_ulv_state()
2594 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table()
2595 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
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-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/ !
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()
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()
Dpolaris10_smumgr.c697 count = data->vddc_voltage_table.count; in polaris10_populate_smc_vddc_table()
704 PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_vddc_table()
707 table->Smio[level] |= data->vddc_voltage_table.entries[level].smio_low; in polaris10_populate_smc_vddc_table()
710 table->SmioMask1 = data->vddc_voltage_table.mask_low; in polaris10_populate_smc_vddc_table()
758 data->vddc_voltage_table.entries[count].value); in polaris10_populate_cac_table()
Dtonga_smumgr.c309 table->VddcLevelCount = data->vddc_voltage_table.count; in tonga_populate_smc_vddc_table()
312 PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vddc_table()
413 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables()
433 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables()
1558 phm_get_voltage_id(&(data->vddc_voltage_table), in tonga_populate_smc_boot_level()
Dvegam_smumgr.c517 data->vddc_voltage_table.entries[count].value); in vegam_populate_cac_table()
Dfiji_smumgr.c772 data->vddc_voltage_table.entries[count].value); in fiji_populate_cac_table()
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/ !
Dsi_dpm.c2442 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
2451 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
3327 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
4423 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
4427 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
4430 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
4434 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
4520 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables()
4521 si_populate_smc_voltage_table(adev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables()
4523 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables()
[all …]
Dsi_dpm.h675 struct atom_voltage_table vddc_voltage_table; member