Home
last modified time | relevance | path

Searched refs:tz_dev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c68 struct thermal_zone_device *tz_dev; member
248 trip_points = of_thermal_get_trip_points(chip->tz_dev); in qpnp_tm_set_trip_temp()
271 thermal_zone_device_update(chip->tz_dev, THERMAL_EVENT_UNSPECIFIED); in qpnp_tm_isr()
282 ntrips = of_thermal_get_ntrips(chip->tz_dev); in qpnp_tm_get_critical_trip_temp()
286 trips = of_thermal_get_trip_points(chip->tz_dev); in qpnp_tm_get_critical_trip_temp()
291 if (of_thermal_is_trip_valid(chip->tz_dev, i) && in qpnp_tm_get_critical_trip_temp()
417 chip->tz_dev = devm_thermal_zone_of_sensor_register( in qpnp_tm_probe()
419 if (IS_ERR(chip->tz_dev)) { in qpnp_tm_probe()
421 return PTR_ERR(chip->tz_dev); in qpnp_tm_probe()
435 thermal_zone_device_update(chip->tz_dev, THERMAL_EVENT_UNSPECIFIED); in qpnp_tm_probe()
/Linux-v5.4/drivers/thermal/
Duniphier_thermal.c87 struct thermal_zone_device *tz_dev; member
240 thermal_zone_device_update(tdev->tz_dev, THERMAL_EVENT_UNSPECIFIED); in uniphier_tm_alarm_irq_thread()
292 tdev->tz_dev = devm_thermal_zone_of_sensor_register(dev, 0, tdev, in uniphier_tm_probe()
294 if (IS_ERR(tdev->tz_dev)) { in uniphier_tm_probe()
296 return PTR_ERR(tdev->tz_dev); in uniphier_tm_probe()
300 trips = of_thermal_get_trip_points(tdev->tz_dev); in uniphier_tm_probe()
301 ntrips = of_thermal_get_ntrips(tdev->tz_dev); in uniphier_tm_probe()
Dthermal-generic-adc.c18 struct thermal_zone_device *tz_dev; member
141 gti->tz_dev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, gti, in gadc_thermal_probe()
143 if (IS_ERR(gti->tz_dev)) { in gadc_thermal_probe()
144 ret = PTR_ERR(gti->tz_dev); in gadc_thermal_probe()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c203 struct iwl_mvm_thermal_device *tz_dev = &mvm->tz_device; in iwl_mvm_temp_notif() local
205 thermal_notify_framework(tz_dev->tzone, in iwl_mvm_temp_notif()
206 tz_dev->fw_trips_index[ths_crossed]); in iwl_mvm_temp_notif()