Home
last modified time | relevance | path

Searched refs:vddc_voltage_table (Results 1 – 21 of 21) 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 Dni_dpm.c1276 if (eg_pi->vddc_voltage_table.count) { 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()
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()
2370 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_convert_power_level_to_smc()
3060 table_size = eg_pi->vddc_voltage_table.count; in ni_init_driver_calculated_leakage_table()
3076 eg_pi->vddc_voltage_table.entries[j].value, in ni_init_driver_calculated_leakage_table()
3108 if (eg_pi->vddc_voltage_table.count != table_size) in ni_init_simplified_leakage_table()
[all …]
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()
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()
4355 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_smc_initial_state()
[all …]
H A Dci_dpm.c281 if (pi->vddc_voltage_table.count > 8) in ci_populate_vddc_vid()
284 for (i = 0; i < pi->vddc_voltage_table.count; i++) in ci_populate_vddc_vid()
285 vid[i] = ci_convert_to_vid(pi->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid()
2098 &pi->vddc_voltage_table); in ci_construct_voltage_tables()
2104 &pi->vddc_voltage_table); in ci_construct_voltage_tables()
2109 if (pi->vddc_voltage_table.count > SMU7_MAX_LEVELS_VDDC) in ci_construct_voltage_tables()
2111 &pi->vddc_voltage_table); in ci_construct_voltage_tables()
2180 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table()
2183 &pi->vddc_voltage_table.entries[count], in ci_populate_smc_vddc_table()
2188 pi->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
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 Dvega10_hwmgr.h320 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
H A Dvega12_hwmgr.h322 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 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()
H A 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()
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.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()
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()
4523 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4525 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables()
4878 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_smc_initial_state()
[all …]
H A Dsi_dpm.h675 struct atom_voltage_table vddc_voltage_table; member