Searched refs:thermal_data (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/thermal/thermal-engine/ |
D | thermal-engine.c | 36 struct thermal_data { struct 96 struct thermal_data *td = arg; in tz_disable() 106 struct thermal_data *td = arg; in tz_enable() 116 struct thermal_data *td = arg; in trip_high() 127 struct thermal_data *td = arg; in trip_low() 154 struct thermal_data *td = arg; in trip_change() 190 struct thermal_data *td = arg; in gov_change() 218 struct thermal_data *td = arg; in thermal_event() 288 struct thermal_data td; in main()
|
/linux-6.1.9/drivers/thermal/intel/ |
D | intel_bxt_pmic_thermal.c | 211 struct pmic_thermal_data *thermal_data; in pmic_thermal_probe() local 226 thermal_data = (struct pmic_thermal_data *) in pmic_thermal_probe() 228 if (!thermal_data) { in pmic_thermal_probe() 256 for (i = 0; i < thermal_data->num_maps; i++) { in pmic_thermal_probe() 257 for (j = 0; j < thermal_data->maps[i].num_trips; j++) { in pmic_thermal_probe() 258 reg = thermal_data->maps[i].trip_config[j].irq_en; in pmic_thermal_probe() 259 mask = thermal_data->maps[i].trip_config[j].irq_en_mask; in pmic_thermal_probe()
|
/linux-6.1.9/drivers/hwmon/ |
D | emc1403.c | 29 struct thermal_data { struct 39 struct thermal_data *data = dev_get_drvdata(dev); in temp_show() argument 53 struct thermal_data *data = dev_get_drvdata(dev); in bit_show() 67 struct thermal_data *data = dev_get_drvdata(dev); in temp_store() 84 struct thermal_data *data = dev_get_drvdata(dev); in bit_store() 103 struct thermal_data *data = dev_get_drvdata(dev); in show_hyst_common() 136 struct thermal_data *data = dev_get_drvdata(dev); in hyst_store() 393 struct thermal_data *data; in emc1403_probe() 397 data = devm_kzalloc(&client->dev, sizeof(struct thermal_data), in emc1403_probe()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega12_hwmgr.c | 2743 struct PP_TemperatureRange *thermal_data) in vega12_get_thermal_temperature_range() argument 2749 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega12_get_thermal_temperature_range() 2751 thermal_data->max = pp_table->TedgeLimit * in vega12_get_thermal_temperature_range() 2753 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega12_get_thermal_temperature_range() 2755 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega12_get_thermal_temperature_range() 2757 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega12_get_thermal_temperature_range() 2759 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega12_get_thermal_temperature_range() 2761 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega12_get_thermal_temperature_range()
|
D | vega20_hwmgr.c | 4214 struct PP_TemperatureRange *thermal_data) in vega20_get_thermal_temperature_range() argument 4220 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega20_get_thermal_temperature_range() 4222 thermal_data->max = pp_table->TedgeLimit * in vega20_get_thermal_temperature_range() 4224 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega20_get_thermal_temperature_range() 4226 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega20_get_thermal_temperature_range() 4228 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega20_get_thermal_temperature_range() 4230 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega20_get_thermal_temperature_range() 4232 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega20_get_thermal_temperature_range()
|
D | smu8_hwmgr.c | 1844 struct PP_TemperatureRange *thermal_data) in smu8_get_thermal_temperature_range() argument 1848 memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange)); in smu8_get_thermal_temperature_range() 1850 thermal_data->max = (data->thermal_auto_throttling_treshold + in smu8_get_thermal_temperature_range()
|
D | vega10_hwmgr.c | 5220 struct PP_TemperatureRange *thermal_data) in vega10_get_thermal_temperature_range() argument 5225 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega10_get_thermal_temperature_range() 5227 thermal_data->max = pp_table->TedgeLimit * in vega10_get_thermal_temperature_range() 5229 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega10_get_thermal_temperature_range() 5231 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega10_get_thermal_temperature_range() 5233 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega10_get_thermal_temperature_range() 5235 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega10_get_thermal_temperature_range() 5237 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega10_get_thermal_temperature_range()
|
D | smu7_hwmgr.c | 5369 struct PP_TemperatureRange *thermal_data) in smu7_get_thermal_temperature_range() argument 5375 memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange)); in smu7_get_thermal_temperature_range() 5378 thermal_data->max = table_info->cac_dtp_table->usSoftwareShutdownTemp * in smu7_get_thermal_temperature_range() 5381 thermal_data->max = data->thermal_temp_setting.temperature_shutdown * in smu7_get_thermal_temperature_range()
|