/dragonfly/sys/dev/drm/radeon/ |
H A D | cypress_dpm.c | 742 &eg_pi->vddc_voltage_table, in cypress_convert_power_level_to_smc() 1283 &eg_pi->vddc_voltage_table, in cypress_populate_smc_initial_state() 1360 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1376 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1489 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1493 if (eg_pi->vddc_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables() 1495 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1530 if (eg_pi->vddc_voltage_table.count) { in cypress_populate_smc_voltage_tables() 1532 &eg_pi->vddc_voltage_table, in cypress_populate_smc_voltage_tables() 1537 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in cypress_populate_smc_voltage_tables() [all …]
|
H A D | ni_dpm.c | 1276 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() 2364 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_convert_power_level_to_smc() 3055 table_size = eg_pi->vddc_voltage_table.count; in ni_init_driver_calculated_leakage_table() 3071 eg_pi->vddc_voltage_table.entries[j].value, in ni_init_driver_calculated_leakage_table() 3106 if (eg_pi->vddc_voltage_table.count != table_size) in ni_init_simplified_leakage_table() [all …]
|
H A D | cypress_dpm.h | 84 struct atom_voltage_table vddc_voltage_table; member
|
H A D | ci_dpm.h | 228 struct atom_voltage_table vddc_voltage_table; member
|
H A D | si_dpm.c | 2349 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2358 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3965 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3969 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 3972 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3976 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4062 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables() 4065 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4067 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables() 4418 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_smc_initial_state() [all …]
|
H A D | ci_dpm.c | 302 if (pi->vddc_voltage_table.count > 8) in ci_populate_vddc_vid() 305 for (i = 0; i < pi->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 306 vid[i] = ci_convert_to_vid(pi->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 2176 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2182 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2187 if (pi->vddc_voltage_table.count > SMU7_MAX_LEVELS_VDDC) in ci_construct_voltage_tables() 2189 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2258 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 2261 &pi->vddc_voltage_table.entries[count], in ci_populate_smc_vddc_table() 2266 pi->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
|
H A D | btc_dpm.c | 1323 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
|
/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/ |
H A D | smu7_hwmgr.h | 249 struct pp_atomctrl_voltage_table vddc_voltage_table; member
|
H A D | vega10_hwmgr.h | 319 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
H A D | vega12_hwmgr.h | 323 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
H A D | vega10_hwmgr.c | 1159 &(data->vddc_voltage_table)); in vega10_construct_voltage_tables() 1165 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 16, in vega10_construct_voltage_tables() 1168 16, &(data->vddc_voltage_table))); in vega10_construct_voltage_tables() 1447 (uint8_t)(data->vddc_voltage_table.psi0_enable); in vega10_populate_ulv_state() 1449 (uint8_t)(data->vddc_voltage_table.psi1_enable); in vega10_populate_ulv_state() 2507 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table() 2508 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
|
H A D | smu7_hwmgr.c | 307 &data->vddc_voltage_table); in smu7_construct_voltage_tables() 313 result = phm_get_svi2_voltage_table_v0(&data->vddc_voltage_table, in smu7_construct_voltage_tables() 316 result = phm_get_svi2_vdd_voltage_table(&(data->vddc_voltage_table), in smu7_construct_voltage_tables() 325 (data->vddc_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 328 &(data->vddc_voltage_table))); in smu7_construct_voltage_tables()
|
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 422 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 D | ci_smumgr.c | 611 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in ci_populate_vddc_vid() 615 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 616 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 846 table->VddcLevelCount = data->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 849 &(data->vddc_voltage_table.entries[count]), in ci_populate_smc_vddc_table() 856 table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table() 857 table->SmioMaskVddcVid |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
|
H A D | tonga_smumgr.c | 299 table->VddcLevelCount = data->vddc_voltage_table.count; in tonga_populate_smc_vddc_table() 302 PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vddc_table() 403 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables() 423 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables() 1548 phm_get_voltage_id(&(data->vddc_voltage_table), in tonga_populate_smc_boot_level()
|
H A D | vegam_smumgr.c | 517 data->vddc_voltage_table.entries[count].value); in vegam_populate_cac_table()
|
H A D | fiji_smumgr.c | 784 data->vddc_voltage_table.entries[count].value); in fiji_populate_cac_table()
|
H A D | polaris10_smumgr.c | 714 data->vddc_voltage_table.entries[count].value); in polaris10_populate_cac_table()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | si_dpm.c | 2445 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2454 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3330 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules() 4428 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4435 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4439 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4525 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables() 4528 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4530 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables() 4883 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_smc_initial_state() [all …]
|
H A D | si_dpm.h | 668 struct atom_voltage_table vddc_voltage_table; member
|