Searched refs:thermal_zone (Results 1 - 13 of 13) sorted by relevance

/linux-master/tools/lib/thermal/include/
H A Dthermal.h48 struct thermal_zone { struct
71 typedef int (*cb_tz_t)(struct thermal_zone *, void *);
77 LIBTHERMAL_API int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg);
83 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz,
86 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id);
88 LIBTHERMAL_API struct thermal_zone *thermal_zone_discover(struct thermal_handler *th);
113 struct thermal_zone **tz);
119 struct thermal_zone *t
[all...]
/linux-master/drivers/thermal/
H A Dthermal_mmio.c45 struct thermal_zone_device *thermal_zone; local
68 thermal_zone = devm_thermal_of_zone_register(&pdev->dev,
72 if (IS_ERR(thermal_zone)) {
75 PTR_ERR(thermal_zone));
76 return PTR_ERR(thermal_zone);
79 thermal_mmio_get_temperature(thermal_zone, &temperature);
H A Dthermal_trace.h31 __string(thermal_zone, tz->type)
38 __assign_str(thermal_zone, tz->type);
44 TP_printk("thermal_zone=%s id=%d temp_prev=%d temp=%d",
45 __get_str(thermal_zone), __entry->id, __entry->temp_prev,
76 __string(thermal_zone, tz->type)
83 __assign_str(thermal_zone, tz->type);
89 TP_printk("thermal_zone=%s id=%d trip=%d trip_type=%s",
90 __get_str(thermal_zone), __entry->id, __entry->trip,
/linux-master/tools/lib/thermal/
H A Dthermal.c34 int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg)
47 struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz,
63 struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id)
78 static int __thermal_zone_discover(struct thermal_zone *tz, void *th)
89 struct thermal_zone *thermal_zone_discover(struct thermal_handler *th)
91 struct thermal_zone *tz;
H A Dcommands.c38 static int parse_tz_get(struct genl_info *info, struct thermal_zone **tz)
41 struct thermal_zone *__tz = NULL;
112 static int parse_tz_get_trip(struct genl_info *info, struct thermal_zone *tz)
150 static int parse_tz_get_temp(struct genl_info *info, struct thermal_zone *tz)
166 static int parse_tz_get_gov(struct genl_info *info, struct thermal_zone *tz)
290 thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz)
302 thermal_error_t thermal_cmd_get_trip(struct thermal_handler *th, struct thermal_zone *tz)
308 thermal_error_t thermal_cmd_get_governor(struct thermal_handler *th, struct thermal_zone *tz)
313 thermal_error_t thermal_cmd_get_temp(struct thermal_handler *th, struct thermal_zone *tz)
/linux-master/tools/thermal/thermal-engine/
H A Dthermal-engine.c37 struct thermal_zone *tz;
49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg)
58 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg)
67 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg)
97 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
107 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
117 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
128 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
155 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
191 struct thermal_zone *t
[all...]
/linux-master/include/linux/power/
H A Dcharger-manager.h148 * @thermal_zone : the name of thermal zone for battery
184 const char *thermal_zone; member in struct:charger_desc
/linux-master/drivers/acpi/
H A Dthermal.c36 #define ACPI_THERMAL_CLASS "thermal_zone"
117 struct thermal_zone_device *thermal_zone; member in struct:acpi_thermal
311 thermal_zone_set_trip_temp(tz->thermal_zone, trip, temp);
334 thermal_zone_for_each_trip(tz->thermal_zone,
634 struct device *tzdev = thermal_zone_device(tz->thermal_zone);
638 &tzdev->kobj, "thermal_zone");
645 sysfs_remove_link(&tz->device->dev.kobj, "thermal_zone");
652 struct device *tzdev = thermal_zone_device(tz->thermal_zone);
654 sysfs_remove_link(&tz->device->dev.kobj, "thermal_zone");
666 tz->thermal_zone
[all...]
/linux-master/drivers/acpi/acpica/
H A Ddbstats.c189 acpi_db_enumerate_object(obj_desc->thermal_zone.notify_list[0]);
190 acpi_db_enumerate_object(obj_desc->thermal_zone.notify_list[1]);
191 acpi_db_enumerate_object(obj_desc->thermal_zone.handler);
H A Dacobject.h383 struct acpi_object_thermal_zone thermal_zone; member in union:acpi_operand_object
H A Dexdump.c152 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(thermal_zone.notify_list[0]),
154 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(thermal_zone.notify_list[1]),
156 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(thermal_zone.handler), "Handler"}
/linux-master/drivers/gpu/drm/tiny/
H A Drepaper.c947 const char *thermal_zone; local
1018 &thermal_zone)) {
1019 epd->thermal = thermal_zone_get_zone_by_name(thermal_zone);
1021 DRM_DEV_ERROR(dev, "Failed to get thermal zone: %s\n", thermal_zone);
/linux-master/drivers/power/supply/
H A Dcharger-manager.c1249 if (ret && desc->thermal_zone) {
1251 thermal_zone_get_zone_by_name(desc->thermal_zone);
1331 of_property_read_string(np, "cm-thermal-zone", &desc->thermal_zone);

Completed in 316 milliseconds