Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c2195 phm_ppt_v1_voltage_lookup_table *look_up_table, in phm_add_voltage() argument
2200 PP_ASSERT_WITH_CODE((NULL != look_up_table), in phm_add_voltage()
2202 PP_ASSERT_WITH_CODE((0 != look_up_table->count), in phm_add_voltage()
2206 PP_ASSERT_WITH_CODE((i >= look_up_table->count), in phm_add_voltage()
2210 for (i = 0; i < look_up_table->count; i++) { in phm_add_voltage()
2211 if (look_up_table->entries[i].us_vdd == record->us_vdd) { in phm_add_voltage()
2212 if (look_up_table->entries[i].us_calculated == 1) in phm_add_voltage()
2218 look_up_table->entries[i].us_calculated = 1; in phm_add_voltage()
2219 look_up_table->entries[i].us_vdd = record->us_vdd; in phm_add_voltage()
2220 look_up_table->entries[i].us_cac_low = record->us_cac_low; in phm_add_voltage()
[all …]