/linux-6.3-rc2/tools/lib/thermal/include/ |
A D | thermal.h | 48 struct thermal_zone { struct 71 typedef int (*cb_tz_t)(struct thermal_zone *, void *); argument 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 *tz); 122 struct thermal_zone *tz); 125 struct thermal_zone *tz);
|
/linux-6.3-rc2/tools/lib/thermal/ |
A D | thermal.c | 34 int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg) in for_each_thermal_zone() 47 struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz, in thermal_zone_find_by_name() 63 struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id) in thermal_zone_find_by_id() 78 static int __thermal_zone_discover(struct thermal_zone *tz, void *th) in __thermal_zone_discover() 89 struct thermal_zone *thermal_zone_discover(struct thermal_handler *th) in thermal_zone_discover() 91 struct thermal_zone *tz; in thermal_zone_discover()
|
A D | commands.c | 38 static int parse_tz_get(struct genl_info *info, struct thermal_zone **tz) in parse_tz_get() 41 struct thermal_zone *__tz = NULL; in parse_tz_get() 112 static int parse_tz_get_trip(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_trip() 150 static int parse_tz_get_temp(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_temp() 166 static int parse_tz_get_gov(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_gov() 290 thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz) in thermal_cmd_get_tz() 302 thermal_error_t thermal_cmd_get_trip(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_trip() 308 thermal_error_t thermal_cmd_get_governor(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_governor() 313 thermal_error_t thermal_cmd_get_temp(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_temp()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal_mmio.c | 45 struct thermal_zone_device *thermal_zone; in thermal_mmio_probe() local 68 thermal_zone = devm_thermal_of_zone_register(&pdev->dev, in thermal_mmio_probe() 72 if (IS_ERR(thermal_zone)) { in thermal_mmio_probe() 75 PTR_ERR(thermal_zone)); in thermal_mmio_probe() 76 return PTR_ERR(thermal_zone); in thermal_mmio_probe() 79 thermal_mmio_get_temperature(thermal_zone, &temperature); in thermal_mmio_probe()
|
/linux-6.3-rc2/tools/thermal/thermal-engine/ |
A D | thermal-engine.c | 37 struct thermal_zone *tz; 49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp() 58 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor() 67 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz() 97 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_disable() 107 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_enable() 117 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_high() 128 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_low() 155 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_change() 191 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in gov_change()
|
/linux-6.3-rc2/include/trace/events/ |
A D | thermal.h | 31 __string(thermal_zone, tz->type) 38 __assign_str(thermal_zone, tz->type); 45 __get_str(thermal_zone), __entry->id, __entry->temp_prev, 76 __string(thermal_zone, tz->type) 83 __assign_str(thermal_zone, tz->type); 90 __get_str(thermal_zone), __entry->id, __entry->trip,
|
/linux-6.3-rc2/drivers/acpi/ |
A D | thermal.c | 171 struct thermal_zone_device *thermal_zone; member 815 tz->thermal_zone = in acpi_thermal_register_thermal_zone() 820 if (IS_ERR(tz->thermal_zone)) in acpi_thermal_register_thermal_zone() 824 &tz->thermal_zone->device.kobj, "thermal_zone"); in acpi_thermal_register_thermal_zone() 828 result = sysfs_create_link(&tz->thermal_zone->device.kobj, in acpi_thermal_register_thermal_zone() 834 tz->thermal_zone); in acpi_thermal_register_thermal_zone() 840 result = thermal_zone_device_enable(tz->thermal_zone); in acpi_thermal_register_thermal_zone() 845 tz->thermal_zone->id); in acpi_thermal_register_thermal_zone() 856 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_register_thermal_zone() 865 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_unregister_thermal_zone() [all …]
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | dbstats.c | 189 acpi_db_enumerate_object(obj_desc->thermal_zone.notify_list[0]); in acpi_db_enumerate_object() 190 acpi_db_enumerate_object(obj_desc->thermal_zone.notify_list[1]); in acpi_db_enumerate_object() 191 acpi_db_enumerate_object(obj_desc->thermal_zone.handler); in acpi_db_enumerate_object()
|
A D | exdump.c | 152 {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"}
|
A D | acobject.h | 383 struct acpi_object_thermal_zone thermal_zone; member
|
/linux-6.3-rc2/include/linux/power/ |
A D | charger-manager.h | 184 const char *thermal_zone; member
|
/linux-6.3-rc2/drivers/gpu/drm/tiny/ |
A D | repaper.c | 943 const char *thermal_zone; in repaper_probe() local 1014 &thermal_zone)) { in repaper_probe() 1015 epd->thermal = thermal_zone_get_zone_by_name(thermal_zone); in repaper_probe() 1017 DRM_DEV_ERROR(dev, "Failed to get thermal zone: %s\n", thermal_zone); in repaper_probe()
|
/linux-6.3-rc2/Documentation/driver-api/thermal/ |
A D | exynos_thermal_emulation.rst | 20 /sys/devices/virtual/thermal/thermal_zone'zone id'/emul_temp.
|
A D | sysfs-api.rst | 49 /sys/class/thermal folder as `thermal_zone[0-*]`. It tries to bind all the 333 exactly 2 * thermal_zone.number_of_trip_points. It is an 380 /sys/class/thermal/thermal_zone[0-*]: 419 /sys/class/thermal/thermal_zone[0-*]: 511 {thermal_zone, cooling_device, trip_point} combination. Returns NULL
|
A D | intel_dptf.rst | 120 DPTF Sensor drivers are presented as standard thermal sysfs thermal_zone.
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | charger-manager.c | 1249 if (ret && desc->thermal_zone) { in cm_init_thermal_data() 1251 thermal_zone_get_zone_by_name(desc->thermal_zone); in cm_init_thermal_data() 1331 of_property_read_string(np, "cm-thermal-zone", &desc->thermal_zone); in of_cm_parse_desc()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/ |
A D | charger-manager.yaml | 190 cm-thermal-zone = "thermal_zone.1";
|