Searched refs:thermal_data (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega12_hwmgr.c | 2764 struct PP_TemperatureRange *thermal_data) in vega12_get_thermal_temperature_range() argument 2772 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega12_get_thermal_temperature_range() 2774 thermal_data->max = pp_table->TedgeLimit * in vega12_get_thermal_temperature_range() 2776 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega12_get_thermal_temperature_range() 2778 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega12_get_thermal_temperature_range() 2780 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega12_get_thermal_temperature_range() 2782 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega12_get_thermal_temperature_range() 2784 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega12_get_thermal_temperature_range() 2786 thermal_data->sw_ctf_threshold = pptable_information->us_software_shutdown_temp * in vega12_get_thermal_temperature_range()
|
D | vega20_hwmgr.c | 4215 struct PP_TemperatureRange *thermal_data) in vega20_get_thermal_temperature_range() argument 4223 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega20_get_thermal_temperature_range() 4225 thermal_data->max = pp_table->TedgeLimit * in vega20_get_thermal_temperature_range() 4227 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega20_get_thermal_temperature_range() 4229 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega20_get_thermal_temperature_range() 4231 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega20_get_thermal_temperature_range() 4233 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega20_get_thermal_temperature_range() 4235 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega20_get_thermal_temperature_range() 4237 thermal_data->sw_ctf_threshold = pptable_information->us_software_shutdown_temp * in vega20_get_thermal_temperature_range()
|
D | vega10_hwmgr.c | 5237 struct PP_TemperatureRange *thermal_data) in vega10_get_thermal_temperature_range() argument 5245 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega10_get_thermal_temperature_range() 5247 thermal_data->max = pp_table->TedgeLimit * in vega10_get_thermal_temperature_range() 5249 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega10_get_thermal_temperature_range() 5251 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega10_get_thermal_temperature_range() 5253 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega10_get_thermal_temperature_range() 5255 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega10_get_thermal_temperature_range() 5257 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega10_get_thermal_temperature_range() 5262 thermal_data->sw_ctf_threshold = tdp_table->usSoftwareShutdownTemp; in vega10_get_thermal_temperature_range() 5264 thermal_data->sw_ctf_threshold = VEGA10_THERMAL_MAXIMUM_ALERT_TEMP; in vega10_get_thermal_temperature_range() [all …]
|
D | smu8_hwmgr.c | 1856 struct PP_TemperatureRange *thermal_data) in smu8_get_thermal_temperature_range() argument 1860 memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange)); in smu8_get_thermal_temperature_range() 1862 thermal_data->max = (data->thermal_auto_throttling_treshold + in smu8_get_thermal_temperature_range()
|
D | smu7_hwmgr.c | 5410 struct PP_TemperatureRange *thermal_data) in smu7_get_thermal_temperature_range() argument 5416 memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange)); in smu7_get_thermal_temperature_range() 5419 thermal_data->max = table_info->cac_dtp_table->usSoftwareShutdownTemp * in smu7_get_thermal_temperature_range() 5422 thermal_data->max = data->thermal_temp_setting.temperature_shutdown * in smu7_get_thermal_temperature_range() 5425 thermal_data->sw_ctf_threshold = thermal_data->max; in smu7_get_thermal_temperature_range()
|