Home
last modified time | relevance | path

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

12345678910>>...17

/linux/drivers/thermal/
H A Dda9062-thermal.c63 struct da9062_thermal *thermal = container_of(work, in da9062_thermal_poll_on() local
71 ret = regmap_write(thermal->hw->regmap, in da9062_thermal_poll_on()
75 dev_err(thermal->dev, in da9062_thermal_poll_on()
84 ret = regmap_read(thermal->hw->regmap, in da9062_thermal_poll_on()
88 dev_err(thermal->dev, in da9062_thermal_poll_on()
94 mutex_lock(&thermal->lock); in da9062_thermal_poll_on()
95 thermal->temperature = DA9062_MILLI_CELSIUS(125); in da9062_thermal_poll_on()
96 mutex_unlock(&thermal->lock); in da9062_thermal_poll_on()
97 thermal_zone_device_update(thermal->zone, in da9062_thermal_poll_on()
104 queue_delayed_work(system_freezable_wq, &thermal->work, delay); in da9062_thermal_poll_on()
[all …]
H A Dkirkwood_thermal.c26 static int kirkwood_get_temp(struct thermal_zone_device *thermal, in kirkwood_get_temp() argument
30 struct kirkwood_thermal_priv *priv = thermal_zone_device_priv(thermal); in kirkwood_get_temp()
62 struct thermal_zone_device *thermal = NULL; in kirkwood_thermal_probe() local
74 thermal = thermal_tripless_zone_device_register("kirkwood_thermal", in kirkwood_thermal_probe()
76 if (IS_ERR(thermal)) { in kirkwood_thermal_probe()
79 return PTR_ERR(thermal); in kirkwood_thermal_probe()
81 ret = thermal_zone_device_enable(thermal); in kirkwood_thermal_probe()
83 thermal_zone_device_unregister(thermal); in kirkwood_thermal_probe()
88 platform_set_drvdata(pdev, thermal); in kirkwood_thermal_probe()
H A Ddove_thermal.c86 static int dove_get_temp(struct thermal_zone_device *thermal, in dove_get_temp() argument
90 struct dove_thermal_priv *priv = thermal_zone_device_priv(thermal); in dove_get_temp()
120 struct thermal_zone_device *thermal = NULL; in dove_thermal_probe() local
142 thermal = thermal_tripless_zone_device_register("dove_thermal", priv, in dove_thermal_probe()
144 if (IS_ERR(thermal)) { in dove_thermal_probe()
147 return PTR_ERR(thermal); in dove_thermal_probe()
150 ret = thermal_zone_device_enable(thermal); in dove_thermal_probe()
152 thermal_zone_device_unregister(thermal); in dove_thermal_probe()
156 platform_set_drvdata(pdev, thermal); in dove_thermal_probe()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c104 struct mlxsw_thermal *thermal; member
150 static int mlxsw_get_cooling_device_idx(struct mlxsw_thermal *thermal, in mlxsw_get_cooling_device_idx() argument
156 if (thermal->cdevs[i].cdev == cdev) in mlxsw_get_cooling_device_idx()
173 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_should_bind() local
177 if (mlxsw_get_cooling_device_idx(thermal, cdev) < 0) in mlxsw_thermal_should_bind()
189 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_get_temp() local
190 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_temp()
197 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_get_temp()
224 struct mlxsw_thermal *thermal = tz->parent; in mlxsw_thermal_module_should_bind() local
227 if (mlxsw_get_cooling_device_idx(thermal, cdev) < 0) in mlxsw_thermal_module_should_bind()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-thermal1 What: /sys/class/thermal/thermal_zoneX/type
3 Strings which represent the thermal zone type.
4 This is given by thermal zone driver as part of registration.
5 E.g: "acpitz" indicates it's an ACPI thermal device.
12 What: /sys/class/thermal/thermal_zoneX/temp
14 Current temperature as reported by thermal zone (sensor).
20 What: /sys/class/thermal/thermal_zoneX/mode
24 currently managing the thermal zone. It can be either default
30 Preventing kernel thermal zone driver actions upon
32 charge of the thermal management.
[all …]
/linux/drivers/thermal/ti-soc-thermal/
H A DMakefile2 obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal.o
3 ti-soc-thermal-y := ti-bandgap.o
4 ti-soc-thermal-$(CONFIG_TI_THERMAL) += ti-thermal-common.o
5 ti-soc-thermal-$(CONFIG_DRA752_THERMAL) += dra752-thermal-data.o
6 ti-soc-thermal-$(CONFIG_OMAP3_THERMAL) += omap3-thermal-data.o
7 ti-soc-thermal-$(CONFIG_OMAP4_THERMAL) += omap4-thermal-data.o
8 ti-soc-thermal-$(CONFIG_OMAP5_THERMAL) += omap5-thermal-data.o
H A DKconfig13 bool "Texas Instruments SoCs thermal framework support"
16 If you say yes here you want to get support for generic thermal
23 bool "Texas Instruments OMAP3 thermal support"
27 If you say yes here you get thermal support for the Texas Instruments
31 OMAP3 chips normally don't need thermal management, and sensors in
38 bool "Texas Instruments OMAP4 thermal support"
42 If you say yes here you get thermal support for the Texas Instruments
52 bool "Texas Instruments OMAP5 thermal support"
56 If you say yes here you get thermal support for the Texas Instruments
64 bool "Texas Instruments DRA752 thermal support"
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-j721s2-thermal.dtsi6 #include <dt-bindings/thermal/thermal.h>
8 wkup0_thermal: wkup0-thermal {
11 thermal-sensors = <&wkup_vtm0 0>;
22 wkup1_thermal: wkup1-thermal {
25 thermal-sensors = <&wkup_vtm0 1>;
36 main0_thermal: main0-thermal {
39 thermal-sensors = <&wkup_vtm0 2>;
50 main1_thermal: main1-thermal {
53 thermal-sensors = <&wkup_vtm0 3>;
64 main2_thermal: main2-thermal {
[all …]
H A Dk3-j721e-thermal.dtsi6 #include <dt-bindings/thermal/thermal.h>
8 thermal_zones: thermal-zones {
9 wkup_thermal: wkup-thermal {
12 thermal-sensors = <&wkup_vtm0 0>;
23 mpu_thermal: mpu-thermal {
26 thermal-sensors = <&wkup_vtm0 1>;
37 c7x_thermal: c7x-thermal {
40 thermal-sensors = <&wkup_vtm0 2>;
51 gpu_thermal: gpu-thermal {
54 thermal-sensors = <&wkup_vtm0 3>;
[all …]
H A Dk3-j7200-thermal.dtsi6 #include <dt-bindings/thermal/thermal.h>
8 thermal_zones: thermal-zones {
9 mcu_thermal: mcu-thermal {
12 thermal-sensors = <&wkup_vtm0 0>;
23 mpu_thermal: mpu-thermal {
26 thermal-sensors = <&wkup_vtm0 1>;
37 main_thermal: main-thermal {
40 thermal-sensors = <&wkup_vtm0 2>;
H A Dk3-am654-industrial-thermal.dtsi6 #include <dt-bindings/thermal/thermal.h>
8 mpu0_thermal: mpu0-thermal {
11 thermal-sensors = <&wkup_vtm0 0>;
22 mpu1_thermal: mpu1-thermal {
25 thermal-sensors = <&wkup_vtm0 1>;
36 mcu_thermal: mcu-thermal {
39 thermal-sensors = <&wkup_vtm0 2>;
H A Dk3-am64-thermal.dtsi6 #include <dt-bindings/thermal/thermal.h>
8 thermal_zones: thermal-zones {
9 main0_thermal: main0-thermal {
12 thermal-sensors = <&main_vtm0 0>;
23 main1_thermal: main1-thermal {
26 thermal-sensors = <&main_vtm0 1>;
H A Dk3-am62a-thermal.dtsi6 #include <dt-bindings/thermal/thermal.h>
8 thermal_zones: thermal-zones {
9 main0_thermal: main0-thermal {
12 thermal-sensors = <&wkup_vtm0 0>;
40 main1_thermal: main1-thermal {
43 thermal-sensors = <&wkup_vtm0 1>;
71 main2_thermal: main2-thermal {
74 thermal-sensors = <&wkup_vtm0 2>;
H A Dk3-am62p-j722s-common-thermal.dtsi6 #include <dt-bindings/thermal/thermal.h>
8 thermal_zones: thermal-zones {
9 main0_thermal: main0-thermal {
12 thermal-sensors = <&wkup_vtm0 0>;
40 main1_thermal: main1-thermal {
43 thermal-sensors = <&wkup_vtm0 1>;
71 main2_thermal: main2-thermal {
74 thermal-sensors = <&wkup_vtm0 2>;
/linux/drivers/thermal/renesas/
H A DKconfig4 tristate "Renesas R-Car thermal driver"
9 Enable this to plug the R-Car thermal sensor driver into the Linux
10 thermal framework.
13 tristate "Renesas R-Car Gen3/Gen4 and RZ/G2 thermal driver"
18 Enable this to plug the R-Car Gen3/Gen4 or RZ/G2 thermal sensor
19 driver into the Linux thermal framework.
22 tristate "Renesas RZ/G2L thermal driver"
27 Enable this to plug the RZ/G2L thermal sensor driver into the Linux
28 thermal framework.
31 tristate "Renesas RZ/G3E thermal driver"
[all …]
/linux/tools/
H A DMakefile102 thermal: FORCE target
109 $(call descend,thermal/$@)
112 $(call descend,thermal/$@)
114 thermal-engine: FORCE thermal
115 $(call descend,thermal/$@)
130 debugging tracing thermal thermometer thermal-engine ynl
151 $(call descend,thermal/$(@:_install=),install)
154 $(call descend,thermal/$(@:_install=),install)
156 thermal-engine_install:
157 $(call descend,thermal/$(@:_install=),install)
[all …]
/linux/arch/arm64/boot/dts/arm/
H A Djuno-scmi.dtsi73 #thermal-sensor-cells = <1>;
78 thermal-zones {
79 pmic-thermal {
80 thermal-sensors = <&scmi_sensors0 0>;
83 soc-thermal {
84 thermal-sensors = <&scmi_sensors0 3>;
87 big-cl-thermal {
88 thermal-sensors = <&scmi_sensors0 21>;
91 little-cl-thermal {
92 thermal-sensors = <&scmi_sensors0 22>;
[all …]
/linux/Documentation/driver-api/thermal/
H A Dx86_pkg_temperature_thermal.rst7 * x86: with package level thermal management
22 This driver register CPU digital temperature package level sensor as a thermal
25 user mode can receive notification via thermal notification mechanism and can
31 Each package will register as a thermal zone under /sys/class/thermal.
35 /sys/class/thermal/thermal_zone1
43 are in milli-degree Celsius. Refer to "Documentation/driver-api/thermal/sysfs-api.rst" for
44 thermal sys-fs details.
46 Any value other than 0 in these trip points, can trigger thermal notifications.
47 Setting 0, stops sending thermal notifications.
50 To get kobject-uevent notifications, set the thermal zone
/linux/arch/arm64/boot/dts/qcom/
H A Dhamoa-pmics.dtsi12 thermal-zones {
13 pm8550-thermal {
16 thermal-sensors = <&pm8550_temp_alarm>;
33 pm8550ve-2-thermal {
36 thermal-sensors = <&pm8550ve_2_temp_alarm>;
53 pmc8380-3-thermal {
56 thermal-sensors = <&pmc8380_3_temp_alarm>;
73 pmc8380-4-thermal {
76 thermal-sensors = <&pmc8380_4_temp_alarm>;
93 pmc8380-5-thermal {
[all …]
H A Dsc8280xp-pmics.dtsi14 thermal-zones {
15 pm8280_1_thermal: pm8280-1-thermal {
18 thermal-sensors = <&pm8280_1_temp_alarm>;
35 pmc8280c_thermal: pmc8280c-thermal {
38 thermal-sensors = <&pmc8280c_temp_alarm>;
55 pm8280_2_thermal: pm8280-2-thermal {
58 thermal-sensors = <&pm8280_2_temp_alarm>;
75 pmr735a_thermal: pmr735a-thermal {
78 thermal-sensors = <&pmr735a_temp_alarm>;
169 #thermal-sensor-cells = <1>;
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dthermal.c32 *state = ar->thermal.throttle_state; in ath10k_thermal_get_cur_throttle_state()
50 ar->thermal.throttle_state = throttle_state; in ath10k_thermal_set_cur_throttle_state()
78 reinit_completion(&ar->thermal.wmi_sync); in ath10k_thermal_show_temp()
90 time_left = wait_for_completion_timeout(&ar->thermal.wmi_sync, in ath10k_thermal_show_temp()
99 temperature = ar->thermal.temperature; in ath10k_thermal_show_temp()
112 ar->thermal.temperature = temperature; in ath10k_thermal_event_temperature()
114 complete(&ar->thermal.wmi_sync); in ath10k_thermal_event_temperature()
142 period = ar->thermal.quiet_period; in ath10k_thermal_set_throttling()
143 duration = (period * ar->thermal.throttle_state) / 100; in ath10k_thermal_set_throttling()
180 ar->thermal.cdev = cdev; in ath10k_thermal_register()
[all …]
/linux/drivers/thermal/broadcom/
H A DKconfig3 tristate "Broadcom AVS RO thermal sensor driver"
7 Support for thermal sensors on Broadcom BCM2711 SoCs.
15 Support for thermal sensors on Broadcom bcm2835 SoCs.
18 tristate "Broadcom STB AVS TMON thermal driver"
22 thermal framework support.
25 tristate "Northstar thermal driver"
31 Management Unit) block with a thermal sensor that allows checking CPU
35 tristate "Stingray thermal driver"
40 iHost, CRMU and NITRO has thermal sensor that allows checking its
H A Dbcm2711_thermal.c31 struct thermal_zone_device *thermal; member
69 struct thermal_zone_device *thermal; in bcm2711_thermal_probe() local
91 thermal = devm_thermal_of_zone_register(dev, 0, priv, in bcm2711_thermal_probe()
93 if (IS_ERR(thermal)) { in bcm2711_thermal_probe()
94 ret = PTR_ERR(thermal); in bcm2711_thermal_probe()
99 priv->thermal = thermal; in bcm2711_thermal_probe()
101 return thermal_add_hwmon_sysfs(thermal); in bcm2711_thermal_probe()
/linux/drivers/thermal/tegra/
H A DKconfig2 menu "NVIDIA Tegra thermal drivers"
6 tristate "Tegra SOCTHERM thermal management"
8 Enable this option for integrated thermal management support on NVIDIA
9 Tegra systems-on-chip. The driver supports four thermal zones
10 (CPU, GPU, MEM, PLLX). Cooling devices can be bound to the thermal
12 emergency thermal reset (thermtrip) feature to function.
15 tristate "Tegra BPMP thermal sensing"
25 Enable this option to support thermal management of NVIDIA Tegra30
/linux/tools/thermal/tmon/
H A 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.

12345678910>>...17