Lines Matching refs:tzd
193 * @tzd: thermal zone device used by this channel.
208 struct thermal_zone_device *tzd;
279 if (!chip->channels[i].tzd)
298 thermal_zone_device_update(chip->channels[i].tzd,
340 if (!chip->channels[i].tzd)
353 thermal_zone_device_update(chip->channels[i].tzd,
671 struct thermal_zone_device *tzd;
675 tzd = devm_thermal_of_zone_register(adc_tm->dev,
679 if (IS_ERR(tzd)) {
680 if (PTR_ERR(tzd) == -ENODEV) {
687 adc_tm->channels[i].channel, PTR_ERR(tzd));
688 return PTR_ERR(tzd);
690 adc_tm->channels[i].tzd = tzd;
691 devm_thermal_add_hwmon_sysfs(adc_tm->dev, tzd);
1042 dev_err(dev, "tzd register failed\n");