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
209 tz = thermal_zone_of_sensor_register(&pdev->dev, 0, data, in bcm2835_thermal_probe()
211 if (IS_ERR(tz)) { in bcm2835_thermal_probe()
212 err = PTR_ERR(tz); in bcm2835_thermal_probe()
229 slope = thermal_zone_get_slope(tz); in bcm2835_thermal_probe()
230 offset = thermal_zone_get_offset(tz); in bcm2835_thermal_probe()
235 err = tz->ops->get_trip_temp(tz, 0, &trip_temp); in bcm2835_thermal_probe()
263 data->tz = tz; in bcm2835_thermal_probe()
271 tz->tzp->no_hwmon = false; in bcm2835_thermal_probe()
272 err = thermal_add_hwmon_sysfs(tz); in bcm2835_thermal_probe()
280 thermal_zone_of_sensor_unregister(&pdev->dev, tz); in bcm2835_thermal_probe()
290 struct thermal_zone_device *tz = data->tz; in bcm2835_thermal_remove() local
293 thermal_zone_of_sensor_unregister(&pdev->dev, tz); in bcm2835_thermal_remove()