Home
last modified time | relevance | path

Searched refs:current_power_state_index (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/radeon/
Dr600.c377 if (rdev->pm.current_power_state_index == min_power_state_index) { in r600_pm_get_dynpm_state()
378 rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; in r600_pm_get_dynpm_state()
385 else if (i >= rdev->pm.current_power_state_index) { in r600_pm_get_dynpm_state()
387 rdev->pm.current_power_state_index; in r600_pm_get_dynpm_state()
395 if (rdev->pm.current_power_state_index == 0) in r600_pm_get_dynpm_state()
400 rdev->pm.current_power_state_index - 1; in r600_pm_get_dynpm_state()
413 if (rdev->pm.current_power_state_index == (rdev->pm.num_power_states - 1)) { in r600_pm_get_dynpm_state()
414 rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; in r600_pm_get_dynpm_state()
421 else if (i <= rdev->pm.current_power_state_index) { in r600_pm_get_dynpm_state()
423 rdev->pm.current_power_state_index; in r600_pm_get_dynpm_state()
[all …]
Dr100.c219 if (rdev->pm.current_power_state_index == 0) { in r100_pm_get_dynpm_state()
220 rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; in r100_pm_get_dynpm_state()
227 else if (i >= rdev->pm.current_power_state_index) { in r100_pm_get_dynpm_state()
228 rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; in r100_pm_get_dynpm_state()
237 rdev->pm.current_power_state_index - 1; in r100_pm_get_dynpm_state()
247 if (rdev->pm.current_power_state_index == (rdev->pm.num_power_states - 1)) { in r100_pm_get_dynpm_state()
248 rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; in r100_pm_get_dynpm_state()
255 else if (i <= rdev->pm.current_power_state_index) { in r100_pm_get_dynpm_state()
256 rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; in r100_pm_get_dynpm_state()
265 rdev->pm.current_power_state_index + 1; in r100_pm_get_dynpm_state()
[all …]
Dradeon_pm.c173 (rdev->pm.requested_power_state_index == rdev->pm.current_power_state_index)) in radeon_set_power_state()
241 rdev->pm.current_power_state_index = rdev->pm.requested_power_state_index; in radeon_set_power_state()
254 (rdev->pm.requested_power_state_index == rdev->pm.current_power_state_index)) in radeon_pm_set_clocks()
1236 rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; in radeon_pm_resume_old()
Drs600.c304 rdev->pm.power_state[rdev->pm.current_power_state_index].pcie_lanes)) { in rs600_pm_misc()
Dradeon_combios.c2819 rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; in radeon_combios_get_power_modes()
2827 rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; in radeon_combios_get_power_modes()
Dradeon.h1631 int current_power_state_index; member
Dradeon_atombios.c2805 rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; in radeon_atombios_get_power_modes()