Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dthermal_of.c273 struct device_node *np, *tz_np; in thermal_of_zone_get_by_name() local
279 tz_np = of_get_child_by_name(np, tz->type); in thermal_of_zone_get_by_name()
283 if (!tz_np) in thermal_of_zone_get_by_name()
286 return tz_np; in thermal_of_zone_get_by_name()
355 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
367 trip_id = of_find_trip_id(tz_np, tr_np); in thermal_of_for_each_cooling_device()
393 struct device_node *tz_np, *cm_np, *child; in thermal_of_for_each_cooling_maps() local
396 tz_np = thermal_of_zone_get_by_name(tz); in thermal_of_for_each_cooling_maps()
397 if (IS_ERR(tz_np)) { in thermal_of_for_each_cooling_maps()
399 return PTR_ERR(tz_np); in thermal_of_for_each_cooling_maps()
[all …]