Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dsumo_dpm.c1531 struct sumo_vid_mapping_table *vid_mapping_table, in sumo_convert_vid2_to_vid7() argument
1536 for (i = 0; i < vid_mapping_table->num_entries; i++) { in sumo_convert_vid2_to_vid7()
1537 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in sumo_convert_vid2_to_vid7()
1538 return vid_mapping_table->entries[i].vid_7bit; in sumo_convert_vid2_to_vid7()
1541 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in sumo_convert_vid2_to_vid7()
1546 struct sumo_vid_mapping_table *vid_mapping_table,
1551 for (i = 0; i < vid_mapping_table->num_entries; i++) {
1552 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit)
1553 return vid_mapping_table->entries[i].vid_2bit;
1556 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit;
[all …]
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,
Dkv_dpm.c395 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid2_to_vid7() argument
408 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid2_to_vid7()
409 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7()
410 return vid_mapping_table->entries[i].vid_7bit; in kv_convert_vid2_to_vid7()
412 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in kv_convert_vid2_to_vid7()
417 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid7_to_vid2() argument
431 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid7_to_vid2()
432 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
433 return vid_mapping_table->entries[i].vid_2bit; in kv_convert_vid7_to_vid2()
436 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.c595 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid()
1268 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in trinity_convert_voltage_index_to_value()
1869 sumo_construct_vid_mapping_table(rdev, &pi->sys_info.vid_mapping_table, in trinity_parse_sys_info_table()
/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c73 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid2_to_vid7() argument
86 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid2_to_vid7()
87 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7()
88 return vid_mapping_table->entries[i].vid_7bit; in kv_convert_vid2_to_vid7()
90 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in kv_convert_vid2_to_vid7()
95 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid7_to_vid2() argument
109 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid7_to_vid2()
110 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
111 return vid_mapping_table->entries[i].vid_2bit; in kv_convert_vid7_to_vid2()
114 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