| /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()
|
| A D | thermal_trace.h | 33 __string(thermal_zone, tz->type) 40 __assign_str(thermal_zone); 47 __get_str(thermal_zone), __entry->id, __entry->temp_prev, 78 __string(thermal_zone, tz->type) 85 __assign_str(thermal_zone); 92 __get_str(thermal_zone), __entry->id, __entry->trip,
|
| A D | thermal_core.c | 198 guard(thermal_zone)(tz); in thermal_zone_device_set_policy() local 664 guard(thermal_zone)(tz); in thermal_zone_device_set_mode() local 704 guard(thermal_zone)(tz); in thermal_zone_device_update() local 1023 guard(thermal_zone)(tz); in thermal_zone_cdev_bind() local 1329 guard(thermal_zone)(tz); in thermal_zone_cdev_unbind() local 1375 guard(thermal_zone)(tz); in thermal_zone_get_crit_temp() local 1454 guard(thermal_zone)(tz); in thermal_zone_init_complete() local 1693 guard(thermal_zone)(tz); in thermal_zone_exit() local 1782 guard(thermal_zone)(tz); in thermal_zone_device_resume() local 1796 guard(thermal_zone)(tz); in thermal_zone_pm_prepare() local [all …]
|
| A D | thermal_helpers.c | 61 guard(thermal_zone)(tz); in thermal_trip_is_bound_to_cdev() local 134 guard(thermal_zone)(tz); in thermal_zone_get_temp() local
|
| A D | thermal_sysfs.c | 57 guard(thermal_zone)(tz); in mode_show() local 114 guard(thermal_zone)(tz); in trip_point_temp_store() local 159 guard(thermal_zone)(tz); in trip_point_hyst_store() local 237 guard(thermal_zone)(tz); in emul_temp_store() local 876 guard(thermal_zone)(tz); in weight_store() local
|
| A D | thermal_netlink.c | 546 guard(thermal_zone)(tz); in thermal_genl_cmd_tz_get_trip() local 603 guard(thermal_zone)(tz); in thermal_genl_cmd_tz_get_gov() local 709 guard(thermal_zone)(tz); in thermal_genl_cmd_threshold_add() local 734 guard(thermal_zone)(tz); in thermal_genl_cmd_threshold_delete() local 755 guard(thermal_zone)(tz); in thermal_genl_cmd_threshold_flush() local
|
| A D | thermal_trip.c | 48 guard(thermal_zone)(tz); in thermal_zone_for_each_trip() local
|
| A D | thermal_thresholds.c | 235 guard(thermal_zone)(tz); in thermal_thresholds_for_each() local
|
| A D | thermal_core.h | 155 DEFINE_GUARD(thermal_zone, struct thermal_zone_device *, mutex_lock(&_T->lock),
|
| A D | thermal_hwmon.c | 81 guard(thermal_zone)(tz); in temp_crit_show() local
|
| A D | thermal_debugfs.c | 897 guard(thermal_zone)(tz); in thermal_debug_tz_clear() local
|
| /drivers/acpi/ |
| A D | thermal.c | 117 struct thermal_zone_device *thermal_zone; member 317 thermal_zone_set_trip_temp(tz->thermal_zone, trip, temp); in acpi_thermal_adjust_trip() 340 thermal_zone_for_each_trip(tz->thermal_zone, in acpi_thermal_trips_update() 634 if (IS_ERR(tz->thermal_zone)) in acpi_thermal_register_thermal_zone() 635 return PTR_ERR(tz->thermal_zone); in acpi_thermal_register_thermal_zone() 641 result = thermal_zone_device_enable(tz->thermal_zone); in acpi_thermal_register_thermal_zone() 646 thermal_zone_device_id(tz->thermal_zone)); in acpi_thermal_register_thermal_zone() 653 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_register_thermal_zone() 660 thermal_zone_device_disable(tz->thermal_zone); in acpi_thermal_unregister_thermal_zone() 662 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_unregister_thermal_zone() [all …]
|
| /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 | 418 struct acpi_object_thermal_zone thermal_zone; member
|
| /drivers/gpu/drm/tiny/ |
| A D | repaper.c | 948 const char *thermal_zone; in repaper_probe() local 1019 &thermal_zone)) { in repaper_probe() 1020 epd->thermal = thermal_zone_get_zone_by_name(thermal_zone); in repaper_probe() 1022 DRM_DEV_ERROR(dev, "Failed to get thermal zone: %s\n", thermal_zone); in repaper_probe()
|
| /drivers/power/supply/ |
| A D | charger-manager.c | 1250 if (ret && desc->thermal_zone) { in cm_init_thermal_data() 1252 thermal_zone_get_zone_by_name(desc->thermal_zone); in cm_init_thermal_data() 1332 of_property_read_string(np, "cm-thermal-zone", &desc->thermal_zone); in of_cm_parse_desc()
|