Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/thermal/
H A 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...]
/kernel/linux/linux-5.10/include/linux/
H A Dthermal.h318 int thermal_zone_of_get_sensor_id(struct device_node *tz_np,
333 static inline int thermal_zone_of_get_sensor_id(struct device_node *tz_np, in thermal_zone_of_get_sensor_id() argument
/kernel/linux/linux-5.10/drivers/thermal/
H A Dthermal_of.c418 * @tz_np: a valid thermal zone device node.
428 int thermal_zone_of_get_sensor_id(struct device_node *tz_np, in thermal_zone_of_get_sensor_id() argument
435 ret = of_parse_phandle_with_args(tz_np, in thermal_zone_of_get_sensor_id()

Completed in 4 milliseconds