Searched refs:temperature (Results 1 - 25 of 77) sorted by relevance

1234

/drivers/net/wireless/iwlwifi/mvm/
H A Dtt.c85 * the temperature will not change unless we manually set it
152 IWL_ERR(mvm, "Failed to get the temperature (err=%d)\n", ret);
160 IWL_ERR(mvm, "Getting the temperature timed out\n");
199 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", temp);
281 s32 temperature = mvm->temperature; local
286 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", mvm->temperature);
288 if (params->support_ct_kill && temperature >= params->ct_kill_entry) {
294 temperature <
[all...]
H A Drx.c504 * set temperature debug enabled - ignore FW temperature updates
505 * and use the user set temperature.
508 if (mvm->temperature < le32_to_cpu(common->temperature))
510 "Ignoring FW temperature update that is greater than the debug set temperature (debug temp = %d, fw temp = %d)\n",
511 mvm->temperature,
512 le32_to_cpu(common->temperature));
515 * temperature debu
[all...]
/drivers/thermal/
H A Dgov_bang_bang.c36 trip, trip_temp, tz->temperature,
57 * enable fan when temperature exceeds trip_temp and disable
60 if (instance->target == 0 && tz->temperature >= trip_temp)
63 tz->temperature < trip_temp - trip_hyst)
96 * * If the fan is not running and temperature exceeds trip_temp, the fan
98 * * In case the fan is running, temperature must fall below
H A Dthermal_hwmon.c49 /* one temperature input for each thermal zone */
72 long temperature; local
81 ret = thermal_zone_get_temp(tz, &temperature);
86 return sprintf(buf, "%ld\n", temperature);
98 long temperature; local
101 ret = tz->ops->get_trip_temp(tz, 0, &temperature);
105 return sprintf(buf, "%ld\n", temperature);
125 /* Find the temperature input matching a given thermal zone */
251 dev_dbg(&tz->device, "temperature input lookup failed!\n");
H A Dthermal_core.c177 if (tz->temperature > tz->last_temperature)
179 else if (tz->temperature < tz->last_temperature)
371 if (tz->temperature < trip_temp)
381 "critical temperature reached(%d C),shutting down\n",
382 tz->temperature / 1000);
405 * thermal_zone_get_temp() - returns its the temperature of thermal zone
407 * @temp: a valid pointer to where to store the resulting temperature.
410 * temperature and fill @temp.
467 tz->last_temperature = tz->temperature;
468 tz->temperature
515 long temperature; local
605 unsigned long temperature; local
627 long temperature; local
649 unsigned long temperature; local
676 unsigned long temperature; local
788 unsigned long temperature; local
[all...]
H A Dfair_share.c45 if (tz->temperature < trip_temp)
50 * count > 0 only if temperature is greater than first trip
84 * We do not want to throttle too much when we trip a lower temperature,
/drivers/watchdog/
H A Dwdrtas.c188 * wdrtas_get_temperature - returns current temperature
190 * returns temperature or <0 on failures
192 * wdrtas_get_temperature returns the current temperature in Fahrenheit. It
198 int temperature = 0; local
200 result = rtas_get_sensor(WDRTAS_THERMAL_SENSOR, 0, &temperature);
205 temperature = ((temperature * 9) / 5) + 32; /* fahrenheit */
207 return temperature;
407 * wdrtas_temp_read - gives back the temperature in fahrenheit
416 * wdrtas_temp_read gives the temperature t
422 int temperature = 0; local
[all...]
H A Dpcwd_pci.c121 /* Wether or not the card has a temperature device */
394 static int pcipcwd_get_temperature(int *temperature) argument
396 *temperature = 0;
401 *temperature = inb_p(pcipcwd_private.io_addr);
408 *temperature = (*temperature * 9 / 5) + 32;
411 pr_debug("temperature is: %d F\n", *temperature);
498 int temperature; local
500 if (pcipcwd_get_temperature(&temperature))
607 int temperature; local
[all...]
H A Dpcwd_usb.c331 int *temperature)
341 *temperature = (lsb * 9 / 5) + 32;
416 int temperature; local
418 if (usb_pcwd_get_temperature(usb_pcwd_device, &temperature))
421 return put_user(temperature, p);
509 * /dev/temperature handling
515 int temperature; local
517 if (usb_pcwd_get_temperature(usb_pcwd_device, &temperature))
520 if (copy_to_user(data, &temperature, 1))
578 .name = "temperature",
330 usb_pcwd_get_temperature(struct usb_pcwd_private *usb_pcwd, int *temperature) argument
[all...]
H A Dpcwd.c24 * version reporting. Added read routine for temperature.
34 * 971222 Changed open/close for temperature handling
85 * has temperature reporting. Since I didn't receive a Rev.B card,
180 a temperature device */
490 * temperature in other cards. */
496 * over-temperature condition. And the reboot
556 static int pcwd_get_temperature(int *temperature) argument
558 /* check that port 0 gives temperature info and no command results */
562 *temperature = 0;
571 *temperature
589 int temperature; local
721 int temperature; local
[all...]
H A Dwdt_pci.c274 * Reports the temperature in degrees Fahrenheit. The API is in
278 static int wdtpci_get_temperature(int *temperature) argument
286 *temperature = (c * 11 / 15) + 7;
499 * Read reports the temperature in degrees Fahrenheit. The API is in
506 int temperature; local
508 if (wdtpci_get_temperature(&temperature))
511 if (copy_to_user(buf, &temperature, 1))
522 * The temperature device has been opened.
535 * The temperature device has been closed.
593 .name = "temperature",
[all...]
/drivers/acpi/
H A Dthermal.c144 unsigned long temperature; member in struct:acpi_thermal_critical
149 unsigned long temperature; member in struct:acpi_thermal_hot
154 unsigned long temperature; member in struct:acpi_thermal_passive
163 unsigned long temperature; member in struct:acpi_thermal_active
183 unsigned long temperature; member in struct:acpi_thermal
209 tz->last_temperature = tz->temperature;
215 tz->temperature = tmp;
217 tz->temperature));
297 tz->trips.critical.temperature = tmp;
316 tz->trips.critical.temperature));
692 thermal_get_crit_temp(struct thermal_zone_device *thermal, unsigned long *temperature) argument
[all...]
/drivers/net/wireless/iwlwifi/dvm/
H A Ddevices.c45 * For 1000, use advance thermal throttling critical temperature threshold,
48 * but not implement ct_kill_exit based on ct_kill exit temperature
180 .temperature = iwlagn_temperature,
241 .temperature = iwlagn_temperature,
254 .temperature = iwlagn_temperature,
278 .temperature = iwlagn_temperature,
349 u16 temperature, voltage; local
351 temperature = le16_to_cpu(priv->nvm_data->kelvin_temperature);
355 return (s32)(temperature -
395 vt = le32_to_cpu(priv->statistics.common.temperature);
[all...]
/drivers/iio/humidity/
H A DKconfig16 tristate "SI7005 relative humidity and temperature sensor"
20 humidity and temperature sensor.
H A Ddht11.c62 int temperature; member in struct:dht11
125 dht11->temperature = (((temp_int & 0x7f) << 8) + temp_dec) *
129 dht11->temperature = temp_int * 1000;
181 *val = dht11->temperature;
292 MODULE_DESCRIPTION("DHT11 humidity/temperature sensor driver");
/drivers/staging/iio/addac/
H A DKconfig7 tristate "Analog Devices ADT7316/7/8 ADT7516/7/9 temperature sensor, ADC and DAC driver"
11 and ADT7516, ADT7517, ADT7519 temperature sensors, ADC and DAC.
/drivers/hwmon/
H A Dhih6130.c1 /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver
44 * @temperature: cached temperature measurement value
53 int temperature; member in struct:hih6130
59 * hih6130_temp_ticks_to_millicelsius() - convert raw temperature ticks to
61 * @ticks: temperature ticks value received from sensor
117 * and temperature at 30s under specified conditions.
154 hih6130->temperature = hih6130_temp_ticks_to_millicelsius(t);
166 * hih6130_show_temperature() - show temperature measurement value in sysfs
184 return sprintf(buf, "%d\n", hih6130->temperature);
[all...]
H A Dhtu21.c2 * Measurement Specialties HTU21D humidity and temperature sensor driver
38 int temperature; member in struct:htu21
76 htu21->temperature = htu21_temp_ticks_to_millicelsius(ret);
100 return sprintf(buf, "%d\n", htu21->temperature);
173 MODULE_DESCRIPTION("MEAS HTU21D humidity and temperature sensor driver");
H A Dsht21.c1 /* Sensirion SHT21 humidity and temperature sensor driver
44 * @temperature: cached temperature measurement value
52 int temperature; member in struct:sht21
57 * sht21_temp_ticks_to_millicelsius() - convert raw temperature ticks to
59 * @ticks: temperature ticks value received from sensor
109 sht21->temperature = sht21_temp_ticks_to_millicelsius(ret);
125 * sht21_show_temperature() - show temperature measurement value in sysfs
143 return sprintf(buf, "%d\n", sht21->temperature);
225 MODULE_DESCRIPTION("Sensirion SHT21 humidity and temperature senso
[all...]
/drivers/net/wireless/iwlegacy/
H A D4965.c459 * Voltage, temperature, and MIMO tx gain correction, now stored in il
477 /* Calculate temperature */
478 il->temperature = il4965_hw_get_temperature(il);
723 omeas->temperature =
725 m1->temperature,
727 m2->temperature);
742 m, m1->temperature, m2->temperature,
743 omeas->temperature);
1120 /* get current temperature (Celsiu
1579 s32 temperature; local
[all...]
H A D3945.c411 il->_3945.accum_stats.general.temperature =
412 il->_3945.stats.general.temperature;
1063 * il3945_hw_reg_temp_out_of_range - Keep temperature in sane range
1066 il3945_hw_reg_temp_out_of_range(int temperature) argument
1068 return (temperature < -260 || temperature > 25) ? 1 : 0;
1079 * get the current temperature by reading from NIC
1085 int temperature; local
1087 temperature = il3945_hw_get_temperature(il);
1091 D_INFO("Temperature: %d\n", temperature
1576 int temperature = il->temperature; local
2083 int temperature; local
[all...]
/drivers/iio/
H A DMakefile28 obj-y += temperature/
/drivers/misc/
H A Dbmp085.c6 * and temperature sensors from Bosch Sensortec. The datasheets
16 * The temperature can be read from temp0_input. Values range from
17 * -400 to 850 representing the ambient temperature in degree celsius
20 * Because ambient pressure is temperature dependent, a temperature
22 * from pressure0_input. This happens if the last temperature measurement
87 s32 b6; /* calculated temperature correction coefficient */
138 "Error while requesting temperature measurement.\n");
148 "Error while reading temperature measurement result\n");
199 * This function starts the temperature measuremen
202 bmp085_get_temperature(struct bmp085_data *data, int *temperature) argument
339 int temperature; local
[all...]
/drivers/net/ethernet/qlogic/
H A DKconfig75 board temperature in Converged Ethernet devices
/drivers/iio/adc/
H A DKconfig28 8 Channel ADC with temperature sensor.
40 8 Channel ADC with temperature sensor.
265 detection, battery voltage and temperature measurement, die
266 temperature measurement, system supply voltage, audio accessory,

Completed in 2001 milliseconds

1234