Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-6.6/drivers/thermal/
H A Dthermal_trip.c40 * The function computes the next temperature boundaries by browsing
42 * to the current temperature. These values are passed to the backend
71 trip_low = trip.temperature - trip.hysteresis; in __thermal_zone_set_trips()
73 if (trip_low < tz->temperature && trip_low > low) { in __thermal_zone_set_trips()
79 if (trip.temperature > tz->temperature && in __thermal_zone_set_trips()
80 trip.temperature < high) { in __thermal_zone_set_trips()
81 high = trip.temperature; in __thermal_zone_set_trips()
102 "new temperature boundaries: %d < x < %d\n", low, high); in __thermal_zone_set_trips()
105 * Set a temperature windo in __thermal_zone_set_trips()
[all...]
H A Dgov_bang_bang.c26 trip_index, trip->temperature, tz->temperature, in thermal_zone_trip_update()
45 * enable fan when temperature exceeds trip_temp and disable 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()
86 * * If the fan is not running and temperature exceeds trip_temp, the fan
88 * * In case the fan is running, temperature must fall below
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c88 * the temperature will not change unless we manually set it in iwl_mvm_enter_ctkill()
111 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
114 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
225 IWL_DEBUG_TEMP(mvm, "CT Kill notification temperature = %d\n", in iwl_mvm_ct_kill_notif()
226 notif->temperature); in iwl_mvm_ct_kill_notif()
271 "Sending temperature measurement command - %s response\n", in iwl_mvm_send_temp_cmd()
277 "Failed to send the temperature measurement command (err=%d)\n", in iwl_mvm_send_temp_cmd()
286 "Got temperature measurement response: temp=%d\n", in iwl_mvm_send_temp_cmd()
328 IWL_ERR(mvm, "Getting the temperature timed out\n"); in iwl_mvm_get_temp()
366 IWL_DEBUG_TEMP(mvm, "NIC temperature in check_exit_ctkill()
446 s32 temperature = mvm->temperature; iwl_mvm_tt_handler() local
674 iwl_mvm_tzone_get_temp(struct thermal_zone_device *device, int *temperature) iwl_mvm_tzone_get_temp() argument
730 s16 temperature; iwl_mvm_tzone_set_trip_temp() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c30 * the temperature will not change unless we manually set it in iwl_mvm_enter_ctkill()
53 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
56 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
161 IWL_DEBUG_TEMP(mvm, "CT Kill notification temperature = %d\n", in iwl_mvm_ct_kill_notif()
162 notif->temperature); in iwl_mvm_ct_kill_notif()
212 "Sending temperature measurement command - %s response\n", in iwl_mvm_send_temp_cmd()
218 "Failed to send the temperature measurement command (err=%d)\n", in iwl_mvm_send_temp_cmd()
227 "Got temperature measurement response: temp=%d\n", in iwl_mvm_send_temp_cmd()
269 IWL_WARN(mvm, "Getting the temperature timed out\n"); in iwl_mvm_get_temp()
307 IWL_DEBUG_TEMP(mvm, "NIC temperature in check_exit_ctkill()
387 s32 temperature = mvm->temperature; iwl_mvm_tt_handler() local
615 iwl_mvm_tzone_get_temp(struct thermal_zone_device *device, int *temperature) iwl_mvm_tzone_get_temp() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A 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 in __acpi_thermal_trips_update()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dthermal.c127 unsigned long temperature; member
132 unsigned long temperature; member
137 unsigned long temperature; member
146 unsigned long temperature; member
166 unsigned long temperature; member
193 tz->last_temperature = tz->temperature; in acpi_thermal_get_temperature()
199 tz->temperature = tmp; in acpi_thermal_get_temperature()
201 tz->temperature)); in acpi_thermal_get_temperature()
277 tz->trips.critical.temperature = tmp; in acpi_thermal_trips_update()
296 tz->trips.critical.temperature)); in acpi_thermal_trips_update()
617 thermal_get_crit_temp(struct thermal_zone_device *thermal, int *temperature) thermal_get_crit_temp() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dthermal.c66 int ret, temperature; in ath10k_thermal_show_temp() local
71 /* Can't get temperature when the card is off */ in ath10k_thermal_show_temp()
80 ath10k_warn(ar, "failed to read temperature %d\n", ret); in ath10k_thermal_show_temp()
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()
182 /* Do not register hwmon device when temperature readin in ath10k_thermal_register()
[all...]
H A Dthermal.h22 /* temperature value in Celcius degree
25 int temperature; member
31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);
44 int temperature) in ath10k_thermal_event_temperature()
43 ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) ath10k_thermal_event_temperature() argument
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dthermal.c66 int ret, temperature; in ath10k_thermal_show_temp() local
71 /* Can't get temperature when the card is off */ in ath10k_thermal_show_temp()
80 ath10k_warn(ar, "failed to read temperature %d\n", ret); in ath10k_thermal_show_temp()
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()
182 /* Do not register hwmon device when temperature readin in ath10k_thermal_register()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddevices.c33 * For 1000, use advance thermal throttling critical temperature threshold,
36 * but not implement ct_kill_exit based on ct_kill exit temperature
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()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddevices.c28 * 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; 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()
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dwdrtas.c175 * 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; 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()
394 * wdrtas_temp_read - gives back the temperature in fahrenheit
403 * wdrtas_temp_read gives the temperature t
409 int temperature = 0; wdrtas_temp_read() local
[all...]
H A Dpcwd_pci.c117 /* Wether or not the card has a temperature device */
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()
603 int temperature; pcipcwd_temp_read() local
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dwdrtas.c175 * 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; 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()
394 * wdrtas_temp_read - gives back the temperature in fahrenheit
403 * wdrtas_temp_read gives the temperature t
409 int temperature = 0; wdrtas_temp_read() local
[all...]
H A Dpcwd_pci.c117 /* Wether or not the card has a temperature device */
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()
603 int temperature; pcipcwd_temp_read() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dthermal.c67 int ret, temperature; in ath11k_thermal_show_temp() local
72 /* Can't get temperature when the card is off */ in ath11k_thermal_show_temp()
81 ath11k_warn(ar->ab, "failed to read temperature %d\n", ret); in ath11k_thermal_show_temp()
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()
H A Dthermal.h22 /* temperature value in Celcius degree
25 int temperature; member
32 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature);
49 int temperature) in ath11k_thermal_event_temperature()
48 ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) ath11k_thermal_event_temperature() argument
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.c34 /* _TMP returns the temperature in tenths of degrees Kelvin */ in int340x_thermal_get_zone_temp()
61 dev_dbg(&zone->device, "%s: critical temperature reached\n", zone->type); in int340x_thermal_critical()
77 &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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dthermal.c67 int ret, temperature; in ath11k_thermal_show_temp() local
72 /* Can't get temperature when the card is off */ in ath11k_thermal_show_temp()
81 ath11k_warn(ar->ab, "failed to read temperature %d\n", ret); in ath11k_thermal_show_temp()
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()
H A Dthermal.h22 /* temperature value in Celsius degree
25 int temperature; member
32 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature);
49 int temperature) in ath11k_thermal_event_temperature()
48 ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) ath11k_thermal_event_temperature() argument
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/cfg/
H A D8000.c124 {.temperature = 110, .backoff = 200},
125 {.temperature = 111, .backoff = 600},
126 {.temperature = 112, .backoff = 1200},
127 {.temperature = 113, .backoff = 2000},
128 {.temperature = 114, .backoff = 4000},
H A D9000.c111 {.temperature = 110, .backoff = 200},
112 {.temperature = 111, .backoff = 600},
113 {.temperature = 112, .backoff = 1200},
114 {.temperature = 113, .backoff = 2000},
115 {.temperature = 114, .backoff = 4000},
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/cfg/
H A 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},
H A 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},
/kernel/linux/linux-5.10/drivers/thermal/
H A Dthermal_sysfs.c38 int temperature, ret; in temp_show() local
40 ret = thermal_zone_get_temp(tz, &temperature); in temp_show()
45 return sprintf(buf, "%d\n", temperature); in temp_show()
115 int temperature, hyst = 0; in trip_point_temp_store() local
124 if (kstrtoint(buf, 10, &temperature)) in trip_point_temp_store()
127 ret = tz->ops->set_trip_temp(tz, trip, temperature); in trip_point_temp_store()
141 thermal_notify_tz_trip_change(tz->id, trip, type, temperature, hyst); in trip_point_temp_store()
154 int temperature; in trip_point_temp_show() local
162 ret = tz->ops->get_trip_temp(tz, trip, &temperature); in trip_point_temp_show()
167 return sprintf(buf, "%d\n", temperature); in trip_point_temp_show()
176 int temperature; trip_point_hyst_store() local
206 int temperature; trip_point_hyst_show() local
301 int temperature; emul_temp_store() local
[all...]

Completed in 13 milliseconds

12345678910>>...12