/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_cypress_dpm.c | 748 &eg_pi->vddc_voltage_table, in cypress_convert_power_level_to_smc() 1289 &eg_pi->vddc_voltage_table, in cypress_populate_smc_initial_state() 1366 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1382 &eg_pi->vddc_voltage_table, in cypress_populate_smc_acpi_state() 1495 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1499 if (eg_pi->vddc_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables() 1501 &eg_pi->vddc_voltage_table); in cypress_construct_voltage_tables() 1536 if (eg_pi->vddc_voltage_table.count) { in cypress_populate_smc_voltage_tables() 1538 &eg_pi->vddc_voltage_table, in cypress_populate_smc_voltage_tables() 1543 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in cypress_populate_smc_voltage_tables() [all …]
|
H A D | radeon_ni_dpm.c | 1282 if (eg_pi->vddc_voltage_table.count) { in ni_populate_smc_voltage_tables() 1283 ni_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in ni_populate_smc_voltage_tables() 1286 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in ni_populate_smc_voltage_tables() 1288 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in ni_populate_smc_voltage_tables() 1289 if (pi->max_vddc_in_table <= eg_pi->vddc_voltage_table.entries[i].value) { in ni_populate_smc_voltage_tables() 1406 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_calculate_power_boost_limit() 1416 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_calculate_power_boost_limit() 1734 ret = ni_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in ni_populate_smc_initial_state() 1821 &eg_pi->vddc_voltage_table, in ni_populate_smc_acpi_state() 1844 &eg_pi->vddc_voltage_table, in ni_populate_smc_acpi_state() [all …]
|
H A D | cypress_dpm.h | 86 struct atom_voltage_table vddc_voltage_table; member
|
H A D | ci_dpm.h | 231 struct atom_voltage_table vddc_voltage_table; member
|
H A D | radeon_si_dpm.c | 2355 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2364 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3970 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3974 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 3977 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3981 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4067 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables() 4068 si_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables() 4070 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4072 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in si_populate_smc_voltage_tables() [all …]
|
H A D | radeon_ci_dpm.c | 314 if (pi->vddc_voltage_table.count > 8) in ci_populate_vddc_vid() 317 for (i = 0; i < pi->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 318 vid[i] = ci_convert_to_vid(pi->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 2148 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2154 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2159 if (pi->vddc_voltage_table.count > SMU7_MAX_LEVELS_VDDC) in ci_construct_voltage_tables() 2161 &pi->vddc_voltage_table); in ci_construct_voltage_tables() 2230 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 2233 &pi->vddc_voltage_table.entries[count], in ci_populate_smc_vddc_table() 2238 pi->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
|
H A D | radeon_btc_dpm.c | 1331 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
H A D | smu7_hwmgr.h | 252 struct pp_atomctrl_voltage_table vddc_voltage_table; member
|
H A D | vega12_hwmgr.h | 325 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
H A D | vega10_hwmgr.h | 322 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
H A D | vega20_hwmgr.h | 450 struct pp_atomfwctrl_voltage_table vddc_voltage_table; member
|
H A D | amdgpu_vega10_hwmgr.c | 1194 &(data->vddc_voltage_table)); in vega10_construct_voltage_tables() 1200 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 16, in vega10_construct_voltage_tables() 1203 16, &(data->vddc_voltage_table))); in vega10_construct_voltage_tables() 1490 (uint8_t)(data->vddc_voltage_table.psi0_enable); in vega10_populate_ulv_state() 1492 (uint8_t)(data->vddc_voltage_table.psi1_enable); in vega10_populate_ulv_state() 2552 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table() 2553 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
|
H A D | amdgpu_smu7_hwmgr.c | 318 &data->vddc_voltage_table); in smu7_construct_voltage_tables() 324 result = phm_get_svi2_voltage_table_v0(&data->vddc_voltage_table, in smu7_construct_voltage_tables() 327 result = phm_get_svi2_vdd_voltage_table(&(data->vddc_voltage_table), in smu7_construct_voltage_tables() 336 (data->vddc_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 339 &(data->vddc_voltage_table))); in smu7_construct_voltage_tables()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/ |
H A D | amdgpu_iceland_smumgr.c | 427 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in iceland_populate_vddc_vid() 431 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) { in iceland_populate_vddc_vid() 432 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in iceland_populate_vddc_vid() 629 table->VddcLevelCount = data->vddc_voltage_table.count; in iceland_populate_smc_vddc_table() 632 &(data->vddc_voltage_table.entries[count]), in iceland_populate_smc_vddc_table() 638 table->VddcLevel[count].Smio |= data->vddc_voltage_table.entries[count].smio_low; in iceland_populate_smc_vddc_table()
|
H A D | amdgpu_ci_smumgr.c | 616 PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8, in ci_populate_vddc_vid() 620 for (i = 0; i < (int)data->vddc_voltage_table.count; i++) in ci_populate_vddc_vid() 621 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid() 851 table->VddcLevelCount = data->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 854 &(data->vddc_voltage_table.entries[count]), in ci_populate_smc_vddc_table() 861 table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table() 862 table->SmioMaskVddcVid |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
|
H A D | amdgpu_tonga_smumgr.c | 314 table->VddcLevelCount = data->vddc_voltage_table.count; in tonga_populate_smc_vddc_table() 317 PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vddc_table() 418 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables() 438 data->vddc_voltage_table.entries[count].value); in tonga_populate_cac_tables() 1563 phm_get_voltage_id(&(data->vddc_voltage_table), in tonga_populate_smc_boot_level()
|
H A D | amdgpu_vegam_smumgr.c | 521 data->vddc_voltage_table.entries[count].value); in vegam_populate_cac_table()
|
H A D | amdgpu_fiji_smumgr.c | 779 data->vddc_voltage_table.entries[count].value); in fiji_populate_cac_table()
|
H A D | amdgpu_polaris10_smumgr.c | 720 data->vddc_voltage_table.entries[count].value); in polaris10_populate_cac_table()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_si_dpm.c | 2452 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2461 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3337 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules() 4434 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4438 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4441 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4445 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 4531 if (eg_pi->vddc_voltage_table.count) { in si_populate_smc_voltage_tables() 4532 si_populate_smc_voltage_table(adev, &eg_pi->vddc_voltage_table, table); in si_populate_smc_voltage_tables() 4534 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in si_populate_smc_voltage_tables() [all …]
|
H A D | si_dpm.h | 670 struct atom_voltage_table vddc_voltage_table; member
|