Lines Matching full:tz
205 struct thermal_zone_device *tz; member
254 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp() argument
256 struct imx_thermal_data *data = thermal_zone_device_priv(tz); in imx_get_temp()
310 static int imx_change_mode(struct thermal_zone_device *tz, in imx_change_mode() argument
313 struct imx_thermal_data *data = thermal_zone_device_priv(tz); in imx_change_mode()
334 static int imx_set_trip_temp(struct thermal_zone_device *tz, in imx_set_trip_temp() argument
337 struct imx_thermal_data *data = thermal_zone_device_priv(tz); in imx_set_trip_temp()
356 static bool imx_should_bind(struct thermal_zone_device *tz, in imx_should_bind() argument
523 thermal_zone_device_update(data->tz, THERMAL_EVENT_UNSPECIFIED); in imx_thermal_alarm_irq_thread()
682 data->tz = thermal_zone_device_register_with_trips("imx_thermal_zone", in imx_thermal_probe()
689 if (IS_ERR(data->tz)) { in imx_thermal_probe()
690 ret = PTR_ERR(data->tz); in imx_thermal_probe()
728 ret = thermal_zone_device_enable(data->tz); in imx_thermal_probe()
745 thermal_zone_device_unregister(data->tz); in imx_thermal_probe()
764 thermal_zone_device_unregister(data->tz); in imx_thermal_remove()
780 ret = thermal_zone_device_disable(data->tz); in imx_thermal_suspend()
796 return thermal_zone_device_enable(data->tz); in imx_thermal_resume()