Home
last modified time | relevance | path

Searched refs:temp_critical (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/hwmon/
Dthmc50.c71 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);
Dw83793.c228 u8 temp_critical; /* If reached all fan will be at full speed */ member
705 val = TEMP_FROM_REG(data->temp_critical & 0x7f); in show_sf_setup()
744 data->temp_critical = in store_sf_setup()
746 data->temp_critical |= TEMP_TO_REG(val, 0, 0x7f); in store_sf_setup()
748 data->temp_critical); in store_sf_setup()
1170 SENSOR_ATTR_2(temp_critical, S_IWUSR | S_IRUGO, show_sf_setup,
2013 data->temp_critical = in w83793_update_nonvolatile()
/linux-6.1.9/drivers/thermal/
Dimx_thermal.c205 int temp_critical; member
284 imx_set_alarm_temp(data, data->temp_critical); in imx_get_temp()
285 if (data->alarm_temp == data->temp_critical && in imx_get_temp()
345 *temp = data->temp_critical; in imx_get_crit_temp()
355 data->temp_critical; in imx_get_trip_temp()
374 if (temp < 0 || temp > data->temp_critical) in imx_set_trip_temp()
510 data->temp_critical = data->temp_max - (1000 * 5); in imx_init_temp_grade()
761 data->temp_max / 1000, data->temp_critical / 1000, in imx_thermal_probe()
773 imx_set_panic_temp(data, data->temp_critical); in imx_thermal_probe()