Searched refs:thermal_data (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/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-v5.4/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() 392 struct thermal_data *data; in emc1403_probe() 395 data = devm_kzalloc(&client->dev, sizeof(struct thermal_data), in emc1403_probe()
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega12_hwmgr.c | 2579 struct PP_TemperatureRange *thermal_data) in vega12_get_thermal_temperature_range() argument 2585 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega12_get_thermal_temperature_range() 2587 thermal_data->max = pp_table->TedgeLimit * in vega12_get_thermal_temperature_range() 2589 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega12_get_thermal_temperature_range() 2591 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega12_get_thermal_temperature_range() 2593 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega12_get_thermal_temperature_range() 2595 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega12_get_thermal_temperature_range() 2597 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega12_get_thermal_temperature_range()
|
D | vega20_hwmgr.c | 4116 struct PP_TemperatureRange *thermal_data) in vega20_get_thermal_temperature_range() argument 4122 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega20_get_thermal_temperature_range() 4124 thermal_data->max = pp_table->TedgeLimit * in vega20_get_thermal_temperature_range() 4126 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega20_get_thermal_temperature_range() 4128 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega20_get_thermal_temperature_range() 4130 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega20_get_thermal_temperature_range() 4132 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega20_get_thermal_temperature_range() 4134 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega20_get_thermal_temperature_range()
|
D | smu8_hwmgr.c | 1806 struct PP_TemperatureRange *thermal_data) in smu8_get_thermal_temperature_range() argument 1810 memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange)); in smu8_get_thermal_temperature_range() 1812 thermal_data->max = (data->thermal_auto_throttling_treshold + in smu8_get_thermal_temperature_range()
|
D | vega10_hwmgr.c | 4879 struct PP_TemperatureRange *thermal_data) in vega10_get_thermal_temperature_range() argument 4884 memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange)); in vega10_get_thermal_temperature_range() 4886 thermal_data->max = pp_table->TedgeLimit * in vega10_get_thermal_temperature_range() 4888 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega10_get_thermal_temperature_range() 4890 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega10_get_thermal_temperature_range() 4892 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega10_get_thermal_temperature_range() 4894 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega10_get_thermal_temperature_range() 4896 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega10_get_thermal_temperature_range()
|
D | smu7_hwmgr.c | 4790 struct PP_TemperatureRange *thermal_data) in smu7_get_thermal_temperature_range() argument 4796 memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange)); in smu7_get_thermal_temperature_range() 4799 thermal_data->max = table_info->cac_dtp_table->usSoftwareShutdownTemp * in smu7_get_thermal_temperature_range() 4802 thermal_data->max = data->thermal_temp_setting.temperature_shutdown * in smu7_get_thermal_temperature_range()
|