| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ | 
| D | vega10_thermal.c | 43 	if (hwmgr->thermal_controller.fanInfo.bNoFan)  in vega10_fan_ctrl_get_fan_speed_info() 52 		hwmgr->thermal_controller.fanInfo.  in vega10_fan_ctrl_get_fan_speed_info() 57 				hwmgr->thermal_controller.fanInfo.ulMinRPM;  in vega10_fan_ctrl_get_fan_speed_info() 59 				hwmgr->thermal_controller.fanInfo.ulMaxRPM;  in vega10_fan_ctrl_get_fan_speed_info() 74 	if (hwmgr->thermal_controller.fanInfo.bNoFan)  in vega10_fan_ctrl_get_fan_speed_percent() 80 	if (hwmgr->thermal_controller.  in vega10_fan_ctrl_get_fan_speed_percent() 83 			hwmgr->thermal_controller.  in vega10_fan_ctrl_get_fan_speed_percent() 99 	if (hwmgr->thermal_controller.fanInfo.bNoFan)  in vega10_fan_ctrl_get_fan_speed_rpm() 219 	if (hwmgr->thermal_controller.fanInfo.bNoFan)  in vega10_fan_ctrl_start_smc_fan_control() 234 	if (hwmgr->thermal_controller.fanInfo.bNoFan)  in vega10_fan_ctrl_stop_smc_fan_control() [all …] 
 | 
| D | smu7_thermal.c | 32 	if (hwmgr->thermal_controller.fanInfo.bNoFan)  in smu7_fan_ctrl_get_fan_speed_info() 41 	    hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution) {  in smu7_fan_ctrl_get_fan_speed_info() 44 		fan_speed_info->min_rpm = hwmgr->thermal_controller.fanInfo.ulMinRPM;  in smu7_fan_ctrl_get_fan_speed_info() 45 		fan_speed_info->max_rpm = hwmgr->thermal_controller.fanInfo.ulMaxRPM;  in smu7_fan_ctrl_get_fan_speed_info() 61 	if (hwmgr->thermal_controller.fanInfo.bNoFan)  in smu7_fan_ctrl_get_fan_speed_percent() 88 	if (hwmgr->thermal_controller.fanInfo.bNoFan ||  in smu7_fan_ctrl_get_fan_speed_rpm() 89 	    !hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution)  in smu7_fan_ctrl_get_fan_speed_rpm() 159 					hwmgr->thermal_controller.  in smu7_fan_ctrl_start_smc_fan_control() 163 					hwmgr->thermal_controller.  in smu7_fan_ctrl_start_smc_fan_control() 171 	if (!result && hwmgr->thermal_controller.  in smu7_fan_ctrl_start_smc_fan_control() [all …] 
 | 
| D | vega10_processpptables.c | 123 	const ATOM_Vega10_Thermal_Controller *thermal_controller;  in init_thermal_controller()  local 129 	thermal_controller = (ATOM_Vega10_Thermal_Controller *)  in init_thermal_controller() 136 	hwmgr->thermal_controller.ucType = thermal_controller->ucType;  in init_thermal_controller() 137 	hwmgr->thermal_controller.ucI2cLine = thermal_controller->ucI2cLine;  in init_thermal_controller() 138 	hwmgr->thermal_controller.ucI2cAddress = thermal_controller->ucI2cAddress;  in init_thermal_controller() 140 	hwmgr->thermal_controller.fanInfo.bNoFan =  in init_thermal_controller() 141 			(0 != (thermal_controller->ucFanParameters &  in init_thermal_controller() 144 	hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution =  in init_thermal_controller() 145 			thermal_controller->ucFanParameters &  in init_thermal_controller() 148 	hwmgr->thermal_controller.fanInfo.ulMinRPM =  in init_thermal_controller() [all …] 
 | 
| D | process_pptables_v1_0.c | 889 	ATOM_Tonga_Thermal_Controller *thermal_controller;  in init_thermal_controller()  local 891 	thermal_controller = (ATOM_Tonga_Thermal_Controller *)  in init_thermal_controller() 897 	hwmgr->thermal_controller.ucType = thermal_controller->ucType;  in init_thermal_controller() 898 	hwmgr->thermal_controller.ucI2cLine = thermal_controller->ucI2cLine;  in init_thermal_controller() 899 	hwmgr->thermal_controller.ucI2cAddress = thermal_controller->ucI2cAddress;  in init_thermal_controller() 901 	hwmgr->thermal_controller.fanInfo.bNoFan =  in init_thermal_controller() 902 		(0 != (thermal_controller->ucFanParameters & ATOM_TONGA_PP_FANPARAMETERS_NOFAN));  in init_thermal_controller() 904 	hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution =  in init_thermal_controller() 905 		thermal_controller->ucFanParameters &  in init_thermal_controller() 908 	hwmgr->thermal_controller.fanInfo.ulMinRPM  in init_thermal_controller() [all …] 
 | 
| D | vega12_processpptables.c | 200 	hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType;  in init_powerplay_table_information() 204 		ATOM_VEGA12_PP_THERMALCONTROLLER_NONE != hwmgr->thermal_controller.ucType,  in init_powerplay_table_information()
  | 
| D | vega20_processpptables.c | 825 	hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType;  in init_powerplay_table_information() 827 	hwmgr->thermal_controller.fanInfo.ulMinRPM = 0;  in init_powerplay_table_information() 828 	hwmgr->thermal_controller.fanInfo.ulMaxRPM = powerplay_table->smcPPTable.FanMaximumRpm;  in init_powerplay_table_information() 831 		ATOM_VEGA20_PP_THERMALCONTROLLER_NONE != hwmgr->thermal_controller.ucType,  in init_powerplay_table_information()
  | 
| D | smu7_hwmgr.c | 2184 		hwmgr->thermal_controller.advanceFanControlParameters.ucFanControlMode) {  in smu7_thermal_parameter_init() 2185 		hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMMinLimit =  in smu7_thermal_parameter_init() 2186 			(uint16_t)hwmgr->thermal_controller.advanceFanControlParameters.ucMinimumPWMLimit;  in smu7_thermal_parameter_init() 2188 		hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMMaxLimit =  in smu7_thermal_parameter_init() 2189 			(uint16_t)hwmgr->thermal_controller.advanceFanControlParameters.usDefaultMaxFanPWM;  in smu7_thermal_parameter_init() 2191 		hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMStep = 1;  in smu7_thermal_parameter_init() 2193 		hwmgr->thermal_controller.advanceFanControlParameters.usFanRPMMaxLimit = 100;  in smu7_thermal_parameter_init() 2195 		hwmgr->thermal_controller.advanceFanControlParameters.usFanRPMMinLimit =  in smu7_thermal_parameter_init() 2196 			(uint16_t)hwmgr->thermal_controller.advanceFanControlParameters.ucMinimumPWMLimit;  in smu7_thermal_parameter_init() 2198 		hwmgr->thermal_controller.advanceFanControlParameters.usFanRPMStep = 1;  in smu7_thermal_parameter_init() [all …] 
 | 
| D | vega12_hwmgr.c | 190 			&& hwmgr->thermal_controller.advanceFanControlParameters.usTMax)  in vega12_set_features_platform_caps() 428 			hwmgr->thermal_controller.advanceFanControlParameters.usMaxFanRPM;  in vega12_hwmgr_backend_init() 430 			hwmgr->thermal_controller.advanceFanControlParameters.ucTargetTemperature;  in vega12_hwmgr_backend_init() 432 			hwmgr->thermal_controller.advanceFanControlParameters.ulMinFanSCLKAcousticLimit;  in vega12_hwmgr_backend_init() 434 			hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMMinLimit *  in vega12_hwmgr_backend_init() 435 			hwmgr->thermal_controller.fanInfo.ulMaxRPM / 100;  in vega12_hwmgr_backend_init()
  | 
| D | hwmgr.c | 231 				hwmgr->thermal_controller.fanInfo.bNoFan;  in hwmgr_hw_init()
  | 
| D | vega10_hwmgr.c | 919 			hwmgr->thermal_controller.advanceFanControlParameters.usMaxFanRPM;  in vega10_hwmgr_backend_init() 921 			hwmgr->thermal_controller.  in vega10_hwmgr_backend_init() 924 			hwmgr->thermal_controller.advanceFanControlParameters.  in vega10_hwmgr_backend_init() 927 			hwmgr->thermal_controller.  in vega10_hwmgr_backend_init() 929 			hwmgr->thermal_controller.fanInfo.ulMaxRPM / 100;  in vega10_hwmgr_backend_init()
  | 
| D | vega20_hwmgr.c | 216 	    hwmgr->thermal_controller.advanceFanControlParameters.usTMax)  in vega20_set_features_platform_caps()
  | 
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ | 
| D | fiji_smumgr.c | 498 			&hwmgr->thermal_controller.advanceFanControlParameters;  in fiji_populate_bapm_parameters_in_dpm_table() 645 	if ((hwmgr->thermal_controller.advanceFanControlParameters.  in fiji_populate_fuzzy_fan() 647 			0 == hwmgr->thermal_controller.advanceFanControlParameters.  in fiji_populate_fuzzy_fan() 649 		hwmgr->thermal_controller.advanceFanControlParameters.  in fiji_populate_fuzzy_fan() 650 		usFanOutputSensitivity = hwmgr->thermal_controller.  in fiji_populate_fuzzy_fan() 654 			PP_HOST_TO_SMC_US(hwmgr->thermal_controller.  in fiji_populate_fuzzy_fan() 2145 	if (hwmgr->thermal_controller.fanInfo.bNoFan) {  in fiji_thermal_setup_fan_table() 2166 	tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.  in fiji_thermal_setup_fan_table() 2171 	t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed -  in fiji_thermal_setup_fan_table() 2172 			hwmgr->thermal_controller.advanceFanControlParameters.usTMin;  in fiji_thermal_setup_fan_table() [all …] 
 | 
| D | polaris10_smumgr.c | 434 			&hwmgr->thermal_controller.advanceFanControlParameters;  in polaris10_populate_bapm_parameters_in_dpm_table() 544 	if ((hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity & (1 << 15))  in polaris10_populate_fuzzy_fan() 545 		|| 0 == hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity)  in polaris10_populate_fuzzy_fan() 546 		hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity =  in polaris10_populate_fuzzy_fan() 547 			hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity;  in polaris10_populate_fuzzy_fan() 550 				hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity);  in polaris10_populate_fuzzy_fan() 2076 	if (hwmgr->thermal_controller.fanInfo.bNoFan) {  in polaris10_thermal_setup_fan_table() 2098 	if (hwmgr->thermal_controller.use_hw_fan_control)  in polaris10_thermal_setup_fan_table() 2101 	tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.  in polaris10_thermal_setup_fan_table() 2106 	t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed -  in polaris10_thermal_setup_fan_table() [all …] 
 | 
| D | tonga_smumgr.c | 1947 	if ((hwmgr->thermal_controller.advanceFanControlParameters.  in tonga_populate_fuzzy_fan() 1949 		(hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity == 0))  in tonga_populate_fuzzy_fan() 1950 		hwmgr->thermal_controller.advanceFanControlParameters.  in tonga_populate_fuzzy_fan() 1951 		usFanOutputSensitivity = hwmgr->thermal_controller.  in tonga_populate_fuzzy_fan() 1955 			PP_HOST_TO_SMC_US(hwmgr->thermal_controller.  in tonga_populate_fuzzy_fan() 2476 	if (hwmgr->thermal_controller.fanInfo.bNoFan) {  in tonga_thermal_setup_fan_table() 2498 	tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100;  in tonga_thermal_setup_fan_table() 2502 	t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed -  in tonga_thermal_setup_fan_table() 2503 		   hwmgr->thermal_controller.advanceFanControlParameters.usTMin;  in tonga_thermal_setup_fan_table() 2504 	t_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usTHigh -  in tonga_thermal_setup_fan_table() [all …] 
 | 
| D | ci_smumgr.c | 564 	if ((hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity & (1 << 15))  in ci_populate_fuzzy_fan() 565 		|| 0 == hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity)  in ci_populate_fuzzy_fan() 566 		tmp = hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity;  in ci_populate_fuzzy_fan() 568 		tmp = hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity;  in ci_populate_fuzzy_fan() 2137 	if (hwmgr->thermal_controller.fanInfo.bNoFan) {  in ci_thermal_setup_fan_table() 2155 	tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100;  in ci_thermal_setup_fan_table() 2159 …t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - hwmgr->thermal_controller…  in ci_thermal_setup_fan_table() 2160 …t_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usTHigh - hwmgr->thermal_controlle…  in ci_thermal_setup_fan_table() 2162 …pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - hwmgr->thermal_contro…  in ci_thermal_setup_fan_table() 2163 …pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - hwmgr->thermal_contr…  in ci_thermal_setup_fan_table() [all …] 
 | 
| D | iceland_smumgr.c | 2099 	if (hwmgr->thermal_controller.fanInfo.bNoFan) {  in iceland_thermal_setup_fan_table() 2117 	tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100;  in iceland_thermal_setup_fan_table() 2121 …t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - hwmgr->thermal_controller…  in iceland_thermal_setup_fan_table() 2122 …t_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usTHigh - hwmgr->thermal_controlle…  in iceland_thermal_setup_fan_table() 2124 …pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - hwmgr->thermal_contro…  in iceland_thermal_setup_fan_table() 2125 …pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - hwmgr->thermal_contr…  in iceland_thermal_setup_fan_table() 2130 …fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin…  in iceland_thermal_setup_fan_table() 2131 …fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed…  in iceland_thermal_setup_fan_table() 2132 …fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax…  in iceland_thermal_setup_fan_table() 2139 	fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst);  in iceland_thermal_setup_fan_table() [all …] 
 | 
| D | vegam_smumgr.c | 1452 			&hwmgr->thermal_controller.advanceFanControlParameters;  in vegam_populate_bapm_parameters_in_dpm_table() 1809 	if ((hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity & (1 << 15))  in vegam_populate_fuzzy_fan() 1810 		|| 0 == hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity)  in vegam_populate_fuzzy_fan() 1811 		hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity =  in vegam_populate_fuzzy_fan() 1812 			hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity;  in vegam_populate_fuzzy_fan() 1815 				hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity);  in vegam_populate_fuzzy_fan() 2273 	PP_ASSERT_WITH_CODE(hwmgr->thermal_controller.fanInfo.bNoFan,  in vegam_thermal_setup_fan_table()
  | 
| /Linux-v5.4/drivers/gpu/drm/radeon/ | 
| D | radeon_combios.c | 2667 		u8 thermal_controller = 0, gpio = 0, i2c_addr = 0, clk_bit = 0, data_bit = 0;  in radeon_combios_get_power_modes()  local 2672 			thermal_controller = RBIOS8(offset + 3);  in radeon_combios_get_power_modes() 2676 			thermal_controller = RBIOS8(offset + 4);  in radeon_combios_get_power_modes() 2680 			thermal_controller = RBIOS8(offset + 4);  in radeon_combios_get_power_modes() 2686 		if ((thermal_controller > 0) && (thermal_controller < 3)) {  in radeon_combios_get_power_modes() 2688 				 thermal_controller_names[thermal_controller],  in radeon_combios_get_power_modes() 2703 				const char *name = thermal_controller_names[thermal_controller];  in radeon_combios_get_power_modes()
  | 
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/ | 
| D | amd_powerplay.c | 847 		*((uint32_t *)value) = hwmgr->thermal_controller.fanInfo.ulMinRPM;  in pp_dpm_read_sensor() 850 		*((uint32_t *)value) = hwmgr->thermal_controller.fanInfo.ulMaxRPM;  in pp_dpm_read_sensor()
  | 
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/ | 
| D | hwmgr.h | 772 	struct pp_thermal_controller_info thermal_controller;  member
  |