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

/freebsd-13-stable/sys/powerpc/powermac/
H A Dpowermac_thermal.h34 #define ZERO_C_TO_K 2731 macro
H A Dpowermac_thermal.c123 (sensor->last_val - ZERO_C_TO_K) / 10,
124 (sensor->last_val - ZERO_C_TO_K) % 10,
125 (sensor->sensor->max_temp - ZERO_C_TO_K) / 10,
126 (sensor->sensor->max_temp - ZERO_C_TO_K) % 10,
/freebsd-13-stable/sys/dev/iicbus/
H A Dds1775.c213 sc->sc_sensor.target_temp = 500 + ZERO_C_TO_K;
214 sc->sc_sensor.max_temp = 600 + ZERO_C_TO_K;
217 sc->sc_sensor.target_temp = 300 + ZERO_C_TO_K;
218 sc->sc_sensor.max_temp = 600 + ZERO_C_TO_K;
252 return (((int16_t)(read) >> 7) * 5 + ZERO_C_TO_K);
H A Dds1631.c347 sc->sc_sensor.target_temp = 400 + ZERO_C_TO_K;
348 sc->sc_sensor.max_temp = 500 + ZERO_C_TO_K;
350 sc->sc_sensor.target_temp = 300 + ZERO_C_TO_K;
351 sc->sc_sensor.max_temp = 500 + ZERO_C_TO_K;
393 return (((int16_t)(read) >> 6) * 25 / 10 + ZERO_C_TO_K);
H A Dmax6690.c223 sc->sc_sensors[j].therm.target_temp = 640 + ZERO_C_TO_K;
225 sc->sc_sensors[j].therm.target_temp = 400 + ZERO_C_TO_K;
226 sc->sc_sensors[j].therm.max_temp = 850 + ZERO_C_TO_K;
369 return (temp + ZERO_C_TO_K);
H A Dad7417.c394 sc->sc_sensors[j].therm.target_temp = 500 + ZERO_C_TO_K;
395 sc->sc_sensors[j].therm.max_temp = 900 + ZERO_C_TO_K;
559 return (temp + ZERO_C_TO_K);
615 temp += ZERO_C_TO_K;
H A Dadt746x.c438 sc->sc_sensors[i].therm.target_temp = 500 + ZERO_C_TO_K;
439 sc->sc_sensors[i].therm.max_temp = 800 + ZERO_C_TO_K;
556 tmp = 10 * temp + ZERO_C_TO_K;

Completed in 115 milliseconds