Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/thermal/
Dthermal_of.c271 struct device_node *np, *tz_np; in thermal_of_zone_get_by_name() local
277 tz_np = of_get_child_by_name(np, tz->type); in thermal_of_zone_get_by_name()
281 if (!tz_np) in thermal_of_zone_get_by_name()
284 return tz_np; in thermal_of_zone_get_by_name()
353 static int thermal_of_for_each_cooling_device(struct device_node *tz_np, struct device_node *map_np, in thermal_of_for_each_cooling_device() argument
365 trip_id = of_find_trip_id(tz_np, tr_np); in thermal_of_for_each_cooling_device()
391 struct device_node *tz_np, *cm_np, *child; in thermal_of_for_each_cooling_maps() local
394 tz_np = thermal_of_zone_get_by_name(tz); in thermal_of_for_each_cooling_maps()
395 if (IS_ERR(tz_np)) { in thermal_of_for_each_cooling_maps()
397 return PTR_ERR(tz_np); in thermal_of_for_each_cooling_maps()
[all …]