Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A Dti-thermal-common.c31 struct thermal_zone_device *ti_thermal; member
46 thermal_zone_device_update(data->ti_thermal, THERMAL_EVENT_UNSPECIFIED); in ti_thermal_work()
49 thermal_zone_device_type(data->ti_thermal)); in ti_thermal_work()
176 data->ti_thermal = devm_thermal_of_zone_register(bgp->dev, id, in ti_thermal_expose_sensor()
178 if (IS_ERR(data->ti_thermal)) { in ti_thermal_expose_sensor()
180 return PTR_ERR(data->ti_thermal); in ti_thermal_expose_sensor()
187 devm_thermal_add_hwmon_sysfs(bgp->dev, data->ti_thermal); in ti_thermal_expose_sensor()
198 if (!IS_ERR_OR_NULL(data) && data->ti_thermal) { in ti_thermal_remove_sensor()
200 thermal_zone_device_unregister(data->ti_thermal); in ti_thermal_remove_sensor()
/openbmc/linux/drivers/thermal/
H A Dk3_j72xx_bandgap.c355 struct thermal_zone_device *ti_thermal; in k3_j72xx_bandgap_probe() local
480 ti_thermal = devm_thermal_of_zone_register(bgp->dev, id, &data[id], in k3_j72xx_bandgap_probe()
482 if (IS_ERR(ti_thermal)) { in k3_j72xx_bandgap_probe()
484 ret = PTR_ERR(ti_thermal); in k3_j72xx_bandgap_probe()