Home
last modified time | relevance | path

Searched refs:low_temp (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_thermal.c318 uint32_t low_temp, uint32_t high_temp) in smu7_thermal_set_temperature_range() argument
325 if (low < low_temp) in smu7_thermal_set_temperature_range()
326 low = low_temp; in smu7_thermal_set_temperature_range()
/drivers/gpu/drm/radeon/
Dr600_dpm.c743 int low_temp = 0 * 1000; in r600_set_thermal_temperature_range() local
746 if (low_temp < min_temp) in r600_set_thermal_temperature_range()
747 low_temp = min_temp; in r600_set_thermal_temperature_range()
750 if (high_temp < low_temp) { in r600_set_thermal_temperature_range()
751 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in r600_set_thermal_temperature_range()
756 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in r600_set_thermal_temperature_range()
759 rdev->pm.dpm.thermal.min_temp = low_temp; in r600_set_thermal_temperature_range()
Dtrinity_dpm.c1045 int low_temp = 0 * 1000; in trinity_set_thermal_temperature_range() local
1048 if (low_temp < min_temp) in trinity_set_thermal_temperature_range()
1049 low_temp = min_temp; in trinity_set_thermal_temperature_range()
1052 if (high_temp < low_temp) { in trinity_set_thermal_temperature_range()
1053 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in trinity_set_thermal_temperature_range()
1058 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); in trinity_set_thermal_temperature_range()
1060 rdev->pm.dpm.thermal.min_temp = low_temp; in trinity_set_thermal_temperature_range()
Dsumo_dpm.c1160 int low_temp = 0 * 1000; in sumo_set_thermal_temperature_range() local
1163 if (low_temp < min_temp) in sumo_set_thermal_temperature_range()
1164 low_temp = min_temp; in sumo_set_thermal_temperature_range()
1167 if (high_temp < low_temp) { in sumo_set_thermal_temperature_range()
1168 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in sumo_set_thermal_temperature_range()
1173 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(49 + (low_temp / 1000)), ~DIG_THERM_INTL_MASK); in sumo_set_thermal_temperature_range()
1175 rdev->pm.dpm.thermal.min_temp = low_temp; in sumo_set_thermal_temperature_range()
Drv770_dpm.c1872 int low_temp = 0 * 1000; in rv770_set_thermal_temperature_range() local
1875 if (low_temp < min_temp) in rv770_set_thermal_temperature_range()
1876 low_temp = min_temp; in rv770_set_thermal_temperature_range()
1879 if (high_temp < low_temp) { in rv770_set_thermal_temperature_range()
1880 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in rv770_set_thermal_temperature_range()
1885 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in rv770_set_thermal_temperature_range()
1888 rdev->pm.dpm.thermal.min_temp = low_temp; in rv770_set_thermal_temperature_range()
Dkv_dpm.c2454 int low_temp = 0 * 1000; in kv_set_thermal_temperature_range() local
2458 if (low_temp < min_temp) in kv_set_thermal_temperature_range()
2459 low_temp = min_temp; in kv_set_thermal_temperature_range()
2462 if (high_temp < low_temp) { in kv_set_thermal_temperature_range()
2463 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range()
2470 DIG_THERM_INTL(49 + (low_temp / 1000))); in kv_set_thermal_temperature_range()
2473 rdev->pm.dpm.thermal.min_temp = low_temp; in kv_set_thermal_temperature_range()
Dci_dpm.c870 int low_temp = 0 * 1000; in ci_thermal_set_temperature_range() local
874 if (low_temp < min_temp) in ci_thermal_set_temperature_range()
875 low_temp = min_temp; in ci_thermal_set_temperature_range()
878 if (high_temp < low_temp) { in ci_thermal_set_temperature_range()
879 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range()
886 CI_DIG_THERM_INTL(low_temp / 1000); in ci_thermal_set_temperature_range()
897 rdev->pm.dpm.thermal.min_temp = low_temp; in ci_thermal_set_temperature_range()
Dsi_dpm.c5982 int low_temp = 0 * 1000; in si_thermal_set_temperature_range() local
5985 if (low_temp < min_temp) in si_thermal_set_temperature_range()
5986 low_temp = min_temp; in si_thermal_set_temperature_range()
5989 if (high_temp < low_temp) { in si_thermal_set_temperature_range()
5990 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range()
5995 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in si_thermal_set_temperature_range()
5998 rdev->pm.dpm.thermal.min_temp = low_temp; in si_thermal_set_temperature_range()
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c2509 int low_temp = 0 * 1000; in kv_set_thermal_temperature_range() local
2513 if (low_temp < min_temp) in kv_set_thermal_temperature_range()
2514 low_temp = min_temp; in kv_set_thermal_temperature_range()
2517 if (high_temp < low_temp) { in kv_set_thermal_temperature_range()
2518 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in kv_set_thermal_temperature_range()
2526 ((49 + (low_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTL__SHIFT); in kv_set_thermal_temperature_range()
2529 adev->pm.dpm.thermal.min_temp = low_temp; in kv_set_thermal_temperature_range()
Dsi_dpm.c6420 int low_temp = 0 * 1000; in si_thermal_set_temperature_range() local
6423 if (low_temp < min_temp) in si_thermal_set_temperature_range()
6424 low_temp = min_temp; in si_thermal_set_temperature_range()
6427 if (high_temp < low_temp) { in si_thermal_set_temperature_range()
6428 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in si_thermal_set_temperature_range()
6433 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTL(low_temp / 1000), ~DIG_THERM_INTL_MASK); in si_thermal_set_temperature_range()
6436 adev->pm.dpm.thermal.min_temp = low_temp; in si_thermal_set_temperature_range()
Dci_dpm.c1006 int low_temp = 0 * 1000; in ci_thermal_set_temperature_range() local
1010 if (low_temp < min_temp) in ci_thermal_set_temperature_range()
1011 low_temp = min_temp; in ci_thermal_set_temperature_range()
1014 if (high_temp < low_temp) { in ci_thermal_set_temperature_range()
1015 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); in ci_thermal_set_temperature_range()
1022 ((low_temp / 1000)) << CG_THERMAL_INT__DIG_THERM_INTL__SHIFT; in ci_thermal_set_temperature_range()
1033 adev->pm.dpm.thermal.min_temp = low_temp; in ci_thermal_set_temperature_range()