Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dcypress_dpm.h85 struct atom_voltage_table vddci_voltage_table; member
H A Dcypress_dpm.c753 &eg_pi->vddci_voltage_table, in cypress_convert_power_level_to_smc()
1292 &eg_pi->vddci_voltage_table, in cypress_populate_smc_initial_state()
1388 &eg_pi->vddci_voltage_table, in cypress_populate_smc_acpi_state()
1502 &eg_pi->vddci_voltage_table); in cypress_construct_voltage_tables()
1506 if (eg_pi->vddci_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables()
1508 &eg_pi->vddci_voltage_table); in cypress_construct_voltage_tables()
1551 if (eg_pi->vddci_voltage_table.count) { in cypress_populate_smc_voltage_tables()
1553 &eg_pi->vddci_voltage_table, in cypress_populate_smc_voltage_tables()
1558 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in cypress_populate_smc_voltage_tables()
H A Dci_dpm.h230 struct atom_voltage_table vddci_voltage_table; member
H A Dsi_dpm.c3966 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddci_voltage_table); in si_construct_voltage_tables()
3970 if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
3973 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables()
3978 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables()
4056 if (eg_pi->vddci_voltage_table.count) { in si_populate_smc_voltage_tables()
4057 si_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in si_populate_smc_voltage_tables()
4060 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4417 &eg_pi->vddci_voltage_table, in si_populate_smc_initial_state()
4545 si_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in si_populate_smc_acpi_state()
5043 ret = si_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in si_convert_power_level_to_smc()
H A Dni_dpm.c1290 if (eg_pi->vddci_voltage_table.count) { in ni_populate_smc_voltage_tables()
1291 ni_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in ni_populate_smc_voltage_tables()
1295 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in ni_populate_smc_voltage_tables()
1745 &eg_pi->vddci_voltage_table, in ni_populate_smc_initial_state()
1858 &eg_pi->vddci_voltage_table, in ni_populate_smc_acpi_state()
2383 ret = ni_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in ni_convert_power_level_to_smc()
H A Dci_dpm.c2121 &pi->vddci_voltage_table); in ci_construct_voltage_tables()
2127 &pi->vddci_voltage_table); in ci_construct_voltage_tables()
2132 if (pi->vddci_voltage_table.count > SMU7_MAX_LEVELS_VDDCI) in ci_construct_voltage_tables()
2134 &pi->vddci_voltage_table); in ci_construct_voltage_tables()
2208 table->VddciLevelCount = pi->vddci_voltage_table.count; in ci_populate_smc_vddci_table()
2211 &pi->vddci_voltage_table.entries[count], in ci_populate_smc_vddci_table()
2216 pi->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vddci_table()
H A Dbtc_dpm.c1318 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dtonga_smumgr.c274 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_get_dependency_volt_by_clk()
293 voltage->Vddci = phm_get_voltage_id(&data->vddci_voltage_table, in tonga_get_dependency_volt_by_clk()
342 table->VddciLevelCount = data->vddci_voltage_table.count; in tonga_populate_smc_vdd_ci_table()
346 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table()
349 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table()
354 data->vddci_voltage_table.entries[count].smio_low; in tonga_populate_smc_vdd_ci_table()
360 table->SmioMask1 = data->vddci_voltage_table.mask_low; in tonga_populate_smc_vdd_ci_table()
1334 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_populate_smc_uvd_level()
1394 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_populate_smc_vce_level()
1439 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_populate_smc_acp_level()
[all …]
H A Dvegam_smumgr.c481 count = data->vddci_voltage_table.count; in vegam_populate_smc_vddci_table()
488 data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_vddci_table()
491 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in vegam_populate_smc_vddci_table()
495 table->SmioMask1 = data->vddci_voltage_table.mask_low; in vegam_populate_smc_vddci_table()
626 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk()
654 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk()
1217 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_populate_smc_vce_level()
1331 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_populate_smc_uvd_level()
H A Dpolaris10_smumgr.c379 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk()
406 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk()
722 count = data->vddci_voltage_table.count; in polaris10_populate_smc_vddci_table()
729 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_vddci_table()
732 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in polaris10_populate_smc_vddci_table()
735 table->SmioMask1 = data->vddci_voltage_table.mask_low; in polaris10_populate_smc_vddci_table()
1388 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_vce_level()
1437 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_samu_level()
1544 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_uvd_level()
H A Dci_smumgr.c877 table->VddciLevelCount = data->vddci_voltage_table.count; in ci_populate_smc_vdd_ci_table()
881 &(data->vddci_voltage_table.entries[count]), in ci_populate_smc_vdd_ci_table()
886 table->Smio[count] |= data->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vdd_ci_table()
887 table->SmioMaskVddciVid |= data->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vdd_ci_table()
H A Diceland_smumgr.c650 table->VddciLevelCount = data->vddci_voltage_table.count; in iceland_populate_smc_vdd_ci_table()
654 &(data->vddci_voltage_table.entries[count]), in iceland_populate_smc_vdd_ci_table()
658 table->VddciLevel[count].Smio |= data->vddci_voltage_table.entries[count].smio_low; in iceland_populate_smc_vdd_ci_table()
H A Dfiji_smumgr.c378 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk()
403 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.h263 struct pp_atomctrl_voltage_table vddci_voltage_table; member
H A Dvega10_hwmgr.h324 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
H A Dvega12_hwmgr.h326 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
H A Dvega20_hwmgr.h450 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
H A Dsmu7_hwmgr.c347 &(data->vddci_voltage_table)); in smu7_construct_voltage_tables()
353 result = phm_get_svi2_vddci_voltage_table(&(data->vddci_voltage_table), in smu7_construct_voltage_tables()
356 result = phm_get_svi2_voltage_table_v0(&(data->vddci_voltage_table), in smu7_construct_voltage_tables()
407 (data->vddci_voltage_table.count <= tmp), in smu7_construct_voltage_tables()
410 &(data->vddci_voltage_table))); in smu7_construct_voltage_tables()
H A Dvega10_hwmgr.c1190 &(data->vddci_voltage_table)); in vega10_construct_voltage_tables()
1211 PP_ASSERT_WITH_CODE(data->vddci_voltage_table.count <= 16, in vega10_construct_voltage_tables()
1214 16, &(data->vddci_voltage_table))); in vega10_construct_voltage_tables()
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c3321 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules()
4443 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddci_voltage_table); in si_construct_voltage_tables()
4447 if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
4450 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables()
4455 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables()
4533 if (eg_pi->vddci_voltage_table.count) { in si_populate_smc_voltage_tables()
4534 si_populate_smc_voltage_table(adev, &eg_pi->vddci_voltage_table, table); in si_populate_smc_voltage_tables()
4537 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in si_populate_smc_voltage_tables()
4896 &eg_pi->vddci_voltage_table, in si_populate_smc_initial_state()
5048 si_populate_voltage_value(adev, &eg_pi->vddci_voltage_table, in si_populate_smc_acpi_state()
[all …]
H A Dsi_dpm.h676 struct atom_voltage_table vddci_voltage_table; member