Home
last modified time | relevance | path

Searched refs:convert_to_vid (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu_helper.h32 uint8_t convert_to_vid(uint16_t vddc);
H A Dsmu_helper.c36 uint8_t convert_to_vid(uint16_t vddc) in convert_to_vid() function
H A Dvega10_hwmgr.c1801 soc_vid = (uint8_t)convert_to_vid(vddc_lookup_table->entries[i].us_vdd); in vega10_populate_vddc_soc_levels()
1858 (uint8_t)(convert_to_vid(dep_on_mclk->entries[i].mvdd)); in vega10_populate_single_memory_level()
1958 vid = (uint8_t)convert_to_vid(vddc); in vega10_populate_single_display_type()
2188 convert_to_vid((uint16_t)(avfs_params.ulMinVddc)); in vega10_populate_avfs_parameters()
2190 convert_to_vid((uint16_t)(avfs_params.ulMaxVddc)); in vega10_populate_avfs_parameters()
2245 convert_to_vid((uint8_t)(dep_table->entries[i].sclk_offset)); in vega10_populate_avfs_parameters()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dtonga_smumgr.c415 convert_to_vid(vddc_lookup_table->entries[index].us_cac_low); in tonga_populate_cac_tables()
417 convert_to_vid(vddc_lookup_table->entries[index].us_cac_mid); in tonga_populate_cac_tables()
419 convert_to_vid(vddc_lookup_table->entries[index].us_cac_high); in tonga_populate_cac_tables()
426 convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_mid)); in tonga_populate_cac_tables()
428 convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_high); in tonga_populate_cac_tables()
435 convert_to_vid(vddc_lookup_table->entries[index].us_cac_low); in tonga_populate_cac_tables()
437 convert_to_vid(vddc_lookup_table->entries[index].us_cac_mid); in tonga_populate_cac_tables()
439 convert_to_vid(vddc_lookup_table->entries[index].us_cac_high); in tonga_populate_cac_tables()
H A Dci_smumgr.c594 lo_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Vddc1); in ci_populate_bapm_vddc_vid_sidd()
595 hi_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Vddc2); in ci_populate_bapm_vddc_vid_sidd()
596 hi2_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Vddc3); in ci_populate_bapm_vddc_vid_sidd()
598 lo_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Vddc); in ci_populate_bapm_vddc_vid_sidd()
599 hi_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Leakage); in ci_populate_bapm_vddc_vid_sidd()
618 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid()
H A Dvegam_smumgr.c519 convert_to_vid(lookup_table->entries[index].us_cac_low); in vegam_populate_cac_table()
521 convert_to_vid(lookup_table->entries[index].us_cac_mid); in vegam_populate_cac_table()
523 convert_to_vid(lookup_table->entries[index].us_cac_high); in vegam_populate_cac_table()
H A Diceland_smumgr.c405 lo_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Vddc1); in iceland_populate_bapm_vddc_vid_sidd()
406 hi_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Vddc2); in iceland_populate_bapm_vddc_vid_sidd()
427 vid[i] = convert_to_vid(data->vddc_voltage_table.entries[i].value); in iceland_populate_vddc_vid()
H A Dpolaris10_smumgr.c759 table->BapmVddcVidLoSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_low); in polaris10_populate_cac_table()
760 table->BapmVddcVidHiSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_mid); in polaris10_populate_cac_table()
761 table->BapmVddcVidHiSidd2[count] = convert_to_vid(lookup_table->entries[index].us_cac_high); in polaris10_populate_cac_table()
H A Dfiji_smumgr.c774 convert_to_vid(lookup_table->entries[index].us_cac_low); in fiji_populate_cac_table()
776 convert_to_vid(lookup_table->entries[index].us_cac_high); in fiji_populate_cac_table()