Home
last modified time | relevance | path

Searched refs:ti_thermal (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c29 struct thermal_zone_device *ti_thermal; member
44 thermal_zone_device_update(data->ti_thermal, THERMAL_EVENT_UNSPECIFIED); in ti_thermal_work()
46 dev_dbg(&data->ti_thermal->device, "updated thermal zone %s\n", in ti_thermal_work()
47 data->ti_thermal->type); in ti_thermal_work()
173 data->ti_thermal = devm_thermal_of_zone_register(bgp->dev, id, in ti_thermal_expose_sensor()
175 if (IS_ERR(data->ti_thermal)) { in ti_thermal_expose_sensor()
177 return PTR_ERR(data->ti_thermal); in ti_thermal_expose_sensor()
180 interval = jiffies_to_msecs(data->ti_thermal->polling_delay_jiffies); in ti_thermal_expose_sensor()
185 if (devm_thermal_add_hwmon_sysfs(data->ti_thermal)) in ti_thermal_expose_sensor()
197 if (!IS_ERR_OR_NULL(data) && data->ti_thermal) { in ti_thermal_remove_sensor()
[all …]
/Linux-v6.1/drivers/thermal/
Dk3_j72xx_bandgap.c363 struct thermal_zone_device *ti_thermal; in k3_j72xx_bandgap_probe() local
477 ti_thermal = devm_thermal_of_zone_register(bgp->dev, id, &data[id], in k3_j72xx_bandgap_probe()
479 if (IS_ERR(ti_thermal)) { in k3_j72xx_bandgap_probe()
481 ret = PTR_ERR(ti_thermal); in k3_j72xx_bandgap_probe()