Home
last modified time | relevance | path

Searched refs:ZERO_C_TO_K (Results 1 – 7 of 7) sorted by relevance

/trueos/sys/dev/iicbus/
HDds1775.c212 sc->sc_sensor.target_temp = 500 + ZERO_C_TO_K; in ds1775_start()
213 sc->sc_sensor.max_temp = 600 + ZERO_C_TO_K; in ds1775_start()
216 sc->sc_sensor.target_temp = 300 + ZERO_C_TO_K; in ds1775_start()
217 sc->sc_sensor.max_temp = 600 + ZERO_C_TO_K; in ds1775_start()
251 return (((int16_t)(read) >> 7) * 5 + ZERO_C_TO_K); in ds1775_sensor_read()
HDds1631.c346 sc->sc_sensor.target_temp = 400 + ZERO_C_TO_K; in ds1631_start()
347 sc->sc_sensor.max_temp = 500 + ZERO_C_TO_K; in ds1631_start()
349 sc->sc_sensor.target_temp = 300 + ZERO_C_TO_K; in ds1631_start()
350 sc->sc_sensor.max_temp = 500 + ZERO_C_TO_K; in ds1631_start()
392 return (((int16_t)(read) >> 6) * 25 / 10 + ZERO_C_TO_K); in ds1631_sensor_read()
HDmax6690.c215 sc->sc_sensors[j].therm.target_temp = 400 + ZERO_C_TO_K; in max6690_fill_sensor_prop()
216 sc->sc_sensors[j].therm.max_temp = 800 + ZERO_C_TO_K; in max6690_fill_sensor_prop()
355 return (temp + ZERO_C_TO_K); in max6690_sensor_read()
HDad7417.c379 sc->sc_sensors[j].therm.target_temp = 500 + ZERO_C_TO_K; in ad7417_fill_sensor_prop()
380 sc->sc_sensors[j].therm.max_temp = 900 + ZERO_C_TO_K; in ad7417_fill_sensor_prop()
545 return (temp + ZERO_C_TO_K); in ad7417_diode_read()
601 temp += ZERO_C_TO_K; in ad7417_sensor_read()
HDadt746x.c436 sc->sc_sensors[i].therm.target_temp = 500 + ZERO_C_TO_K; in adt746x_fill_sensor_prop()
437 sc->sc_sensors[i].therm.max_temp = 800 + ZERO_C_TO_K; in adt746x_fill_sensor_prop()
552 tmp = 10 * temp + ZERO_C_TO_K; in adt746x_sensor_read()
/trueos/sys/powerpc/powermac/
HDpowermac_thermal.c116 (sensor->last_val - ZERO_C_TO_K) / 10, in pmac_therm_manage_fans()
117 (sensor->last_val - ZERO_C_TO_K) % 10, in pmac_therm_manage_fans()
118 (sensor->sensor->max_temp - ZERO_C_TO_K) / 10, in pmac_therm_manage_fans()
119 (sensor->sensor->max_temp - ZERO_C_TO_K) % 10, in pmac_therm_manage_fans()
HDpowermac_thermal.h32 #define ZERO_C_TO_K 2732 macro