Home
last modified time | relevance | path

Searched refs:thermal_zone_device (Results 1 – 42 of 42) sorted by relevance

/linux-4.1.27/include/linux/
Dthermal.h64 struct thermal_zone_device;
88 int (*bind) (struct thermal_zone_device *,
90 int (*unbind) (struct thermal_zone_device *,
92 int (*get_temp) (struct thermal_zone_device *, unsigned long *);
93 int (*get_mode) (struct thermal_zone_device *,
95 int (*set_mode) (struct thermal_zone_device *,
97 int (*get_trip_type) (struct thermal_zone_device *, int,
99 int (*get_trip_temp) (struct thermal_zone_device *, int,
101 int (*set_trip_temp) (struct thermal_zone_device *, int,
103 int (*get_trip_hyst) (struct thermal_zone_device *, int,
[all …]
Dpower_supply.h245 struct thermal_zone_device *tzd;
/linux-4.1.27/drivers/thermal/
Dthermal_core.h41 struct thermal_zone_device *tz;
93 int of_thermal_get_ntrips(struct thermal_zone_device *);
94 bool of_thermal_is_trip_valid(struct thermal_zone_device *, int);
96 of_thermal_get_trip_points(struct thermal_zone_device *);
100 static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips()
104 static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, in of_thermal_is_trip_valid()
110 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
Dthermal_hwmon.h34 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz);
35 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz);
38 thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs()
44 thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs()
Dof-thermal.c89 static int of_thermal_get_temp(struct thermal_zone_device *tz, in of_thermal_get_temp()
110 int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips()
131 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid()
153 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
175 static int of_thermal_set_emul_temp(struct thermal_zone_device *tz, in of_thermal_set_emul_temp()
186 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip, in of_thermal_get_trend()
211 static int of_thermal_bind(struct thermal_zone_device *thermal, in of_thermal_bind()
239 static int of_thermal_unbind(struct thermal_zone_device *thermal, in of_thermal_unbind()
265 static int of_thermal_get_mode(struct thermal_zone_device *tz, in of_thermal_get_mode()
275 static int of_thermal_set_mode(struct thermal_zone_device *tz, in of_thermal_set_mode()
[all …]
Dthermal_core.c85 struct thermal_zone_device *pos; in thermal_register_governor()
125 struct thermal_zone_device *pos; in thermal_unregister_governor()
174 int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend()
192 struct thermal_instance *get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance()
215 static void print_bind_err_msg(struct thermal_zone_device *tz, in print_bind_err_msg()
222 static void __bind(struct thermal_zone_device *tz, int mask, in __bind()
246 static void __unbind(struct thermal_zone_device *tz, int mask, in __unbind()
260 struct thermal_zone_device *pos = NULL; in bind_cdev()
293 static void bind_tz(struct thermal_zone_device *tz) in bind_tz()
332 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, in thermal_zone_device_set_polling()
[all …]
Dthermal_hwmon.c52 struct thermal_zone_device *tz;
79 struct thermal_zone_device *tz = temp->tz; in temp_input_show()
97 struct thermal_zone_device *tz = temp->tz; in temp_crit_show()
110 thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz) in thermal_hwmon_lookup_by_type()
128 const struct thermal_zone_device *tz) in thermal_hwmon_lookup_temp()
143 static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz) in thermal_zone_crit_temp_valid()
149 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs()
236 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs()
Dspear_thermal.c40 static inline int thermal_get_temp(struct thermal_zone_device *thermal, in thermal_get_temp()
61 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev); in spear_thermal_suspend()
78 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev); in spear_thermal_resume()
104 struct thermal_zone_device *spear_thermal = NULL; in spear_thermal_probe()
164 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev); in spear_thermal_exit()
Ddb8500_thermal.c34 struct thermal_zone_device *therm_dev;
62 static int db8500_cdev_bind(struct thermal_zone_device *thermal, in db8500_cdev_bind()
89 static int db8500_cdev_unbind(struct thermal_zone_device *thermal, in db8500_cdev_unbind()
110 static int db8500_sys_get_temp(struct thermal_zone_device *thermal, in db8500_sys_get_temp()
126 static int db8500_sys_get_trend(struct thermal_zone_device *thermal, in db8500_sys_get_trend()
137 static int db8500_sys_get_mode(struct thermal_zone_device *thermal, in db8500_sys_get_mode()
150 static int db8500_sys_set_mode(struct thermal_zone_device *thermal, in db8500_sys_set_mode()
167 static int db8500_sys_get_trip_type(struct thermal_zone_device *thermal, in db8500_sys_get_trip_type()
182 static int db8500_sys_get_trip_temp(struct thermal_zone_device *thermal, in db8500_sys_get_trip_temp()
197 static int db8500_sys_get_crit_temp(struct thermal_zone_device *thermal, in db8500_sys_get_crit_temp()
Dkirkwood_thermal.c35 static int kirkwood_get_temp(struct thermal_zone_device *thermal, in kirkwood_get_temp()
74 struct thermal_zone_device *thermal = NULL; in kirkwood_thermal_probe()
102 struct thermal_zone_device *kirkwood_thermal = in kirkwood_thermal_exit()
Dimx_thermal.c96 struct thermal_zone_device *tz;
136 static int imx_get_temp(struct thermal_zone_device *tz, unsigned long *temp) in imx_get_temp()
211 static int imx_get_mode(struct thermal_zone_device *tz, in imx_get_mode()
221 static int imx_set_mode(struct thermal_zone_device *tz, in imx_set_mode()
257 static int imx_get_trip_type(struct thermal_zone_device *tz, int trip, in imx_get_trip_type()
265 static int imx_get_crit_temp(struct thermal_zone_device *tz, in imx_get_crit_temp()
274 static int imx_get_trip_temp(struct thermal_zone_device *tz, int trip, in imx_get_trip_temp()
284 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip, in imx_set_trip_temp()
302 static int imx_bind(struct thermal_zone_device *tz, in imx_bind()
320 static int imx_unbind(struct thermal_zone_device *tz, in imx_unbind()
Dfair_share.c34 static int get_trip_level(struct thermal_zone_device *tz) in get_trip_level()
61 static long get_target_state(struct thermal_zone_device *tz, in get_target_state()
89 static int fair_share_throttle(struct thermal_zone_device *tz, int trip) in fair_share_throttle()
Ddove_thermal.c95 static int dove_get_temp(struct thermal_zone_device *thermal, in dove_get_temp()
132 struct thermal_zone_device *thermal = NULL; in dove_thermal_probe()
172 struct thermal_zone_device *dove_thermal = in dove_thermal_exit()
Dstep_wise.c116 static void update_passive_instance(struct thermal_zone_device *tz, in update_passive_instance()
127 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update()
196 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle()
Dgov_bang_bang.c26 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update()
102 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control()
Dintel_soc_dts_thermal.c68 struct thermal_zone_device *tzone;
108 static int sys_get_trip_temp(struct thermal_zone_device *tzd, in sys_get_trip_temp()
226 static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp()
242 static int sys_get_trip_type(struct thermal_zone_device *thermal, in sys_get_trip_type()
253 static int sys_get_curr_temp(struct thermal_zone_device *tzd, in sys_get_curr_temp()
Drcar_thermal.c61 struct thermal_zone_device *zone;
203 static int rcar_thermal_get_temp(struct thermal_zone_device *zone, in rcar_thermal_get_temp()
218 static int rcar_thermal_get_trip_type(struct thermal_zone_device *zone, in rcar_thermal_get_trip_type()
237 static int rcar_thermal_get_trip_temp(struct thermal_zone_device *zone, in rcar_thermal_get_trip_temp()
256 static int rcar_thermal_notify(struct thermal_zone_device *zone, in rcar_thermal_notify()
Dx86_pkg_temp_thermal.c68 struct thermal_zone_device *tzone;
167 static int sys_get_curr_temp(struct thermal_zone_device *tzd, unsigned long *temp) in sys_get_curr_temp()
185 static int sys_get_trip_temp(struct thermal_zone_device *tzd, in sys_get_trip_temp()
222 static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp()
267 static int sys_get_trip_type(struct thermal_zone_device *thermal, in sys_get_trip_type()
Darmada_thermal.c157 static int armada_get_temp(struct thermal_zone_device *thermal, in armada_get_temp()
258 struct thermal_zone_device *thermal; in armada_thermal_probe()
299 struct thermal_zone_device *armada_thermal = in armada_thermal_exit()
Duser_space.c35 static int notify_user_space(struct thermal_zone_device *tz, int trip) in notify_user_space()
Dtegra_soctherm.c171 struct thermal_zone_device *thermctl_tzs[4];
345 struct thermal_zone_device *tz; in tegra_soctherm_probe()
Drockchip_thermal.c74 struct thermal_zone_device *tzd;
348 struct thermal_zone_device *tzd = sensor->tzd; in rockchip_thermal_toggle_sensor()
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c40 struct thermal_zone_device *ti_thermal;
41 struct thermal_zone_device *pcb_tz;
81 struct thermal_zone_device *pcb_tz = NULL; in __ti_thermal_get_temp()
121 static inline int ti_thermal_get_temp(struct thermal_zone_device *thermal, in ti_thermal_get_temp()
130 static int ti_thermal_bind(struct thermal_zone_device *thermal, in ti_thermal_bind()
153 static int ti_thermal_unbind(struct thermal_zone_device *thermal, in ti_thermal_unbind()
170 static int ti_thermal_get_mode(struct thermal_zone_device *thermal, in ti_thermal_get_mode()
182 static int ti_thermal_set_mode(struct thermal_zone_device *thermal, in ti_thermal_set_mode()
215 static int ti_thermal_get_trip_type(struct thermal_zone_device *thermal, in ti_thermal_get_trip_type()
230 static int ti_thermal_get_trip_temp(struct thermal_zone_device *thermal, in ti_thermal_get_trip_temp()
[all …]
/linux-4.1.27/drivers/platform/x86/
Dacerhdf.c93 static struct thermal_zone_device *thz_dev;
322 static void acerhdf_check_param(struct thermal_zone_device *thermal) in acerhdf_check_param()
349 static int acerhdf_get_ec_temp(struct thermal_zone_device *thermal, in acerhdf_get_ec_temp()
367 static int acerhdf_bind(struct thermal_zone_device *thermal, in acerhdf_bind()
382 static int acerhdf_unbind(struct thermal_zone_device *thermal, in acerhdf_unbind()
412 static int acerhdf_get_mode(struct thermal_zone_device *thermal, in acerhdf_get_mode()
430 static int acerhdf_set_mode(struct thermal_zone_device *thermal, in acerhdf_set_mode()
441 static int acerhdf_get_trip_type(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_type()
454 static int acerhdf_get_trip_hyst(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_hyst()
465 static int acerhdf_get_trip_temp(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_temp()
[all …]
Dintel_mid_thermal.c89 struct thermal_zone_device *tzd[MSIC_THERMAL_SENSORS];
177 static int mid_read_temp(struct thermal_zone_device *tzd, unsigned long *temp) in mid_read_temp()
456 static int read_curr_temp(struct thermal_zone_device *tzd, unsigned long *temp) in read_curr_temp()
Dintel_menlow.c423 struct thermal_zone_device *thermal; in intel_menlow_register_sensor()
/linux-4.1.27/drivers/thermal/int340x_thermal/
Dint340x_thermal_zone.c22 static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone, in int340x_thermal_get_zone_temp()
51 static int int340x_thermal_get_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_get_trip_temp()
83 static int int340x_thermal_get_trip_type(struct thermal_zone_device *zone, in int340x_thermal_get_trip_type()
116 static int int340x_thermal_set_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_set_trip_temp()
138 static int int340x_thermal_get_trip_hyst(struct thermal_zone_device *zone, in int340x_thermal_get_trip_hyst()
Dint3400_thermal.c34 struct thermal_zone_device *thermal;
188 static int int3400_thermal_get_temp(struct thermal_zone_device *thermal, in int3400_thermal_get_temp()
195 static int int3400_thermal_get_mode(struct thermal_zone_device *thermal, in int3400_thermal_get_mode()
208 static int int3400_thermal_set_mode(struct thermal_zone_device *thermal, in int3400_thermal_set_mode()
Dint340x_thermal_zone.h40 struct thermal_zone_device *zone;
Dprocessor_thermal_device.c173 static int proc_thermal_get_zone_temp(struct thermal_zone_device *zone, in proc_thermal_get_zone_temp()
/linux-4.1.27/include/trace/events/
Dthermal.h12 TP_PROTO(struct thermal_zone_device *tz),
56 TP_PROTO(struct thermal_zone_device *tz, int trip,
/linux-4.1.27/drivers/acpi/
Dthermal.c191 struct thermal_zone_device *thermal_zone;
532 static int thermal_get_temp(struct thermal_zone_device *thermal, in thermal_get_temp()
550 static int thermal_get_mode(struct thermal_zone_device *thermal, in thermal_get_mode()
564 static int thermal_set_mode(struct thermal_zone_device *thermal, in thermal_set_mode()
594 static int thermal_get_trip_type(struct thermal_zone_device *thermal, in thermal_get_trip_type()
639 static int thermal_get_trip_temp(struct thermal_zone_device *thermal, in thermal_get_trip_temp()
692 static int thermal_get_crit_temp(struct thermal_zone_device *thermal, in thermal_get_crit_temp()
705 static int thermal_get_trend(struct thermal_zone_device *thermal, in thermal_get_trend()
749 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify()
771 static int acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal, in acpi_thermal_cooling_device_cb()
[all …]
/linux-4.1.27/drivers/thermal/st/
Dst_thermal.c114 static int st_thermal_get_temp(struct thermal_zone_device *th, in st_thermal_get_temp()
143 static int st_thermal_get_trip_type(struct thermal_zone_device *th, in st_thermal_get_trip_type()
161 static int st_thermal_get_trip_temp(struct thermal_zone_device *th, in st_thermal_get_trip_temp()
Dst_thermal.h84 struct thermal_zone_device *thermal_dev;
/linux-4.1.27/drivers/thermal/samsung/
Dexynos_tmu.c179 struct thermal_zone_device *tzd;
192 struct thermal_zone_device *tz = p->tzd; in exynos_report_trigger()
291 struct thermal_zone_device *tz = data->tzd; in get_th_reg()
373 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_initialize()
540 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_initialize()
618 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_control()
649 struct thermal_zone_device *tz = data->tzd; in exynos5440_tmu_control()
678 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_control()
1222 struct thermal_zone_device *tzd = data->tzd; in exynos_tmu_remove()
/linux-4.1.27/include/linux/power/
Dcharger-manager.h235 struct thermal_zone_device *tzd_batt;
/linux-4.1.27/Documentation/thermal/
Dsysfs-api.txt34 1.1.1 struct thermal_zone_device *thermal_zone_device_register(char *type,
69 1.1.2 void thermal_zone_device_unregister(struct thermal_zone_device *tz)
96 1.3.1 int thermal_zone_bind_cooling_device(struct thermal_zone_device *tz,
114 1.3.2 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz,
319 thermal_zone_device (thermal_zone1) with 4 trip points in all.
369 (originator, event). The originator is a pointer to struct thermal_zone_device
/linux-4.1.27/drivers/hwmon/
Dtmp102.c56 struct thermal_zone_device *tz;
Dlm75.c79 struct thermal_zone_device *tz;
Dntc_thermistor.c186 struct thermal_zone_device *tz;
/linux-4.1.27/drivers/input/touchscreen/
Dsun4i-ts.c118 struct thermal_zone_device *tz;
/linux-4.1.27/drivers/power/
Dpower_supply_core.c520 static int power_supply_read_temp(struct thermal_zone_device *tzd, in power_supply_read_temp()