Home
last modified time | relevance | path

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

/linux-5.19.10/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
2166 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - 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
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.c2172 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in polaris10_thermal_setup_fan_table() local
2208 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - 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.c2131 uint32_t t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
2162t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - hwmgr->thermal_controller… in ci_thermal_setup_fan_table()
2168 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-5.19.10/drivers/gpu/drm/radeon/
Dci_dpm.c937 u32 t_diff1, t_diff2, pwm_diff1, pwm_diff2; in ci_thermal_setup_fan_table() local
959 t_diff1 = rdev->pm.dpm.fan.t_med - rdev->pm.dpm.fan.t_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
6037 t_diff1 = rdev->pm.dpm.fan.t_med - rdev->pm.dpm.fan.t_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-5.19.10/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
6511 t_diff1 = adev->pm.dpm.fan.t_med - adev->pm.dpm.fan.t_min; in si_thermal_setup_fan_table()
6517 slope1 = (u16)((50 + ((16 * duty100 * pwm_diff1) / t_diff1)) / 100); in si_thermal_setup_fan_table()