Lines Matching refs:thermal_zone
130 struct thermal_zone_device *thermal_zone; member
427 for_each_thermal_trip(tz->thermal_zone, acpi_thermal_adjust_trip, tz); in acpi_thermal_adjust_thermal_zone()
447 thermal_zone_device_exec(tz->thermal_zone, in acpi_thermal_trips_update()
658 struct device *tzdev = thermal_zone_device(tz->thermal_zone); in acpi_thermal_zone_sysfs_add()
676 struct device *tzdev = thermal_zone_device(tz->thermal_zone); in acpi_thermal_zone_sysfs_remove()
743 tz->thermal_zone = thermal_zone_device_register_with_trips("acpitz", in acpi_thermal_register_thermal_zone()
751 if (IS_ERR(tz->thermal_zone)) { in acpi_thermal_register_thermal_zone()
752 result = PTR_ERR(tz->thermal_zone); in acpi_thermal_register_thermal_zone()
760 result = thermal_zone_device_enable(tz->thermal_zone); in acpi_thermal_register_thermal_zone()
765 thermal_zone_device_id(tz->thermal_zone)); in acpi_thermal_register_thermal_zone()
772 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_register_thermal_zone()
781 thermal_zone_device_disable(tz->thermal_zone); in acpi_thermal_unregister_thermal_zone()
783 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_unregister_thermal_zone()
784 tz->thermal_zone = NULL; in acpi_thermal_unregister_thermal_zone()
916 thermal_zone_device_update(tz->thermal_zone, THERMAL_EVENT_UNSPECIFIED); in acpi_thermal_check_fn()