Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dsumo_dpm.h61 u16 vid_2bit; member
72 u16 vid_2bit; member
205 u32 vid_2bit);
H A Dkv_dpm.c396 u32 vid_2bit) in kv_convert_vid2_to_vid7() argument
403 if (vid_2bit < vddc_sclk_table->count) in kv_convert_vid2_to_vid7()
404 return vddc_sclk_table->entries[vid_2bit].v; in kv_convert_vid2_to_vid7()
409 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7()
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()
447 u32 vid_2bit) in kv_convert_2bit_index_to_voltage() argument
452 vid_2bit); in kv_convert_2bit_index_to_voltage()
1775 pi->sys_info.sclk_voltage_mapping_table.entries[idx].vid_2bit); in kv_construct_max_power_limits_table()
1923 (kv_convert_2bit_index_to_voltage(rdev, table->entries[i].vid_2bit) <= in kv_get_high_voltage_limit()
[all …]
H A Dsumo_dpm.c1532 u32 vid_2bit) in sumo_convert_vid2_to_vid7() argument
1537 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in sumo_convert_vid2_to_vid7()
1553 return vid_mapping_table->entries[i].vid_2bit;
1556 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit;
1561 u32 vid_2bit) in sumo_convert_voltage_index_to_value() argument
1564 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in sumo_convert_voltage_index_to_value()
1606 sclk_voltage_mapping_table->entries[n].vid_2bit = in sumo_construct_sclk_voltage_mapping_table()
1628 vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit = in sumo_construct_vid_mapping_table()
H A Dtrinity_dpm.c1265 u32 vid_2bit) in trinity_convert_voltage_index_to_value() argument
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()
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.h38 u16 vid_2bit; member
49 u16 vid_2bit; member
H A Dkv_dpm.c74 u32 vid_2bit) in kv_convert_vid2_to_vid7() argument
81 if (vid_2bit < vddc_sclk_table->count) in kv_convert_vid2_to_vid7()
82 return vddc_sclk_table->entries[vid_2bit].v; in kv_convert_vid2_to_vid7()
87 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7()
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()
149 sclk_voltage_mapping_table->entries[n].vid_2bit = in sumo_construct_sclk_voltage_mapping_table()
171 vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit = in sumo_construct_vid_mapping_table()
676 u32 vid_2bit) in kv_convert_2bit_index_to_voltage() argument
681 vid_2bit); in kv_convert_2bit_index_to_voltage()
[all …]