Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c2134 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in fiji_thermal_setup_fan_table() local
2171 pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - in fiji_thermal_setup_fan_table()
2176 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
2124pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - hwmgr->thermal_contro… 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.c2172 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in polaris10_thermal_setup_fan_table() local
2213 pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - in polaris10_thermal_setup_fan_table()
2218 slope1 = (uint16_t)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in polaris10_thermal_setup_fan_table()
Dci_smumgr.c2130 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
2164pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - hwmgr->thermal_contro… in ci_thermal_setup_fan_table()
2167 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
2507 pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - 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-6.6.21/drivers/gpu/drm/radeon/
Dci_dpm.c937 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
962 pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; in ci_thermal_setup_fan_table()
965 slope1 = (u16)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in ci_thermal_setup_fan_table()
Dsi_dpm.c6015 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in si_thermal_setup_fan_table() local
6040 pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; in si_thermal_setup_fan_table()
6043 slope1 = (u16)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in si_thermal_setup_fan_table()
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6489 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in si_thermal_setup_fan_table() local
6514 pwm_diff1 = adev->pm.dpm.fan.pwm_med - adev->pm.dpm.fan.pwm_min; in si_thermal_setup_fan_table()
6517 slope1 = (u16)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in si_thermal_setup_fan_table()