Searched refs:vddc_sclk_table (Results 1 – 2 of 2) sorted by relevance
398 struct radeon_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid2_to_vid7() local402 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid2_to_vid7()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()406 return vddc_sclk_table->entries[vddc_sclk_table->count - 1].v; in kv_convert_vid2_to_vid7()420 struct radeon_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid7_to_vid2() local424 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid7_to_vid2()425 for (i = 0; i < vddc_sclk_table->count; i++) { in kv_convert_vid7_to_vid2()426 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()429 return vddc_sclk_table->count - 1; in kv_convert_vid7_to_vid2()
76 struct amdgpu_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid2_to_vid7() local80 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid2_to_vid7()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()84 return vddc_sclk_table->entries[vddc_sclk_table->count - 1].v; in kv_convert_vid2_to_vid7()98 struct amdgpu_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid7_to_vid2() local102 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid7_to_vid2()103 for (i = 0; i < vddc_sclk_table->count; i++) { in kv_convert_vid7_to_vid2()104 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()107 return vddc_sclk_table->count - 1; in kv_convert_vid7_to_vid2()