Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/radeon/
Dsumo_dpm.h61 u16 vid_2bit; member
72 u16 vid_2bit; member
205 u32 vid_2bit);
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 …]
Dsumo_dpm.c1530 u32 vid_2bit) in sumo_convert_vid2_to_vid7() argument
1535 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in sumo_convert_vid2_to_vid7()
1551 return vid_mapping_table->entries[i].vid_2bit;
1554 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit;
1559 u32 vid_2bit) in sumo_convert_voltage_index_to_value() argument
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()
1604 sclk_voltage_mapping_table->entries[n].vid_2bit = in sumo_construct_sclk_voltage_mapping_table()
1624 vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit = in sumo_construct_vid_mapping_table()
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()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.h38 u16 vid_2bit; member
49 u16 vid_2bit; member
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()
169 vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit = in sumo_construct_vid_mapping_table()
687 u32 vid_2bit) in kv_convert_2bit_index_to_voltage() argument
692 vid_2bit); in kv_convert_2bit_index_to_voltage()
[all …]