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

/freebsd-11-stable/sys/powerpc/powermac/
H A Dpowermac_thermal.h32 #define ZERO_C_TO_K 2731 macro
H A Dpowermac_thermal.c121 (sensor->last_val - ZERO_C_TO_K) / 10,
122 (sensor->last_val - ZERO_C_TO_K) % 10,
123 (sensor->sensor->max_temp - ZERO_C_TO_K) / 10,
124 (sensor->sensor->max_temp - ZERO_C_TO_K) % 10,
/freebsd-11-stable/sys/dev/iicbus/
H A Dds1775.c212 sc->sc_sensor.target_temp = 500 + ZERO_C_TO_K;
213 sc->sc_sensor.max_temp = 600 + ZERO_C_TO_K;
216 sc->sc_sensor.target_temp = 300 + ZERO_C_TO_K;
217 sc->sc_sensor.max_temp = 600 + ZERO_C_TO_K;
251 return (((int16_t)(read) >> 7) * 5 + ZERO_C_TO_K);
H A Dds1631.c346 sc->sc_sensor.target_temp = 400 + ZERO_C_TO_K;
347 sc->sc_sensor.max_temp = 500 + ZERO_C_TO_K;
349 sc->sc_sensor.target_temp = 300 + ZERO_C_TO_K;
350 sc->sc_sensor.max_temp = 500 + ZERO_C_TO_K;
392 return (((int16_t)(read) >> 6) * 25 / 10 + ZERO_C_TO_K);
H A Dmax6690.c215 sc->sc_sensors[j].therm.target_temp = 400 + ZERO_C_TO_K;
216 sc->sc_sensors[j].therm.max_temp = 800 + ZERO_C_TO_K;
359 return (temp + ZERO_C_TO_K);
H A Dad7417.c379 sc->sc_sensors[j].therm.target_temp = 500 + ZERO_C_TO_K;
380 sc->sc_sensors[j].therm.max_temp = 900 + ZERO_C_TO_K;
545 return (temp + ZERO_C_TO_K);
601 temp += ZERO_C_TO_K;
H A Dadt746x.c436 sc->sc_sensors[i].therm.target_temp = 500 + ZERO_C_TO_K;
437 sc->sc_sensors[i].therm.max_temp = 800 + ZERO_C_TO_K;
553 tmp = 10 * temp + ZERO_C_TO_K;

Completed in 71 milliseconds