Home
last modified time | relevance | path

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

12345678

/drivers/thermal/
Dthermal_trip.c69 trip_low = trip.temperature - trip.hysteresis; in __thermal_zone_set_trips()
71 if (trip_low < tz->temperature && trip_low > low) in __thermal_zone_set_trips()
74 if (trip.temperature > tz->temperature && in __thermal_zone_set_trips()
75 trip.temperature < high) in __thermal_zone_set_trips()
76 high = trip.temperature; in __thermal_zone_set_trips()
138 if (t.temperature != trip->temperature && tz->ops->set_trip_temp) { in thermal_zone_set_trip()
139 ret = tz->ops->set_trip_temp(tz, trip_id, trip->temperature); in thermal_zone_set_trip()
150 if (tz->trips && (t.temperature != trip->temperature || t.hysteresis != trip->hysteresis)) in thermal_zone_set_trip()
154 trip->temperature, trip->hysteresis); in thermal_zone_set_trip()
Dgov_bang_bang.c26 trip_index, trip->temperature, tz->temperature, in thermal_zone_trip_update()
48 if (instance->target == 0 && tz->temperature >= trip->temperature) in thermal_zone_trip_update()
51 tz->temperature <= trip->temperature - trip->hysteresis) in thermal_zone_trip_update()
DKconfig12 Each thermal zone contains its own temperature, trip points,
25 zones discovery, temperature readings and events such as
129 Select this if you want to control temperature based on
160 Say 'Y' here if you want to use two point temperature regulation
226 directory to support temperature emulation. With emulation sysfs node,
227 user can manually input temperature and test the different trip
232 flooding this sysfs node with low temperature values.
240 memory-mapped reads to get the temperature. Any HW/System that
241 allows temperature reading by a single memory-mapped reading, be it
275 controller via MU (message unit) IPC to get temperature from thermal
[all …]
Dimx_thermal.c282 if (data->alarm_temp == trips[IMX_TRIP_PASSIVE].temperature && in imx_get_temp()
283 *temp >= trips[IMX_TRIP_PASSIVE].temperature) in imx_get_temp()
284 imx_set_alarm_temp(data, trips[IMX_TRIP_CRITICAL].temperature); in imx_get_temp()
285 if (data->alarm_temp == trips[IMX_TRIP_CRITICAL].temperature && in imx_get_temp()
286 *temp < trips[IMX_TRIP_PASSIVE].temperature) { in imx_get_temp()
287 imx_set_alarm_temp(data, trips[IMX_TRIP_PASSIVE].temperature); in imx_get_temp()
353 if (temp < 0 || temp > trips[IMX_TRIP_CRITICAL].temperature) in imx_set_trip_temp()
464 trips[IMX_TRIP_PASSIVE].temperature = data->temp_max - (1000 * 10); in imx_init_temp_grade()
465 trips[IMX_TRIP_CRITICAL].temperature = data->temp_max - (1000 * 5); in imx_init_temp_grade()
715 data->temp_max / 1000, trips[IMX_TRIP_CRITICAL].temperature / 1000, in imx_thermal_probe()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c53 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
56 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
162 notif->temperature); in iwl_mvm_ct_kill_notif()
387 s32 temperature = mvm->temperature; in iwl_mvm_tt_handler() local
392 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", mvm->temperature); in iwl_mvm_tt_handler()
394 if (params->support_ct_kill && temperature >= params->ct_kill_entry) { in iwl_mvm_tt_handler()
400 temperature <= params->ct_kill_exit) { in iwl_mvm_tt_handler()
407 temperature >= params->dynamic_smps_entry) { in iwl_mvm_tt_handler()
415 temperature <= params->dynamic_smps_exit) { in iwl_mvm_tt_handler()
425 if (temperature >= params->tx_protection_entry) { in iwl_mvm_tt_handler()
[all …]
/drivers/acpi/
Dthermal.c96 unsigned long temperature; member
123 unsigned long temperature; member
149 tz->last_temperature = tz->temperature; in acpi_thermal_get_temperature()
155 tz->temperature = tmp; in acpi_thermal_get_temperature()
158 tz->temperature); in acpi_thermal_get_temperature()
202 tz->trips.critical.temperature = tmp; in __acpi_thermal_trips_update()
220 tz->trips.critical.temperature); in __acpi_thermal_trips_update()
231 if (crt_k > tz->trips.critical.temperature) in __acpi_thermal_trips_update()
234 tz->trips.critical.temperature = crt_k; in __acpi_thermal_trips_update()
247 tz->trips.hot.temperature = tmp; in __acpi_thermal_trips_update()
[all …]
/drivers/iio/humidity/
DKconfig8 tristate "Aosong AM2315 relative humidity and temperature sensor"
14 relative humidity and ambient temperature sensor.
29 tristate "TI HDC100x relative humidity and temperature sensor"
36 humidity and temperature sensors.
42 tristate "TI HDC2010 relative humidity and temperature sensor"
46 HDC2010 and HDC2080 relative humidity and temperature sensors.
73 temperature-humidity sensor
89 tristate "Measurement Specialties HTU21 humidity & temperature sensor"
94 HTU21 humidity and temperature sensor.
95 This driver is also used for MS8607 temperature, pressure & humidity
[all …]
/drivers/iio/temperature/
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.
100 tristate "TMP117 Digital temperature sensor with integrated NV memory"
104 TMP117 Digital temperature sensor with integrated NV memory.
110 tristate "Measurement Specialties TSYS01 temperature sensor using I2C bus connection"
115 TSYS01 I2C temperature sensor.
[all …]
/drivers/watchdog/
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()
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/
Ddevices.c163 .temperature = iwlagn_temperature,
224 .temperature = iwlagn_temperature,
237 .temperature = iwlagn_temperature,
261 .temperature = iwlagn_temperature,
332 u16 temperature, voltage; in iwl_temp_calib_to_offset() local
334 temperature = le16_to_cpu(priv->nvm_data->kelvin_temperature); in iwl_temp_calib_to_offset()
338 return (s32)(temperature - in iwl_temp_calib_to_offset()
378 vt = le32_to_cpu(priv->statistics.common.temperature); in iwl5150_temperature()
381 priv->temperature = kelvin_to_celsius(vt); in iwl5150_temperature()
451 .temperature = iwlagn_temperature,
[all …]
/drivers/thermal/qcom/
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/
DKconfig23 tristate "X86 package temperature thermal driver"
30 Enable this to register CPU digital sensor for package temperature as
42 digital temperature sensors (DTSs) using side band interface (IOSF). This
43 implements the common set of helper functions to register, get temperature
53 temperature sensor (DTS). These SoCs have two additional DTSs in
58 was set by the driver based on the TJ MAX temperature.
65 temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
80 system temperature measurements and alerts.
83 the trip point and temperature details of the zone.
91 Thermal reporting device will provide temperature reading,
[all …]
/drivers/net/wireless/ath/ath10k/
Dthermal.c66 int ret, temperature; in ath10k_thermal_show_temp() local
98 temperature = ar->thermal.temperature; in ath10k_thermal_show_temp()
102 ret = snprintf(buf, PAGE_SIZE, "%d\n", temperature * 1000); in ath10k_thermal_show_temp()
108 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) in ath10k_thermal_event_temperature() argument
111 ar->thermal.temperature = temperature; in ath10k_thermal_event_temperature()
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/ath/ath11k/
Dthermal.c68 int ret, temperature; in ath11k_thermal_show_temp() local
100 temperature = ar->thermal.temperature; in ath11k_thermal_show_temp()
104 ret = snprintf(buf, PAGE_SIZE, "%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()
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/thermal/mediatek/
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/intel/iwlwifi/cfg/
D8000.c67 {.temperature = 110, .backoff = 200},
68 {.temperature = 111, .backoff = 600},
69 {.temperature = 112, .backoff = 1200},
70 {.temperature = 113, .backoff = 2000},
71 {.temperature = 114, .backoff = 4000},
D9000.c63 {.temperature = 110, .backoff = 200},
64 {.temperature = 111, .backoff = 600},
65 {.temperature = 112, .backoff = 1200},
66 {.temperature = 113, .backoff = 2000},
67 {.temperature = 114, .backoff = 4000},
D7000.c74 {.temperature = 112, .backoff = 300},
75 {.temperature = 113, .backoff = 800},
76 {.temperature = 114, .backoff = 1500},
77 {.temperature = 115, .backoff = 3000},
78 {.temperature = 116, .backoff = 5000},
79 {.temperature = 117, .backoff = 10000},
/drivers/thermal/intel/int340x_thermal/
Dint340x_thermal_zone.c77 &zone_trips[trip_cnt].temperature); in int340x_thermal_read_trips()
84 &zone_trips[trip_cnt].temperature); in int340x_thermal_read_trips()
91 &zone_trips[trip_cnt].temperature); in int340x_thermal_read_trips()
99 &zone_trips[trip_cnt].temperature); in int340x_thermal_read_trips()
157 zone_trips[i].temperature = THERMAL_TEMP_INVALID; in int340x_thermal_zone_add()
246 zone_trips[i].temperature = THERMAL_TEMP_INVALID; in int340x_thermal_update_trips()
250 zone_trips[i].temperature = temp; in int340x_thermal_update_trips()
/drivers/net/wireless/intel/iwlegacy/
D4965.c463 il->temperature = il4965_hw_get_temperature(il); in il4965_init_alive_start()
707 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()
1105 current_temp = max(il->temperature, IL_TX_POWER_TEMPERATURE_MIN); in il4965_fill_txpower_tbl()
1106 current_temp = min(il->temperature, IL_TX_POWER_TEMPERATURE_MAX); in il4965_fill_txpower_tbl()
1122 factory_temp = measurement->temperature; in il4965_fill_txpower_tbl()
1564 s32 temperature; in il4965_hw_get_temperature() local
[all …]
/drivers/hwmon/
Dsht3x.c178 int temperature; member
277 data->temperature = sht3x_extract_temperature(val); in sht3x_update_client()
298 return data->temperature; in temp1_input_read()
318 int temperature; in limits_update() local
335 temperature = sht3x_extract_temperature((raw & 0x01ff) << 7); in limits_update()
337 data->temperature_limits[index] = temperature; in limits_update()
363 int temperature, in limit_write() argument
384 raw = ((u32)(temperature + 45000) * 24543) >> (16 + 7); in limit_write()
401 data->temperature_limits[index] = temperature; in limit_write()
409 int temperature; in temp1_limit_write() local
[all …]
DKconfig13 can include temperature sensors, voltage sensors, fan speed
83 AD7314, ADT7301 and ADT7302 temperature sensors.
93 AD7414 temperature monitoring chip.
103 AD7416, AD7417 and AD7418 temperature monitoring chips.
189 ADT7410/ADT7420 temperature monitoring chip drivers.
199 ADT7310 and ADT7320 temperature monitoring chips.
210 ADT7410 and ADT7420 temperature monitoring chips.
220 ADT7411 voltage and temperature monitoring chip.
230 ADT7462 temperature monitoring chips.
240 ADT7470 temperature monitoring chips.
[all …]

12345678