Home
last modified time | relevance | path

Searched refs:target_link_speed (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4165 uint16_t target_link_speed = smu7_get_maximum_link_speed(hwmgr, smu7_nps); in smu7_request_link_speed_change_before_state_change() local
4176 if (target_link_speed > current_link_speed) { in smu7_request_link_speed_change_before_state_change()
4177 switch (target_link_speed) { in smu7_request_link_speed_change_before_state_change()
4196 if (target_link_speed < current_link_speed) in smu7_request_link_speed_change_before_state_change()
4407 uint16_t target_link_speed = smu7_get_maximum_link_speed(hwmgr, smu7_ps); in smu7_notify_link_speed_change_after_state_change() local
4411 if (target_link_speed == PP_PCIEGen3) in smu7_notify_link_speed_change_after_state_change()
4413 else if (target_link_speed == PP_PCIEGen2) in smu7_notify_link_speed_change_after_state_change()
4424 if (PP_PCIEGen2 == target_link_speed) in smu7_notify_link_speed_change_after_state_change()
/drivers/gpu/drm/radeon/
Dsi_dpm.c5729 enum radeon_pcie_gen target_link_speed = si_get_maximum_link_speed(rdev, radeon_new_state); in si_request_link_speed_change_before_state_change() local
5739 if (target_link_speed > current_link_speed) { in si_request_link_speed_change_before_state_change()
5740 switch (target_link_speed) { in si_request_link_speed_change_before_state_change()
5759 if (target_link_speed < current_link_speed) in si_request_link_speed_change_before_state_change()
5769 enum radeon_pcie_gen target_link_speed = si_get_maximum_link_speed(rdev, radeon_new_state); in si_notify_link_speed_change_after_state_change() local
5773 if (target_link_speed == RADEON_PCIE_GEN3) in si_notify_link_speed_change_after_state_change()
5775 else if (target_link_speed == RADEON_PCIE_GEN2) in si_notify_link_speed_change_after_state_change()
Dci_dpm.c4815 enum radeon_pcie_gen target_link_speed = in ci_request_link_speed_change_before_state_change() local
4826 if (target_link_speed > current_link_speed) { in ci_request_link_speed_change_before_state_change()
4827 switch (target_link_speed) { in ci_request_link_speed_change_before_state_change()
4846 if (target_link_speed < current_link_speed) in ci_request_link_speed_change_before_state_change()
4856 enum radeon_pcie_gen target_link_speed = in ci_notify_link_speed_change_after_state_change() local
4861 if (target_link_speed == RADEON_PCIE_GEN3) in ci_notify_link_speed_change_after_state_change()
4863 else if (target_link_speed == RADEON_PCIE_GEN2) in ci_notify_link_speed_change_after_state_change()
/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6220 enum si_pcie_gen target_link_speed = si_get_maximum_link_speed(adev, amdgpu_new_state); in si_request_link_speed_change_before_state_change() local
6230 if (target_link_speed > current_link_speed) { in si_request_link_speed_change_before_state_change()
6231 switch (target_link_speed) { in si_request_link_speed_change_before_state_change()
6250 if (target_link_speed < current_link_speed) in si_request_link_speed_change_before_state_change()
6260 enum si_pcie_gen target_link_speed = si_get_maximum_link_speed(adev, amdgpu_new_state); in si_notify_link_speed_change_after_state_change() local
6264 if (target_link_speed == SI_PCIE_GEN3) in si_notify_link_speed_change_after_state_change()
6266 else if (target_link_speed == SI_PCIE_GEN2) in si_notify_link_speed_change_after_state_change()
/drivers/bus/mhi/host/
Dmain.c847 link_info->target_link_speed = in mhi_process_ctrl_ev_ring()