Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smc.c1955 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in fiji_thermal_setup_fan_table() local
1994 pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - in fiji_thermal_setup_fan_table()
1998 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in fiji_thermal_setup_fan_table()
Diceland_smc.c2000 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in iceland_thermal_setup_fan_table() local
2035pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - hwmgr->thermal_contr… in iceland_thermal_setup_fan_table()
2038 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in iceland_thermal_setup_fan_table()
Dpolaris10_smc.c1882 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in polaris10_thermal_setup_fan_table() local
1921 pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - in polaris10_thermal_setup_fan_table()
1925 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in polaris10_thermal_setup_fan_table()
Dtonga_smc.c2489 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in tonga_thermal_setup_fan_table() local
2532 pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - in tonga_thermal_setup_fan_table()
2536 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in tonga_thermal_setup_fan_table()
/drivers/gpu/drm/radeon/
Dci_dpm.c965 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
991 pwm_diff2 = rdev->pm.dpm.fan.pwm_high - rdev->pm.dpm.fan.pwm_med; in ci_thermal_setup_fan_table()
994 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in ci_thermal_setup_fan_table()
Dsi_dpm.c6087 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in si_thermal_setup_fan_table() local
6113 pwm_diff2 = rdev->pm.dpm.fan.pwm_high - rdev->pm.dpm.fan.pwm_med; in si_thermal_setup_fan_table()
6116 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in si_thermal_setup_fan_table()
/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.c1084 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
1111 pwm_diff2 = adev->pm.dpm.fan.pwm_high - adev->pm.dpm.fan.pwm_med; in ci_thermal_setup_fan_table()
1114 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in ci_thermal_setup_fan_table()
Dsi_dpm.c6544 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in si_thermal_setup_fan_table() local
6570 pwm_diff2 = adev->pm.dpm.fan.pwm_high - adev->pm.dpm.fan.pwm_med; in si_thermal_setup_fan_table()
6573 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in si_thermal_setup_fan_table()