Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smumgr.c507 struct pp_advance_fan_control_parameters *fan_table = in fiji_populate_bapm_parameters_in_dpm_table() local
545 scale_fan_gain_settings(fan_table->usFanGainEdge)); in fiji_populate_bapm_parameters_in_dpm_table()
547 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in fiji_populate_bapm_parameters_in_dpm_table()
549 scale_fan_gain_settings(fan_table->usFanGainLiquid)); in fiji_populate_bapm_parameters_in_dpm_table()
551 scale_fan_gain_settings(fan_table->usFanGainVrVddc)); in fiji_populate_bapm_parameters_in_dpm_table()
553 scale_fan_gain_settings(fan_table->usFanGainVrMvdd)); in fiji_populate_bapm_parameters_in_dpm_table()
555 scale_fan_gain_settings(fan_table->usFanGainPlx)); in fiji_populate_bapm_parameters_in_dpm_table()
557 scale_fan_gain_settings(fan_table->usFanGainHbm)); in fiji_populate_bapm_parameters_in_dpm_table()
2146 SMU73_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in fiji_thermal_setup_fan_table() local
2193 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in fiji_thermal_setup_fan_table()
[all …]
Dpolaris10_smumgr.c432 struct pp_advance_fan_control_parameters *fan_table = in polaris10_populate_bapm_parameters_in_dpm_table() local
450 scale_fan_gain_settings(fan_table->usFanGainEdge)); in polaris10_populate_bapm_parameters_in_dpm_table()
452 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in polaris10_populate_bapm_parameters_in_dpm_table()
1993 SMU74_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in polaris10_thermal_setup_fan_table() local
2040 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2042 fan_table.TempMed = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2044 fan_table.TempMax = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2047 fan_table.Slope1 = cpu_to_be16(slope1); in polaris10_thermal_setup_fan_table()
2048 fan_table.Slope2 = cpu_to_be16(slope2); in polaris10_thermal_setup_fan_table()
2050 fan_table.FdoMin = cpu_to_be16(fdo_min); in polaris10_thermal_setup_fan_table()
[all …]
Diceland_smumgr.c2087 SMU71_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in iceland_thermal_setup_fan_table() local
2129fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in iceland_thermal_setup_fan_table()
2130fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in iceland_thermal_setup_fan_table()
2131fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in iceland_thermal_setup_fan_table()
2133 fan_table.Slope1 = cpu_to_be16(slope1); in iceland_thermal_setup_fan_table()
2134 fan_table.Slope2 = cpu_to_be16(slope2); in iceland_thermal_setup_fan_table()
2136 fan_table.FdoMin = cpu_to_be16(fdo_min); in iceland_thermal_setup_fan_table()
2138 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in iceland_thermal_setup_fan_table()
2140 fan_table.HystUp = cpu_to_be16(1); in iceland_thermal_setup_fan_table()
2142 fan_table.HystSlope = cpu_to_be16(1); in iceland_thermal_setup_fan_table()
[all …]
Dtonga_smumgr.c2453 SMU72_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in tonga_thermal_setup_fan_table() local
2504fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in tonga_thermal_setup_fan_table()
2505fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in tonga_thermal_setup_fan_table()
2506fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in tonga_thermal_setup_fan_table()
2508 fan_table.Slope1 = cpu_to_be16(slope1); in tonga_thermal_setup_fan_table()
2509 fan_table.Slope2 = cpu_to_be16(slope2); in tonga_thermal_setup_fan_table()
2511 fan_table.FdoMin = cpu_to_be16(fdo_min); in tonga_thermal_setup_fan_table()
2513 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in tonga_thermal_setup_fan_table()
2515 fan_table.HystUp = cpu_to_be16(1); in tonga_thermal_setup_fan_table()
2517 fan_table.HystSlope = cpu_to_be16(1); in tonga_thermal_setup_fan_table()
[all …]
Dci_smumgr.c2124 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
2166fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in ci_thermal_setup_fan_table()
2167fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in ci_thermal_setup_fan_table()
2168fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in ci_thermal_setup_fan_table()
2170 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
2171 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
2173 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
2175 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in ci_thermal_setup_fan_table()
2177 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
2179 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
[all …]
Dvegam_smumgr.c1451 struct pp_advance_fan_control_parameters *fan_table = in vegam_populate_bapm_parameters_in_dpm_table() local
1469 scale_fan_gain_settings(fan_table->usFanGainEdge)); in vegam_populate_bapm_parameters_in_dpm_table()
1471 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in vegam_populate_bapm_parameters_in_dpm_table()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocess_pptables_v1_0.c888 const PPTable_Generic_SubTable_Header *fan_table; in init_thermal_controller() local
922 fan_table = (const PPTable_Generic_SubTable_Header *) in init_thermal_controller()
928 PP_ASSERT_WITH_CODE((0 < fan_table->ucRevId), in init_thermal_controller()
936 if (fan_table->ucRevId < 8) { in init_thermal_controller()
938 (ATOM_Tonga_Fan_Table *)fan_table; in init_thermal_controller()
975 (ATOM_Fiji_Fan_Table *)fan_table; in init_thermal_controller()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dsi_dpm.c6028 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6061 fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
6062 fan_table.temp_med = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()
6063 fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
6065 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6066 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6068 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6070 fan_table.hys_down = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()
6072 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6074 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
[all …]
Dci_dpm.c958 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
991 fan_table.TempMin = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in ci_thermal_setup_fan_table()
992 fan_table.TempMed = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in ci_thermal_setup_fan_table()
993 fan_table.TempMax = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in ci_thermal_setup_fan_table()
995 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
996 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
998 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
1000 fan_table.HystDown = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in ci_thermal_setup_fan_table()
1002 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
1004 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.c1097 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
1131 fan_table.TempMin = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100); in ci_thermal_setup_fan_table()
1132 fan_table.TempMed = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100); in ci_thermal_setup_fan_table()
1133 fan_table.TempMax = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100); in ci_thermal_setup_fan_table()
1135 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
1136 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
1138 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
1140 fan_table.HystDown = cpu_to_be16(adev->pm.dpm.fan.t_hyst); in ci_thermal_setup_fan_table()
1142 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
1144 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
[all …]
Dsi_dpm.c6465 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6498 fan_table.temp_min = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
6499 fan_table.temp_med = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()
6500 fan_table.temp_max = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
6501 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6502 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6503 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6504 fan_table.hys_down = cpu_to_be16(adev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()
6505 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6506 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
[all …]