Lines Matching refs:tzd
136 struct thermal_zone_device *tzd; member
1190 struct thermal_zone_device *tzd = sensor->tzd; in rockchip_thermal_toggle_sensor() local
1193 thermal_zone_device_enable(tzd); in rockchip_thermal_toggle_sensor()
1195 thermal_zone_device_disable(tzd); in rockchip_thermal_toggle_sensor()
1208 thermal_zone_device_update(thermal->sensors[i].tzd, in rockchip_thermal_alarm_irq_thread()
1329 sensor->tzd = devm_thermal_of_zone_register(&pdev->dev, id, sensor, in rockchip_thermal_register_sensor()
1331 if (IS_ERR(sensor->tzd)) { in rockchip_thermal_register_sensor()
1332 error = PTR_ERR(sensor->tzd); in rockchip_thermal_register_sensor()
1457 thermal->sensors[i].tzd->tzp->no_hwmon = false; in rockchip_thermal_probe()
1458 error = thermal_add_hwmon_sysfs(thermal->sensors[i].tzd); in rockchip_thermal_probe()
1485 thermal_remove_hwmon_sysfs(sensor->tzd); in rockchip_thermal_remove()