Home
last modified time | relevance | path

Searched refs:pwm_diff2 (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
2178 pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - in fiji_thermal_setup_fan_table()
2182 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 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
2125pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - hwmgr->thermal_contr… in iceland_thermal_setup_fan_table()
2128 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 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
2113 pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - in polaris10_thermal_setup_fan_table()
2117 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 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
2163pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - hwmgr->thermal_contr… in ci_thermal_setup_fan_table()
2166 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 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
2509 pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - in tonga_thermal_setup_fan_table()
2513 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 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
6061 pwm_diff2 = rdev->pm.dpm.fan.pwm_high - rdev->pm.dpm.fan.pwm_med; in si_thermal_setup_fan_table()
6064 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 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
988 pwm_diff2 = rdev->pm.dpm.fan.pwm_high - rdev->pm.dpm.fan.pwm_med; in ci_thermal_setup_fan_table()
991 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 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
6496 pwm_diff2 = adev->pm.dpm.fan.pwm_high - adev->pm.dpm.fan.pwm_med; in si_thermal_setup_fan_table()
6499 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in si_thermal_setup_fan_table()