Searched refs:tz_dev (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/thermal/qcom/ |
D | qcom-spmi-temp-alarm.c | 72 struct thermal_zone_device *tz_dev; member 271 ret = __thermal_zone_get_trip(chip->tz_dev, trip_id, &trip); in qpnp_tm_set_trip_temp() 294 thermal_zone_device_update(chip->tz_dev, THERMAL_EVENT_UNSPECIFIED); in qpnp_tm_isr() 304 for (i = 0; i < thermal_zone_get_num_trips(chip->tz_dev); i++) { in qpnp_tm_get_critical_trip_temp() 306 ret = thermal_zone_get_trip(chip->tz_dev, i, &trip); in qpnp_tm_get_critical_trip_temp() 445 chip->tz_dev = devm_thermal_of_zone_register( in qpnp_tm_probe() 447 if (IS_ERR(chip->tz_dev)) in qpnp_tm_probe() 448 return dev_err_probe(&pdev->dev, PTR_ERR(chip->tz_dev), in qpnp_tm_probe() 455 devm_thermal_add_hwmon_sysfs(&pdev->dev, chip->tz_dev); in qpnp_tm_probe() 462 thermal_zone_device_update(chip->tz_dev, THERMAL_EVENT_UNSPECIFIED); in qpnp_tm_probe()
|
/Linux-v6.6/drivers/thermal/ |
D | thermal-generic-adc.c | 20 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() 157 devm_thermal_add_hwmon_sysfs(&pdev->dev, gti->tz_dev); in gadc_thermal_probe()
|
D | uniphier_thermal.c | 84 struct thermal_zone_device *tz_dev; member 237 thermal_zone_device_update(tdev->tz_dev, THERMAL_EVENT_UNSPECIFIED); in uniphier_tm_alarm_irq_thread() 288 tdev->tz_dev = devm_thermal_of_zone_register(dev, 0, tdev, in uniphier_tm_probe() 290 if (IS_ERR(tdev->tz_dev)) { in uniphier_tm_probe() 292 return PTR_ERR(tdev->tz_dev); in uniphier_tm_probe() 296 for (i = 0; i < thermal_zone_get_num_trips(tdev->tz_dev); i++) { in uniphier_tm_probe() 299 ret = thermal_zone_get_trip(tdev->tz_dev, i, &trip); in uniphier_tm_probe()
|
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 147 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()
|