Searched refs:ZERO_C_TO_K (Results 1 – 7 of 7) sorted by relevance
212 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()
346 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()
215 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()
379 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()
436 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()
116 (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()
32 #define ZERO_C_TO_K 2732 macro