Searched refs:temp_critical (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/thermal/st/ |
| D | stm_thermal.c | 96 int temp_critical; member 451 sensor->high_temp = sensor->temp_critical; in stm_thermal_get_temp() 459 if (sensor->high_temp == sensor->temp_critical && in stm_thermal_get_temp() 473 (celsius(*temp) < sensor->temp_critical)) { in stm_thermal_get_temp() 671 &sensor->temp_critical); in stm_thermal_probe() 678 sensor->temp_critical = celsius(sensor->temp_critical); in stm_thermal_probe() 681 sensor->high_temp = sensor->temp_critical; in stm_thermal_probe()
|
| /Linux-v5.4/drivers/hwmon/ |
| D | thmc50.c | 71 s8 temp_critical[3]; member 100 data->temp_critical[i] = in thmc50_update_device() 236 return sprintf(buf, "%d\n", data->temp_critical[nr] * 1000); in temp_critical_show() 251 static SENSOR_DEVICE_ATTR_RO(temp1_crit, temp_critical, 0); 255 static SENSOR_DEVICE_ATTR_RO(temp2_crit, temp_critical, 1); 259 static SENSOR_DEVICE_ATTR_RO(temp3_crit, temp_critical, 2);
|
| D | w83793.c | 229 u8 temp_critical; /* If reached all fan will be at full speed */ member 707 val = TEMP_FROM_REG(data->temp_critical & 0x7f); in show_sf_setup() 746 data->temp_critical = in store_sf_setup() 748 data->temp_critical |= TEMP_TO_REG(val, 0, 0x7f); in store_sf_setup() 750 data->temp_critical); in store_sf_setup() 1172 SENSOR_ATTR_2(temp_critical, S_IWUSR | S_IRUGO, show_sf_setup, 2020 data->temp_critical = in w83793_update_nonvolatile()
|
| /Linux-v5.4/drivers/thermal/ |
| D | imx_thermal.c | 211 int temp_critical; member 318 imx_set_alarm_temp(data, data->temp_critical); in imx_get_temp() 319 if (data->alarm_temp == data->temp_critical && in imx_get_temp() 404 *temp = data->temp_critical; in imx_get_crit_temp() 414 data->temp_critical; in imx_get_trip_temp() 428 if (temp < 0 || temp > data->temp_critical) in imx_set_trip_temp() 563 data->temp_critical = data->temp_max - (1000 * 5); in imx_init_temp_grade() 821 data->temp_max / 1000, data->temp_critical / 1000, in imx_thermal_probe() 833 imx_set_panic_temp(data, data->temp_critical); in imx_thermal_probe()
|