Lines Matching refs:vddc
246 static u8 ci_convert_to_vid(u16 vddc) in ci_convert_to_vid() argument
248 return (6200 - (vddc * VOLTAGE_SCALE)) / 25; in ci_convert_to_vid()
273 lo_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc); in ci_populate_bapm_vddc_vid_sidd()
1317 u16 vddc, vddci; in ci_get_leakage_voltages() local
1326 if (radeon_atom_get_voltage_evv(rdev, virtual_voltage_id, &vddc) != 0) in ci_get_leakage_voltages()
1328 if (vddc != 0 && vddc != virtual_voltage_id) { in ci_get_leakage_voltages()
1329 pi->vddc_leakage.actual_voltage[pi->vddc_leakage.count] = vddc; in ci_get_leakage_voltages()
1337 if (radeon_atom_get_leakage_vddc_based_on_leakage_params(rdev, &vddc, &vddci, in ci_get_leakage_voltages()
1340 if (vddc != 0 && vddc != virtual_voltage_id) { in ci_get_leakage_voltages()
1341 pi->vddc_leakage.actual_voltage[pi->vddc_leakage.count] = vddc; in ci_get_leakage_voltages()
2313 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[idx].vddc * VOLTAGE_SCALE; in ci_get_std_voltage_value_sidd()
2330 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[idx].vddc * VOLTAGE_SCALE; in ci_get_std_voltage_value_sidd()
3909 if (rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { in ci_enable_uvd_dpm()
3957 if (rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { in ci_enable_vce_dpm()
3990 … if (rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) {
4021 if (rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) {
4915 rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddc = in ci_set_private_data_variables_based_on_pptable()
4923 static void ci_patch_with_vddc_leakage(struct radeon_device *rdev, u16 *vddc) in ci_patch_with_vddc_leakage() argument
4930 if (leakage_table->leakage_id[leakage_index] == *vddc) { in ci_patch_with_vddc_leakage()
4931 *vddc = leakage_table->actual_voltage[leakage_index]; in ci_patch_with_vddc_leakage()
5010 ci_patch_with_vddc_leakage(rdev, (u16 *)&table->vddc); in ci_patch_clock_voltage_limits_with_vddc_leakage()
5022 ci_patch_with_vddc_leakage(rdev, &table->entries[i].vddc); in ci_patch_cac_leakage_table_with_vddc_leakage()