Home
last modified time | relevance | path

Searched refs:t_diff1 (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smumgr.c2139 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in fiji_thermal_setup_fan_table() local
2171 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - in fiji_thermal_setup_fan_table()
2181 slope1 = (uint16_t)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in fiji_thermal_setup_fan_table()
Diceland_smumgr.c2090 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in iceland_thermal_setup_fan_table() local
2121t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - hwmgr->thermal_controller… in iceland_thermal_setup_fan_table()
2127 slope1 = (uint16_t)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in iceland_thermal_setup_fan_table()
Dpolaris10_smumgr.c2070 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in polaris10_thermal_setup_fan_table() local
2106 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - in polaris10_thermal_setup_fan_table()
2116 slope1 = (uint16_t)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in polaris10_thermal_setup_fan_table()
Dci_smumgr.c2128 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
2159t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - hwmgr->thermal_controller… in ci_thermal_setup_fan_table()
2165 slope1 = (uint16_t)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in ci_thermal_setup_fan_table()
Dtonga_smumgr.c2466 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in tonga_thermal_setup_fan_table() local
2502 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - in tonga_thermal_setup_fan_table()
2512 slope1 = (uint16_t)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in tonga_thermal_setup_fan_table()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dsi_dpm.c6035 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in si_thermal_setup_fan_table() local
6057 t_diff1 = rdev->pm.dpm.fan.t_med - rdev->pm.dpm.fan.t_min; in si_thermal_setup_fan_table()
6063 slope1 = (u16)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in si_thermal_setup_fan_table()
Dci_dpm.c962 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
984 t_diff1 = rdev->pm.dpm.fan.t_med - rdev->pm.dpm.fan.t_min; in ci_thermal_setup_fan_table()
990 slope1 = (u16)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in ci_thermal_setup_fan_table()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c6470 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in si_thermal_setup_fan_table() local
6492 t_diff1 = adev->pm.dpm.fan.t_med - adev->pm.dpm.fan.t_min; in si_thermal_setup_fan_table()
6498 slope1 = (u16)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in si_thermal_setup_fan_table()