Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c305 phm_ppt_v1_voltage_lookup_table *lookup_table) in phm_get_svi2_vdd_voltage_table() argument
309 PP_ASSERT_WITH_CODE((0 != lookup_table->count), in phm_get_svi2_vdd_voltage_table()
318 vol_table->count = lookup_table->count; in phm_get_svi2_vdd_voltage_table()
321 vol_table->entries[i].value = lookup_table->entries[i].us_vdd; in phm_get_svi2_vdd_voltage_table()
390 struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t voltage) in phm_get_voltage_index() argument
392 uint8_t count = (uint8_t) (lookup_table->count); in phm_get_voltage_index()
395 PP_ASSERT_WITH_CODE((NULL != lookup_table), in phm_get_voltage_index()
400 for (i = 0; i < lookup_table->count; i++) { in phm_get_voltage_index()
402 if (lookup_table->entries[i].us_vdd >= voltage) in phm_get_voltage_index()
461 phm_ppt_v1_voltage_lookup_table *lookup_table, in phm_get_sclk_for_voltage_evv() argument
[all …]
Dsmu_helper.h78 …_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_voltage_lookup_table *lookup_table);
85 extern uint8_t phm_get_voltage_index(struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t…
88 …phm_get_sclk_for_voltage_evv(struct pp_hwmgr *hwmgr, phm_ppt_v1_voltage_lookup_table *lookup_table,
Dsmu7_hwmgr.c2174 phm_ppt_v1_voltage_lookup_table *lookup_table, in smu7_patch_lookup_table_with_leakage() argument
2179 for (i = 0; i < lookup_table->count; i++) in smu7_patch_lookup_table_with_leakage()
2181 &lookup_table->entries[i].us_vdd, leakage_table); in smu7_patch_lookup_table_with_leakage()
2350 struct phm_ppt_v1_voltage_lookup_table *lookup_table) in smu7_sort_lookup_table() argument
2353 table_size = lookup_table->count; in smu7_sort_lookup_table()
2355 PP_ASSERT_WITH_CODE(0 != lookup_table->count, in smu7_sort_lookup_table()
2361 if (lookup_table->entries[j].us_vdd < in smu7_sort_lookup_table()
2362 lookup_table->entries[j - 1].us_vdd) { in smu7_sort_lookup_table()
2363 swap(lookup_table->entries[j - 1], in smu7_sort_lookup_table()
2364 lookup_table->entries[j]); in smu7_sort_lookup_table()
[all …]
Dvega10_hwmgr.c525 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_get_socclk_for_voltage_evv() argument
533 PP_ASSERT_WITH_CODE(lookup_table->count != 0, in vega10_get_socclk_for_voltage_evv()
540 if (lookup_table->entries[voltage_id].us_vdd == virtual_voltage_id) in vega10_get_socclk_for_voltage_evv()
645 phm_ppt_v1_voltage_lookup_table *lookup_table, in vega10_patch_lookup_table_with_leakage() argument
650 for (i = 0; i < lookup_table->count; i++) in vega10_patch_lookup_table_with_leakage()
652 &lookup_table->entries[i].us_vdd, leakage_table); in vega10_patch_lookup_table_with_leakage()
721 struct phm_ppt_v1_voltage_lookup_table *lookup_table) in vega10_sort_lookup_table() argument
725 PP_ASSERT_WITH_CODE(lookup_table && lookup_table->count, in vega10_sort_lookup_table()
728 table_size = lookup_table->count; in vega10_sort_lookup_table()
733 if (lookup_table->entries[j].us_vdd < in vega10_sort_lookup_table()
[all …]
Dprocess_pptables_v1_0.c155 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument
188 *lookup_table = table; in get_vddc_lookup_table()
Dvega10_processpptables.c1034 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument
1054 *lookup_table = table; in get_vddc_lookup_table()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
D980506-3.c1 unsigned char lookup_table [257]; variable
11 memset (lookup_table, ++m, 257);
/openbsd/src/gnu/usr.bin/binutils/gdb/mi/
Dmi-cmds.c31 static struct mi_cmd **lookup_table (const char *command);
185 return *lookup_table (command); in mi_lookup()
199 lookup_table (const char *command) in lookup_table() function
241 struct mi_cmd **entry = lookup_table (command->name); in build_table()
DChangeLog-1999-20031753 * mi-cmds.c (lookup_table): Fix typo.
1968 (lookup_table): New function. Replaces old mi_lookup() for local
/openbsd/src/usr.sbin/nsd/
Dutil.h135 typedef struct lookup_table lookup_table_type;
136 struct lookup_table { struct
/openbsd/src/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
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()
Dpolaris10_smumgr.c749 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in polaris10_populate_cac_table() local
756 for (count = 0; count < lookup_table->count; count++) { in polaris10_populate_cac_table()
757 index = phm_get_voltage_index(lookup_table, in polaris10_populate_cac_table()
759 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()
Dfiji_smumgr.c762 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in fiji_populate_cac_table() local
770 for (count = 0; count < lookup_table->count; count++) { in fiji_populate_cac_table()
771 index = phm_get_voltage_index(lookup_table, in fiji_populate_cac_table()
774 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()
/openbsd/src/sys/dev/pci/
Dif_iwnreg.h980 uint32_t lookup_table[12]; member
998 uint32_t lookup_table[12]; member
Dif_iwn.c4864 btconfig.lookup_table[i] = htole32(btcoex_3wire[i]); in iwn_send_advanced_btcoex()
4886 btconfig.lookup_table[i] = htole32(btcoex_3wire[i]); in iwn_send_advanced_btcoex()