Lines Matching refs:tzd
74 struct thermal_zone_device *tzd = dev;
75 struct loongson2_thermal_data *data = thermal_zone_device_priv(tzd);
80 thermal_zone_device_update(tzd, THERMAL_EVENT_UNSPECIFIED);
101 struct thermal_zone_device *tzd;
124 tzd = devm_thermal_of_zone_register(dev, i, data,
127 if (!IS_ERR(tzd))
130 if (PTR_ERR(tzd) != -ENODEV)
133 return dev_err_probe(dev, PTR_ERR(tzd), "failed to register");
137 IRQF_ONESHOT, "loongson2_thermal", tzd);
141 devm_thermal_add_hwmon_sysfs(dev, tzd);