Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dsumo_dpm.h90 struct sumo_vid_mapping_table vid_mapping_table; member
201 struct sumo_vid_mapping_table *vid_mapping_table,
204 struct sumo_vid_mapping_table *vid_mapping_table,
Dsumo_dpm.c1529 struct sumo_vid_mapping_table *vid_mapping_table, in sumo_convert_vid2_to_vid7() argument
1534 for (i = 0; i < vid_mapping_table->num_entries; i++) { in sumo_convert_vid2_to_vid7()
1535 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in sumo_convert_vid2_to_vid7()
1536 return vid_mapping_table->entries[i].vid_7bit; in sumo_convert_vid2_to_vid7()
1539 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in sumo_convert_vid2_to_vid7()
1544 struct sumo_vid_mapping_table *vid_mapping_table,
1549 for (i = 0; i < vid_mapping_table->num_entries; i++) {
1550 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit)
1551 return vid_mapping_table->entries[i].vid_2bit;
1554 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit;
[all …]
Dkv_dpm.c553 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid2_to_vid7() argument
566 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid2_to_vid7()
567 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7()
568 return vid_mapping_table->entries[i].vid_7bit; in kv_convert_vid2_to_vid7()
570 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in kv_convert_vid2_to_vid7()
575 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid7_to_vid2() argument
589 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid7_to_vid2()
590 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
591 return vid_mapping_table->entries[i].vid_2bit; in kv_convert_vid7_to_vid2()
594 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit; in kv_convert_vid7_to_vid2()
[all …]
Dtrinity_dpm.h89 struct sumo_vid_mapping_table vid_mapping_table; member
Dkv_dpm.h102 struct sumo_vid_mapping_table vid_mapping_table; member
Dtrinity_dpm.c639 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid()
1312 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in trinity_convert_voltage_index_to_value()
1911 sumo_construct_vid_mapping_table(rdev, &pi->sys_info.vid_mapping_table, in trinity_parse_sys_info_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c72 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid2_to_vid7() argument
85 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid2_to_vid7()
86 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7()
87 return vid_mapping_table->entries[i].vid_7bit; in kv_convert_vid2_to_vid7()
89 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in kv_convert_vid2_to_vid7()
94 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid7_to_vid2() argument
108 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid7_to_vid2()
109 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
110 return vid_mapping_table->entries[i].vid_2bit; in kv_convert_vid7_to_vid2()
113 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit; in kv_convert_vid7_to_vid2()
[all …]
Dkv_dpm.h128 struct sumo_vid_mapping_table vid_mapping_table; member