Lines Matching refs:temperature
117 /* Wether or not the card has a temperature device */
390 static int pcipcwd_get_temperature(int *temperature)
392 *temperature = 0;
397 *temperature = inb_p(pcipcwd_private.io_addr);
404 *temperature = (*temperature * 9 / 5) + 32;
407 pr_debug("temperature is: %d F\n", *temperature);
494 int temperature;
496 if (pcipcwd_get_temperature(&temperature))
499 return put_user(temperature, p);
597 * /dev/temperature handling
603 int temperature;
605 if (pcipcwd_get_temperature(&temperature))
608 if (copy_to_user(data, &temperature, 1))
670 .name = "temperature",
727 /* Check whether or not the card supports the temperature device */