Searched refs:ti_thermal (Results 1 – 2 of 2) sorted by relevance
31 struct thermal_zone_device *ti_thermal; member46 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()
378 struct thermal_zone_device *ti_thermal; in k3_j72xx_bandgap_probe() local509 ti_thermal = devm_thermal_of_zone_register(bgp->dev, id, &data[id], in k3_j72xx_bandgap_probe()511 if (IS_ERR(ti_thermal)) { in k3_j72xx_bandgap_probe()513 ret = PTR_ERR(ti_thermal); in k3_j72xx_bandgap_probe()