Symbol: thermal_zone_device
drivers/acpi/thermal.c
118
struct thermal_zone_device *thermal_zone;
drivers/acpi/thermal.c
479
static int thermal_get_temp(struct thermal_zone_device *thermal, int *temp)
drivers/acpi/thermal.c
496
static int thermal_get_trend(struct thermal_zone_device *thermal,
drivers/acpi/thermal.c
542
static void acpi_thermal_zone_device_hot(struct thermal_zone_device *thermal)
drivers/acpi/thermal.c
551
static void acpi_thermal_zone_device_critical(struct thermal_zone_device *thermal)
drivers/acpi/thermal.c
562
static bool acpi_thermal_should_bind_cdev(struct thermal_zone_device *thermal,
drivers/acpi/thermal.c
595
struct device *tzdev = thermal_zone_device(tz->thermal_zone);
drivers/acpi/thermal.c
613
struct device *tzdev = thermal_zone_device(tz->thermal_zone);
drivers/ata/ahci_imx.c
385
static int sata_ahci_read_temperature(struct thermal_zone_device *tz, int *temp)
drivers/gpu/drm/tiny/repaper.c
79
struct thermal_zone_device *thermal;
drivers/hwmon/hwmon.c
163
static int hwmon_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/hwmon/hwmon.c
182
static int hwmon_thermal_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/hwmon/hwmon.c
233
struct thermal_zone_device *tzd;
drivers/hwmon/hwmon.c
70
struct thermal_zone_device *tzd;/* thermal zone device */
drivers/hwmon/pmbus/pmbus_core.c
1360
static int pmbus_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/hwmon/pmbus/pmbus_core.c
1395
struct thermal_zone_device *tzd;
drivers/hwmon/scmi-hwmon.c
139
static int scmi_hwmon_thermal_get_temp(struct thermal_zone_device *tz,
drivers/hwmon/scmi-hwmon.c
197
struct thermal_zone_device *tzd;
drivers/hwmon/scpi-hwmon.c
266
struct thermal_zone_device *z;
drivers/hwmon/scpi-hwmon.c
65
static int scpi_read_temp(struct thermal_zone_device *tz, int *temp)
drivers/iio/adc/sun4i-gpadc-iio.c
104
struct thermal_zone_device *tzd;
drivers/iio/adc/sun4i-gpadc-iio.c
408
static int sun4i_gpadc_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/input/touchscreen/sun4i-ts.c
195
static int sun4i_get_tz_temp(struct thermal_zone_device *tz, int *temp)
drivers/input/touchscreen/sun4i-ts.c
240
struct thermal_zone_device *thermal;
drivers/mmc/host/sdhci-omap.c
321
struct thermal_zone_device *thermal_dev;
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
1081
struct thermal_zone_device *tzdev;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c
12
static int cxgb4_thermal_get_temp(struct thermal_zone_device *tzdev,
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
111
struct thermal_zone_device *tzdev;
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
130
struct thermal_zone_device *tzdev;
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
168
static bool mlxsw_thermal_should_bind(struct thermal_zone_device *tzdev,
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
186
static int mlxsw_thermal_get_temp(struct thermal_zone_device *tzdev,
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
217
static bool mlxsw_thermal_module_should_bind(struct thermal_zone_device *tzdev,
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
236
static int mlxsw_thermal_module_temp_get(struct thermal_zone_device *tzdev,
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
260
static int mlxsw_thermal_gearbox_temp_get(struct thermal_zone_device *tzdev,
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
381
static void mlxsw_thermal_module_tz_fini(struct thermal_zone_device *tzdev)
drivers/net/wireless/intel/iwlwifi/mld/mld.h
308
struct thermal_zone_device *tzone;
drivers/net/wireless/intel/iwlwifi/mld/thermal.c
185
static int iwl_mld_tzone_get_temp(struct thermal_zone_device *device,
drivers/net/wireless/intel/iwlwifi/mld/thermal.c
212
static int iwl_mld_tzone_set_trip_temp(struct thermal_zone_device *device,
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
596
struct thermal_zone_device *tzone;
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
602
static int iwl_mvm_tzone_get_temp(struct thermal_zone_device *device,
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
629
static int iwl_mvm_tzone_set_trip_temp(struct thermal_zone_device *device,
drivers/platform/x86/acerhdf.c
331
static void acerhdf_check_param(struct thermal_zone_device *thermal)
drivers/platform/x86/acerhdf.c
366
static int acerhdf_get_ec_temp(struct thermal_zone_device *thermal, int *t)
drivers/platform/x86/acerhdf.c
381
static bool acerhdf_should_bind(struct thermal_zone_device *thermal,
drivers/platform/x86/acerhdf.c
410
static int acerhdf_change_mode(struct thermal_zone_device *thermal,
drivers/platform/x86/acerhdf.c
421
static int acerhdf_get_crit_temp(struct thermal_zone_device *thermal,
drivers/platform/x86/acerhdf.c
82
static struct thermal_zone_device *thz_dev;
drivers/platform/x86/gpd-pocket-fan.c
47
struct thermal_zone_device *dts0;
drivers/platform/x86/gpd-pocket-fan.c
48
struct thermal_zone_device *dts1;
drivers/power/supply/ab8500_btemp.c
102
struct thermal_zone_device *tz;
drivers/power/supply/power_supply_core.c
1498
static int power_supply_read_temp(struct thermal_zone_device *tzd,
drivers/regulator/max8973-regulator.c
112
struct thermal_zone_device *tz_device;
drivers/regulator/max8973-regulator.c
435
static int max8973_thermal_read_temp(struct thermal_zone_device *tz, int *temp)
drivers/regulator/max8973-regulator.c
472
struct thermal_zone_device *tzd;
drivers/soc/mediatek/mtk-svs.c
517
struct thermal_zone_device *tzd;
drivers/thermal/airoha_thermal.c
201
struct thermal_zone_device *tz;
drivers/thermal/airoha_thermal.c
231
static int airoha_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/airoha_thermal.c
256
static int airoha_thermal_set_trips(struct thermal_zone_device *tz, int low,
drivers/thermal/amlogic_thermal.c
101
struct thermal_zone_device *tzd;
drivers/thermal/amlogic_thermal.c
177
static int amlogic_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/armada_thermal.c
121
struct thermal_zone_device *tz;
drivers/thermal/armada_thermal.c
395
static int armada_get_temp_legacy(struct thermal_zone_device *thermal,
drivers/thermal/armada_thermal.c
415
static int armada_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/armada_thermal.c
73
struct thermal_zone_device *overheat_sensor;
drivers/thermal/armada_thermal.c
796
struct thermal_zone_device *tz,
drivers/thermal/armada_thermal.c
824
struct thermal_zone_device *tz;
drivers/thermal/broadcom/bcm2711_thermal.c
31
struct thermal_zone_device *thermal;
drivers/thermal/broadcom/bcm2711_thermal.c
34
static int bcm2711_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/broadcom/bcm2711_thermal.c
69
struct thermal_zone_device *thermal;
drivers/thermal/broadcom/bcm2835_thermal.c
164
struct thermal_zone_device *tz;
drivers/thermal/broadcom/bcm2835_thermal.c
68
struct thermal_zone_device *tz;
drivers/thermal/broadcom/bcm2835_thermal.c
87
static int bcm2835_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/broadcom/brcmstb_thermal.c
114
struct thermal_zone_device *thermal;
drivers/thermal/broadcom/brcmstb_thermal.c
153
static int brcmstb_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/broadcom/brcmstb_thermal.c
261
static int brcmstb_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/broadcom/brcmstb_thermal.c
327
struct thermal_zone_device *thermal;
drivers/thermal/broadcom/ns-thermal.c
17
static int ns_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/broadcom/ns-thermal.c
48
struct thermal_zone_device *tz;
drivers/thermal/broadcom/sr-thermal.c
33
static int sr_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/broadcom/sr-thermal.c
50
struct thermal_zone_device *tz;
drivers/thermal/da9062-thermal.c
128
static int da9062_thermal_get_temp(struct thermal_zone_device *z,
drivers/thermal/da9062-thermal.c
53
struct thermal_zone_device *zone;
drivers/thermal/db8500_thermal.c
55
struct thermal_zone_device *tz;
drivers/thermal/db8500_thermal.c
62
static int db8500_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/dove_thermal.c
120
struct thermal_zone_device *thermal = NULL;
drivers/thermal/dove_thermal.c
163
struct thermal_zone_device *dove_thermal =
drivers/thermal/dove_thermal.c
86
static int dove_get_temp(struct thermal_zone_device *thermal,
drivers/thermal/gov_bang_bang.c
112
static void bang_bang_update_tz(struct thermal_zone_device *tz,
drivers/thermal/gov_bang_bang.c
63
static void bang_bang_trip_crossed(struct thermal_zone_device *tz,
drivers/thermal/gov_bang_bang.c
80
static void bang_bang_manage(struct thermal_zone_device *tz)
drivers/thermal/gov_fair_share.c
18
static int get_trip_level(struct thermal_zone_device *tz)
drivers/thermal/gov_fair_share.c
63
static void fair_share_throttle(struct thermal_zone_device *tz,
drivers/thermal/gov_fair_share.c
96
static void fair_share_manage(struct thermal_zone_device *tz)
drivers/thermal/gov_power_allocator.c
116
static u32 estimate_sustainable_power(struct thermal_zone_device *tz)
drivers/thermal/gov_power_allocator.c
149
static void estimate_pid_constants(struct thermal_zone_device *tz,
drivers/thermal/gov_power_allocator.c
197
static u32 get_sustainable_power(struct thermal_zone_device *tz,
drivers/thermal/gov_power_allocator.c
239
static u32 pid_controller(struct thermal_zone_device *tz,
drivers/thermal/gov_power_allocator.c
406
static void allocate_power(struct thermal_zone_device *tz, int control_temp)
drivers/thermal/gov_power_allocator.c
500
static void get_governor_trips(struct thermal_zone_device *tz,
drivers/thermal/gov_power_allocator.c
545
static void allow_maximum_power(struct thermal_zone_device *tz)
drivers/thermal/gov_power_allocator.c
588
static int check_power_actors(struct thermal_zone_device *tz,
drivers/thermal/gov_power_allocator.c
659
static void power_allocator_update_tz(struct thermal_zone_device *tz,
drivers/thermal/gov_power_allocator.c
696
static int power_allocator_bind(struct thermal_zone_device *tz)
drivers/thermal/gov_power_allocator.c
756
static void power_allocator_unbind(struct thermal_zone_device *tz)
drivers/thermal/gov_power_allocator.c
772
static void power_allocator_manage(struct thermal_zone_device *tz)
drivers/thermal/gov_step_wise.c
117
static void step_wise_manage(struct thermal_zone_device *tz)
drivers/thermal/gov_step_wise.c
81
static void thermal_zone_trip_update(struct thermal_zone_device *tz,
drivers/thermal/gov_user_space.c
18
static int user_space_bind(struct thermal_zone_device *tz)
drivers/thermal/gov_user_space.c
33
static void user_space_trip_crossed(struct thermal_zone_device *tz,
drivers/thermal/hisi_thermal.c
427
static int hisi_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/hisi_thermal.c
533
struct thermal_zone_device *tzd = sensor->tzd;
drivers/thermal/hisi_thermal.c
61
struct thermal_zone_device *tzd;
drivers/thermal/imx8mm_thermal.c
141
static int tmu_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/imx8mm_thermal.c
87
struct thermal_zone_device *tzd;
drivers/thermal/imx91_thermal.c
107
static int imx91_tmu_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/imx91_thermal.c
119
static int imx91_tmu_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/imx91_thermal.c
201
static int imx91_tmu_change_mode(struct thermal_zone_device *tz, enum thermal_device_mode mode)
drivers/thermal/imx91_thermal.c
78
struct thermal_zone_device *tzd;
drivers/thermal/imx_sc_thermal.c
22
struct thermal_zone_device *tzd;
drivers/thermal/imx_sc_thermal.c
44
static int imx_sc_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/imx_thermal.c
205
struct thermal_zone_device *tz;
drivers/thermal/imx_thermal.c
254
static int imx_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/imx_thermal.c
310
static int imx_change_mode(struct thermal_zone_device *tz,
drivers/thermal/imx_thermal.c
334
static int imx_set_trip_temp(struct thermal_zone_device *tz,
drivers/thermal/imx_thermal.c
356
static bool imx_should_bind(struct thermal_zone_device *tz,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
464
dev = thermal_zone_device(priv->thermal);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
478
static int int3400_thermal_get_temp(struct thermal_zone_device *thermal,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
485
static int int3400_thermal_change_mode(struct thermal_zone_device *thermal,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
54
struct thermal_zone_device *thermal;
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
112
int (*get_temp) (struct thermal_zone_device *, int *))
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
14
static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone,
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
41
static int int340x_thermal_set_trip_temp(struct thermal_zone_device *zone,
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
60
static void int340x_thermal_critical(struct thermal_zone_device *zone)
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
62
dev_dbg(thermal_zone_device(zone), "%s: critical temperature reached\n",
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.h
24
struct thermal_zone_device *zone;
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.h
30
int (*get_temp) (struct thermal_zone_device *, int *));
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
177
static int proc_thermal_get_zone_temp(struct thermal_zone_device *zone,
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
272
int (*get_temp) (struct thermal_zone_device *, int *) = NULL;
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c
121
struct thermal_zone_device *tzone = pci_info->tzone;
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c
217
static int sys_get_curr_temp(struct thermal_zone_device *tzd, int *temp)
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c
228
static int sys_set_trip_temp(struct thermal_zone_device *tzd,
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c
26
struct thermal_zone_device *tzone;
drivers/thermal/intel/intel_bxt_pmic_thermal.c
156
struct thermal_zone_device *tzd;
drivers/thermal/intel/intel_pch_thermal.c
121
static int pch_thermal_get_temp(struct thermal_zone_device *tzd, int *temp)
drivers/thermal/intel/intel_pch_thermal.c
129
static void pch_critical(struct thermal_zone_device *tzd)
drivers/thermal/intel/intel_pch_thermal.c
131
dev_dbg(thermal_zone_device(tzd), "%s: critical temperature reached\n",
drivers/thermal/intel/intel_pch_thermal.c
86
struct thermal_zone_device *tzd;
drivers/thermal/intel/intel_quark_dts_thermal.c
103
struct thermal_zone_device *tzone;
drivers/thermal/intel/intel_quark_dts_thermal.c
115
static int soc_dts_enable(struct thermal_zone_device *tzd)
drivers/thermal/intel/intel_quark_dts_thermal.c
143
static int soc_dts_disable(struct thermal_zone_device *tzd)
drivers/thermal/intel/intel_quark_dts_thermal.c
245
static inline int sys_set_trip_temp(struct thermal_zone_device *tzd,
drivers/thermal/intel/intel_quark_dts_thermal.c
267
static int sys_get_curr_temp(struct thermal_zone_device *tzd,
drivers/thermal/intel/intel_quark_dts_thermal.c
292
static int sys_change_mode(struct thermal_zone_device *tzd,
drivers/thermal/intel/intel_soc_dts_iosf.c
132
static int sys_set_trip_temp(struct thermal_zone_device *tzd,
drivers/thermal/intel/intel_soc_dts_iosf.c
151
static int sys_get_curr_temp(struct thermal_zone_device *tzd,
drivers/thermal/intel/intel_soc_dts_iosf.h
31
struct thermal_zone_device *tzone;
drivers/thermal/intel/x86_pkg_temp_thermal.c
108
static int sys_get_curr_temp(struct thermal_zone_device *tzd, int *temp)
drivers/thermal/intel/x86_pkg_temp_thermal.c
123
sys_set_trip_temp(struct thermal_zone_device *tzd,
drivers/thermal/intel/x86_pkg_temp_thermal.c
215
struct thermal_zone_device *tzone = NULL;
drivers/thermal/intel/x86_pkg_temp_thermal.c
394
struct thermal_zone_device *tzone = zonedev->tzone;
drivers/thermal/intel/x86_pkg_temp_thermal.c
56
struct thermal_zone_device *tzone;
drivers/thermal/k3_bandgap.c
141
static int k3_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/k3_bandgap.c
85
struct thermal_zone_device *tzd;
drivers/thermal/k3_j72xx_bandgap.c
252
static int k3_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/k3_j72xx_bandgap.c
380
struct thermal_zone_device *ti_thermal;
drivers/thermal/kirkwood_thermal.c
26
static int kirkwood_get_temp(struct thermal_zone_device *thermal,
drivers/thermal/kirkwood_thermal.c
62
struct thermal_zone_device *thermal = NULL;
drivers/thermal/kirkwood_thermal.c
95
struct thermal_zone_device *kirkwood_thermal =
drivers/thermal/loongson2_thermal.c
108
static int loongson2_thermal_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/loongson2_thermal.c
130
struct thermal_zone_device *tzd;
drivers/thermal/loongson2_thermal.c
74
static int loongson2_2k1000_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/loongson2_thermal.c
85
static int loongson2_2k2000_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/loongson2_thermal.c
98
struct thermal_zone_device *tzd = dev;
drivers/thermal/max77620_thermal.c
28
struct thermal_zone_device *tz_device;
drivers/thermal/max77620_thermal.c
47
static int max77620_thermal_read_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/mediatek/auxadc_thermal.c
1200
struct thermal_zone_device *tzdev;
drivers/thermal/mediatek/auxadc_thermal.c
848
static int mtk_read_temp(struct thermal_zone_device *tz, int *temperature)
drivers/thermal/mediatek/lvts_thermal.c
1288
struct thermal_zone_device *tz;
drivers/thermal/mediatek/lvts_thermal.c
166
struct thermal_zone_device *tz;
drivers/thermal/mediatek/lvts_thermal.c
341
static int lvts_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/mediatek/lvts_thermal.c
441
static int lvts_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/qcom/qcom-spmi-adc-tm5.c
208
struct thermal_zone_device *tzd;
drivers/thermal/qcom/qcom-spmi-adc-tm5.c
360
static int adc_tm5_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/qcom/qcom-spmi-adc-tm5.c
642
static int adc_tm5_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/qcom/qcom-spmi-adc-tm5.c
671
struct thermal_zone_device *tzd;
drivers/thermal/qcom/qcom-spmi-temp-alarm.c
136
struct thermal_zone_device *tz_dev;
drivers/thermal/qcom/qcom-spmi-temp-alarm.c
277
static int qpnp_tm_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/qcom/qcom-spmi-temp-alarm.c
357
static int qpnp_tm_set_trip_temp(struct thermal_zone_device *tz,
drivers/thermal/qcom/qcom-spmi-temp-alarm.c
407
static int qpnp_tm_gen2_rev2_set_trip_temp(struct thermal_zone_device *tz,
drivers/thermal/qcom/qcom-spmi-temp-alarm.c
499
static int qpnp_tm_lite_set_trip_temp(struct thermal_zone_device *tz,
drivers/thermal/qcom/tsens.c
1079
static int tsens_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/qcom/tsens.c
1248
struct thermal_zone_device *tzd;
drivers/thermal/qcom/tsens.c
689
static int tsens_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/qcom/tsens.h
59
struct thermal_zone_device *tzd;
drivers/thermal/qoriq_thermal.c
149
struct thermal_zone_device *tzd;
drivers/thermal/qoriq_thermal.c
89
static int tmu_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/renesas/rcar_gen3_thermal.c
167
static int rcar_gen3_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/renesas/rcar_gen3_thermal.c
224
static int rcar_gen3_thermal_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/renesas/rcar_gen3_thermal.c
479
struct thermal_zone_device *zone = data;
drivers/thermal/renesas/rcar_gen3_thermal.c
517
struct thermal_zone_device *zone;
drivers/thermal/renesas/rcar_gen3_thermal.c
97
struct thermal_zone_device *zone;
drivers/thermal/renesas/rcar_thermal.c
273
static int rcar_thermal_get_temp(struct thermal_zone_device *zone, int *temp)
drivers/thermal/renesas/rcar_thermal.c
92
struct thermal_zone_device *zone;
drivers/thermal/renesas/rzg2l_thermal.c
163
struct thermal_zone_device *zone;
drivers/thermal/renesas/rzg2l_thermal.c
60
struct thermal_zone_device *zone;
drivers/thermal/renesas/rzg2l_thermal.c
76
static int rzg2l_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/renesas/rzg3e_thermal.c
102
struct thermal_zone_device *zone;
drivers/thermal/renesas/rzg3e_thermal.c
206
static int rzg3e_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/renesas/rzg3e_thermal.c
250
static int rzg3e_thermal_set_trips(struct thermal_zone_device *tz,
drivers/thermal/renesas/rzg3s_thermal.c
133
static int rzg3s_thermal_change_mode(struct thermal_zone_device *tz,
drivers/thermal/renesas/rzg3s_thermal.c
50
struct thermal_zone_device *tz;
drivers/thermal/renesas/rzg3s_thermal.c
58
static int rzg3s_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/rockchip_thermal.c
135
struct thermal_zone_device *tzd;
drivers/thermal/rockchip_thermal.c
1405
struct thermal_zone_device *tzd = sensor->tzd;
drivers/thermal/rockchip_thermal.c
1429
static int rockchip_thermal_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/rockchip_thermal.c
1442
static int rockchip_thermal_get_temp(struct thermal_zone_device *tz, int *out_temp)
drivers/thermal/samsung/exynos_tmu.c
187
struct thermal_zone_device *tzd;
drivers/thermal/samsung/exynos_tmu.c
283
struct thermal_zone_device *tzd = data->tzd;
drivers/thermal/samsung/exynos_tmu.c
636
static int exynos_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/samsung/exynos_tmu.c
714
static int exynos_tmu_set_emulation(struct thermal_zone_device *tz, int temp)
drivers/thermal/samsung/exynos_tmu.c
736
static int exynos_tmu_set_emulation(struct thermal_zone_device *tz, int temp)
drivers/thermal/samsung/exynos_tmu.c
977
static int exynos_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/spear_thermal.c
156
struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev);
drivers/thermal/spear_thermal.c
31
static inline int thermal_get_temp(struct thermal_zone_device *thermal,
drivers/thermal/spear_thermal.c
50
struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev);
drivers/thermal/spear_thermal.c
66
struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev);
drivers/thermal/spear_thermal.c
91
struct thermal_zone_device *spear_thermal = NULL;
drivers/thermal/sprd_thermal.c
207
static int sprd_thm_read_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/sprd_thermal.c
323
struct thermal_zone_device *tzd = sen->tzd;
drivers/thermal/sprd_thermal.c
76
struct thermal_zone_device *tzd;
drivers/thermal/st/st_thermal.c
110
static int st_thermal_get_temp(struct thermal_zone_device *th, int *temperature)
drivers/thermal/st/st_thermal.h
80
struct thermal_zone_device *thermal_dev;
drivers/thermal/st/stm_thermal.c
302
static int stm_thermal_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/st/stm_thermal.c
350
static int stm_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/st/stm_thermal.c
89
struct thermal_zone_device *th_dev;
drivers/thermal/sun8i_thermal.c
117
static int sun8i_ths_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/sun8i_thermal.c
64
struct thermal_zone_device *tzd;
drivers/thermal/tegra/soctherm.c
2087
struct thermal_zone_device *z;
drivers/thermal/tegra/soctherm.c
2263
struct thermal_zone_device *tz;
drivers/thermal/tegra/soctherm.c
305
struct thermal_zone_device *tz;
drivers/thermal/tegra/soctherm.c
342
struct thermal_zone_device **thermctl_tzs;
drivers/thermal/tegra/soctherm.c
431
static int tegra_thermctl_get_temp(struct thermal_zone_device *tz, int *out_temp)
drivers/thermal/tegra/soctherm.c
592
static int tegra_thermctl_set_trip_temp(struct thermal_zone_device *tz,
drivers/thermal/tegra/soctherm.c
661
static int tegra_thermctl_set_trips(struct thermal_zone_device *tz, int lo, int hi)
drivers/thermal/tegra/soctherm.c
704
static const struct thermal_trip *get_hot_trip(struct thermal_zone_device *tz)
drivers/thermal/tegra/soctherm.c
739
struct thermal_zone_device *tz)
drivers/thermal/tegra/soctherm.c
840
struct thermal_zone_device *tz;
drivers/thermal/tegra/tegra-bpmp-thermal.c
21
struct thermal_zone_device *tzd;
drivers/thermal/tegra/tegra-bpmp-thermal.c
217
struct thermal_zone_device *tzd;
drivers/thermal/tegra/tegra-bpmp-thermal.c
65
static int tegra_bpmp_thermal_get_temp(struct thermal_zone_device *tz, int *out_temp)
drivers/thermal/tegra/tegra-bpmp-thermal.c
72
static int tegra_bpmp_thermal_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/tegra/tegra30-tsensor.c
161
static int tegra_tsensor_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/tegra/tegra30-tsensor.c
219
static int tegra_tsensor_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/tegra/tegra30-tsensor.c
284
struct thermal_zone_device *tzd = tsc->tzd;
drivers/thermal/tegra/tegra30-tsensor.c
323
static void tegra_tsensor_get_hw_channel_trips(struct thermal_zone_device *tzd,
drivers/thermal/tegra/tegra30-tsensor.c
352
struct thermal_zone_device *tzd = tsc->tzd;
drivers/thermal/tegra/tegra30-tsensor.c
77
struct thermal_zone_device *tzd;
drivers/thermal/testing/zone.c
366
static int tt_zone_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/testing/zone.c
384
struct thermal_zone_device *tz;
drivers/thermal/testing/zone.c
44
struct thermal_zone_device *tz;
drivers/thermal/thermal-generic-adc.c
21
struct thermal_zone_device *tz_dev;
drivers/thermal/thermal-generic-adc.c
58
static int gadc_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/thermal_core.c
1022
static void thermal_zone_cdev_bind(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
1033
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
123
struct thermal_zone_device *pos;
drivers/thermal/thermal_core.c
1319
static void __thermal_zone_cdev_unbind(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
1328
static void thermal_zone_cdev_unbind(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
1338
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
1369
int thermal_zone_get_crit_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/thermal_core.c
1395
struct thermal_zone_device *tz = container_of(work, struct
drivers/thermal/thermal_core.c
1396
thermal_zone_device,
drivers/thermal/thermal_core.c
1401
static void thermal_zone_device_init(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
1434
static int thermal_zone_init_governor(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
1448
static void thermal_zone_init_complete(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
1498
struct thermal_zone_device *
drivers/thermal/thermal_core.c
1508
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
1656
struct thermal_zone_device *thermal_tripless_zone_device_register(
drivers/thermal/thermal_core.c
1667
void *thermal_zone_device_priv(struct thermal_zone_device *tzd)
drivers/thermal/thermal_core.c
1673
const char *thermal_zone_device_type(struct thermal_zone_device *tzd)
drivers/thermal/thermal_core.c
1679
int thermal_zone_device_id(struct thermal_zone_device *tzd)
drivers/thermal/thermal_core.c
1685
struct device *thermal_zone_device(struct thermal_zone_device *tzd)
drivers/thermal/thermal_core.c
1689
EXPORT_SYMBOL_GPL(thermal_zone_device);
drivers/thermal/thermal_core.c
1691
static bool thermal_zone_exit(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
1716
void thermal_zone_device_unregister(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
172
struct thermal_zone_device *pos;
drivers/thermal/thermal_core.c
1756
struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name)
drivers/thermal/thermal_core.c
1758
struct thermal_zone_device *pos = NULL, *ref = ERR_PTR(-EINVAL);
drivers/thermal/thermal_core.c
1785
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
1787
tz = container_of(work, struct thermal_zone_device, poll_queue.work);
drivers/thermal/thermal_core.c
1805
static void thermal_zone_pm_prepare(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
1828
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
1838
static void thermal_zone_pm_complete(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
1856
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
193
int thermal_zone_device_set_policy(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
264
static int __thermal_zone_device_set_mode(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
280
static void thermal_zone_broken_disable(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
312
static void thermal_zone_device_set_polling(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
321
static void thermal_zone_recheck(struct thermal_zone_device *tz, int error)
drivers/thermal/thermal_core.c
349
static void monitor_thermal_zone(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
357
static struct thermal_governor *thermal_get_tz_governor(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
365
void thermal_governor_update_tz(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
374
static void thermal_zone_device_halt(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
389
void thermal_zone_device_critical(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
395
void thermal_zone_device_critical_shutdown(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
400
void thermal_zone_device_critical_reboot(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
405
static void handle_critical_trips(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
437
static void move_to_trips_high(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
444
static void move_to_trips_reached(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
451
static void move_to_trips_invalid(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
459
struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
470
static void thermal_trip_crossed(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
497
void thermal_zone_set_trip_hyst(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
514
void thermal_zone_set_trip_temp(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
563
static void thermal_zone_handle_trips(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
611
void __thermal_zone_device_update(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
661
static int thermal_zone_device_set_mode(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
686
int thermal_zone_device_enable(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
692
int thermal_zone_device_disable(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
698
static bool thermal_zone_is_present(struct thermal_zone_device *tz)
drivers/thermal/thermal_core.c
703
void thermal_zone_device_update(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
749
int for_each_thermal_zone(int (*cb)(struct thermal_zone_device *, void *),
drivers/thermal/thermal_core.c
75
static void bind_previous_governor(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
752
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
767
struct thermal_zone_device *thermal_zone_get_by_id(int id)
drivers/thermal/thermal_core.c
769
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
826
static int thermal_bind_cdev_to_trip(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
933
static void thermal_unbind_cdev_from_trip(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
960
struct thermal_zone_device *tz;
drivers/thermal/thermal_core.c
97
static int thermal_set_governor(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
982
void print_bind_err_msg(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.c
990
static bool __thermal_zone_cdev_bind(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.h
158
DEFINE_GUARD(thermal_zone, struct thermal_zone_device *, mutex_lock(&_T->lock),
drivers/thermal/thermal_core.h
161
DEFINE_GUARD(thermal_zone_reverse, struct thermal_zone_device *,
drivers/thermal/thermal_core.h
205
int for_each_thermal_zone(int (*cb)(struct thermal_zone_device *, void *),
drivers/thermal/thermal_core.h
214
struct thermal_zone_device *thermal_zone_get_by_id(int id);
drivers/thermal/thermal_core.h
216
DEFINE_CLASS(thermal_zone_get_by_id, struct thermal_zone_device *,
drivers/thermal/thermal_core.h
229
int get_tz_trend(struct thermal_zone_device *tz, const struct thermal_trip *trip);
drivers/thermal/thermal_core.h
256
container_of(_dev, struct thermal_zone_device, device)
drivers/thermal/thermal_core.h
263
int thermal_zone_device_set_policy(struct thermal_zone_device *, char *);
drivers/thermal/thermal_core.h
265
void __thermal_zone_device_update(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.h
267
void thermal_zone_device_critical_reboot(struct thermal_zone_device *tz);
drivers/thermal/thermal_core.h
268
void thermal_zone_device_critical_shutdown(struct thermal_zone_device *tz);
drivers/thermal/thermal_core.h
269
void thermal_governor_update_tz(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.h
281
void thermal_zone_set_trips(struct thermal_zone_device *tz, int low, int high);
drivers/thermal/thermal_core.h
282
int thermal_zone_trip_id(const struct thermal_zone_device *tz,
drivers/thermal/thermal_core.h
284
int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
drivers/thermal/thermal_core.h
285
void thermal_zone_set_trip_hyst(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.h
289
int thermal_zone_create_device_groups(struct thermal_zone_device *tz);
drivers/thermal/thermal_core.h
290
void thermal_zone_destroy_device_groups(struct thermal_zone_device *);
drivers/thermal/thermal_core.h
55
int (*bind_to_tz)(struct thermal_zone_device *tz);
drivers/thermal/thermal_core.h
56
void (*unbind_from_tz)(struct thermal_zone_device *tz);
drivers/thermal/thermal_core.h
57
void (*trip_crossed)(struct thermal_zone_device *tz,
drivers/thermal/thermal_core.h
60
void (*manage)(struct thermal_zone_device *tz);
drivers/thermal/thermal_core.h
61
void (*update_tz)(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.c
152
struct thermal_zone_device *tz;
drivers/thermal/thermal_debugfs.c
556
static struct tz_episode *thermal_debugfs_tz_event_alloc(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.c
579
void thermal_debug_tz_trip_up(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.c
672
void thermal_debug_tz_trip_down(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.c
727
void thermal_debug_update_trip_stats(struct thermal_zone_device *tz)
drivers/thermal/thermal_debugfs.c
789
struct thermal_zone_device *tz = thermal_dbg->tz_dbg.tz;
drivers/thermal/thermal_debugfs.c
866
void thermal_debug_tz_add(struct thermal_zone_device *tz)
drivers/thermal/thermal_debugfs.c
893
static struct thermal_debugfs *thermal_debug_tz_clear(struct thermal_zone_device *tz)
drivers/thermal/thermal_debugfs.c
906
void thermal_debug_tz_remove(struct thermal_zone_device *tz)
drivers/thermal/thermal_debugfs.c
934
void thermal_debug_tz_resume(struct thermal_zone_device *tz)
drivers/thermal/thermal_debugfs.h
10
void thermal_debug_tz_resume(struct thermal_zone_device *tz);
drivers/thermal/thermal_debugfs.h
11
void thermal_debug_tz_trip_up(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.h
13
void thermal_debug_tz_trip_down(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.h
15
void thermal_debug_update_trip_stats(struct thermal_zone_device *tz);
drivers/thermal/thermal_debugfs.h
22
static inline void thermal_debug_tz_add(struct thermal_zone_device *tz) {}
drivers/thermal/thermal_debugfs.h
23
static inline void thermal_debug_tz_remove(struct thermal_zone_device *tz) {}
drivers/thermal/thermal_debugfs.h
24
static inline void thermal_debug_tz_resume(struct thermal_zone_device *tz) {}
drivers/thermal/thermal_debugfs.h
25
static inline void thermal_debug_tz_trip_up(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.h
27
static inline void thermal_debug_tz_trip_down(struct thermal_zone_device *tz,
drivers/thermal/thermal_debugfs.h
29
static inline void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) {}
drivers/thermal/thermal_debugfs.h
8
void thermal_debug_tz_add(struct thermal_zone_device *tz);
drivers/thermal/thermal_debugfs.h
9
void thermal_debug_tz_remove(struct thermal_zone_device *tz);
drivers/thermal/thermal_helpers.c
127
int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/thermal_helpers.c
219
int thermal_zone_get_slope(struct thermal_zone_device *tz)
drivers/thermal/thermal_helpers.c
234
int thermal_zone_get_offset(struct thermal_zone_device *tz)
drivers/thermal/thermal_helpers.c
25
int get_tz_trend(struct thermal_zone_device *tz, const struct thermal_trip *trip)
drivers/thermal/thermal_helpers.c
42
static bool thermal_instance_present(struct thermal_zone_device *tz,
drivers/thermal/thermal_helpers.c
57
bool thermal_trip_is_bound_to_cdev(struct thermal_zone_device *tz,
drivers/thermal/thermal_helpers.c
82
int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/thermal_hwmon.c
114
const struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.c
129
static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.c
135
int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.c
218
void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.c
258
thermal_remove_hwmon_sysfs(*(struct thermal_zone_device **)res);
drivers/thermal/thermal_hwmon.c
261
int devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.c
263
struct thermal_zone_device **ptr;
drivers/thermal/thermal_hwmon.c
40
struct thermal_zone_device *tz;
drivers/thermal/thermal_hwmon.c
59
struct thermal_zone_device *tz = temp->tz;
drivers/thermal/thermal_hwmon.c
77
struct thermal_zone_device *tz = temp->tz;
drivers/thermal/thermal_hwmon.c
92
thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.h
19
int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz);
drivers/thermal/thermal_hwmon.h
20
int devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz);
drivers/thermal/thermal_hwmon.h
21
void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz);
drivers/thermal/thermal_hwmon.h
24
thermal_add_hwmon_sysfs(struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.h
30
devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz)
drivers/thermal/thermal_hwmon.h
36
thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)
drivers/thermal/thermal_mmio.c
23
static int thermal_mmio_get_temperature(struct thermal_zone_device *tz, int *temp)
drivers/thermal/thermal_mmio.c
45
struct thermal_zone_device *thermal_zone;
drivers/thermal/thermal_netlink.c
351
int thermal_notify_tz_create(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.c
358
int thermal_notify_tz_delete(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.c
365
int thermal_notify_tz_enable(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.c
372
int thermal_notify_tz_disable(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.c
379
int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.c
389
int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.c
399
int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.c
434
int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.c
451
int thermal_notify_threshold_add(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.c
459
int thermal_notify_threshold_delete(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.c
467
int thermal_notify_threshold_flush(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.c
474
int thermal_notify_threshold_down(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.c
481
int thermal_notify_threshold_up(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.c
490
static int __thermal_genl_cmd_tz_get_id(struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
105
static inline int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
111
static inline int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
133
static inline int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
149
static inline int thermal_notify_threshold_add(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
155
static inline int thermal_notify_threshold_delete(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
161
static inline int thermal_notify_threshold_flush(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.h
166
static inline int thermal_notify_threshold_down(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.h
171
static inline int thermal_notify_threshold_up(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.h
26
struct thermal_zone_device;
drivers/thermal/thermal_netlink.h
37
int thermal_notify_tz_create(const struct thermal_zone_device *tz);
drivers/thermal/thermal_netlink.h
38
int thermal_notify_tz_delete(const struct thermal_zone_device *tz);
drivers/thermal/thermal_netlink.h
39
int thermal_notify_tz_enable(const struct thermal_zone_device *tz);
drivers/thermal/thermal_netlink.h
40
int thermal_notify_tz_disable(const struct thermal_zone_device *tz);
drivers/thermal/thermal_netlink.h
41
int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
43
int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
45
int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
51
int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
56
int thermal_notify_threshold_add(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
58
int thermal_notify_threshold_delete(const struct thermal_zone_device *tz,
drivers/thermal/thermal_netlink.h
60
int thermal_notify_threshold_flush(const struct thermal_zone_device *tz);
drivers/thermal/thermal_netlink.h
61
int thermal_notify_threshold_down(const struct thermal_zone_device *tz);
drivers/thermal/thermal_netlink.h
62
int thermal_notify_threshold_up(const struct thermal_zone_device *tz);
drivers/thermal/thermal_netlink.h
69
static inline int thermal_notify_tz_create(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.h
84
static inline int thermal_notify_tz_delete(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.h
89
static inline int thermal_notify_tz_enable(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.h
94
static inline int thermal_notify_tz_disable(const struct thermal_zone_device *tz)
drivers/thermal/thermal_netlink.h
99
static inline int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz,
drivers/thermal/thermal_of.c
225
static struct device_node *thermal_of_zone_get_by_name(struct thermal_zone_device *tz)
drivers/thermal/thermal_of.c
305
static bool thermal_of_should_bind(struct thermal_zone_device *tz,
drivers/thermal/thermal_of.c
341
static void thermal_of_zone_unregister(struct thermal_zone_device *tz)
drivers/thermal/thermal_of.c
367
static struct thermal_zone_device *thermal_of_zone_register(struct device_node *sensor, int id, void *data,
drivers/thermal/thermal_of.c
371
struct thermal_zone_device *tz;
drivers/thermal/thermal_of.c
447
thermal_of_zone_unregister(*(struct thermal_zone_device **)res);
drivers/thermal/thermal_of.c
453
struct thermal_zone_device **r = res;
drivers/thermal/thermal_of.c
471
struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int sensor_id, void *data,
drivers/thermal/thermal_of.c
474
struct thermal_zone_device **ptr, *tzd;
drivers/thermal/thermal_of.c
507
void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz)
drivers/thermal/thermal_sysfs.c
108
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
153
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
198
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
214
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
231
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
260
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
272
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
291
struct thermal_zone_device *tz = to_thermal_zone(dev); \
drivers/thermal/thermal_sysfs.c
30
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
303
struct thermal_zone_device *tz = to_thermal_zone(dev); \
drivers/thermal/thermal_sysfs.c
38
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
389
static int create_trip_attrs(struct thermal_zone_device *tz)
drivers/thermal/thermal_sysfs.c
454
static void destroy_trip_attrs(struct thermal_zone_device *tz)
drivers/thermal/thermal_sysfs.c
460
int thermal_zone_create_device_groups(struct thermal_zone_device *tz)
drivers/thermal/thermal_sysfs.c
491
void thermal_zone_destroy_device_groups(struct thermal_zone_device *tz)
drivers/thermal/thermal_sysfs.c
55
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
69
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
844
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_sysfs.c
865
struct thermal_zone_device *tz = to_thermal_zone(dev);
drivers/thermal/thermal_thresholds.c
128
void thermal_thresholds_handle(struct thermal_zone_device *tz, int *low, int *high)
drivers/thermal/thermal_thresholds.c
16
int thermal_thresholds_init(struct thermal_zone_device *tz)
drivers/thermal/thermal_thresholds.c
168
int thermal_thresholds_add(struct thermal_zone_device *tz,
drivers/thermal/thermal_thresholds.c
202
int thermal_thresholds_delete(struct thermal_zone_device *tz,
drivers/thermal/thermal_thresholds.c
228
int thermal_thresholds_for_each(struct thermal_zone_device *tz,
drivers/thermal/thermal_thresholds.c
23
static void __thermal_thresholds_flush(struct thermal_zone_device *tz)
drivers/thermal/thermal_thresholds.c
34
void thermal_thresholds_flush(struct thermal_zone_device *tz)
drivers/thermal/thermal_thresholds.c
45
void thermal_thresholds_exit(struct thermal_zone_device *tz)
drivers/thermal/thermal_thresholds.h
11
int thermal_thresholds_init(struct thermal_zone_device *tz);
drivers/thermal/thermal_thresholds.h
12
void thermal_thresholds_exit(struct thermal_zone_device *tz);
drivers/thermal/thermal_thresholds.h
13
void thermal_thresholds_handle(struct thermal_zone_device *tz, int *low, int *high);
drivers/thermal/thermal_thresholds.h
14
void thermal_thresholds_flush(struct thermal_zone_device *tz);
drivers/thermal/thermal_thresholds.h
15
int thermal_thresholds_add(struct thermal_zone_device *tz, int temperature, int direction);
drivers/thermal/thermal_thresholds.h
16
int thermal_thresholds_delete(struct thermal_zone_device *tz, int temperature, int direction);
drivers/thermal/thermal_thresholds.h
17
int thermal_thresholds_for_each(struct thermal_zone_device *tz,
drivers/thermal/thermal_trace.h
28
TP_PROTO(struct thermal_zone_device *tz),
drivers/thermal/thermal_trace.h
72
TP_PROTO(struct thermal_zone_device *tz, int trip,
drivers/thermal/thermal_trace_ipa.h
13
TP_PROTO(struct thermal_zone_device *tz, u32 total_req_power,
drivers/thermal/thermal_trace_ipa.h
47
TP_PROTO(struct thermal_zone_device *tz, int actor_id, u32 req_power,
drivers/thermal/thermal_trace_ipa.h
69
TP_PROTO(struct thermal_zone_device *tz, s32 err, s32 err_integral,
drivers/thermal/thermal_trip.c
27
int for_each_thermal_trip(struct thermal_zone_device *tz,
drivers/thermal/thermal_trip.c
44
int thermal_zone_for_each_trip(struct thermal_zone_device *tz,
drivers/thermal/thermal_trip.c
54
void thermal_zone_set_trips(struct thermal_zone_device *tz, int low, int high)
drivers/thermal/thermal_trip.c
82
int thermal_zone_trip_id(const struct thermal_zone_device *tz,
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
112
static int __ti_thermal_get_trend(struct thermal_zone_device *tz,
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
31
struct thermal_zone_device *ti_thermal;
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
32
struct thermal_zone_device *pcb_tz;
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
70
static inline int __ti_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
72
struct thermal_zone_device *pcb_tz = NULL;
drivers/thermal/uniphier_thermal.c
187
static int uniphier_tm_get_temp(struct thermal_zone_device *tz, int *out_temp)
drivers/thermal/uniphier_thermal.c
84
struct thermal_zone_device *tz_dev;
include/linux/power/charger-manager.h
225
struct thermal_zone_device *tzd_batt;
include/linux/power_supply.h
341
struct thermal_zone_device *tzd;
include/linux/thermal.h
100
int (*get_temp) (struct thermal_zone_device *, int *);
include/linux/thermal.h
101
int (*set_trips) (struct thermal_zone_device *, int, int);
include/linux/thermal.h
102
int (*change_mode) (struct thermal_zone_device *,
include/linux/thermal.h
104
int (*set_trip_temp) (struct thermal_zone_device *,
include/linux/thermal.h
106
int (*get_crit_temp) (struct thermal_zone_device *, int *);
include/linux/thermal.h
107
int (*set_emul_temp) (struct thermal_zone_device *, int);
include/linux/thermal.h
108
int (*get_trend) (struct thermal_zone_device *,
include/linux/thermal.h
110
void (*hot)(struct thermal_zone_device *);
include/linux/thermal.h
111
void (*critical)(struct thermal_zone_device *);
include/linux/thermal.h
196
struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int id, void *data,
include/linux/thermal.h
199
void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz);
include/linux/thermal.h
204
struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int id, void *data,
include/linux/thermal.h
211
struct thermal_zone_device *tz)
include/linux/thermal.h
216
int for_each_thermal_trip(struct thermal_zone_device *tz,
include/linux/thermal.h
219
int thermal_zone_for_each_trip(struct thermal_zone_device *tz,
include/linux/thermal.h
222
void thermal_zone_set_trip_temp(struct thermal_zone_device *tz,
include/linux/thermal.h
225
int thermal_zone_get_crit_temp(struct thermal_zone_device *tz, int *temp);
include/linux/thermal.h
228
struct thermal_zone_device *thermal_zone_device_register_with_trips(
include/linux/thermal.h
237
struct thermal_zone_device *thermal_tripless_zone_device_register(
include/linux/thermal.h
243
void thermal_zone_device_unregister(struct thermal_zone_device *tz);
include/linux/thermal.h
245
void *thermal_zone_device_priv(struct thermal_zone_device *tzd);
include/linux/thermal.h
246
const char *thermal_zone_device_type(struct thermal_zone_device *tzd);
include/linux/thermal.h
247
int thermal_zone_device_id(struct thermal_zone_device *tzd);
include/linux/thermal.h
248
struct device *thermal_zone_device(struct thermal_zone_device *tzd);
include/linux/thermal.h
250
void thermal_zone_device_update(struct thermal_zone_device *,
include/linux/thermal.h
265
struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
include/linux/thermal.h
266
int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
include/linux/thermal.h
267
int thermal_zone_get_slope(struct thermal_zone_device *tz);
include/linux/thermal.h
268
int thermal_zone_get_offset(struct thermal_zone_device *tz);
include/linux/thermal.h
269
bool thermal_trip_is_bound_to_cdev(struct thermal_zone_device *tz,
include/linux/thermal.h
273
int thermal_zone_device_enable(struct thermal_zone_device *tz);
include/linux/thermal.h
274
int thermal_zone_device_disable(struct thermal_zone_device *tz);
include/linux/thermal.h
275
void thermal_zone_device_critical(struct thermal_zone_device *tz);
include/linux/thermal.h
277
static inline struct thermal_zone_device *thermal_zone_device_register_with_trips(
include/linux/thermal.h
286
static inline struct thermal_zone_device *thermal_tripless_zone_device_register(
include/linux/thermal.h
293
static inline void thermal_zone_device_unregister(struct thermal_zone_device *tz)
include/linux/thermal.h
296
static inline void thermal_zone_device_update(struct thermal_zone_device *tz,
include/linux/thermal.h
32
struct thermal_zone_device;
include/linux/thermal.h
320
static inline struct thermal_zone_device *thermal_zone_get_zone_by_name(
include/linux/thermal.h
324
struct thermal_zone_device *tz, int *temp)
include/linux/thermal.h
327
struct thermal_zone_device *tz)
include/linux/thermal.h
330
struct thermal_zone_device *tz)
include/linux/thermal.h
333
static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz)
include/linux/thermal.h
338
static inline const char *thermal_zone_device_type(struct thermal_zone_device *tzd)
include/linux/thermal.h
343
static inline int thermal_zone_device_id(struct thermal_zone_device *tzd)
include/linux/thermal.h
348
static inline int thermal_zone_device_enable(struct thermal_zone_device *tz)
include/linux/thermal.h
351
static inline int thermal_zone_device_disable(struct thermal_zone_device *tz)
include/linux/thermal.h
96
bool (*should_bind) (struct thermal_zone_device *,