Searched refs:vid_7bit (Results 1 – 6 of 6) sorted by relevance
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()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() local1564 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 …]
62 u16 vid_7bit; member
639 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid() local645 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() local1315 u32 delta = vid_7bit * step + 50; in trinity_convert_voltage_index_to_value()
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()576 u32 vid_7bit) in kv_convert_vid7_to_vid2() argument584 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()
39 u16 vid_7bit; member
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()95 u32 vid_7bit) in kv_convert_vid7_to_vid2() argument103 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()