Lines Matching full:tz
121 struct thermal_zone_device *tz; member
415 static int armada_get_temp(struct thermal_zone_device *tz, int *temp) in armada_get_temp() argument
417 struct armada_thermal_sensor *sensor = thermal_zone_device_priv(tz); in armada_get_temp()
796 struct thermal_zone_device *tz, in armada_configure_overheat_int() argument
803 ret = thermal_zone_get_crit_temp(tz, &temperature); in armada_configure_overheat_int()
815 priv->overheat_sensor = tz; in armada_configure_overheat_int()
824 struct thermal_zone_device *tz; in armada_thermal_probe() local
874 tz = thermal_tripless_zone_device_register(priv->zone_name, in armada_thermal_probe()
877 if (IS_ERR(tz)) { in armada_thermal_probe()
880 return PTR_ERR(tz); in armada_thermal_probe()
883 ret = thermal_zone_device_enable(tz); in armada_thermal_probe()
885 thermal_zone_device_unregister(tz); in armada_thermal_probe()
890 drvdata->data.tz = tz; in armada_thermal_probe()
937 tz = devm_thermal_of_zone_register(&pdev->dev, in armada_thermal_probe()
940 if (IS_ERR(tz)) { in armada_thermal_probe()
953 armada_configure_overheat_int(priv, tz, sensor->id); in armada_thermal_probe()
968 thermal_zone_device_unregister(drvdata->data.tz); in armada_thermal_exit()