Lines Matching refs:voltage
425 * (voltage, etc.) (evergreen+).
432 struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage;
434 if (voltage->type == VOLTAGE_SW) {
435 /* 0xff01 is a flag rather then an actual voltage */
436 if (voltage->voltage == 0xff01)
438 if (voltage->voltage && (voltage->voltage != rdev->pm.current_vddc)) {
439 radeon_atom_set_voltage(rdev, voltage->voltage, SET_VOLTAGE_TYPE_ASIC_VDDC);
440 rdev->pm.current_vddc = voltage->voltage;
441 DRM_DEBUG("Setting: vddc: %d\n", voltage->voltage);
453 voltage = &rdev->pm.power_state[req_ps_idx].
454 clock_info[rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx].voltage;
456 /* 0xff01 is a flag rather then an actual voltage */
457 if (voltage->vddci == 0xff01)
459 if (voltage->vddci && (voltage->vddci != rdev->pm.current_vddci)) {
460 radeon_atom_set_voltage(rdev, voltage->vddci, SET_VOLTAGE_TYPE_ASIC_VDDCI);
461 rdev->pm.current_vddci = voltage->vddci;
462 DRM_DEBUG("Setting: vddci: %d\n", voltage->vddci);