Searched refs:fan_table (Results 1 – 4 of 4) sorted by relevance
77 } fan_table[] = { variable191 for( i=0; (temp & 0xffff) > fan_table[i].temp ; i++ ) in poll_temp()194 level = fan_table[i].fan_down_setting; in poll_temp()197 for( i=0; (temp & 0xffff) >= fan_table[i+1].temp ; i++ ) in poll_temp()200 level = fan_table[i].fan_up_setting; in poll_temp()
951 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local984 fan_table.TempMin = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in ci_thermal_setup_fan_table()985 fan_table.TempMed = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in ci_thermal_setup_fan_table()986 fan_table.TempMax = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in ci_thermal_setup_fan_table()988 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()989 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()991 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()993 fan_table.HystDown = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in ci_thermal_setup_fan_table()995 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()997 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()[all …]
6043 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local6076 fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()6077 fan_table.temp_med = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()6078 fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()6080 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()6081 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()6083 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()6085 fan_table.hys_down = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()6087 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()6089 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()[all …]
1069 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local1103 fan_table.TempMin = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100); in ci_thermal_setup_fan_table()1104 fan_table.TempMed = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100); in ci_thermal_setup_fan_table()1105 fan_table.TempMax = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100); in ci_thermal_setup_fan_table()1107 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()1108 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()1110 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()1112 fan_table.HystDown = cpu_to_be16(adev->pm.dpm.fan.t_hyst); in ci_thermal_setup_fan_table()1114 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()1116 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()[all …]