Lines Matching refs:temperature
209 * wdrtas_get_temperature - returns current temperature
211 * returns temperature or <0 on failures
213 * wdrtas_get_temperature returns the current temperature in Fahrenheit. It
219 int temperature = 0;
221 result = rtas_get_sensor(WDRTAS_THERMAL_SENSOR, 0, &temperature);
227 temperature = ((temperature * 9) / 5) + 32; /* fahrenheit */
229 return temperature;
430 * wdrtas_temp_read - gives back the temperature in fahrenheit
439 * wdrtas_temp_read gives the temperature to the users by copying this
445 int temperature = 0;
447 temperature = wdrtas_get_temperature();
448 if (temperature < 0)
449 return temperature;
451 if (copy_to_user(buf, &temperature, 1))
458 * wdrtas_temp_open - open function of temperature device
464 * function called when temperature device is opened
472 * wdrtas_temp_close - close function of temperature device
531 .name = "temperature",
554 "temperature support.\n");
585 * wdrtas_register_devs unregisters the watchdog and temperature watchdog
600 * wdrtas_register_devs registers the watchdog and temperature watchdog
618 "watchdog temperature misc device. Continuing "
619 "without temperature support.\n");