Searched refs:vid_mapping_table (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/radeon/ |
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 | 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 | kv_dpm.c | 395 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 …]
|
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 | 595 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() 1867 sumo_construct_vid_mapping_table(rdev, &pi->sys_info.vid_mapping_table, in trinity_parse_sys_info_table()
|
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/ |
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
|