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
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()418 u32 vid_7bit) in kv_convert_vid7_to_vid2() argument426 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()432 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
595 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid() local601 value |= VID(vid_7bit); 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() local1271 u32 delta = vid_7bit * step + 50; in trinity_convert_voltage_index_to_value()
39 u16 vid_7bit; member
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()96 u32 vid_7bit) in kv_convert_vid7_to_vid2() argument104 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()110 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()167 vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = in sumo_construct_vid_mapping_table()175 if (vid_mapping_table->entries[i].vid_7bit == 0) { in sumo_construct_vid_mapping_table()177 if (vid_mapping_table->entries[j].vid_7bit != 0) { in sumo_construct_vid_mapping_table()180 vid_mapping_table->entries[j].vid_7bit = 0; in sumo_construct_vid_mapping_table()