Searched refs:vid_mapping_table (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | sumo_dpm.h | 89 struct sumo_vid_mapping_table vid_mapping_table; member 200 struct sumo_vid_mapping_table *vid_mapping_table, 203 struct sumo_vid_mapping_table *vid_mapping_table,
|
D | sumo_dpm.c | 1530 struct sumo_vid_mapping_table *vid_mapping_table, in sumo_convert_vid2_to_vid7() argument 1535 for (i = 0; i < vid_mapping_table->num_entries; i++) { in sumo_convert_vid2_to_vid7() 1536 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in sumo_convert_vid2_to_vid7() 1537 return vid_mapping_table->entries[i].vid_7bit; in sumo_convert_vid2_to_vid7() 1540 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in sumo_convert_vid2_to_vid7() 1545 struct sumo_vid_mapping_table *vid_mapping_table, 1550 for (i = 0; i < vid_mapping_table->num_entries; i++) { 1551 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) 1552 return vid_mapping_table->entries[i].vid_2bit; 1555 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit; [all …]
|
D | kv_dpm.c | 552 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid2_to_vid7() argument 565 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid2_to_vid7() 566 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7() 567 return vid_mapping_table->entries[i].vid_7bit; in kv_convert_vid2_to_vid7() 569 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in kv_convert_vid2_to_vid7() 574 struct sumo_vid_mapping_table *vid_mapping_table, in kv_convert_vid7_to_vid2() argument 588 for (i = 0; i < vid_mapping_table->num_entries; i++) { in kv_convert_vid7_to_vid2() 589 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2() 590 return vid_mapping_table->entries[i].vid_2bit; in kv_convert_vid7_to_vid2() 593 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 | 638 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid() 1311 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in trinity_convert_voltage_index_to_value() 1910 sumo_construct_vid_mapping_table(rdev, &pi->sys_info.vid_mapping_table, in trinity_parse_sys_info_table()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | kv_dpm.c | 73 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 …]
|
D | kv_dpm.h | 128 struct sumo_vid_mapping_table vid_mapping_table; member
|