Lines Matching refs:tzd
208 struct thermal_zone_device *tzd; member
279 if (!chip->channels[i].tzd) in adc_tm5_isr()
298 thermal_zone_device_update(chip->channels[i].tzd, in adc_tm5_isr()
340 if (!chip->channels[i].tzd) in adc_tm5_gen2_isr()
353 thermal_zone_device_update(chip->channels[i].tzd, in adc_tm5_gen2_isr()
671 struct thermal_zone_device *tzd; in adc_tm5_register_tzd() local
675 tzd = devm_thermal_of_zone_register(adc_tm->dev, in adc_tm5_register_tzd()
679 if (IS_ERR(tzd)) { in adc_tm5_register_tzd()
680 if (PTR_ERR(tzd) == -ENODEV) { in adc_tm5_register_tzd()
687 adc_tm->channels[i].channel, PTR_ERR(tzd)); in adc_tm5_register_tzd()
688 return PTR_ERR(tzd); in adc_tm5_register_tzd()
690 adc_tm->channels[i].tzd = tzd; in adc_tm5_register_tzd()
691 devm_thermal_add_hwmon_sysfs(adc_tm->dev, tzd); in adc_tm5_register_tzd()