Lines Matching refs:temperature
119 int supports_temp; /* Wether or not the card has a temperature device */
384 static int pcipcwd_get_temperature(int *temperature)
386 *temperature = 0;
391 *temperature = inb_p(pcipcwd_private.io_addr);
398 *temperature = (*temperature * 9 / 5) + 32;
401 printk(KERN_DEBUG PFX "temperature is: %d F\n",
402 *temperature);
492 int temperature;
494 if (pcipcwd_get_temperature(&temperature))
497 return put_user(temperature, p);
595 * /dev/temperature handling
601 int temperature;
603 if (pcipcwd_get_temperature(&temperature))
606 if (copy_to_user (data, &temperature, 1))
668 .name = "temperature",
724 /* Check whether or not the card supports the temperature device */