Home
last modified time | relevance | path

Searched refs:fan_table (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/macintosh/
Dtherm_windtunnel.c77 } fan_table[] = { variable
191 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()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dsi_dpm.c5954 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
5987 fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
5988 fan_table.temp_med = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()
5989 fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
5991 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
5992 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
5994 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
5996 fan_table.hys_down = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()
5998 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6000 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
[all …]
Dci_dpm.c951 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
984 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 …]