Lines Matching refs:thermal_zone
171 struct thermal_zone_device *thermal_zone; member
810 tz->thermal_zone = in acpi_thermal_register_thermal_zone()
816 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()
852 sysfs_remove_link(&tz->thermal_zone->device.kobj, "device"); in acpi_thermal_register_thermal_zone()
856 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_register_thermal_zone()
864 sysfs_remove_link(&tz->thermal_zone->device.kobj, "device"); in acpi_thermal_unregister_thermal_zone()
865 thermal_zone_device_unregister(tz->thermal_zone); in acpi_thermal_unregister_thermal_zone()
866 tz->thermal_zone = NULL; in acpi_thermal_unregister_thermal_zone()
1015 thermal_zone_device_update(tz->thermal_zone, THERMAL_EVENT_UNSPECIFIED); in acpi_thermal_check_fn()