Home
last modified time | relevance | path

Searched refs:thermal (Results 1 – 182 of 182) sorted by relevance

/linux-4.1.27/drivers/thermal/
Drockchip_thermal.c73 struct rockchip_thermal_data *thermal; member
356 struct rockchip_thermal_data *thermal = dev; in rockchip_thermal_alarm_irq_thread() local
359 dev_dbg(&thermal->pdev->dev, "thermal alarm\n"); in rockchip_thermal_alarm_irq_thread()
361 thermal->chip->irq_ack(thermal->regs); in rockchip_thermal_alarm_irq_thread()
363 for (i = 0; i < ARRAY_SIZE(thermal->sensors); i++) in rockchip_thermal_alarm_irq_thread()
364 thermal_zone_device_update(thermal->sensors[i].tzd); in rockchip_thermal_alarm_irq_thread()
372 struct rockchip_thermal_data *thermal = sensor->thermal; in rockchip_thermal_get_temp() local
373 const struct rockchip_tsadc_chip *tsadc = sensor->thermal->chip; in rockchip_thermal_get_temp()
376 retval = tsadc->get_temp(sensor->id, thermal->regs, out_temp); in rockchip_thermal_get_temp()
377 dev_dbg(&thermal->pdev->dev, "sensor %d - temp: %ld, retval: %d\n", in rockchip_thermal_get_temp()
[all …]
DKconfig2 # Generic thermal sysfs drivers configuration
9 thermal management. Usually it's made up of one or more thermal
11 Each thermal zone contains its own temperature, trip points,
13 All platforms with ACPI thermal support can use this driver.
20 prompt "Expose thermal sensors as hwmon device"
24 In case a sensor is registered with the thermal
29 Say 'Y' here if you want all thermal sensors to
34 prompt "APIs to parse thermal data out of device tree"
39 read and parse thermal data definitions out of the
42 Say 'Y' here if you need to build thermal infrastructure
[all …]
Dkirkwood_thermal.c35 static int kirkwood_get_temp(struct thermal_zone_device *thermal, in kirkwood_get_temp() argument
39 struct kirkwood_thermal_priv *priv = thermal->devdata; in kirkwood_get_temp()
46 dev_err(&thermal->device, in kirkwood_get_temp()
74 struct thermal_zone_device *thermal = NULL; in kirkwood_thermal_probe() local
87 thermal = thermal_zone_device_register("kirkwood_thermal", 0, 0, in kirkwood_thermal_probe()
89 if (IS_ERR(thermal)) { in kirkwood_thermal_probe()
92 return PTR_ERR(thermal); in kirkwood_thermal_probe()
95 platform_set_drvdata(pdev, thermal); in kirkwood_thermal_probe()
Ddb8500_thermal.c62 static int db8500_cdev_bind(struct thermal_zone_device *thermal, in db8500_cdev_bind() argument
65 struct db8500_thermal_zone *pzone = thermal->devdata; in db8500_cdev_bind()
78 ret = thermal_zone_bind_cooling_device(thermal, i, cdev, in db8500_cdev_bind()
89 static int db8500_cdev_unbind(struct thermal_zone_device *thermal, in db8500_cdev_unbind() argument
92 struct db8500_thermal_zone *pzone = thermal->devdata; in db8500_cdev_unbind()
100 ret = thermal_zone_unbind_cooling_device(thermal, i, cdev); in db8500_cdev_unbind()
110 static int db8500_sys_get_temp(struct thermal_zone_device *thermal, in db8500_sys_get_temp() argument
113 struct db8500_thermal_zone *pzone = thermal->devdata; in db8500_sys_get_temp()
126 static int db8500_sys_get_trend(struct thermal_zone_device *thermal, in db8500_sys_get_trend() argument
129 struct db8500_thermal_zone *pzone = thermal->devdata; in db8500_sys_get_trend()
[all …]
Ddove_thermal.c95 static int dove_get_temp(struct thermal_zone_device *thermal, in dove_get_temp() argument
99 struct dove_thermal_priv *priv = thermal->devdata; in dove_get_temp()
104 dev_err(&thermal->device, in dove_get_temp()
132 struct thermal_zone_device *thermal = NULL; in dove_thermal_probe() local
157 thermal = thermal_zone_device_register("dove_thermal", 0, 0, in dove_thermal_probe()
159 if (IS_ERR(thermal)) { in dove_thermal_probe()
162 return PTR_ERR(thermal); in dove_thermal_probe()
165 platform_set_drvdata(pdev, thermal); in dove_thermal_probe()
Darmada_thermal.c157 static int armada_get_temp(struct thermal_zone_device *thermal, in armada_get_temp() argument
160 struct armada_thermal_priv *priv = thermal->devdata; in armada_get_temp()
166 dev_err(&thermal->device, in armada_get_temp()
258 struct thermal_zone_device *thermal; in armada_thermal_probe() local
284 thermal = thermal_zone_device_register("armada_thermal", 0, 0, in armada_thermal_probe()
286 if (IS_ERR(thermal)) { in armada_thermal_probe()
289 return PTR_ERR(thermal); in armada_thermal_probe()
292 platform_set_drvdata(pdev, thermal); in armada_thermal_probe()
DMakefile10 thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o
38 obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
Dof-thermal.c211 static int of_thermal_bind(struct thermal_zone_device *thermal, in of_thermal_bind() argument
214 struct __thermal_zone *data = thermal->devdata; in of_thermal_bind()
227 ret = thermal_zone_bind_cooling_device(thermal, in of_thermal_bind()
239 static int of_thermal_unbind(struct thermal_zone_device *thermal, in of_thermal_unbind() argument
242 struct __thermal_zone *data = thermal->devdata; in of_thermal_unbind()
255 ret = thermal_zone_unbind_cooling_device(thermal, in of_thermal_unbind()
Dspear_thermal.c40 static inline int thermal_get_temp(struct thermal_zone_device *thermal, in thermal_get_temp() argument
43 struct spear_thermal_dev *stdev = thermal->devdata; in thermal_get_temp()
Dintel_soc_dts_thermal.c242 static int sys_get_trip_type(struct thermal_zone_device *thermal, in sys_get_trip_type() argument
Dx86_pkg_temp_thermal.c267 static int sys_get_trip_type(struct thermal_zone_device *thermal, in sys_get_trip_type() argument
/linux-4.1.27/Documentation/devicetree/bindings/thermal/
Drcar-thermal.txt4 - compatible : "renesas,thermal-<soctype>", "renesas,rcar-thermal"
7 - "renesas,thermal-r8a73a4" (R-Mobile APE6)
8 - "renesas,thermal-r8a7779" (R-Car H1)
9 - "renesas,thermal-r8a7790" (R-Car H2)
10 - "renesas,thermal-r8a7791" (R-Car M2-W)
11 - "renesas,thermal-r8a7792" (R-Car V2H)
12 - "renesas,thermal-r8a7793" (R-Car M2-N)
13 - "renesas,thermal-r8a7794" (R-Car E2)
14 - reg : Address range of the thermal registers.
24 thermal@ffc48000 {
[all …]
Dthermal.txt4 defining hardware thermal structure using device tree.
5 A thermal structure includes thermal zones and their components,
9 The target of device tree thermal descriptors is to describe only
10 the hardware thermal aspects. The thermal device tree bindings are
14 There are five types of nodes involved to describe thermal bindings:
15 - thermal sensors: devices which may be used to take temperature
21 - thermal zones: used to describe thermal data within the hardware;
28 thermal zones. Typical devices are I2C ADC converters and bandgaps. These are
29 nodes providing temperature data to thermal zones. Thermal sensor devices may
33 - #thermal-sensor-cells: Used to provide sensor device specific information
[all …]
Dst-thermal.txt6 compatible : st,<SoC>-<module>-thermal; should be one of:
7 "st,stih415-sas-thermal",
8 "st,stih415-mpe-thermal",
9 "st,stih416-sas-thermal"
10 "st,stih416-mpe-thermal"
11 "st,stid127-thermal" or
12 "st,stih407-thermal"
17 clock-names : Should be "thermal".
19 clocks : Phandle of the clock used by the thermal sensor.
29 "stih416-mpe-thermal".
[all …]
Dspear-thermal.txt4 - compatible : "st,thermal-spear1340"
5 - reg : Address range of the thermal registers
6 - st,thermal-flags: flags used to enable thermal sensor
10 thermal@fc000000 {
11 compatible = "st,thermal-spear1340";
13 st,thermal-flags = <0x7000>;
Dtegra-soctherm.txt1 Tegra124 SOCTHERM thermal management system
3 The SOCTHERM IP block contains thermal sensors, support for polled
4 or interrupt-based thermal monitoring, CPU and GPU throttling based
25 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description
26 of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a
27 list of valid values when referring to thermal sensors.
42 #thermal-sensor-cells = <1>;
45 Example: referring to thermal sensors :
47 thermal-zones {
52 thermal-sensors =
Darmada-thermal.txt1 * Marvell Armada 370/375/380/XP thermal management
6 marvell,armada370-thermal
7 marvell,armada375-thermal
8 marvell,armada380-thermal
9 marvell,armadaxp-thermal
19 thermal@d0018300 {
20 compatible = "marvell,armada370-thermal";
Dkirkwood-thermal.txt4 don't contain a thermal sensor.
7 - compatible : "marvell,kirkwood-thermal"
8 - reg : Address range of the thermal registers
12 thermal@10078 {
13 compatible = "marvell,kirkwood-thermal";
Ddove-thermal.txt3 This driver is for Dove SoCs which contain a thermal sensor.
6 - compatible : "marvell,dove-thermal"
7 - reg : Address range of the thermal registers
15 thermal@10078 {
16 compatible = "marvell,dove-thermal";
Ddb8500-thermal.txt5 - compatible : "stericsson,db8500-thermal";
6 - reg : address range of the thermal sensor registers;
22 thermal@801573c0 {
23 compatible = "stericsson,db8500-thermal";
33 trip0-cdev-name0 = "thermal-cpufreq-0";
38 trip1-cdev-name0 = "thermal-cpufreq-0";
39 trip1-cdev-name1 = "thermal-fan";
Drockchip-thermal.txt15 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description.
32 #thermal-sensor-cells = <1>;
38 Example: referring to thermal sensors:
39 thermal-zones {
45 thermal-sensors = <&tsadc 1>;
Dimx-thermal.txt15 - clocks : thermal sensor's clock source.
Dexynos-thermal.txt17 - reg : Address range of the thermal registers. For soc's which has multiple
32 - interrupts : Should contain interrupt for thermal system
/linux-4.1.27/Documentation/thermal/
Dsysfs-api.txt13 The generic thermal sysfs provides a set of interfaces for thermal zone
14 devices (sensors) and thermal cooling devices (fan, processor...) to register
15 with the thermal management solution and to be a part of it.
17 This how-to focuses on enabling new thermal zone and cooling devices to
18 participate in thermal management.
19 This solution is platform independent and any type of thermal zone devices
22 The main task of the thermal sysfs driver is to expose thermal zone attributes
24 An intelligent thermal management application can make decisions based on
25 inputs from thermal zone attributes (the current temperature and trip point
31 1. thermal sysfs driver interface functions
[all …]
Dx86_pkg_temperature_thermal5 * x86: with package level thermal management
18 This driver register CPU digital temperature package level sensor as a thermal
21 user mode can receive notification via thermal notification mechanism and can
27 Each package will register as a thermal zone under /sys/class/thermal.
29 /sys/class/thermal/thermal_zone1
36 are in milli-degree Celsius. Refer to "Documentation/thermal/sysfs-api.txt" for
37 thermal sys-fs details.
39 Any value other than 0 in these trip points, can trigger thermal notifications.
40 Setting 0, stops sending thermal notifications.
42 Thermal notifications: To get kobject-uevent notifications, set the thermal zone
Dexynos_thermal49 When an interrupt occurs, this driver notify kernel thermal framework
57 The exynos thermal driver is structured as,
59 Kernel Core thermal framework
64 TMU configuration data -------> TMU Driver <------> Exynos Core thermal wrapper
73 thresholds. It invokes core thermal implementation with the call
75 c) Exynos Core thermal wrapper: This provides 3 wrapper function to use the
76 Kernel core thermal framework. They are exynos_unregister_thermal,
Dcpu-cooling-api.txt23 "thermal-cpufreq-%x". This api can support multiple instances of cpufreq
32 the name "thermal-cpufreq-%x" linking it with a device tree node, in
33 order to bind it via the thermal DT code. This api can support multiple
41 This interface function unregisters the "thermal-cpufreq-%x" cooling device.
Dintel_powerclamp.txt31 reduced at runtime, due to power budget, thermal constraint, or noise
130 PID-based thermal controller can use the powerclamp driver to
263 The powerclamp driver is registered to the generic thermal layer as a
264 cooling device. Currently, it’s not bound to any thermal zones.
266 jacob@chromoly:/sys/class/thermal/cooling_device14$ grep . *
273 $ sudo sh -c "echo 25 > /sys/class/thermal/cooling_device80/cur_state
304 device, a PID based userspace thermal controller can manage to
305 control CPU temperature effectively, when no other thermal influence
Dexynos_thermal_emulation11 Exynos 4x12 (4212, 4412) and 5 series provide emulation mode for thermal management unit.
18 /sys/devices/virtual/thermal/thermal_zone'zone id'/emul_temp.
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
DMakefile1 obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal.o
2 ti-soc-thermal-y := ti-bandgap.o
3 ti-soc-thermal-$(CONFIG_TI_THERMAL) += ti-thermal-common.o
4 ti-soc-thermal-$(CONFIG_DRA752_THERMAL) += dra752-thermal-data.o
5 ti-soc-thermal-$(CONFIG_OMAP4_THERMAL) += omap4-thermal-data.o
6 ti-soc-thermal-$(CONFIG_OMAP5_THERMAL) += omap5-thermal-data.o
Dti-thermal-common.c121 static inline int ti_thermal_get_temp(struct thermal_zone_device *thermal, in ti_thermal_get_temp() argument
124 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_get_temp()
130 static int ti_thermal_bind(struct thermal_zone_device *thermal, in ti_thermal_bind() argument
133 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_bind()
146 return thermal_zone_bind_cooling_device(thermal, 0, cdev, in ti_thermal_bind()
153 static int ti_thermal_unbind(struct thermal_zone_device *thermal, in ti_thermal_unbind() argument
156 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_unbind()
166 return thermal_zone_unbind_cooling_device(thermal, 0, cdev); in ti_thermal_unbind()
170 static int ti_thermal_get_mode(struct thermal_zone_device *thermal, in ti_thermal_get_mode() argument
173 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_get_mode()
[all …]
DKconfig14 bool "Texas Instruments SoCs thermal framework support"
18 If you say yes here you want to get support for generic thermal
25 bool "Texas Instruments OMAP4 thermal support"
29 If you say yes here you get thermal support for the Texas Instruments
39 bool "Texas Instruments OMAP5 thermal support"
43 If you say yes here you get thermal support for the Texas Instruments
51 bool "Texas Instruments DRA752 thermal support"
55 If you say yes here you get thermal support for the Texas Instruments
DTODO6 on ti-thermal-common.c/ti-thermal.h:
/linux-4.1.27/tools/thermal/tmon/
DREADME1 TMON - A Monitoring and Testing Tool for Linux kernel thermal subsystem
6 thermal relationship between processor and fan has become past for modern
9 As hardware vendors cope with the thermal constraints on their products, more
11 complexity of the thermal relationship can grow exponentially among cooling
14 To expose such relationship to the userspace, Linux generic thermal layer
15 introduced sysfs entry at /sys/class/thermal with a matrix of symbolic
18 thermal conditions are often exception cases that hard to reach in
22 complex thermal subsystem.
28 sysfs.c : access to the generic thermal sysfs
30 that can be used for thermal relationship training.
/linux-4.1.27/arch/arm/boot/dts/
Dexynos4-cpu-thermal.dtsi2 * Device tree sources for Exynos4 thermal zone
12 #include <dt-bindings/thermal/thermal.h>
15 thermal-zones {
16 cpu_thermal: cpu-thermal {
17 thermal-sensors = <&tmu 0>;
Drk3288-thermal.dtsi2 * Device Tree Source for RK3288 SoC thermal
11 #include <dt-bindings/thermal/thermal.h>
17 thermal-sensors = <&tsadc 0>;
24 thermal-sensors = <&tsadc 1>;
52 thermal-sensors = <&tsadc 2>;
Domap5-gpu-thermal.dtsi2 * Device Tree Source for OMAP543x SoC GPU thermal
12 #include <dt-bindings/thermal/thermal.h>
19 thermal-sensors = <&bandgap 1>;
Domap5-core-thermal.dtsi2 * Device Tree Source for OMAP543x SoC CORE thermal
12 #include <dt-bindings/thermal/thermal.h>
19 thermal-sensors = <&bandgap 2>;
Domap4-cpu-thermal.dtsi2 * Device Tree Source for OMAP4/5 SoC CPU thermal
12 #include <dt-bindings/thermal/thermal.h>
19 thermal-sensors = <&bandgap 0>;
Domap443x.dtsi33 thermal-zones {
34 #include "omap4-cpu-thermal.dtsi"
43 #thermal-sensor-cells = <0>;
Dexynos5440.dtsi243 thermal-zones {
244 cpu0_thermal: cpu0-thermal {
245 thermal-sensors = <&tmuctrl_0>;
248 cpu1_thermal: cpu1-thermal {
249 thermal-sensors = <&tmuctrl_1>;
252 cpu2_thermal: cpu2-thermal {
253 thermal-sensors = <&tmuctrl_2>;
Domap4460.dtsi38 thermal-zones {
39 #include "omap4-cpu-thermal.dtsi"
51 #thermal-sensor-cells = <0>;
Dexynos4412-tmu-sensor-conf.dtsi12 #include <dt-bindings/thermal/thermal_exynos.h>
14 #thermal-sensor-cells = <0>;
Dexynos5440-tmu-sensor-conf.dtsi12 #include <dt-bindings/thermal/thermal_exynos.h>
14 #thermal-sensor-cells = <0>;
Dkirkwood-6282.dtsi87 thermal: thermal@10078 { label
88 compatible = "marvell,kirkwood-thermal";
Dexynos4210.dtsi24 #include "exynos4-cpu-thermal.dtsi"
172 thermal-zones {
173 cpu_thermal: cpu-thermal {
176 thermal-sensors = <&tmu 0>;
Dexynos5420.dtsi834 thermal-zones {
835 cpu0_thermal: cpu0-thermal {
836 thermal-sensors = <&tmu_cpu0>;
839 cpu1_thermal: cpu1-thermal {
840 thermal-sensors = <&tmu_cpu1>;
843 cpu2_thermal: cpu2-thermal {
844 thermal-sensors = <&tmu_cpu2>;
847 cpu3_thermal: cpu3-thermal {
848 thermal-sensors = <&tmu_cpu3>;
851 gpu_thermal: gpu-thermal {
[all …]
Dexynos5440-trip-points.dtsi2 * Device tree sources for default Exynos5440 thermal zone definition
Dste-snowball.dts312 thermal@801573c0 {
318 trip0-cdev-name0 = "thermal-cpufreq-0";
323 trip1-cdev-name0 = "thermal-cpufreq-0";
328 trip2-cdev-name0 = "thermal-cpufreq-0";
Dexynos5420-trip-points.dtsi2 * Device tree sources for default Exynos5420 thermal zone definition
Dspear1340.dtsi149 thermal@e07008c4 {
150 st,thermal-flags = <0x2a00>;
Dstih416.dtsi243 compatible = "st,stih416-sas-thermal";
244 clock-names = "thermal";
251 compatible = "st,stih416-mpe-thermal";
254 clock-names = "thermal";
Dsun5i-a13.dtsi16 #include <dt-bindings/thermal/thermal.h>
63 thermal-zones {
68 thermal-sensors = <&rtp>;
561 #thermal-sensor-cells = <0>;
Dtegra124.dtsi7 #include <dt-bindings/thermal/tegra124-soctherm.h>
693 soctherm: thermal-sensor@0,700e2000 {
702 #thermal-sensor-cells = <1>;
946 thermal-zones {
951 thermal-sensors =
959 thermal-sensors =
967 thermal-sensors =
975 thermal-sensors =
Dspear13xx.dtsi336 thermal@e07008c4 {
337 compatible = "st,thermal-spear1340";
Dsun4i-a10.dtsi15 #include <dt-bindings/thermal/thermal.h>
89 thermal-zones {
94 thermal-sensors = <&rtp>;
839 #thermal-sensor-cells = <0>;
Dr8a7779.dtsi267 thermal@ffc48000 {
268 compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal";
Dspear1310.dtsi290 thermal@e07008c4 {
291 st,thermal-flags = <0x7000>;
Dkirkwood-blackarmor-nas220.dts149 adt7476: thermal@2e {
Darmada-xp.dtsi144 thermal@182b0 {
145 compatible = "marvell,armadaxp-thermal";
Dexynos5250.dtsi23 #include "exynos4-cpu-thermal.dtsi"
260 thermal-zones {
261 cpu_thermal: cpu-thermal {
264 thermal-sensors = <&tmu 0>;
Dr8a73a4.dtsi227 thermal@e61f0000 {
228 compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal";
746 "thermal", "iic8";
Ddove.dtsi386 thermal: thermal-diode@d001c { label
387 compatible = "marvell,dove-thermal";
Drk3288.dtsi18 #include <dt-bindings/thermal/thermal.h>
381 thermal-zones {
382 #include "rk3288-thermal.dtsi"
395 #thermal-sensor-cells = <1>;
Domap5.dtsi69 thermal-zones {
70 #include "omap4-cpu-thermal.dtsi"
71 #include "omap5-gpu-thermal.dtsi"
72 #include "omap5-core-thermal.dtsi"
957 #thermal-sensor-cells = <1>;
Dexynos4210-trats.dts433 thermal-zones {
434 cpu_thermal: cpu-thermal {
Darmada-370.dtsi225 thermal@18300 {
226 compatible = "marvell,armada370-thermal";
Dexynos4412-odroid-common.dtsi445 thermal-zones {
446 cpu_thermal: cpu-thermal {
Dsun7i-a20.dtsi53 #include <dt-bindings/thermal/thermal.h>
128 thermal-zones {
133 thermal-sensors = <&rtp>;
1048 #thermal-sensor-cells = <0>;
Dam57xx-beagle-x15.dts447 #thermal-sensor-cells = <1>;
591 thermal-sensors = <&tmp102 0>;
Ddra7.dtsi281 #thermal-sensor-cells = <1>;
1484 thermal_zones: thermal-zones {
1485 #include "omap4-cpu-thermal.dtsi"
1486 #include "omap5-gpu-thermal.dtsi"
1487 #include "omap5-core-thermal.dtsi"
Darmada-375.dtsi541 thermal@e8078 {
542 compatible = "marvell,armada375-thermal";
Darmada-38x.dtsi537 thermal@e8078 {
538 compatible = "marvell,armada380-thermal";
Dexynos4x12.dtsi22 #include "exynos4-cpu-thermal.dtsi"
Dexynos4412-trats2.dts577 maxim,thermal-regulation-celsius = <100>;
931 thermal-zones {
932 cpu_thermal: cpu-thermal {
Dr8a7790.dtsi199 thermal@e61f0000 {
200 compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal";
1173 "thermal", "pwm";
Dr8a7791.dtsi180 thermal@e61f0000 {
181 compatible = "renesas,thermal-r8a7791", "renesas,rcar-thermal";
1175 "thermal", "pwm";
Dste-dbx5x0.dtsi315 thermal@801573c0 {
316 compatible = "stericsson,db8500-thermal";
Dtegra124-nyan.dtsi67 #thermal-sensor-cells = <1>;
Dexynos3250.dtsi21 #include "exynos4-cpu-thermal.dtsi"
Dsun5i-a10s.dtsi579 #thermal-sensor-cells = <0>;
Dsun6i-a31.dtsi665 #thermal-sensor-cells = <0>;
Dtegra124-jetson-tk1.dts1906 thermal-zones {
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dthermal.c63 *state = ar->thermal.duty_cycle; in ath10k_thermal_get_cur_dutycycle()
112 ar->thermal.duty_cycle = duty_cycle; in ath10k_thermal_set_cur_dutycycle()
139 reinit_completion(&ar->thermal.wmi_sync); in ath10k_thermal_show_temp()
151 ret = wait_for_completion_timeout(&ar->thermal.wmi_sync, in ath10k_thermal_show_temp()
160 temperature = ar->thermal.temperature; in ath10k_thermal_show_temp()
173 ar->thermal.temperature = temperature; in ath10k_thermal_event_temperature()
175 complete(&ar->thermal.wmi_sync); in ath10k_thermal_event_temperature()
209 ar->thermal.cdev = cdev; in ath10k_thermal_register()
242 thermal_cooling_device_unregister(ar->thermal.cdev); in ath10k_thermal_unregister()
DMakefile18 ath10k_core-$(CONFIG_THERMAL) += thermal.o
Dcore.h688 struct ath10k_thermal thermal; member
Dcore.c890 complete_all(&ar->thermal.wmi_sync); in ath10k_core_restart()
1392 init_completion(&ar->thermal.wmi_sync); in ath10k_core_create()
/linux-4.1.27/drivers/platform/x86/
Dacerhdf.c322 static void acerhdf_check_param(struct thermal_zone_device *thermal) in acerhdf_check_param() argument
338 thermal->polling_delay = interval*1000; in acerhdf_check_param()
349 static int acerhdf_get_ec_temp(struct thermal_zone_device *thermal, in acerhdf_get_ec_temp() argument
354 acerhdf_check_param(thermal); in acerhdf_get_ec_temp()
367 static int acerhdf_bind(struct thermal_zone_device *thermal, in acerhdf_bind() argument
374 if (thermal_zone_bind_cooling_device(thermal, 0, cdev, in acerhdf_bind()
382 static int acerhdf_unbind(struct thermal_zone_device *thermal, in acerhdf_unbind() argument
388 if (thermal_zone_unbind_cooling_device(thermal, 0, cdev)) { in acerhdf_unbind()
412 static int acerhdf_get_mode(struct thermal_zone_device *thermal, in acerhdf_get_mode() argument
430 static int acerhdf_set_mode(struct thermal_zone_device *thermal, in acerhdf_set_mode() argument
[all …]
Dintel_menlow.c423 struct thermal_zone_device *thermal; in intel_menlow_register_sensor() local
426 result = acpi_bus_get_private_data(handle, (void **)&thermal); in intel_menlow_register_sensor()
441 &thermal->device, handle); in intel_menlow_register_sensor()
455 &thermal->device, handle); in intel_menlow_register_sensor()
468 &thermal->device, handle); in intel_menlow_register_sensor()
DKconfig49 echo -n enabled > /sys/class/thermal/thermal_zone0/mode
493 ACPI thermal management enhancement driver on
726 Say Y here to enable thermal driver support for the Intel Medfield
/linux-4.1.27/drivers/thermal/int340x_thermal/
Dint3400_thermal.c34 struct thermal_zone_device *thermal; member
188 static int int3400_thermal_get_temp(struct thermal_zone_device *thermal, in int3400_thermal_get_temp() argument
195 static int int3400_thermal_get_mode(struct thermal_zone_device *thermal, in int3400_thermal_get_mode() argument
198 struct int3400_thermal_priv *priv = thermal->devdata; in int3400_thermal_get_mode()
208 static int int3400_thermal_set_mode(struct thermal_zone_device *thermal, in int3400_thermal_set_mode() argument
211 struct int3400_thermal_priv *priv = thermal->devdata; in int3400_thermal_set_mode()
278 priv->thermal = thermal_zone_device_register("INT3400 Thermal", 0, 0, in int3400_thermal_probe()
281 if (IS_ERR(priv->thermal)) { in int3400_thermal_probe()
282 result = PTR_ERR(priv->thermal); in int3400_thermal_probe()
296 thermal_zone_device_unregister(priv->thermal); in int3400_thermal_probe()
[all …]
/linux-4.1.27/drivers/acpi/
Dthermal.c532 static int thermal_get_temp(struct thermal_zone_device *thermal, in thermal_get_temp() argument
535 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp()
550 static int thermal_get_mode(struct thermal_zone_device *thermal, in thermal_get_mode() argument
553 struct acpi_thermal *tz = thermal->devdata; in thermal_get_mode()
564 static int thermal_set_mode(struct thermal_zone_device *thermal, in thermal_set_mode() argument
567 struct acpi_thermal *tz = thermal->devdata; in thermal_set_mode()
594 static int thermal_get_trip_type(struct thermal_zone_device *thermal, in thermal_get_trip_type() argument
597 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type()
639 static int thermal_get_trip_temp(struct thermal_zone_device *thermal, in thermal_get_trip_temp() argument
642 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp()
[all …]
DMakefile73 obj-$(CONFIG_ACPI_THERMAL) += thermal.o
Dprocessor_throttling.c254 if (p_limit->thermal.tx > target_state) in acpi_processor_throttling_notifier()
255 target_state = p_limit->thermal.tx; in acpi_processor_throttling_notifier()
350 if (limit->thermal.tx > target_state) in acpi_processor_tstate_has_changed()
351 target_state = limit->thermal.tx; in acpi_processor_tstate_has_changed()
DKconfig219 This driver supports ACPI thermal zones. Most mobile and
220 some desktop systems support ACPI thermal zones. It is HIGHLY
225 the module will be called thermal.
/linux-4.1.27/drivers/thermal/st/
DKconfig4 Support for thermal sensors on STMicroelectronics STi series of SoCs.
8 tristate "STi series syscfg register access based thermal sensors"
12 tristate "STi series memory mapped access based thermal sensors"
/linux-4.1.27/drivers/macintosh/
DKconfig193 tristate "Support for thermal management on Windtunnel G4s"
200 tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
208 tristate "New PowerMac thermal control infrastructure"
212 tristate "Support for thermal management on iMac G5"
216 This driver provides thermal control for the iMacG5
219 tristate "Support for thermal management on PowerMac G5 (AGP)"
223 This driver provides thermal control for the PowerMac G5
227 tristate "Support for thermal management on Xserve G5"
231 This driver provides thermal control for the Xserve G5
235 tristate "Support for thermal management on PowerMac9,1"
[all …]
/linux-4.1.27/Documentation/ABI/stable/
Dthermal-notification1 What: A notification mechanism for thermal related events
3 This interface enables notification for thermal related events.
/linux-4.1.27/drivers/thermal/samsung/
DKconfig2 tristate "Exynos thermal management unit driver"
8 This driver uses the Exynos core thermal APIs and TMU configuration
/linux-4.1.27/tools/
DMakefile63 $(call descend,thermal/$@)
81 $(call descend,thermal/$(@:_install=),install)
113 $(call descend,thermal/tmon,clean)
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/ab8500/
Dfg.txt44 for thermal measurement.
46 The absence of property 'thermal-on-batctrl' indicates
48 for thermal measurement.
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dst,sta32x.txt39 - st,thermal-warning-recover:
40 If present, thermal warning recovery is enabled.
42 - st,thermal-warning-adjustment:
43 If present, thermal warning adjustment is enabled.
Dst,sta350.txt39 - st,thermal-warning-recover:
40 If present, thermal warning recovery is enabled.
42 - st,thermal-warning-adjustment:
43 If present, thermal warning adjustment is enabled.
/linux-4.1.27/Documentation/hwmon/
Dvt121126 enables the thermal input of that particular UCH and
60 Reading 1 temp1 Intel thermal diode
61 Reading 3 temp2 Internal thermal diode
114 internal thermal diode and the driver does all the scaling for temp2 and
119 Temp1 is an Intel-type thermal diode which requires the following formula to
171 different thermal input but - and here's the weird part - only one set of
172 thermal thresholds exist that controls both PWMs output duty-cycles. The
173 thermal thresholds are accessible via pwm[1-2]_auto_point[1-4]_temp. Note
Dabx50021 thermal sensors, and there is also a thermal sensor inside ABx500 too, which
Dmax669745 thermal transitors, except for MAX6698 which supports three diode-connected
46 thermal transistors plus three thermistors in addition to the local temperature
Dpc87360120 thermistors (as opposed to thermal diodes for the first three temperature
127 external thermal diode channels, so you (physically) can't use them all at
131 likely have either channels 1 to 3 (thermal diodes) or 3 to 6 (internal
132 thermal diode, and thermistors).
Dasc762117 added PECI and a 4th thermal zone. The Andigilog aSC7611 is the
46 We offer flexible mapping of temperature readings to thermal zones. Any
105 - Supports PECI interface and monitors internal and remote thermal diodes
188 to the point where the automatic thermal control circuit starts
Dit87208 or 3. To change sensor N to a thermal diode, 'echo 3 > tempN_type'.
211 3 = thermal diode)
259 temperature for thermal diodes or diode-connected thermal transistors.
261 are ignored. If the thermal sensor type is Intel PECI, the temperature offset
Demc6w20121 voltages (including its own VCC) and five external thermal sensors,
Dlm9523427 thermal diodes accurately.
Dsmsc47b39727 Methods for detecting the HP SIO and reading the thermal data on a dc7100.
29 The thermal information on the dc7100 is contained in the SIO Hardware Monitor
Ddme1737170 pwm[1-3]_auto_pwm_min, respectively. The thermal thresholds of the zones are
193 based on the temperature of the associated thermal zone:
239 detects a faulty thermal diode or an
Dk10temp71 temperature and maximum thermal power dissipation.
Dmax34440113 is a remote thermal-diode sensor. For MAX34440, temp6..8
Dadm102634 Devices calls it a "complete thermal system management controller."
Dadm1021112 introduced integrated digital thermal sensors. These are supported by
Df71805f120 sensor. Each channel can be used for connecting either a thermal diode
Dlm8566 measure a thermal diode like the one in a Pentium 4 processor in a socket
Dw83781d242 PII thermal diode 1 1 1
Dsysfs-interface309 3: thermal diode
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/
Dsun4i.txt9 - #thermal-sensor-cells: shall be 0
34 #thermal-sensor-cells = <0>;
/linux-4.1.27/net/dsa/
DKconfig22 Say Y if you want to expose thermal sensor data on switches supported
25 Some of those switches contain thermal sensors. This data is available
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/
Dcharger-manager.txt24 - cm-thermal-zone : name of external thermometer's thermal zone
53 cm-thermal-zone = "thermal_zone.1"
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/
Dntc_thermistor.txt29 - "#thermal-sensor-cells" Used to expose itself to thermal fw.
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dgpio-fan.txt15 Also see: Documentation/devicetree/bindings/thermal/thermal.txt
/linux-4.1.27/Documentation/devicetree/bindings/cpufreq/
Dcpufreq-dt.txt23 Please refer to Documentation/devicetree/bindings/thermal/thermal.txt.
/linux-4.1.27/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra20-pmc.txt54 Hardware-triggered thermal reset:
56 hardware-triggered thermal reset will be enabled.
58 Required properties for hardware-triggered thermal reset (inside 'i2c-thermtrip'):
66 Optional properties for hardware-triggered thermal reset (inside 'i2c-thermtrip'):
/linux-4.1.27/include/trace/events/
Dthermal.h2 #define TRACE_SYSTEM thermal
/linux-4.1.27/sound/soc/codecs/
Dsta32x.c883 int i, ret = 0, thermal = 0; in sta32x_probe() local
899 thermal |= STA32X_CONFA_TWAB; in sta32x_probe()
901 thermal |= STA32X_CONFA_TWRB; in sta32x_probe()
903 thermal |= STA32X_CONFA_FDRB; in sta32x_probe()
907 thermal); in sta32x_probe()
Dsta350.c919 int i, ret = 0, thermal = 0; in sta350_probe() local
936 thermal |= STA350_CONFA_TWAB; in sta350_probe()
938 thermal |= STA350_CONFA_TWRB; in sta350_probe()
940 thermal |= STA350_CONFA_FDRB; in sta350_probe()
944 thermal); in sta350_probe()
/linux-4.1.27/drivers/w1/
DKconfig6 such as iButtons and thermal sensors.
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dmax77693.txt61 - maxim,thermal-regulation-celsius : Temperature in Celsius for entering
117 maxim,thermal-regulation-celsius = <75>;
/linux-4.1.27/Documentation/cpu-freq/
Dcore.txt33 policy changes (ex. thermal modules like ACPI) or of all
61 they see a need for this - may it be thermal considerations or
Duser-guide.txt213 This does not cover thermal ACPI limitations
215 thermal driver.
Dboost.txt19 if the whole chip is not fully utilized and below it's intended thermal
/linux-4.1.27/drivers/cpufreq/
DKconfig.arm80 processors if thermal conditions are appropriate.
82 It requires, for safe operation, thermal framework with properly
/linux-4.1.27/drivers/
DMakefile109 obj-$(CONFIG_THERMAL) += thermal/
DKconfig73 source "drivers/thermal/Kconfig"
/linux-4.1.27/drivers/staging/iio/
DTODO21 - die temperature monitor (thermal management)
/linux-4.1.27/Documentation/acpi/
Dnamespace.txt161 +-| _TZ | Scope(_TZ): the thermal zone namespace
177 | +-| TZ00 | ThermalZone(TZ00); the FAN thermal zone
191 processors, thermal zones. Those objects are exported to user space via
/linux-4.1.27/arch/powerpc/platforms/cell/
DKconfig102 tristate "CBE thermal support"
/linux-4.1.27/include/acpi/
Dprocessor.h179 struct acpi_processor_lx thermal; /* thermal limit */ member
/linux-4.1.27/drivers/net/ethernet/intel/
DKconfig117 Say Y if you want to expose thermal sensor data on Intel devices.
119 Some of our devices contain thermal sensors, both external and internal.
211 Say Y if you want to expose the thermal sensor data on some of
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_pm.c689 temp = rdev->pm.dpm.thermal.min_temp; in radeon_hwmon_show_temp_thresh()
691 temp = rdev->pm.dpm.thermal.max_temp; in radeon_hwmon_show_temp_thresh()
815 pm.dpm.thermal.work); in radeon_dpm_thermal_work_handler()
825 if (temp < rdev->pm.dpm.thermal.min_temp) in radeon_dpm_thermal_work_handler()
829 if (rdev->pm.dpm.thermal.high_to_low) in radeon_dpm_thermal_work_handler()
1382 INIT_WORK(&rdev->pm.dpm.thermal.work, radeon_dpm_thermal_work_handler); in radeon_pm_init_dpm()
Dr600_dpm.c755 rdev->pm.dpm.thermal.min_temp = low_temp; in r600_set_thermal_temperature_range()
756 rdev->pm.dpm.thermal.max_temp = high_temp; in r600_set_thermal_temperature_range()
Dtrinity_dpm.c1044 rdev->pm.dpm.thermal.min_temp = low_temp; in trinity_set_thermal_temperature_range()
1045 rdev->pm.dpm.thermal.max_temp = high_temp; in trinity_set_thermal_temperature_range()
Dsumo_dpm.c1175 rdev->pm.dpm.thermal.min_temp = low_temp; in sumo_set_thermal_temperature_range()
1176 rdev->pm.dpm.thermal.max_temp = high_temp; in sumo_set_thermal_temperature_range()
Drv770_dpm.c1888 rdev->pm.dpm.thermal.min_temp = low_temp; in rv770_set_thermal_temperature_range()
1889 rdev->pm.dpm.thermal.max_temp = high_temp; in rv770_set_thermal_temperature_range()
Dr600.c4210 rdev->pm.dpm.thermal.high_to_low = false; in r600_irq_process()
4215 rdev->pm.dpm.thermal.high_to_low = true; in r600_irq_process()
4236 schedule_work(&rdev->pm.dpm.thermal.work); in r600_irq_process()
Dkv_dpm.c2473 rdev->pm.dpm.thermal.min_temp = low_temp; in kv_set_thermal_temperature_range()
2474 rdev->pm.dpm.thermal.max_temp = high_temp; in kv_set_thermal_temperature_range()
Devergreen.c5424 rdev->pm.dpm.thermal.high_to_low = false; in evergreen_irq_process()
5429 rdev->pm.dpm.thermal.high_to_low = true; in evergreen_irq_process()
5458 schedule_work(&rdev->pm.dpm.thermal.work); in evergreen_irq_process()
Dsi.c6823 rdev->pm.dpm.thermal.high_to_low = false; in si_irq_process()
6828 rdev->pm.dpm.thermal.high_to_low = true; in si_irq_process()
6853 schedule_work(&rdev->pm.dpm.thermal.work); in si_irq_process()
Dcik.c8387 rdev->pm.dpm.thermal.high_to_low = false; in cik_irq_process()
8392 rdev->pm.dpm.thermal.high_to_low = true; in cik_irq_process()
8456 schedule_work(&rdev->pm.dpm.thermal.work); in cik_irq_process()
Dradeon.h1589 struct radeon_dpm_thermal thermal; member
Dsi_dpm.c5923 rdev->pm.dpm.thermal.min_temp = low_temp; in si_thermal_set_temperature_range()
5924 rdev->pm.dpm.thermal.max_temp = high_temp; in si_thermal_set_temperature_range()
Dci_dpm.c891 rdev->pm.dpm.thermal.min_temp = low_temp; in ci_thermal_set_temperature_range()
892 rdev->pm.dpm.thermal.max_temp = high_temp; in ci_thermal_set_temperature_range()
/linux-4.1.27/Documentation/
Dhw_random.txt55 using thermal noise generated from inherently random quantum
D00-INDEX440 thermal/
441 - directory with information on managing thermal issues (CPU/temp)
Dkernel-parameters.txt1511 as thermal controls and power capping, that rely on ACPI
3568 thermal.act= [HW,ACPI]
3569 -1: disable all active trip points in all thermal zones
3572 thermal.crt= [HW,ACPI]
3573 -1: disable all critical trip points in all thermal zones
3576 thermal.nocrt= [HW,ACPI]
3577 Set to disable actions on ACPI thermal zone
3580 thermal.off= [HW,ACPI]
3581 1: disable ACPI thermal control
3583 thermal.psv= [HW,ACPI]
[all …]
Dedac.txt99 These errors are usually bus errors, ECC errors, thermal throttling
/linux-4.1.27/drivers/w1/slaves/
DKconfig10 Say Y here if you want to connect 1-wire thermal sensors to your
/linux-4.1.27/Documentation/w1/
Dw1.generic53 w1_therm - (ds18?20 thermal sensor family driver)
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt541 0x6030 System thermal table changed
840 procfs: /proc/acpi/ibm/thermal
854 The mapping of thermal sensors to physical locations varies depending on
885 The A31 has a very atypical layout for the thermal sensors
903 status may change at runtime, as there are hotplug thermal
906 thinkpad-acpi thermal sensors are reported through the hwmon
1161 internal algorithm, usually based on readings from the thermal sensors.
1180 normal, and the EC will spin the fan up if the various thermal readings
/linux-4.1.27/Documentation/i2c/busses/
Di2c-i801119 the "fan" and "thermal" drivers, and check in /proc/acpi/fan and
/linux-4.1.27/Documentation/power/regulator/
Dconsumer.txt193 - thermal management firmware that can issue an arbitrary I2C transaction to
/linux-4.1.27/Documentation/watchdog/
Dwatchdog-api.txt162 The machine was last rebooted by the watchdog because the thermal limit was
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-regulator53 disabled due to thermal shutdown, or voltage being unstable
/linux-4.1.27/drivers/edac/
DKconfig18 memory errors, cache errors, PCI errors, thermal throttling, etc..
/linux-4.1.27/drivers/iio/adc/
DKconfig136 be used for sampling sensors such as thermal resistors.
/linux-4.1.27/include/uapi/linux/
DKbuild392 header-y += thermal.h
/linux-4.1.27/drivers/hwmon/
DKconfig43 tristate "AB8500 thermal monitoring"
47 If you say yes here you get support for the thermal sensor part
48 of the AB8500 chip. The driver includes thermal management for
1257 tristate "SMSC EMC1403/23 thermal sensor"
/linux-4.1.27/Documentation/power/
Dopp.txt201 as thermal considerations (e.g. don't use OPPx until the temperature drops).
/linux-4.1.27/Documentation/arm/
Dcluster-pm-race-avoidance.txt19 power consumption and thermal dissipation.
/linux-4.1.27/Documentation/timers/
DNO_HZ.txt275 your CPU to overheat, which may cause thermal throttling
/linux-4.1.27/Documentation/arm64/
Dacpi_object_usage.txt586 -- Section 11: thermal management
/linux-4.1.27/drivers/char/
DKconfig187 Say Y here to include support for the thermal management hardware
/linux-4.1.27/Documentation/virtual/kvm/
Dtimekeeping.txt422 the TSC. This is typically done for thermal emergency power control to prevent
/linux-4.1.27/
DMAINTAINERS307 F: drivers/acpi/*thermal*
8599 T: https://github.com/lmajewski/linux-samsung-thermal.git
8600 F: drivers/thermal/samsung/
9832 T: git git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git
9835 F: drivers/thermal/
9836 F: include/linux/thermal.h
9837 F: include/uapi/linux/thermal.h
9839 F: Documentation/devicetree/bindings/thermal/
9861 F: drivers/thermal/ti-soc-thermal/
/linux-4.1.27/arch/x86/
DKconfig542 MSR's for some register accesses, mostly but not limited to thermal
962 the thermal monitor.
/linux-4.1.27/drivers/mfd/
DKconfig325 thermal, charger and related power management functions
/linux-4.1.27/Documentation/filesystems/
Dproc.txt659 TRM -- a thermal event interrupt occurs when a temperature threshold