Lines Matching refs:tzd
158 struct thermal_zone_device *tzd; member
2068 struct thermal_zone_device *tzd = sensor->tzd; in rockchip_thermal_toggle_sensor() local
2071 thermal_zone_device_enable(tzd); in rockchip_thermal_toggle_sensor()
2073 thermal_zone_device_disable(tzd); in rockchip_thermal_toggle_sensor()
2086 thermal_zone_device_update(thermal->sensors[i].tzd, in rockchip_thermal_alarm_irq_thread()
2327 sensor->tzd = devm_thermal_zone_of_sensor_register(&pdev->dev, id, in rockchip_thermal_register_sensor()
2329 if (IS_ERR(sensor->tzd)) { in rockchip_thermal_register_sensor()
2330 error = PTR_ERR(sensor->tzd); in rockchip_thermal_register_sensor()
2362 struct thermal_zone_device *tz = sensor->tzd; in rockchip_dump_temperature()
2508 thermal->sensors[i].tzd->tzp->no_hwmon = false; in rockchip_thermal_probe()
2509 error = thermal_add_hwmon_sysfs(thermal->sensors[i].tzd); in rockchip_thermal_probe()
2538 thermal_remove_hwmon_sysfs(sensor->tzd); in rockchip_thermal_remove()