Home
last modified time | relevance | path

Searched refs:thermal_data (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/tools/thermal/thermal-engine/
Dthermal-engine.c36 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-5.19.10/drivers/thermal/intel/
Dintel_bxt_pmic_thermal.c211 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-5.19.10/drivers/hwmon/
Demc1403.c29 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-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c2743 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()
Dvega20_hwmgr.c4213 struct PP_TemperatureRange *thermal_data) in vega20_get_thermal_temperature_range() argument
4219 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega20_get_thermal_temperature_range()
4221 thermal_data->max = pp_table->TedgeLimit * in vega20_get_thermal_temperature_range()
4223 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega20_get_thermal_temperature_range()
4225 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega20_get_thermal_temperature_range()
4227 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega20_get_thermal_temperature_range()
4229 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega20_get_thermal_temperature_range()
4231 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega20_get_thermal_temperature_range()
Dsmu8_hwmgr.c1844 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()
Dvega10_hwmgr.c5220 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()
Dsmu7_hwmgr.c5369 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()