/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.h | 22 /* temperature value in Celsius degree 25 int temperature; member in struct:ath10k_thermal 31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature); 44 int temperature) 43 ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) argument
|
H A D | thermal.c | 67 int ret, temperature; local 72 /* Can't get temperature when the card is off */ 81 ath10k_warn(ar, "failed to read temperature %d\n", ret); 99 temperature = ar->thermal.temperature; 103 ret = snprintf(buf, PAGE_SIZE, "%d\n", temperature * 1000); 109 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) argument 112 ar->thermal.temperature = temperature; 183 /* Do not register hwmon device when temperature readin [all...] |
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | thermal.h | 23 /* temperature value in Celsius degree 26 int temperature; member in struct:ath11k_thermal 33 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature); 50 int temperature) 49 ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) argument
|
H A D | thermal.c | 68 int ret, temperature; local 73 /* Can't get temperature when the card is off */ 82 ath11k_warn(ar->ab, "failed to read temperature %d\n", ret); 100 temperature = ar->thermal.temperature; 104 ret = snprintf(buf, PAGE_SIZE, "%d\n", temperature * 1000); 110 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) argument 113 ar->thermal.temperature = temperature;
|
/linux-master/drivers/thermal/ |
H A D | gov_bang_bang.c | 27 trip_index, trip->temperature, tz->temperature, 46 * enable fan when temperature exceeds trip_temp and disable 49 if (instance->target == 0 && tz->temperature >= trip->temperature) 52 tz->temperature < trip->temperature - trip->hysteresis) 87 * * If the fan is not running and temperature exceeds trip_temp, the fan 89 * * In case the fan is running, temperature must fall below
|
H A D | thermal_trip.c | 53 * The function computes the next temperature boundaries by browsing 55 * to the current temperature. These values are passed to the backend 78 trip_low = trip->temperature - trip->hysteresis; 80 if (trip_low < tz->temperature && trip_low > low) 83 if (trip->temperature > tz->temperature && 84 trip->temperature < high) 85 high = trip->temperature; 96 "new temperature boundaries: %d < x < %d\n", low, high); 99 * Set a temperature windo [all...] |
H A D | gov_fair_share.c | 24 if (trip->temperature >= tz->temperature) 29 if (!level_trip || trip->temperature > level_trip->temperature) 33 /* Bail out if the temperature is not greater than any trips. */ 63 * We do not want to throttle too much when we trip a lower temperature,
|
H A D | thermal_mmio.c | 47 int temperature; local 79 thermal_mmio_get_temperature(thermal_zone, &temperature); 81 "thermal mmio sensor %s registered, current temperature: %d\n", 82 pdev->name, temperature);
|
H A D | gov_step_wise.c | 20 * If the temperature is higher than a trip point, 24 * If the temperature is lower than a trip point, 82 if (tz->temperature >= trip->temperature) { 88 trip_id, trip->type, trip->temperature, trend, throttle);
|
H A D | gov_user_space.c | 41 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", tz->temperature);
|
H A D | thermal_hwmon.c | 37 /* one temperature input for each thermal zone */ 52 int temperature; local 61 ret = thermal_zone_get_temp(tz, &temperature); 66 return sprintf(buf, "%d\n", temperature); 78 int temperature; local 83 ret = tz->ops.get_crit_temp(tz, &temperature); 90 return sprintf(buf, "%d\n", temperature); 114 /* Find the temperature input matching a given thermal zone */ 236 dev_dbg(&tz->device, "temperature input lookup failed!\n");
|
H A D | da9062-thermal.c | 7 /* When over-temperature is reached, an interrupt from the device will be 10 * first level of temperature supervision. It is expected that any final 14 * These uevents are intended to indicate non-invasive temperature control 16 * responsibility of the host software. Once the temperature falls again, 17 * the IRQ is re-enabled so the start of a new over-temperature event can 54 struct mutex lock; /* protection for da9062_thermal temperature */ 55 int temperature; member in struct:da9062_thermal 76 "Cannot clear the TJUNC temperature status\n"); 81 * If over-temperature, then this status will be true. 82 * If not over-temperature, thi [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/cfg/ |
H A 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},
|
H A 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},
|
H A 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},
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tt.c | 30 * the temperature will not change unless we manually set it 53 if (mvm->temperature == temp) 56 mvm->temperature = temp; 161 IWL_DEBUG_TEMP(mvm, "CT Kill notification temperature = %d\n", 162 notif->temperature); 212 "Sending temperature measurement command - %s response\n", 218 "Failed to send the temperature measurement command (err=%d)\n", 227 "Got temperature measurement response: temp=%d\n", 269 IWL_WARN(mvm, "Getting the temperature timed out\n"); 307 IWL_DEBUG_TEMP(mvm, "NIC temperature 387 s32 temperature = mvm->temperature; local 614 iwl_mvm_tzone_get_temp(struct thermal_zone_device *device, int *temperature) argument [all...] |
/linux-master/drivers/watchdog/ |
H A D | wdrtas.c | 175 * wdrtas_get_temperature - returns current temperature 177 * returns temperature or <0 on failures 179 * wdrtas_get_temperature returns the current temperature in Fahrenheit. It 185 int temperature = 0; local 187 result = rtas_get_sensor(WDRTAS_THERMAL_SENSOR, 0, &temperature); 192 temperature = ((temperature * 9) / 5) + 32; /* fahrenheit */ 194 return temperature; 394 * wdrtas_temp_read - gives back the temperature in fahrenheit 403 * wdrtas_temp_read gives the temperature t 409 int temperature = 0; local [all...] |
H A D | pcwd_pci.c | 117 /* Wether or not the card has a temperature device */ 390 static int pcipcwd_get_temperature(int *temperature) argument 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; local 496 if (pcipcwd_get_temperature(&temperature)) 603 int temperature; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | devices.c | 28 * For 1000, use advance thermal throttling critical temperature threshold, 31 * but not implement ct_kill_exit based on ct_kill exit temperature 163 .temperature = iwlagn_temperature, 224 .temperature = iwlagn_temperature, 237 .temperature = iwlagn_temperature, 261 .temperature = iwlagn_temperature, 332 u16 temperature, voltage; local 334 temperature = le16_to_cpu(priv->nvm_data->kelvin_temperature); 338 return (s32)(temperature - 378 vt = le32_to_cpu(priv->statistics.common.temperature); [all...] |
/linux-master/drivers/iio/common/ms_sensors/ |
H A D | ms_sensors_i2c.h | 66 s32 *temperature); 71 int *temperature,
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | phy.h | 77 * @DTS_AUTOMATIC: Automatic mode (full SW control). Provide temperature read 81 * trigger DTS reading and provide read back temperature read 84 * @DTS_DIRECT_WITHOUT_MEASURE: DTS returns its latest temperature result, 100 * @XTAL_TEMPERATURE: read temperature from xtal 123 * @temperature: used when over write DTS mode is selected 124 * @sensor: set temperature sensor to use. See &enum iwl_dts_used 131 __le32 temperature; member in struct:iwl_ext_dts_measurement_cmd 141 * @temp: the measured temperature 152 * @temp: the measured temperature 165 * @temp: the measured temperature 187 __le16 temperature; member in struct:ct_kill_notif [all...] |
/linux-master/drivers/iio/temperature/ |
H A D | Makefile | 3 # Makefile for industrial I/O temperature drivers 8 obj-$(CONFIG_HID_SENSOR_TEMP) += hid-sensor-temperature.o
|
H A D | tsys01.c | 3 * tsys01.c - Support for Measurement-Specialties tsys01 temperature sensor 42 /* Multiplication coefficients for temperature computation */ 47 s32 *temperature) 75 *temperature = temp; 85 s32 temperature; local 91 ret = tsys01_read_temperature(indio_dev, &temperature); 94 *val = temperature; 231 MODULE_DESCRIPTION("Measurement-Specialties tsys01 temperature driver"); 46 tsys01_read_temperature(struct iio_dev *indio_dev, s32 *temperature) argument
|
/linux-master/drivers/iio/pressure/ |
H A D | dlhl60d.c | 124 unsigned int *pressure, unsigned int *temperature) 133 *temperature = get_unaligned_be24(&st->rx_buf[4]); 143 unsigned int pressure, temperature; local 154 ret = dlh_read_direct(st, &pressure, &temperature); 165 *value = temperature; 123 dlh_read_direct(struct dlh_state *st, unsigned int *pressure, unsigned int *temperature) argument
|
/linux-master/drivers/thermal/intel/int340x_thermal/ |
H A D | int340x_thermal_zone.c | 34 /* _TMP returns the temperature in tenths of degrees Kelvin */ 61 dev_dbg(thermal_zone_device(zone), "%s: critical temperature reached\n", 82 &zone_trips[trip_cnt].temperature); 89 &zone_trips[trip_cnt].temperature); 96 &zone_trips[trip_cnt].temperature); 104 &zone_trips[trip_cnt].temperature); 155 zone_trips[i].temperature = THERMAL_TEMP_INVALID;
|