Home
last modified time | relevance | path

Searched refs:vid_7bit (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/radeon/
Dsumo_dpm.c1536 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()
1545 u32 vid_7bit)
1550 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit)
1562 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in sumo_convert_voltage_index_to_value() local
1564 if (vid_7bit > 0x7C) in sumo_convert_voltage_index_to_value()
1567 return (15500 - vid_7bit * 125 + 5) / 10; in sumo_convert_voltage_index_to_value()
1622 vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = in sumo_construct_vid_mapping_table()
1630 if (vid_mapping_table->entries[i].vid_7bit == 0) { in sumo_construct_vid_mapping_table()
1632 if (vid_mapping_table->entries[j].vid_7bit != 0) { in sumo_construct_vid_mapping_table()
[all …]
Dsumo_dpm.h62 u16 vid_7bit; member
Dtrinity_dpm.c639 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid() local
645 value |= VID(vid_7bit); 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() local
1315 u32 delta = vid_7bit * step + 50; in trinity_convert_voltage_index_to_value()
Dkv_dpm.c568 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()
576 u32 vid_7bit) in kv_convert_vid7_to_vid2() argument
584 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()
590 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.h39 u16 vid_7bit; member
Dkv_dpm.c87 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()
95 u32 vid_7bit) in kv_convert_vid7_to_vid2() argument
103 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()
109 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
166 vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = in sumo_construct_vid_mapping_table()
174 if (vid_mapping_table->entries[i].vid_7bit == 0) { in sumo_construct_vid_mapping_table()
176 if (vid_mapping_table->entries[j].vid_7bit != 0) { in sumo_construct_vid_mapping_table()
179 vid_mapping_table->entries[j].vid_7bit = 0; in sumo_construct_vid_mapping_table()