Lines Matching refs:tz
67 struct thermal_zone_device *tz; member
103 thermal_zone_get_offset(data->tz), in bcm2835_thermal_get_temp()
104 thermal_zone_get_slope(data->tz)); in bcm2835_thermal_get_temp()
167 struct thermal_zone_device *tz; in bcm2835_thermal_probe() local
210 tz = thermal_zone_of_sensor_register(&pdev->dev, 0, data, in bcm2835_thermal_probe()
212 if (IS_ERR(tz)) { in bcm2835_thermal_probe()
213 err = PTR_ERR(tz); in bcm2835_thermal_probe()
230 slope = thermal_zone_get_slope(tz); in bcm2835_thermal_probe()
231 offset = thermal_zone_get_offset(tz); in bcm2835_thermal_probe()
236 err = tz->ops->get_trip_temp(tz, 0, &trip_temp); in bcm2835_thermal_probe()
264 data->tz = tz; in bcm2835_thermal_probe()
272 tz->tzp->no_hwmon = false; in bcm2835_thermal_probe()
273 err = thermal_add_hwmon_sysfs(tz); in bcm2835_thermal_probe()
281 thermal_zone_of_sensor_unregister(&pdev->dev, tz); in bcm2835_thermal_probe()
291 struct thermal_zone_device *tz = data->tz; in bcm2835_thermal_remove() local
294 thermal_zone_of_sensor_unregister(&pdev->dev, tz); in bcm2835_thermal_remove()