Home
last modified time | relevance | path

Searched refs:slope2 (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsislands_smc.h252 int16_t slope2; member
H A Dsi_dpm.c6490 u16 fdo_min, slope1, slope2; in si_thermal_setup_fan_table() local
6518 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in si_thermal_setup_fan_table()
6524 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dsislands_smc.h256 int16_t slope2; member
H A Dsi_dpm.c6016 u16 fdo_min, slope1, slope2; in si_thermal_setup_fan_table() local
6044 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in si_thermal_setup_fan_table()
6051 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
H A Dci_dpm.c938 u16 fdo_min, slope1, slope2; in ci_thermal_setup_fan_table() local
966 slope2 = (u16)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in ci_thermal_setup_fan_table()
973 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c2135 uint16_t fdo_min, slope1, slope2; in fiji_thermal_setup_fan_table() local
2177 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in fiji_thermal_setup_fan_table()
2187 fan_table.Slope2 = cpu_to_be16(slope2); in fiji_thermal_setup_fan_table()
H A Diceland_smumgr.c2091 uint16_t fdo_min, slope1, slope2; in iceland_thermal_setup_fan_table() local
2128 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in iceland_thermal_setup_fan_table()
2135 fan_table.Slope2 = cpu_to_be16(slope2); in iceland_thermal_setup_fan_table()
H A Dpolaris10_smumgr.c2173 uint16_t fdo_min, slope1, slope2; in polaris10_thermal_setup_fan_table() local
2219 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in polaris10_thermal_setup_fan_table()
2229 fan_table.Slope2 = cpu_to_be16(slope2); in polaris10_thermal_setup_fan_table()
H A Dtonga_smumgr.c2467 uint16_t fdo_min, slope1, slope2; in tonga_thermal_setup_fan_table() local
2513 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in tonga_thermal_setup_fan_table()
2520 fan_table.Slope2 = cpu_to_be16(slope2); in tonga_thermal_setup_fan_table()
H A Dci_smumgr.c2131 uint16_t fdo_min, slope1, slope2; in ci_thermal_setup_fan_table() local
2168 slope2 = (uint16_t)((50 + ((16 * duty100 * pwm_diff2) / t_diff2)) / 100); in ci_thermal_setup_fan_table()
2175 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()