Searched refs:tz_np (Results 1 – 1 of 1) sorted by relevance
387 struct device_node *np, *tz_np; in thermal_of_zone_get_by_name() local393 tz_np = of_get_child_by_name(np, tz->type); in thermal_of_zone_get_by_name()397 if (!tz_np) in thermal_of_zone_get_by_name()400 return tz_np; in thermal_of_zone_get_by_name()469 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() argument481 trip_id = of_find_trip_id(tz_np, tr_np); in thermal_of_for_each_cooling_device()507 struct device_node *tz_np, *cm_np, *child; in thermal_of_for_each_cooling_maps() local510 tz_np = thermal_of_zone_get_by_name(tz); in thermal_of_for_each_cooling_maps()511 if (IS_ERR(tz_np)) { in thermal_of_for_each_cooling_maps()513 return PTR_ERR(tz_np); in thermal_of_for_each_cooling_maps()[all …]