Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4174 uint16_t current_link_speed; in smu7_request_link_speed_change_before_state_change() local
4177 current_link_speed = smu7_get_maximum_link_speed(hwmgr, polaris10_cps); in smu7_request_link_speed_change_before_state_change()
4179 current_link_speed = data->force_pcie_gen; in smu7_request_link_speed_change_before_state_change()
4184 if (target_link_speed > current_link_speed) { in smu7_request_link_speed_change_before_state_change()
4191 if (current_link_speed == PP_PCIEGen2) in smu7_request_link_speed_change_before_state_change()
4204 if (target_link_speed < current_link_speed) in smu7_request_link_speed_change_before_state_change()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dci_dpm.c4812 enum radeon_pcie_gen current_link_speed; in ci_request_link_speed_change_before_state_change() local
4815 current_link_speed = ci_get_maximum_link_speed(rdev, radeon_current_state); in ci_request_link_speed_change_before_state_change()
4817 current_link_speed = pi->force_pcie_gen; in ci_request_link_speed_change_before_state_change()
4821 if (target_link_speed > current_link_speed) { in ci_request_link_speed_change_before_state_change()
4828 if (current_link_speed == RADEON_PCIE_GEN2) in ci_request_link_speed_change_before_state_change()
4841 if (target_link_speed < current_link_speed) in ci_request_link_speed_change_before_state_change()
Dsi_dpm.c5686 enum radeon_pcie_gen current_link_speed; in si_request_link_speed_change_before_state_change() local
5689 current_link_speed = si_get_maximum_link_speed(rdev, radeon_current_state); in si_request_link_speed_change_before_state_change()
5691 current_link_speed = si_pi->force_pcie_gen; in si_request_link_speed_change_before_state_change()
5695 if (target_link_speed > current_link_speed) { in si_request_link_speed_change_before_state_change()
5702 if (current_link_speed == RADEON_PCIE_GEN2) in si_request_link_speed_change_before_state_change()
5715 if (target_link_speed < current_link_speed) in si_request_link_speed_change_before_state_change()
/linux-6.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6217 enum si_pcie_gen current_link_speed; in si_request_link_speed_change_before_state_change() local
6220 current_link_speed = si_get_maximum_link_speed(adev, amdgpu_current_state); in si_request_link_speed_change_before_state_change()
6222 current_link_speed = si_pi->force_pcie_gen; in si_request_link_speed_change_before_state_change()
6226 if (target_link_speed > current_link_speed) { in si_request_link_speed_change_before_state_change()
6233 if (current_link_speed == SI_PCIE_GEN2) in si_request_link_speed_change_before_state_change()
6246 if (target_link_speed < current_link_speed) in si_request_link_speed_change_before_state_change()
/linux-6.12.1/drivers/pci/
Dpci-sysfs.c224 static DEVICE_ATTR_RO(current_link_speed);