/linux-4.4.14/include/linux/ |
D | thermal.h | 71 struct thermal_zone_device; 96 int (*bind) (struct thermal_zone_device *, 98 int (*unbind) (struct thermal_zone_device *, 100 int (*get_temp) (struct thermal_zone_device *, int *); 101 int (*get_mode) (struct thermal_zone_device *, 103 int (*set_mode) (struct thermal_zone_device *, 105 int (*get_trip_type) (struct thermal_zone_device *, int, 107 int (*get_trip_temp) (struct thermal_zone_device *, int, int *); 108 int (*set_trip_temp) (struct thermal_zone_device *, int, int); 109 int (*get_trip_hyst) (struct thermal_zone_device *, int, int *); [all …]
|
D | power_supply.h | 250 struct thermal_zone_device *tzd;
|
/linux-4.4.14/drivers/thermal/ |
D | thermal_core.h | 41 struct thermal_zone_device *tz; 104 int of_thermal_get_ntrips(struct thermal_zone_device *); 105 bool of_thermal_is_trip_valid(struct thermal_zone_device *, int); 107 of_thermal_get_trip_points(struct thermal_zone_device *); 111 static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips() 115 static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, in of_thermal_is_trip_valid() 121 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
|
D | thermal_hwmon.h | 34 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()
|
D | of-thermal.c | 93 static int of_thermal_get_temp(struct thermal_zone_device *tz, in of_thermal_get_temp() 114 int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips() 135 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid() 157 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points() 179 static int of_thermal_set_emul_temp(struct thermal_zone_device *tz, in of_thermal_set_emul_temp() 190 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip, in of_thermal_get_trend() 215 static int of_thermal_bind(struct thermal_zone_device *thermal, in of_thermal_bind() 244 static int of_thermal_unbind(struct thermal_zone_device *thermal, in of_thermal_unbind() 270 static int of_thermal_get_mode(struct thermal_zone_device *tz, in of_thermal_get_mode() 280 static int of_thermal_set_mode(struct thermal_zone_device *tz, in of_thermal_set_mode() [all …]
|
D | thermal_core.c | 89 static void bind_previous_governor(struct thermal_zone_device *tz, in bind_previous_governor() 111 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor() 137 struct thermal_zone_device *pos; in thermal_register_governor() 184 struct thermal_zone_device *pos; in thermal_unregister_governor() 233 int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend() 251 struct thermal_instance *get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance() 274 static void print_bind_err_msg(struct thermal_zone_device *tz, in print_bind_err_msg() 281 static void __bind(struct thermal_zone_device *tz, int mask, in __bind() 307 static void __unbind(struct thermal_zone_device *tz, int mask, in __unbind() 321 struct thermal_zone_device *pos = NULL; in bind_cdev() [all …]
|
D | intel_quark_dts_thermal.c | 110 struct thermal_zone_device *tzone; 122 static int soc_dts_enable(struct thermal_zone_device *tzd) in soc_dts_enable() 155 static int soc_dts_disable(struct thermal_zone_device *tzd) in soc_dts_disable() 214 static inline int sys_get_trip_temp(struct thermal_zone_device *tzd, in sys_get_trip_temp() 220 static inline int sys_get_crit_temp(struct thermal_zone_device *tzd, int *temp) in sys_get_crit_temp() 273 static inline int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp() 279 static int sys_get_trip_type(struct thermal_zone_device *thermal, in sys_get_trip_type() 290 static int sys_get_curr_temp(struct thermal_zone_device *tzd, in sys_get_curr_temp() 315 static int sys_get_mode(struct thermal_zone_device *tzd, in sys_get_mode() 323 static int sys_set_mode(struct thermal_zone_device *tzd, in sys_set_mode()
|
D | thermal_hwmon.c | 52 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()
|
D | spear_thermal.c | 40 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()
|
D | db8500_thermal.c | 34 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, int *temp) in db8500_sys_get_temp() 125 static int db8500_sys_get_trend(struct thermal_zone_device *thermal, in db8500_sys_get_trend() 136 static int db8500_sys_get_mode(struct thermal_zone_device *thermal, in db8500_sys_get_mode() 149 static int db8500_sys_set_mode(struct thermal_zone_device *thermal, in db8500_sys_set_mode() 166 static int db8500_sys_get_trip_type(struct thermal_zone_device *thermal, in db8500_sys_get_trip_type() 181 static int db8500_sys_get_trip_temp(struct thermal_zone_device *thermal, in db8500_sys_get_trip_temp() 196 static int db8500_sys_get_crit_temp(struct thermal_zone_device *thermal, in db8500_sys_get_crit_temp()
|
D | power_allocator.c | 93 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power() 134 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants() 192 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller() 332 static int allocate_power(struct thermal_zone_device *tz, in allocate_power() 468 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 521 static void allow_maximum_power(struct thermal_zone_device *tz) in allow_maximum_power() 546 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() 593 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind() 608 static int power_allocator_throttle(struct thermal_zone_device *tz, int trip) in power_allocator_throttle()
|
D | kirkwood_thermal.c | 35 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()
|
D | fair_share.c | 34 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()
|
D | imx_thermal.c | 91 struct thermal_zone_device *tz; 133 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp() 208 static int imx_get_mode(struct thermal_zone_device *tz, in imx_get_mode() 218 static int imx_set_mode(struct thermal_zone_device *tz, in imx_set_mode() 254 static int imx_get_trip_type(struct thermal_zone_device *tz, int trip, in imx_get_trip_type() 262 static int imx_get_crit_temp(struct thermal_zone_device *tz, int *temp) in imx_get_crit_temp() 270 static int imx_get_trip_temp(struct thermal_zone_device *tz, int trip, in imx_get_trip_temp() 280 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip, in imx_set_trip_temp() 300 static int imx_bind(struct thermal_zone_device *tz, in imx_bind() 319 static int imx_unbind(struct thermal_zone_device *tz, in imx_unbind()
|
D | intel_pch_thermal.c | 62 struct thermal_zone_device *tzd; 144 static int pch_thermal_get_temp(struct thermal_zone_device *tzd, int *temp) in pch_thermal_get_temp() 151 static int pch_get_trip_type(struct thermal_zone_device *tzd, int trip, in pch_get_trip_type() 166 static int pch_get_trip_temp(struct thermal_zone_device *tzd, int trip, int *temp) in pch_get_trip_temp()
|
D | dove_thermal.c | 95 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()
|
D | step_wise.c | 116 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()
|
D | gov_bang_bang.c | 26 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() 101 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control()
|
D | rcar_thermal.c | 61 struct thermal_zone_device *zone; 203 static int rcar_thermal_get_temp(struct thermal_zone_device *zone, int *temp) in rcar_thermal_get_temp() 217 static int rcar_thermal_get_trip_type(struct thermal_zone_device *zone, in rcar_thermal_get_trip_type() 236 static int rcar_thermal_get_trip_temp(struct thermal_zone_device *zone, in rcar_thermal_get_trip_temp() 255 static int rcar_thermal_notify(struct thermal_zone_device *zone, in rcar_thermal_notify()
|
D | x86_pkg_temp_thermal.c | 68 struct thermal_zone_device *tzone; 167 static int sys_get_curr_temp(struct thermal_zone_device *tzd, int *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()
|
D | armada_thermal.c | 157 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()
|
D | intel_soc_dts_iosf.c | 82 static int sys_get_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_get_trip_temp() 198 static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp() 216 static int sys_get_trip_type(struct thermal_zone_device *tzd, in sys_get_trip_type() 228 static int sys_get_curr_temp(struct thermal_zone_device *tzd, in sys_get_curr_temp()
|
D | user_space.c | 35 static int notify_user_space(struct thermal_zone_device *tz, int trip) in notify_user_space()
|
D | intel_soc_dts_iosf.h | 42 struct thermal_zone_device *tzone;
|
D | devfreq_cooling.c | 275 struct thermal_zone_device *tz, in devfreq_cooling_get_requested_power() 307 struct thermal_zone_device *tz, in devfreq_cooling_state2power() 326 struct thermal_zone_device *tz, in devfreq_cooling_power2state()
|
D | cpu_cooling.c | 422 struct thermal_zone_device *tz, unsigned long freq, in get_static_power() 571 struct thermal_zone_device *tz, in cpufreq_get_requested_power() 651 struct thermal_zone_device *tz, in cpufreq_state2power() 703 struct thermal_zone_device *tz, u32 power, in cpufreq_power2state()
|
D | hisi_thermal.c | 45 struct thermal_zone_device *tzd; 276 struct thermal_zone_device *tzd = sensor->tzd; in hisi_thermal_toggle_sensor()
|
D | tegra_soctherm.c | 171 struct thermal_zone_device *thermctl_tzs[4]; 345 struct thermal_zone_device *tz; in tegra_soctherm_probe()
|
D | qcom-spmi-temp-alarm.c | 60 struct thermal_zone_device *tz_dev;
|
D | rockchip_thermal.c | 116 struct thermal_zone_device *tzd; 496 struct thermal_zone_device *tzd = sensor->tzd; in rockchip_thermal_toggle_sensor()
|
/linux-4.4.14/drivers/thermal/ti-soc-thermal/ |
D | ti-thermal-common.c | 40 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() 154 static int ti_thermal_unbind(struct thermal_zone_device *thermal, in ti_thermal_unbind() 171 static int ti_thermal_get_mode(struct thermal_zone_device *thermal, in ti_thermal_get_mode() 183 static int ti_thermal_set_mode(struct thermal_zone_device *thermal, in ti_thermal_set_mode() 216 static int ti_thermal_get_trip_type(struct thermal_zone_device *thermal, in ti_thermal_get_trip_type() 231 static int ti_thermal_get_trip_temp(struct thermal_zone_device *thermal, in ti_thermal_get_trip_temp() [all …]
|
/linux-4.4.14/drivers/platform/x86/ |
D | acerhdf.c | 93 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, int *t) in acerhdf_get_ec_temp() 366 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 …]
|
D | intel_mid_thermal.c | 89 struct thermal_zone_device *tzd[MSIC_THERMAL_SENSORS]; 177 static int mid_read_temp(struct thermal_zone_device *tzd, int *temp) in mid_read_temp() 455 static int read_curr_temp(struct thermal_zone_device *tzd, int *temp) in read_curr_temp()
|
D | intel_menlow.c | 423 struct thermal_zone_device *thermal; in intel_menlow_register_sensor()
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | int340x_thermal_zone.c | 22 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()
|
D | int3400_thermal.c | 34 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()
|
D | int340x_thermal_zone.h | 40 struct thermal_zone_device *zone;
|
D | processor_thermal_device.c | 179 static int proc_thermal_get_zone_temp(struct thermal_zone_device *zone, in proc_thermal_get_zone_temp()
|
/linux-4.4.14/drivers/acpi/ |
D | thermal.c | 187 struct thermal_zone_device *thermal_zone; 528 static int thermal_get_temp(struct thermal_zone_device *thermal, int *temp) in thermal_get_temp() 545 static int thermal_get_mode(struct thermal_zone_device *thermal, in thermal_get_mode() 559 static int thermal_set_mode(struct thermal_zone_device *thermal, in thermal_set_mode() 589 static int thermal_get_trip_type(struct thermal_zone_device *thermal, in thermal_get_trip_type() 634 static int thermal_get_trip_temp(struct thermal_zone_device *thermal, in thermal_get_trip_temp() 687 static int thermal_get_crit_temp(struct thermal_zone_device *thermal, in thermal_get_crit_temp() 701 static int thermal_get_trend(struct thermal_zone_device *thermal, in thermal_get_trend() 745 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify() 767 static int acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal, in acpi_thermal_cooling_device_cb() [all …]
|
/linux-4.4.14/drivers/thermal/st/ |
D | st_thermal.c | 114 static int st_thermal_get_temp(struct thermal_zone_device *th, int *temperature) in st_thermal_get_temp() 142 static int st_thermal_get_trip_type(struct thermal_zone_device *th, in st_thermal_get_trip_type() 160 static int st_thermal_get_trip_temp(struct thermal_zone_device *th, in st_thermal_get_trip_temp()
|
D | st_thermal.h | 84 struct thermal_zone_device *thermal_dev;
|
/linux-4.4.14/drivers/thermal/samsung/ |
D | exynos_tmu.c | 205 struct thermal_zone_device *tzd; 217 struct thermal_zone_device *tz = p->tzd; in exynos_report_trigger() 316 struct thermal_zone_device *tz = data->tzd; in get_th_reg() 398 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_initialize() 516 struct thermal_zone_device *tz = data->tzd; in exynos5433_tmu_initialize() 661 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_initialize() 739 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_control() 770 struct thermal_zone_device *tz = data->tzd; in exynos5433_tmu_control() 812 struct thermal_zone_device *tz = data->tzd; in exynos5440_tmu_control() 841 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_control() [all …]
|
/linux-4.4.14/include/trace/events/ |
D | thermal_power_allocator.h | 10 TP_PROTO(struct thermal_zone_device *tz, u32 *req_power, 58 TP_PROTO(struct thermal_zone_device *tz, s32 err, s32 err_integral,
|
D | thermal.h | 13 TP_PROTO(struct thermal_zone_device *tz), 57 TP_PROTO(struct thermal_zone_device *tz, int trip,
|
/linux-4.4.14/include/linux/power/ |
D | charger-manager.h | 235 struct thermal_zone_device *tzd_batt;
|
/linux-4.4.14/Documentation/thermal/ |
D | sysfs-api.txt | 34 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, 116 1.3.2 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz, 410 thermal_zone_device (thermal_zone1) with 4 trip points in all. 464 (originator, event). The originator is a pointer to struct thermal_zone_device
|
D | power_allocator.txt | 182 struct thermal_zone_device *tz, u32 *power); 194 thermal_zone_device *tz, unsigned long state, u32 *power);
|
/linux-4.4.14/drivers/hwmon/ |
D | scpi-hwmon.c | 37 struct thermal_zone_device *tzd;
|
D | tmp102.c | 56 struct thermal_zone_device *tz;
|
D | lm75.c | 80 struct thermal_zone_device *tz;
|
D | ntc_thermistor.c | 224 struct thermal_zone_device *tz;
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sun4i-ts.c | 118 struct thermal_zone_device *tz;
|
/linux-4.4.14/drivers/power/ |
D | power_supply_core.c | 559 static int power_supply_read_temp(struct thermal_zone_device *tzd, in power_supply_read_temp()
|