Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A 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()
1624 vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = in sumo_construct_vid_mapping_table()
1632 if (vid_mapping_table->entries[i].vid_7bit == 0) { in sumo_construct_vid_mapping_table()
1634 if (vid_mapping_table->entries[j].vid_7bit != 0) { in sumo_construct_vid_mapping_table()
[all …]
H A Dsumo_dpm.h62 u16 vid_7bit; member
H A Dkv_dpm.c409 return vid_mapping_table->entries[i].vid_7bit; in kv_convert_vid2_to_vid7()
411 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in kv_convert_vid2_to_vid7()
417 u32 vid_7bit) in kv_convert_vid7_to_vid2() argument
425 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()
431 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
H A Dtrinity_dpm.c591 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid() local
597 value |= VID(vid_7bit); in trinity_set_vid()
1264 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
1267 u32 delta = vid_7bit * step + 50; in trinity_convert_voltage_index_to_value()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.h39 u16 vid_7bit; member