Searched refs:vddc_sclk_table (Results 1 – 2 of 2) sorted by relevance
555 struct radeon_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid2_to_vid7() local559 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid2_to_vid7()560 if (vid_2bit < vddc_sclk_table->count) in kv_convert_vid2_to_vid7()561 return vddc_sclk_table->entries[vid_2bit].v; in kv_convert_vid2_to_vid7()563 return vddc_sclk_table->entries[vddc_sclk_table->count - 1].v; in kv_convert_vid2_to_vid7()577 struct radeon_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid7_to_vid2() local581 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid7_to_vid2()582 for (i = 0; i < vddc_sclk_table->count; i++) { in kv_convert_vid7_to_vid2()583 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()586 return vddc_sclk_table->count - 1; in kv_convert_vid7_to_vid2()
77 struct amdgpu_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid2_to_vid7() local81 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid2_to_vid7()82 if (vid_2bit < vddc_sclk_table->count) in kv_convert_vid2_to_vid7()83 return vddc_sclk_table->entries[vid_2bit].v; in kv_convert_vid2_to_vid7()85 return vddc_sclk_table->entries[vddc_sclk_table->count - 1].v; in kv_convert_vid2_to_vid7()99 struct amdgpu_clock_voltage_dependency_table *vddc_sclk_table = in kv_convert_vid7_to_vid2() local103 if (vddc_sclk_table && vddc_sclk_table->count) { in kv_convert_vid7_to_vid2()104 for (i = 0; i < vddc_sclk_table->count; i++) { in kv_convert_vid7_to_vid2()105 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()108 return vddc_sclk_table->count - 1; in kv_convert_vid7_to_vid2()