Lines Matching refs:temperature
24 * version reporting. Added read routine for temperature.
34 * 971222 Changed open/close for temperature handling
84 * has temperature reporting. Since I didn't receive a Rev.B card,
179 a temperature device */
502 * temperature in other cards. */
508 * over-temperature condition. And the reboot
572 static int pcwd_get_temperature(int *temperature)
574 /* check that port 0 gives temperature info and no command results */
578 *temperature = 0;
587 *temperature = ((inb(pcwd_private.io_addr)) * 9 / 5) + 32;
591 printk(KERN_DEBUG PFX "temperature is: %d F\n",
592 *temperature);
606 int temperature;
633 if (pcwd_get_temperature(&temperature))
636 return put_user(temperature, argp);
733 * /dev/temperature handling
739 int temperature;
741 if (pcwd_get_temperature(&temperature))
744 if (copy_to_user(buf, &temperature, 1))
792 .name = "temperature",
921 /* Check whether or not the card supports the temperature device */