Lines Matching defs:zone
53 struct thermal_zone_device *zone;
97 thermal_zone_device_update(thermal->zone,
111 thermal_zone_device_update(thermal->zone,
199 thermal->zone = thermal_zone_device_register_with_trips(thermal->config->name,
203 if (IS_ERR(thermal->zone)) {
204 dev_err(&pdev->dev, "Cannot register thermal zone device\n");
205 ret = PTR_ERR(thermal->zone);
208 ret = thermal_zone_device_enable(thermal->zone);
210 dev_err(&pdev->dev, "Cannot enable thermal zone device\n");
237 thermal_zone_device_unregister(thermal->zone);
248 thermal_zone_device_unregister(thermal->zone);