Searched refs:map_np (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | thermal_of.c | 292 static int __thermal_of_unbind(struct device_node *map_np, int index, int trip_id, in __thermal_of_unbind() argument 298 ret = of_parse_phandle_with_args(map_np, "cooling-device", "#cooling-cells", in __thermal_of_unbind() 323 static int __thermal_of_bind(struct device_node *map_np, int index, int trip_id, in __thermal_of_bind() argument 329 of_property_read_u32(map_np, "contribution", &weight); in __thermal_of_bind() 331 ret = of_parse_phandle_with_args(map_np, "cooling-device", "#cooling-cells", in __thermal_of_bind() 358 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 366 tr_np = of_parse_phandle(map_np, "trip", 0); in thermal_of_for_each_cooling_device() 374 count = of_count_phandle_with_args(map_np, "cooling-device", "#cooling-cells"); in thermal_of_for_each_cooling_device() 386 action(map_np, i, trip_id, tz, cdev); in thermal_of_for_each_cooling_device()
|