Lines Matching refs:lookup_table
516 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_get_socclk_for_voltage_evv() argument
524 PP_ASSERT_WITH_CODE(lookup_table->count != 0, in vega10_get_socclk_for_voltage_evv()
531 if (lookup_table->entries[voltage_id].us_vdd == virtual_voltage_id) in vega10_get_socclk_for_voltage_evv()
636 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_patch_lookup_table_with_leakage() argument
641 for (i = 0; i < lookup_table->count; i++) in vega10_patch_lookup_table_with_leakage()
643 &lookup_table->entries[i].us_vdd, leakage_table); in vega10_patch_lookup_table_with_leakage()
712 struct phm_ppt_v1_voltage_lookup_table *lookup_table) in vega10_sort_lookup_table() argument
716 PP_ASSERT_WITH_CODE(lookup_table && lookup_table->count, in vega10_sort_lookup_table()
719 table_size = lookup_table->count; in vega10_sort_lookup_table()
724 if (lookup_table->entries[j].us_vdd < in vega10_sort_lookup_table()
725 lookup_table->entries[j - 1].us_vdd) { in vega10_sort_lookup_table()
726 swap(lookup_table->entries[j - 1], in vega10_sort_lookup_table()
727 lookup_table->entries[j]); in vega10_sort_lookup_table()