Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dthermal.h32 struct thermal_zone_device;
48 int (*bind) (struct thermal_zone_device *,
50 int (*unbind) (struct thermal_zone_device *,
52 int (*get_temp) (struct thermal_zone_device *, unsigned long *);
53 int (*get_mode) (struct thermal_zone_device *,
55 int (*set_mode) (struct thermal_zone_device *,
57 int (*get_trip_type) (struct thermal_zone_device *, int,
59 int (*get_trip_temp) (struct thermal_zone_device *, int,
61 int (*get_crit_temp) (struct thermal_zone_device *, unsigned long *);
62 int (*notify) (struct thermal_zone_device *, int,
[all …]
/linux-3.4.99/drivers/thermal/
Dthermal_sys.c47 struct thermal_zone_device *tz;
97 container_of(_dev, struct thermal_zone_device, device)
102 struct thermal_zone_device *tz = to_thermal_zone(dev); in type_show()
110 struct thermal_zone_device *tz = to_thermal_zone(dev); in temp_show()
128 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_show()
147 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_store()
170 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_type_show()
202 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_show()
224 struct thermal_zone_device *tz = to_thermal_zone(dev); in passive_store()
276 struct thermal_zone_device *tz = to_thermal_zone(dev); in passive_show()
[all …]
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()
176 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev); in spear_thermal_exit()
/linux-3.4.99/drivers/platform/x86/
Dacerhdf.c93 static struct thermal_zone_device *thz_dev;
280 static void acerhdf_check_param(struct thermal_zone_device *thermal) in acerhdf_check_param()
307 static int acerhdf_get_ec_temp(struct thermal_zone_device *thermal, in acerhdf_get_ec_temp()
325 static int acerhdf_bind(struct thermal_zone_device *thermal, in acerhdf_bind()
339 static int acerhdf_unbind(struct thermal_zone_device *thermal, in acerhdf_unbind()
369 static int acerhdf_get_mode(struct thermal_zone_device *thermal, in acerhdf_get_mode()
387 static int acerhdf_set_mode(struct thermal_zone_device *thermal, in acerhdf_set_mode()
398 static int acerhdf_get_trip_type(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_type()
407 static int acerhdf_get_trip_temp(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_temp()
416 static int acerhdf_get_crit_temp(struct thermal_zone_device *thermal, in acerhdf_get_crit_temp()
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()
453 static int read_curr_temp(struct thermal_zone_device *tzd, unsigned long *temp) in read_curr_temp()
Dintel_menlow.c429 struct thermal_zone_device *thermal; in intel_menlow_register_sensor()
/linux-3.4.99/drivers/acpi/
Dthermal.c186 struct thermal_zone_device *thermal_zone;
536 static int thermal_get_temp(struct thermal_zone_device *thermal, in thermal_get_temp()
555 static int thermal_get_mode(struct thermal_zone_device *thermal, in thermal_get_mode()
569 static int thermal_set_mode(struct thermal_zone_device *thermal, in thermal_set_mode()
598 static int thermal_get_trip_type(struct thermal_zone_device *thermal, in thermal_get_trip_type()
643 static int thermal_get_trip_temp(struct thermal_zone_device *thermal, in thermal_get_trip_temp()
696 static int thermal_get_crit_temp(struct thermal_zone_device *thermal, in thermal_get_crit_temp()
709 static int thermal_notify(struct thermal_zone_device *thermal, int trip, in thermal_notify()
732 typedef int (*cb)(struct thermal_zone_device *, int,
734 static int acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal, in acpi_thermal_cooling_device_cb()
[all …]
/linux-3.4.99/Documentation/thermal/
Dsysfs-api.txt34 1.1.1 struct thermal_zone_device *thermal_zone_device_register(char *name,
57 1.1.2 void thermal_zone_device_unregister(struct thermal_zone_device *tz)
84 1.3.1 int thermal_zone_bind_cooling_device(struct thermal_zone_device *tz,
95 1.3.2 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz,
239 thermal_zone_device (thermal_zone1) with 4 trip points in all.
289 to a thermal_zone_device when it registers itself with the framework. The