Lines Matching defs:thermal_zone
57 #define ACPI_THERMAL_CLASS "thermal_zone"
192 struct thermal_zone_device *thermal_zone;
591 thermal_zone_device_update(tz->thermal_zone);
908 tz->thermal_zone =
916 tz->thermal_zone =
921 if (IS_ERR(tz->thermal_zone))
925 &tz->thermal_zone->device.kobj, "thermal_zone");
929 result = sysfs_create_link(&tz->thermal_zone->device.kobj,
936 tz->thermal_zone);
945 dev_info(&tz->device->dev, "registered as thermal_zone%d\n",
946 tz->thermal_zone->id);
952 sysfs_remove_link(&tz->device->dev.kobj, "thermal_zone");
953 sysfs_remove_link(&tz->thermal_zone->device.kobj, "device");
954 thermal_zone_device_unregister(tz->thermal_zone);
955 tz->thermal_zone = NULL;
1063 if (tz->thermal_zone->forced_passive)
1065 tz->thermal_zone->forced_passive / 1000);
1159 if (!tz->thermal_zone->polling_delay) {
1165 (tz->thermal_zone->polling_delay / 1000));
1185 tz->thermal_zone->polling_delay = seconds * 1000;
1188 thermal_zone_device_update(tz->thermal_zone);
1441 thermal_zone_device_unregister(tz->thermal_zone);