Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/
H A Dsmu_helper.c257 phm_ppt_v1_voltage_lookup_table *lookup_table) in phm_get_svi2_vdd_voltage_table() argument
261 PP_ASSERT_WITH_CODE((0 != lookup_table->count), in phm_get_svi2_vdd_voltage_table()
270 vol_table->count = lookup_table->count; in phm_get_svi2_vdd_voltage_table()
273 vol_table->entries[i].value = lookup_table->entries[i].us_vdd; in phm_get_svi2_vdd_voltage_table()
342 struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t voltage) in phm_get_voltage_index() argument
344 uint8_t count = (uint8_t) (lookup_table->count); in phm_get_voltage_index()
347 PP_ASSERT_WITH_CODE((NULL != lookup_table), in phm_get_voltage_index()
352 for (i = 0; i < lookup_table->count; i++) { in phm_get_voltage_index()
354 if (lookup_table->entries[i].us_vdd >= voltage) in phm_get_voltage_index()
413 phm_ppt_v1_voltage_lookup_table *lookup_table, in phm_get_sclk_for_voltage_evv() argument
[all …]
H A Dsmu_helper.h66 …_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_voltage_lookup_table *lookup_table);
73 extern uint8_t phm_get_voltage_index(struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t…
76 …phm_get_sclk_for_voltage_evv(struct pp_hwmgr *hwmgr, phm_ppt_v1_voltage_lookup_table *lookup_table,
H A Dsmu7_hwmgr.c1822 phm_ppt_v1_voltage_lookup_table *lookup_table, in smu7_patch_lookup_table_with_leakage() argument
1827 for (i = 0; i < lookup_table->count; i++) in smu7_patch_lookup_table_with_leakage()
1829 &lookup_table->entries[i].us_vdd, leakage_table); in smu7_patch_lookup_table_with_leakage()
2002 table_size = lookup_table->count; in smu7_sort_lookup_table()
2004 PP_ASSERT_WITH_CODE(0 != lookup_table->count, in smu7_sort_lookup_table()
2010 if (lookup_table->entries[j].us_vdd < in smu7_sort_lookup_table()
2011 lookup_table->entries[j - 1].us_vdd) { in smu7_sort_lookup_table()
2013 lookup_table->entries[j - 1] = lookup_table->entries[j]; in smu7_sort_lookup_table()
2127 lookup_table = table_info->vddc_lookup_table; in smu7_patch_voltage_workaround()
2142 for (i = 0; i < lookup_table->count; i++) { in smu7_patch_voltage_workaround()
[all …]
H A Dvega10_hwmgr.c492 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_get_socclk_for_voltage_evv() argument
500 PP_ASSERT_WITH_CODE(lookup_table->count != 0, in vega10_get_socclk_for_voltage_evv()
612 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_patch_lookup_table_with_leakage() argument
617 for (i = 0; i < lookup_table->count; i++) in vega10_patch_lookup_table_with_leakage()
619 &lookup_table->entries[i].us_vdd, leakage_table); in vega10_patch_lookup_table_with_leakage()
688 struct phm_ppt_v1_voltage_lookup_table *lookup_table) in vega10_sort_lookup_table() argument
693 PP_ASSERT_WITH_CODE(lookup_table && lookup_table->count, in vega10_sort_lookup_table()
696 table_size = lookup_table->count; in vega10_sort_lookup_table()
701 if (lookup_table->entries[j].us_vdd < in vega10_sort_lookup_table()
702 lookup_table->entries[j - 1].us_vdd) { in vega10_sort_lookup_table()
[all …]
H A Dprocess_pptables_v1_0.c155 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument
192 *lookup_table = table; in get_vddc_lookup_table()
H A Dvega10_processpptables.c1016 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument
1040 *lookup_table = table; in get_vddc_lookup_table()
/dragonfly/contrib/gdb-7/gdb/mi/
H A Dmi-cmds.c30 static struct mi_cmd **lookup_table (const char *command);
185 return *lookup_table (command); in mi_lookup()
201 lookup_table (const char *command) in lookup_table() function
244 struct mi_cmd **entry = lookup_table (command->name); in build_table()
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A Dvegam_smumgr.c508 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in vegam_populate_cac_table() local
515 for (count = 0; count < lookup_table->count; count++) { in vegam_populate_cac_table()
516 index = phm_get_voltage_index(lookup_table, in vegam_populate_cac_table()
519 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 Dpolaris10_smumgr.c705 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in polaris10_populate_cac_table() local
712 for (count = 0; count < lookup_table->count; count++) { in polaris10_populate_cac_table()
713 index = phm_get_voltage_index(lookup_table, in polaris10_populate_cac_table()
715 table->BapmVddcVidLoSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_low); in polaris10_populate_cac_table()
716 table->BapmVddcVidHiSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_mid); in polaris10_populate_cac_table()
717 table->BapmVddcVidHiSidd2[count] = convert_to_vid(lookup_table->entries[index].us_cac_high); in polaris10_populate_cac_table()
H A Dfiji_smumgr.c774 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in fiji_populate_cac_table() local
782 for (count = 0; count < lookup_table->count; count++) { in fiji_populate_cac_table()
783 index = phm_get_voltage_index(lookup_table, in fiji_populate_cac_table()
786 convert_to_vid(lookup_table->entries[index].us_cac_low); in fiji_populate_cac_table()
788 convert_to_vid(lookup_table->entries[index].us_cac_high); in fiji_populate_cac_table()
/dragonfly/sys/dev/netif/iwn/
H A Dif_iwnreg.h1042 uint32_t lookup_table[12]; member
1061 uint32_t lookup_table[12]; member
H A Dif_iwn.c6541 btconfig2k.lookup_table[i] = htole32(btcoex_3wire[i]);
6561 btconfig.lookup_table[i] = htole32(btcoex_3wire[i]);