Home
last modified time | relevance | path

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

/linux-6.15/drivers/macintosh/
H A Dtherm_windtunnel.c78 } fan_table[] = { variable
192 for( i=0; (temp & 0xffff) > fan_table[i].temp ; i++ ) in poll_temp()
195 level = fan_table[i].fan_down_setting; in poll_temp()
198 for( i=0; (temp & 0xffff) >= fan_table[i+1].temp ; i++ ) in poll_temp()
201 level = fan_table[i].fan_up_setting; in poll_temp()
/linux-6.15/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c2179 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in fiji_thermal_setup_fan_table()
2181 fan_table.TempMed = cpu_to_be16((50 + hwmgr-> in fiji_thermal_setup_fan_table()
2183 fan_table.TempMax = cpu_to_be16((50 + hwmgr-> in fiji_thermal_setup_fan_table()
2186 fan_table.Slope1 = cpu_to_be16(slope1); in fiji_thermal_setup_fan_table()
2187 fan_table.Slope2 = cpu_to_be16(slope2); in fiji_thermal_setup_fan_table()
2189 fan_table.FdoMin = cpu_to_be16(fdo_min); in fiji_thermal_setup_fan_table()
2191 fan_table.HystDown = cpu_to_be16(hwmgr-> in fiji_thermal_setup_fan_table()
2194 fan_table.HystUp = cpu_to_be16(1); in fiji_thermal_setup_fan_table()
2196 fan_table.HystSlope = cpu_to_be16(1); in fiji_thermal_setup_fan_table()
2198 fan_table.TempRespLim = cpu_to_be16(5); in fiji_thermal_setup_fan_table()
[all …]
H A Dpolaris10_smumgr.c2221 fan_table.TempMin = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2223 fan_table.TempMed = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2225 fan_table.TempMax = cpu_to_be16((50 + hwmgr-> in polaris10_thermal_setup_fan_table()
2228 fan_table.Slope1 = cpu_to_be16(slope1); in polaris10_thermal_setup_fan_table()
2229 fan_table.Slope2 = cpu_to_be16(slope2); in polaris10_thermal_setup_fan_table()
2231 fan_table.FdoMin = cpu_to_be16(fdo_min); in polaris10_thermal_setup_fan_table()
2233 fan_table.HystDown = cpu_to_be16(hwmgr-> in polaris10_thermal_setup_fan_table()
2236 fan_table.HystUp = cpu_to_be16(1); in polaris10_thermal_setup_fan_table()
2238 fan_table.HystSlope = cpu_to_be16(1); in polaris10_thermal_setup_fan_table()
2240 fan_table.TempRespLim = cpu_to_be16(5); in polaris10_thermal_setup_fan_table()
[all …]
H A 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()
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()
2145 fan_table.TempRespLim = cpu_to_be16(5); in iceland_thermal_setup_fan_table()
2151 fan_table.FdoMax = cpu_to_be16((uint16_t)duty100); in iceland_thermal_setup_fan_table()
[all …]
H A Dtonga_smumgr.c2464 SMU72_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in tonga_thermal_setup_fan_table() local
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()
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()
2530 fan_table.TempRespLim = cpu_to_be16(5); in tonga_thermal_setup_fan_table()
2536 fan_table.FdoMax = cpu_to_be16((uint16_t)duty100); in tonga_thermal_setup_fan_table()
2540 fan_table.FanControl_GL_Flag = 1; in tonga_thermal_setup_fan_table()
2544 (uint8_t *)&fan_table, in tonga_thermal_setup_fan_table()
[all …]
H A Dci_smumgr.c2128 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
2170fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in ci_thermal_setup_fan_table()
2174 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
2175 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
2177 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
2179 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in ci_thermal_setup_fan_table()
2181 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
2183 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
2185 fan_table.TempRespLim = cpu_to_be16(5); in ci_thermal_setup_fan_table()
2191 fan_table.FdoMax = cpu_to_be16((uint16_t)duty100); in ci_thermal_setup_fan_table()
[all …]
H A Dvegam_smumgr.c1447 struct pp_advance_fan_control_parameters *fan_table = in vegam_populate_bapm_parameters_in_dpm_table() local
1465 scale_fan_gain_settings(fan_table->usFanGainEdge)); in vegam_populate_bapm_parameters_in_dpm_table()
1467 scale_fan_gain_settings(fan_table->usFanGainHotspot)); in vegam_populate_bapm_parameters_in_dpm_table()
/linux-6.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocesspptables.c1017 const ATOM_PPLIB_FANTABLE *fan_table = in init_thermal_controller() local
1021 if (1 <= fan_table->ucFanTableFormat) { in init_thermal_controller()
1023 fan_table->ucTHyst; in init_thermal_controller()
1025 le16_to_cpu(fan_table->usTMin); in init_thermal_controller()
1027 le16_to_cpu(fan_table->usTMed); in init_thermal_controller()
1029 le16_to_cpu(fan_table->usTHigh); in init_thermal_controller()
1031 le16_to_cpu(fan_table->usPWMMin); in init_thermal_controller()
1033 le16_to_cpu(fan_table->usPWMMed); in init_thermal_controller()
1035 le16_to_cpu(fan_table->usPWMHigh); in init_thermal_controller()
1043 if (2 <= fan_table->ucFanTableFormat) { in init_thermal_controller()
[all …]
H A Dprocess_pptables_v1_0.c913 const PPTable_Generic_SubTable_Header *fan_table; in init_thermal_controller() local
949 fan_table = (const PPTable_Generic_SubTable_Header *) in init_thermal_controller()
955 PP_ASSERT_WITH_CODE((0 < fan_table->ucRevId), in init_thermal_controller()
963 if (fan_table->ucRevId < 8) { in init_thermal_controller()
965 (ATOM_Tonga_Fan_Table *)fan_table; in init_thermal_controller()
998 } else if (fan_table->ucRevId == 8) { in init_thermal_controller()
1000 (ATOM_Fiji_Fan_Table *)fan_table; in init_thermal_controller()
1048 } else if (fan_table->ucRevId >= 9) { in init_thermal_controller()
1050 (ATOM_Polaris_Fan_Table *)fan_table; in init_thermal_controller()
/linux-6.15/drivers/gpu/drm/radeon/
H A Dci_dpm.c930 SMU7_Discrete_FanTable fan_table = { FDO_MODE_HARDWARE }; in ci_thermal_setup_fan_table() local
967 fan_table.Slope1 = cpu_to_be16(slope1); in ci_thermal_setup_fan_table()
968 fan_table.Slope2 = cpu_to_be16(slope2); in ci_thermal_setup_fan_table()
970 fan_table.FdoMin = cpu_to_be16(fdo_min); in ci_thermal_setup_fan_table()
974 fan_table.HystUp = cpu_to_be16(1); in ci_thermal_setup_fan_table()
976 fan_table.HystSlope = cpu_to_be16(1); in ci_thermal_setup_fan_table()
978 fan_table.TempRespLim = cpu_to_be16(5); in ci_thermal_setup_fan_table()
985 fan_table.FdoMax = cpu_to_be16((u16)duty100); in ci_thermal_setup_fan_table()
988 fan_table.TempSrc = (uint8_t)tmp; in ci_thermal_setup_fan_table()
992 (u8 *)(&fan_table), in ci_thermal_setup_fan_table()
[all …]
H A Dsi_dpm.c5969 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6006 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6007 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6009 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6013 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6015 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
6017 fan_table.temp_resp_lim = cpu_to_be16(5); in si_thermal_setup_fan_table()
6024 fan_table.fdo_max = cpu_to_be16((u16)duty100); in si_thermal_setup_fan_table()
6027 fan_table.temp_src = (uint8_t)tmp; in si_thermal_setup_fan_table()
6031 (u8 *)(&fan_table), in si_thermal_setup_fan_table()
[all …]
/linux-6.15/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c6485 PP_SIslands_FanTable fan_table = { FDO_MODE_HARDWARE }; in si_thermal_setup_fan_table() local
6521 fan_table.slope1 = cpu_to_be16(slope1); in si_thermal_setup_fan_table()
6522 fan_table.slope2 = cpu_to_be16(slope2); in si_thermal_setup_fan_table()
6523 fan_table.fdo_min = cpu_to_be16(fdo_min); in si_thermal_setup_fan_table()
6525 fan_table.hys_up = cpu_to_be16(1); in si_thermal_setup_fan_table()
6526 fan_table.hys_slope = cpu_to_be16(1); in si_thermal_setup_fan_table()
6527 fan_table.temp_resp_lim = cpu_to_be16(5); in si_thermal_setup_fan_table()
6532 fan_table.fdo_max = cpu_to_be16((u16)duty100); in si_thermal_setup_fan_table()
6535 fan_table.temp_src = (uint8_t)tmp; in si_thermal_setup_fan_table()
6539 (u8 *)(&fan_table), in si_thermal_setup_fan_table()
[all …]