/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 53 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() 382 s32 temperature = mvm->temperature; in iwl_mvm_tt_handler() local 387 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", mvm->temperature); in iwl_mvm_tt_handler() 389 if (params->support_ct_kill && temperature >= params->ct_kill_entry) { in iwl_mvm_tt_handler() 395 temperature <= params->ct_kill_exit) { in iwl_mvm_tt_handler() 402 temperature >= params->dynamic_smps_entry) { in iwl_mvm_tt_handler() 410 temperature <= params->dynamic_smps_exit) { in iwl_mvm_tt_handler() 420 if (temperature >= params->tx_protection_entry) { in iwl_mvm_tt_handler() [all …]
|
/drivers/acpi/ |
D | thermal.c | 120 unsigned long temperature; member 125 unsigned long temperature; member 130 unsigned long temperature; member 139 unsigned long temperature; member 159 unsigned long temperature; member 186 tz->last_temperature = tz->temperature; in acpi_thermal_get_temperature() 192 tz->temperature = tmp; in acpi_thermal_get_temperature() 195 tz->temperature); in acpi_thermal_get_temperature() 271 tz->trips.critical.temperature = tmp; in acpi_thermal_trips_update() 290 tz->trips.critical.temperature); in acpi_thermal_trips_update() [all …]
|
/drivers/iio/humidity/ |
D | Kconfig | 8 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/ |
D | Kconfig | 8 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 …]
|
D | tsys01.c | 47 s32 *temperature) in tsys01_read_temperature() argument 75 *temperature = temp; in tsys01_read_temperature() 85 s32 temperature; in tsys01_read_raw() local 91 ret = tsys01_read_temperature(indio_dev, &temperature); in tsys01_read_raw() 94 *val = temperature; in tsys01_read_raw()
|
/drivers/watchdog/ |
D | wdrtas.c | 185 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()
|
D | pcwd_pci.c | 390 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 …]
|
D | pcwd.c | 557 static int pcwd_get_temperature(int *temperature) in pcwd_get_temperature() argument 563 *temperature = 0; in pcwd_get_temperature() 572 *temperature = ((inb(pcwd_private.io_addr)) * 9 / 5) + 32; in pcwd_get_temperature() 576 pr_debug("temperature is: %d F\n", *temperature); in pcwd_get_temperature() 590 int temperature; in pcwd_ioctl() local 617 if (pcwd_get_temperature(&temperature)) in pcwd_ioctl() 620 return put_user(temperature, argp); in pcwd_ioctl() 722 int temperature; in pcwd_temp_read() local 724 if (pcwd_get_temperature(&temperature)) in pcwd_temp_read() 727 if (copy_to_user(buf, &temperature, 1)) in pcwd_temp_read()
|
/drivers/thermal/intel/ |
D | Kconfig | 16 tristate "X86 package temperature thermal driver" 22 Enable this to register CPU digital sensor for package temperature as 33 digital temperature sensors (DTSs) using side band interface (IOSF). This 34 implements the common set of helper functions to register, get temperature 44 temperature sensor (DTS). These SoCs have two additional DTSs in 49 was set by the driver based on the TJ MAX temperature. 56 temperature sensor (DTS). For X1000 SoC, it has one on-die DTS. 71 system temperature measurements and alerts. 74 the trip point and temperature details of the zone. 81 Thermal reporting device will provide temperature reading, [all …]
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | devices.c | 168 .temperature = iwlagn_temperature, 229 .temperature = iwlagn_temperature, 242 .temperature = iwlagn_temperature, 266 .temperature = iwlagn_temperature, 337 u16 temperature, voltage; in iwl_temp_calib_to_offset() local 339 temperature = le16_to_cpu(priv->nvm_data->kelvin_temperature); in iwl_temp_calib_to_offset() 343 return (s32)(temperature - in iwl_temp_calib_to_offset() 383 vt = le32_to_cpu(priv->statistics.common.temperature); in iwl5150_temperature() 386 priv->temperature = kelvin_to_celsius(vt); in iwl5150_temperature() 456 .temperature = iwlagn_temperature, [all …]
|
/drivers/thermal/qcom/ |
D | Kconfig | 10 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/net/wireless/ath/ath10k/ |
D | thermal.c | 66 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()
|
D | thermal.h | 25 int temperature; member 31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature); 44 int temperature) in ath10k_thermal_event_temperature() argument
|
/drivers/thermal/ |
D | thermal_sysfs.c | 39 int temperature, ret; in temp_show() local 41 ret = thermal_zone_get_temp(tz, &temperature); in temp_show() 46 return sprintf(buf, "%d\n", temperature); in temp_show() 116 int temperature, hyst = 0; in trip_point_temp_store() local 125 if (kstrtoint(buf, 10, &temperature)) in trip_point_temp_store() 128 ret = tz->ops->set_trip_temp(tz, trip, temperature); in trip_point_temp_store() 142 thermal_notify_tz_trip_change(tz->id, trip, type, temperature, hyst); in trip_point_temp_store() 155 int temperature; in trip_point_temp_show() local 163 ret = tz->ops->get_trip_temp(tz, trip, &temperature); in trip_point_temp_show() 168 return sprintf(buf, "%d\n", temperature); in trip_point_temp_show() [all …]
|
D | thermal_hwmon.c | 51 int temperature; in temp_input_show() local 60 ret = thermal_zone_get_temp(tz, &temperature); in temp_input_show() 65 return sprintf(buf, "%d\n", temperature); in temp_input_show() 77 int temperature; in temp_crit_show() local 80 ret = tz->ops->get_crit_temp(tz, &temperature); in temp_crit_show() 84 return sprintf(buf, "%d\n", temperature); in temp_crit_show()
|
D | Kconfig | 12 Each thermal zone contains its own temperature, trip points, 25 zones discovery, temperature readings and events such as 123 Select this if you want to control temperature based on 146 Say 'Y' here if you want to use two point temperature regulation 212 directory to support temperature emulation. With emulation sysfs node, 213 user can manually input temperature and test the different trip 218 flooding this sysfs node with low temperature values. 226 memory-mapped reads to get the temperature. Any HW/System that 227 allows temperature reading by a single memory-mapped reading, be it 261 controller via MU (message unit) IPC to get temperature from thermal [all …]
|
/drivers/net/wireless/ath/ath11k/ |
D | thermal.c | 67 int ret, temperature; in ath11k_thermal_show_temp() local 99 temperature = ar->thermal.temperature; in ath11k_thermal_show_temp() 103 ret = snprintf(buf, PAGE_SIZE, "%d\n", temperature * 1000); in ath11k_thermal_show_temp() 109 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) in ath11k_thermal_event_temperature() argument 112 ar->thermal.temperature = temperature; in ath11k_thermal_event_temperature()
|
D | thermal.h | 25 int temperature; member 32 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature); 49 int temperature) in ath11k_thermal_event_temperature() argument
|
/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 8000.c | 67 {.temperature = 110, .backoff = 200}, 68 {.temperature = 111, .backoff = 600}, 69 {.temperature = 112, .backoff = 1200}, 70 {.temperature = 113, .backoff = 2000}, 71 {.temperature = 114, .backoff = 4000},
|
D | 9000.c | 63 {.temperature = 110, .backoff = 200}, 64 {.temperature = 111, .backoff = 600}, 65 {.temperature = 112, .backoff = 1200}, 66 {.temperature = 113, .backoff = 2000}, 67 {.temperature = 114, .backoff = 4000},
|
D | 7000.c | 74 {.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/hwmon/ |
D | sht3x.c | 146 int temperature; member 245 data->temperature = sht3x_extract_temperature(val); in sht3x_update_client() 268 return sprintf(buf, "%d\n", data->temperature); in temp1_input_show() 289 int temperature; in limits_update() local 306 temperature = sht3x_extract_temperature((raw & 0x01ff) << 7); in limits_update() 308 data->temperature_limits[index] = temperature; in limits_update() 343 int temperature, in limit_store() argument 364 raw = ((u32)(temperature + 45000) * 24543) >> (16 + 7); in limit_store() 381 data->temperature_limits[index] = temperature; in limit_store() 391 int temperature; in temp1_limit_store() local [all …]
|
D | Kconfig | 13 can include temperature sensors, voltage sensors, fan speed 75 AD7314, ADT7301 and ADT7302 temperature sensors. 85 AD7414 temperature monitoring chip. 95 AD7416, AD7417 and AD7418 temperature monitoring chips. 179 ADT7410/ADT7420 temperature monitoring chip drivers. 189 ADT7310 and ADT7320 temperature monitoring chips. 200 ADT7410 and ADT7420 temperature monitoring chips. 210 ADT7411 voltage and temperature monitoring chip. 220 ADT7462 temperature monitoring chips. 230 ADT7470 temperature monitoring chips. [all …]
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 4965.c | 463 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/iio/pressure/ |
D | Kconfig | 27 pressure and temperature sensors. Also supports the BME280 with 69 tristate "Infineon DPS310 pressure and temperature sensor" 93 tristate "Hope RF HP03 temperature and pressure sensor driver" 98 temperature sensor. 104 tristate "InvenSense ICP-101xx pressure and temperature sensor" 109 pressure and temperature sensor. 157 MS5611, MS5607 pressure and temperature sensors. 181 tristate "Measurement Specialties MS5637 pressure & temperature sensor" 186 MS5637 pressure and temperature sensor. 187 This driver is also used for MS8607 temperature, pressure & humidity [all …]
|