Searched refs:vid_mapping_table (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | sumo_dpm.h | 90 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,
|
D | sumo_dpm.c | 1529 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 …]
|
D | kv_dpm.c | 553 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 …]
|
D | trinity_dpm.h | 89 struct sumo_vid_mapping_table vid_mapping_table; member
|
D | kv_dpm.h | 102 struct sumo_vid_mapping_table vid_mapping_table; member
|
D | trinity_dpm.c | 639 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/ |
D | kv_dpm.c | 72 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 …]
|
D | kv_dpm.h | 128 struct sumo_vid_mapping_table vid_mapping_table; member
|