Home
last modified time | relevance | path

Searched refs:temperature (Results 1 – 25 of 201) sorted by relevance

123456789

/drivers/thermal/
A Dthermal_thresholds.c57 return t1->temperature - t2->temperature; in __thermal_thresholds_cmp()
61 int temperature) in __thermal_thresholds_find() argument
66 if (t->temperature == temperature) in __thermal_thresholds_find()
82 if (temperature >= t->temperature && in thermal_thresholds_handle_raising()
100 if (temperature <= t->temperature && in thermal_thresholds_handle_dropping()
114 if (temperature < t->temperature && in thermal_threshold_find_boundaries()
117 *high = t->temperature; in thermal_threshold_find_boundaries()
121 if (temperature > t->temperature && in thermal_threshold_find_boundaries()
124 *low = t->temperature; in thermal_threshold_find_boundaries()
132 int temperature = tz->temperature; in thermal_thresholds_handle() local
[all …]
A DKconfig12 Each thermal zone contains its own temperature, trip points,
25 zones discovery, temperature readings and events such as
130 Select this if you want to control temperature based on
237 user can manually input temperature and test the different trip
242 flooding this sysfs node with low temperature values.
307 This includes temperature reading functionality.
314 Support for die junction temperature warning alarm for Maxim
316 interrupts when PMIC die temperature cross the threshold of
475 channel and converts it to temperature based on lookup table.
516 temperature range to trigger the interrupt. When the input temperature
[all …]
A Dimx_thermal.c283 if (data->alarm_temp == trips[IMX_TRIP_PASSIVE].temperature && in imx_get_temp()
284 *temp >= trips[IMX_TRIP_PASSIVE].temperature) in imx_get_temp()
285 imx_set_alarm_temp(data, trips[IMX_TRIP_CRITICAL].temperature); in imx_get_temp()
286 if (data->alarm_temp == trips[IMX_TRIP_CRITICAL].temperature && in imx_get_temp()
287 *temp < trips[IMX_TRIP_PASSIVE].temperature) { in imx_get_temp()
288 imx_set_alarm_temp(data, trips[IMX_TRIP_PASSIVE].temperature); in imx_get_temp()
345 if (temp < 0 || temp > trips[IMX_TRIP_CRITICAL].temperature) in imx_set_trip_temp()
349 trips[IMX_TRIP_PASSIVE].temperature = temp; in imx_set_trip_temp()
699 trips[IMX_TRIP_PASSIVE].temperature / 1000); in imx_thermal_probe()
707 imx_set_alarm_temp(data, trips[IMX_TRIP_PASSIVE].temperature); in imx_thermal_probe()
[all …]
A Dgov_bang_bang.c73 thermal_zone_trip_id(tz, trip), trip->temperature, in bang_bang_trip_crossed()
74 tz->temperature, trip->hysteresis); in bang_bang_trip_crossed()
93 if (trip->temperature == THERMAL_TEMP_INVALID || in bang_bang_manage()
102 turn_on = tz->temperature >= td->threshold; in bang_bang_manage()
A Dthermal_thresholds.h7 int temperature; member
15 int thermal_thresholds_add(struct thermal_zone_device *tz, int temperature, int direction);
16 int thermal_thresholds_delete(struct thermal_zone_device *tz, int temperature, int direction);
A Dthermal_netlink.h57 int temperature, int direction);
59 int temperature, int direction);
150 int temperature, int direction) in thermal_notify_threshold_add() argument
156 int temperature, int direction) in thermal_notify_threshold_delete() argument
/drivers/iio/humidity/
A DKconfig8 tristate "Aosong AM2315 relative humidity and temperature sensor"
14 relative humidity and ambient temperature sensor.
29 tristate "ENS210 temperature and humidity sensor"
34 humidity and temperature sensors.
40 tristate "TI HDC100x relative humidity and temperature sensor"
47 humidity and temperature sensors.
53 tristate "TI HDC2010 relative humidity and temperature sensor"
96 temperature-humidity sensor
117 HTU21 humidity and temperature sensor.
125 tristate "SI7005 relative humidity and temperature sensor"
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
A Dtt.c56 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
59 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
165 notif->temperature); in iwl_mvm_ct_kill_notif()
390 s32 temperature = mvm->temperature; in iwl_mvm_tt_handler() local
439 if (temperature < params->tx_backoff[i].temperature) in iwl_mvm_tt_handler()
472 {.temperature = 112, .backoff = 200},
473 {.temperature = 113, .backoff = 600},
474 {.temperature = 114, .backoff = 1200},
603 int *temperature) in iwl_mvm_tzone_get_temp() argument
617 *temperature = THERMAL_TEMP_INVALID; in iwl_mvm_tzone_get_temp()
[all …]
/drivers/watchdog/
A Dwdrtas.c185 int temperature = 0; in wdrtas_get_temperature() local
187 result = rtas_get_sensor(WDRTAS_THERMAL_SENSOR, 0, &temperature); in wdrtas_get_temperature()
192 temperature = ((temperature * 9) / 5) + 32; /* fahrenheit */ in wdrtas_get_temperature()
194 return temperature; in wdrtas_get_temperature()
409 int temperature = 0; in wdrtas_temp_read() local
411 temperature = wdrtas_get_temperature(); in wdrtas_temp_read()
412 if (temperature < 0) in wdrtas_temp_read()
413 return temperature; in wdrtas_temp_read()
415 if (copy_to_user(buf, &temperature, 1)) in wdrtas_temp_read()
A Dpcwd_pci.c390 static int pcipcwd_get_temperature(int *temperature) in pcipcwd_get_temperature() argument
392 *temperature = 0; in pcipcwd_get_temperature()
397 *temperature = inb_p(pcipcwd_private.io_addr); in pcipcwd_get_temperature()
404 *temperature = (*temperature * 9 / 5) + 32; in pcipcwd_get_temperature()
407 pr_debug("temperature is: %d F\n", *temperature); in pcipcwd_get_temperature()
494 int temperature; in pcipcwd_ioctl() local
496 if (pcipcwd_get_temperature(&temperature)) in pcipcwd_ioctl()
499 return put_user(temperature, p); in pcipcwd_ioctl()
603 int temperature; in pcipcwd_temp_read() local
605 if (pcipcwd_get_temperature(&temperature)) in pcipcwd_temp_read()
[all …]
/drivers/net/wireless/intel/iwlwifi/dvm/
A Ddevices.c165 .temperature = iwlagn_temperature,
226 .temperature = iwlagn_temperature,
239 .temperature = iwlagn_temperature,
263 .temperature = iwlagn_temperature,
334 u16 temperature, voltage; in iwl_temp_calib_to_offset() local
340 return (s32)(temperature - in iwl_temp_calib_to_offset()
453 .temperature = iwlagn_temperature,
624 .temperature = iwlagn_temperature,
635 .temperature = iwlagn_temperature,
647 .temperature = iwlagn_temperature,
[all …]
/drivers/iio/temperature/
A DKconfig8 tristate "Azoteq IQS620AT temperature sensor"
12 temperature sensor.
23 high accuracy digital temperature measurement system.
45 tristate "HID Environmental temperature sensor"
52 temperature driver
55 will be called hid-sensor-temperature.
129 TSYS01 I2C temperature sensor.
135 tristate "Measurement Specialties TSYS02D temperature sensor"
140 TSYS02D temperature sensor.
146 tristate "Maxim MAX30208 digital temperature sensor"
[all …]
/drivers/thermal/qcom/
A DKconfig10 Also able to set threshold temperature for both hot and cold and update
21 Thermal client sets threshold temperature for both warm and cool and
31 trip points. The temperature reported by the thermal sensor reflects the
32 real time die temperature if an ADC is present or an estimate of the
33 temperature based upon the over temperature stage value.
41 input from temperature and current sensors. On many newer Qualcomm SoCs
/drivers/thermal/intel/
A DKconfig23 tristate "X86 package temperature thermal driver"
29 Enable this to register CPU digital sensor for package temperature as
41 digital temperature sensors (DTSs) using side band interface (IOSF). This
42 implements the common set of helper functions to register, get temperature
51 temperature sensor (DTS). These SoCs have two additional DTSs in
56 was set by the driver based on the TJ MAX temperature.
63 temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
78 system temperature measurements and alerts.
81 the trip point and temperature details of the zone.
89 Thermal reporting device will provide temperature reading,
[all …]
/drivers/net/wireless/ath/ath10k/
A Dthermal.c67 int ret, temperature; in ath10k_thermal_show_temp() local
99 temperature = ar->thermal.temperature; in ath10k_thermal_show_temp()
103 ret = sysfs_emit(buf, "%d\n", temperature * 1000); in ath10k_thermal_show_temp()
109 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) in ath10k_thermal_event_temperature() argument
112 ar->thermal.temperature = temperature; in ath10k_thermal_event_temperature()
A Dthermal.h25 int temperature; member
31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);
44 int temperature) in ath10k_thermal_event_temperature() argument
/drivers/net/wireless/intel/iwlwifi/cfg/
A Drf-jf.c46 {.temperature = 110, .backoff = 200},
47 {.temperature = 111, .backoff = 600},
48 {.temperature = 112, .backoff = 1200},
49 {.temperature = 113, .backoff = 2000},
50 {.temperature = 114, .backoff = 4000},
A D8000.c65 {.temperature = 110, .backoff = 200},
66 {.temperature = 111, .backoff = 600},
67 {.temperature = 112, .backoff = 1200},
68 {.temperature = 113, .backoff = 2000},
69 {.temperature = 114, .backoff = 4000},
A D7000.c75 {.temperature = 112, .backoff = 300},
76 {.temperature = 113, .backoff = 800},
77 {.temperature = 114, .backoff = 1500},
78 {.temperature = 115, .backoff = 3000},
79 {.temperature = 116, .backoff = 5000},
80 {.temperature = 117, .backoff = 10000},
/drivers/thermal/mediatek/
A DKconfig6 Please enable corresponding options to get temperature
13 tristate "AUXADC temperature sensor driver for MediaTek SoCs"
16 Enable this option if you want to get SoC temperature
19 temperature via AUXADC interface.
25 Enable this option if you want to get SoC temperature
/drivers/net/wireless/ath/ath11k/
A Dthermal.c68 int ret, temperature; in ath11k_thermal_show_temp() local
100 temperature = ar->thermal.temperature; in ath11k_thermal_show_temp()
104 ret = sysfs_emit(buf, "%d\n", temperature * 1000); in ath11k_thermal_show_temp()
110 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) in ath11k_thermal_event_temperature() argument
113 ar->thermal.temperature = temperature; in ath11k_thermal_event_temperature()
A Dthermal.h26 int temperature; member
33 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature);
50 int temperature) in ath11k_thermal_event_temperature() argument
/drivers/net/wireless/intel/iwlegacy/
A D4965.c707 omeas->temperature = in il4965_interpolate_chan()
709 m1->temperature, in il4965_interpolate_chan()
711 m2->temperature); in il4965_interpolate_chan()
726 m, m1->temperature, m2->temperature, in il4965_interpolate_chan()
727 omeas->temperature); in il4965_interpolate_chan()
1564 s32 temperature; in il4965_hw_get_temperature() local
1608 temperature /= (R3 - R1); in il4965_hw_get_temperature()
1609 temperature = in il4965_hw_get_temperature()
1615 return temperature; in il4965_hw_get_temperature()
1671 if (il->temperature) in il4965_temperature_calib()
[all …]
/drivers/hwmon/
A Dsht3x.c181 int temperature; member
280 data->temperature = sht3x_extract_temperature(val); in sht3x_update_client()
301 return data->temperature; in temp1_input_read()
321 int temperature; in limits_update() local
340 data->temperature_limits[index] = temperature; in limits_update()
366 int temperature, in limit_write() argument
387 raw = ((u32)(temperature + 45000) * 24543) >> (16 + 7); in limit_write()
404 data->temperature_limits[index] = temperature; in limit_write()
412 int temperature; in temp1_limit_write() local
416 temperature = clamp_val(val, SHT3X_MIN_TEMPERATURE, in temp1_limit_write()
[all …]
A DKconfig93 AD7414 temperature monitoring chip.
253 temperature and humidity sensors
838 and temperature sensors.
1326 temperature sensor chips.
1617 temperature sensor chips.
1638 temperature sensor chips.
1653 temperature monitoring.
2010 temperature monitoring chip.
2136 temperature sensor chips.
2313 input temperature sensor chips.
[all …]

Completed in 824 milliseconds

123456789