Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4110 uint16_t current_link_speed; in smu7_request_link_speed_change_before_state_change() local
4113 current_link_speed = smu7_get_maximum_link_speed(hwmgr, polaris10_cps); in smu7_request_link_speed_change_before_state_change()
4115 current_link_speed = data->force_pcie_gen; in smu7_request_link_speed_change_before_state_change()
4120 if (target_link_speed > current_link_speed) { in smu7_request_link_speed_change_before_state_change()
4127 if (current_link_speed == PP_PCIEGen2) in smu7_request_link_speed_change_before_state_change()
4140 if (target_link_speed < current_link_speed) in smu7_request_link_speed_change_before_state_change()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dsi_dpm.c5730 enum radeon_pcie_gen current_link_speed; in si_request_link_speed_change_before_state_change() local
5733 current_link_speed = si_get_maximum_link_speed(rdev, radeon_current_state); in si_request_link_speed_change_before_state_change()
5735 current_link_speed = si_pi->force_pcie_gen; in si_request_link_speed_change_before_state_change()
5739 if (target_link_speed > current_link_speed) { in si_request_link_speed_change_before_state_change()
5746 if (current_link_speed == RADEON_PCIE_GEN2) 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()
Dci_dpm.c4817 enum radeon_pcie_gen current_link_speed; in ci_request_link_speed_change_before_state_change() local
4820 current_link_speed = ci_get_maximum_link_speed(rdev, radeon_current_state); in ci_request_link_speed_change_before_state_change()
4822 current_link_speed = pi->force_pcie_gen; in ci_request_link_speed_change_before_state_change()
4826 if (target_link_speed > current_link_speed) { in ci_request_link_speed_change_before_state_change()
4833 if (current_link_speed == RADEON_PCIE_GEN2) 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()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6221 enum si_pcie_gen current_link_speed; in si_request_link_speed_change_before_state_change() local
6224 current_link_speed = si_get_maximum_link_speed(adev, amdgpu_current_state); in si_request_link_speed_change_before_state_change()
6226 current_link_speed = si_pi->force_pcie_gen; in si_request_link_speed_change_before_state_change()
6230 if (target_link_speed > current_link_speed) { in si_request_link_speed_change_before_state_change()
6237 if (current_link_speed == SI_PCIE_GEN2) 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()
/linux-6.1.9/drivers/pci/
Dpci-sysfs.c220 static DEVICE_ATTR_RO(current_link_speed);