Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smumgr.c497 struct pp_advance_fan_control_parameters *fan_table = in fiji_populate_bapm_parameters_in_dpm_table() local
535 scale_fan_gain_settings(fan_table->usFanGainEdge)); in fiji_populate_bapm_parameters_in_dpm_table()
537 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in fiji_populate_bapm_parameters_in_dpm_table()
539 scale_fan_gain_settings(fan_table->usFanGainLiquid)); in fiji_populate_bapm_parameters_in_dpm_table()
541 scale_fan_gain_settings(fan_table->usFanGainVrVddc)); in fiji_populate_bapm_parameters_in_dpm_table()
543 scale_fan_gain_settings(fan_table->usFanGainVrMvdd)); in fiji_populate_bapm_parameters_in_dpm_table()
545 scale_fan_gain_settings(fan_table->usFanGainPlx)); in fiji_populate_bapm_parameters_in_dpm_table()
547 scale_fan_gain_settings(fan_table->usFanGainHbm)); in fiji_populate_bapm_parameters_in_dpm_table()
2137 SMU73_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in fiji_thermal_setup_fan_table() local
2184 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in fiji_thermal_setup_fan_table()
[all …]
Dpolaris10_smumgr.c433 struct pp_advance_fan_control_parameters *fan_table = in polaris10_populate_bapm_parameters_in_dpm_table() local
451 scale_fan_gain_settings(fan_table->usFanGainEdge)); in polaris10_populate_bapm_parameters_in_dpm_table()
453 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in polaris10_populate_bapm_parameters_in_dpm_table()
2068 SMU74_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in polaris10_thermal_setup_fan_table() local
2119 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2121 fan_table.TempMed = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2123 fan_table.TempMax = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2126 fan_table.Slope1 = cpu_to_be16(slope1); in polaris10_thermal_setup_fan_table()
2127 fan_table.Slope2 = cpu_to_be16(slope2); in polaris10_thermal_setup_fan_table()
2129 fan_table.FdoMin = cpu_to_be16(fdo_min); in polaris10_thermal_setup_fan_table()
[all …]
Diceland_smumgr.c2088 SMU71_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in iceland_thermal_setup_fan_table() local
2130fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in iceland_thermal_setup_fan_table()
2131fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in iceland_thermal_setup_fan_table()
2132fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in iceland_thermal_setup_fan_table()
2134 fan_table.Slope1 = cpu_to_be16(slope1); in iceland_thermal_setup_fan_table()
2135 fan_table.Slope2 = cpu_to_be16(slope2); in iceland_thermal_setup_fan_table()
2137 fan_table.FdoMin = cpu_to_be16(fdo_min); in iceland_thermal_setup_fan_table()
2139 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in iceland_thermal_setup_fan_table()
2141 fan_table.HystUp = cpu_to_be16(1); in iceland_thermal_setup_fan_table()
2143 fan_table.HystSlope = cpu_to_be16(1); in iceland_thermal_setup_fan_table()
[all …]
Dtonga_smumgr.c2464 SMU72_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in tonga_thermal_setup_fan_table() local
2515fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in tonga_thermal_setup_fan_table()
2516fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in tonga_thermal_setup_fan_table()
2517fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in tonga_thermal_setup_fan_table()
2519 fan_table.Slope1 = cpu_to_be16(slope1); in tonga_thermal_setup_fan_table()
2520 fan_table.Slope2 = cpu_to_be16(slope2); in tonga_thermal_setup_fan_table()
2522 fan_table.FdoMin = cpu_to_be16(fdo_min); in tonga_thermal_setup_fan_table()
2524 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in tonga_thermal_setup_fan_table()
2526 fan_table.HystUp = cpu_to_be16(1); in tonga_thermal_setup_fan_table()
2528 fan_table.HystSlope = cpu_to_be16(1); in tonga_thermal_setup_fan_table()
[all …]
Dci_smumgr.c2126 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
2168fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in ci_thermal_setup_fan_table()
2169fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in ci_thermal_setup_fan_table()
2170fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in ci_thermal_setup_fan_table()
2172 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
2173 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
2175 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
2177 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in ci_thermal_setup_fan_table()
2179 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
2181 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-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocess_pptables_v1_0.c888 const PPTable_Generic_SubTable_Header *fan_table; in init_thermal_controller() local
924 fan_table = (const PPTable_Generic_SubTable_Header *) in init_thermal_controller()
930 PP_ASSERT_WITH_CODE((0 < fan_table->ucRevId), in init_thermal_controller()
938 if (fan_table->ucRevId < 8) { in init_thermal_controller()
940 (ATOM_Tonga_Fan_Table *)fan_table; in init_thermal_controller()
977 (ATOM_Fiji_Fan_Table *)fan_table; in init_thermal_controller()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dsi_dpm.c6033 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6066 fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
6067 fan_table.temp_med = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()
6068 fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
6070 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6071 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6073 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6075 fan_table.hys_down = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()
6077 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6079 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
[all …]
Dci_dpm.c960 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
993 fan_table.TempMin = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in ci_thermal_setup_fan_table()
994 fan_table.TempMed = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); in ci_thermal_setup_fan_table()
995 fan_table.TempMax = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); in ci_thermal_setup_fan_table()
997 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
998 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
1000 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
1002 fan_table.HystDown = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); in ci_thermal_setup_fan_table()
1004 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
1006 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c6468 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6501 fan_table.temp_min = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
6502 fan_table.temp_med = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100); in si_thermal_setup_fan_table()
6503 fan_table.temp_max = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100); in si_thermal_setup_fan_table()
6504 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6505 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6506 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6507 fan_table.hys_down = cpu_to_be16(adev->pm.dpm.fan.t_hyst); in si_thermal_setup_fan_table()
6508 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6509 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
[all …]