Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c74 struct thermal_zone_device *tz_dev; member
273 trip_points = of_thermal_get_trip_points(chip->tz_dev); in qpnp_tm_set_trip_temp()
296 thermal_zone_device_update(chip->tz_dev, THERMAL_EVENT_UNSPECIFIED); in qpnp_tm_isr()
307 ntrips = of_thermal_get_ntrips(chip->tz_dev); in qpnp_tm_get_critical_trip_temp()
311 trips = of_thermal_get_trip_points(chip->tz_dev); in qpnp_tm_get_critical_trip_temp()
316 if (of_thermal_is_trip_valid(chip->tz_dev, i) && in qpnp_tm_get_critical_trip_temp()
450 chip->tz_dev = devm_thermal_of_zone_register( in qpnp_tm_probe()
452 if (IS_ERR(chip->tz_dev)) { in qpnp_tm_probe()
454 return PTR_ERR(chip->tz_dev); in qpnp_tm_probe()
463 if (devm_thermal_add_hwmon_sysfs(chip->tz_dev)) in qpnp_tm_probe()
[all …]
/linux-6.1.9/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_of_zone_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
146 gti->tz_dev = devm_thermal_of_zone_register(&pdev->dev, 0, gti, in gadc_thermal_probe()
148 if (IS_ERR(gti->tz_dev)) { in gadc_thermal_probe()
149 ret = PTR_ERR(gti->tz_dev); in gadc_thermal_probe()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c147 struct iwl_mvm_thermal_device *tz_dev = &mvm->tz_device; in iwl_mvm_temp_notif() local
149 thermal_zone_device_update(tz_dev->tzone, in iwl_mvm_temp_notif()