/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
H A D | amdgpu_smu_helper.c | 309 phm_ppt_v1_voltage_lookup_table *lookup_table) in phm_get_svi2_vdd_voltage_table() argument 313 PP_ASSERT_WITH_CODE((0 != lookup_table->count), in phm_get_svi2_vdd_voltage_table() 322 vol_table->count = lookup_table->count; in phm_get_svi2_vdd_voltage_table() 325 vol_table->entries[i].value = lookup_table->entries[i].us_vdd; in phm_get_svi2_vdd_voltage_table() 394 struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t voltage) in phm_get_voltage_index() argument 396 uint8_t count = (uint8_t) (lookup_table->count); in phm_get_voltage_index() 399 PP_ASSERT_WITH_CODE((NULL != lookup_table), in phm_get_voltage_index() 404 for (i = 0; i < lookup_table->count; i++) { in phm_get_voltage_index() 406 if (lookup_table->entries[i].us_vdd >= voltage) in phm_get_voltage_index() 465 phm_ppt_v1_voltage_lookup_table *lookup_table, in phm_get_sclk_for_voltage_evv() argument [all …]
|
H A D | smu_helper.h | 80 …_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_voltage_lookup_table *lookup_table); 87 extern uint8_t phm_get_voltage_index(struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t… 90 …phm_get_sclk_for_voltage_evv(struct pp_hwmgr *hwmgr, phm_ppt_v1_voltage_lookup_table *lookup_table,
|
H A D | amdgpu_smu7_hwmgr.c | 1827 phm_ppt_v1_voltage_lookup_table *lookup_table, in smu7_patch_lookup_table_with_leakage() argument 1832 for (i = 0; i < lookup_table->count; i++) in smu7_patch_lookup_table_with_leakage() 1834 &lookup_table->entries[i].us_vdd, leakage_table); in smu7_patch_lookup_table_with_leakage() 2003 struct phm_ppt_v1_voltage_lookup_table *lookup_table) in smu7_sort_lookup_table() argument 2006 table_size = lookup_table->count; in smu7_sort_lookup_table() 2008 PP_ASSERT_WITH_CODE(0 != lookup_table->count, in smu7_sort_lookup_table() 2014 if (lookup_table->entries[j].us_vdd < in smu7_sort_lookup_table() 2015 lookup_table->entries[j - 1].us_vdd) { in smu7_sort_lookup_table() 2016 swap(lookup_table->entries[j - 1], in smu7_sort_lookup_table() 2017 lookup_table->entries[j]); in smu7_sort_lookup_table() [all …]
|
H A D | amdgpu_vega10_hwmgr.c | 523 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_get_socclk_for_voltage_evv() argument 531 PP_ASSERT_WITH_CODE(lookup_table->count != 0, in vega10_get_socclk_for_voltage_evv() 538 if (lookup_table->entries[voltage_id].us_vdd == virtual_voltage_id) in vega10_get_socclk_for_voltage_evv() 643 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_patch_lookup_table_with_leakage() argument 648 for (i = 0; i < lookup_table->count; i++) in vega10_patch_lookup_table_with_leakage() 650 &lookup_table->entries[i].us_vdd, leakage_table); in vega10_patch_lookup_table_with_leakage() 719 struct phm_ppt_v1_voltage_lookup_table *lookup_table) in vega10_sort_lookup_table() argument 723 PP_ASSERT_WITH_CODE(lookup_table && lookup_table->count, in vega10_sort_lookup_table() 726 table_size = lookup_table->count; in vega10_sort_lookup_table() 731 if (lookup_table->entries[j].us_vdd < in vega10_sort_lookup_table() [all …]
|
H A D | amdgpu_process_pptables_v1_0.c | 160 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument 197 *lookup_table = table; in get_vddc_lookup_table()
|
H A D | amdgpu_vega10_processpptables.c | 1070 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument 1094 *lookup_table = table; in get_vddc_lookup_table()
|
/netbsd-src/external/bsd/nsd/dist/ |
H A D | util.h | 126 typedef struct lookup_table lookup_table_type; 127 struct lookup_table { struct
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/ |
H A D | amdgpu_vegam_smumgr.c | 512 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in vegam_populate_cac_table() local 519 for (count = 0; count < lookup_table->count; count++) { in vegam_populate_cac_table() 520 index = phm_get_voltage_index(lookup_table, in vegam_populate_cac_table() 523 convert_to_vid(lookup_table->entries[index].us_cac_low); in vegam_populate_cac_table() 525 convert_to_vid(lookup_table->entries[index].us_cac_mid); in vegam_populate_cac_table() 527 convert_to_vid(lookup_table->entries[index].us_cac_high); in vegam_populate_cac_table()
|
H A D | amdgpu_polaris10_smumgr.c | 711 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in polaris10_populate_cac_table() local 718 for (count = 0; count < lookup_table->count; count++) { in polaris10_populate_cac_table() 719 index = phm_get_voltage_index(lookup_table, in polaris10_populate_cac_table() 721 table->BapmVddcVidLoSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_low); in polaris10_populate_cac_table() 722 table->BapmVddcVidHiSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_mid); in polaris10_populate_cac_table() 723 table->BapmVddcVidHiSidd2[count] = convert_to_vid(lookup_table->entries[index].us_cac_high); in polaris10_populate_cac_table()
|
H A D | amdgpu_fiji_smumgr.c | 769 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in fiji_populate_cac_table() local 777 for (count = 0; count < lookup_table->count; count++) { in fiji_populate_cac_table() 778 index = phm_get_voltage_index(lookup_table, in fiji_populate_cac_table() 781 convert_to_vid(lookup_table->entries[index].us_cac_low); in fiji_populate_cac_table() 783 convert_to_vid(lookup_table->entries[index].us_cac_high); in fiji_populate_cac_table()
|
/netbsd-src/external/gpl3/gdb/dist/gdb/mi/ |
H A D | ChangeLog-1999-2003 | 1753 * mi-cmds.c (lookup_table): Fix typo. 1968 (lookup_table): New function. Replaces old mi_lookup() for local
|
/netbsd-src/external/gpl3/gdb.old/dist/gdb/mi/ |
H A D | ChangeLog-1999-2003 | 1753 * mi-cmds.c (lookup_table): Fix typo. 1968 (lookup_table): New function. Replaces old mi_lookup() for local
|