Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dthermal_of.c291 static int __thermal_of_unbind(struct device_node *map_np, int index, int trip_id, in __thermal_of_unbind() argument
297 ret = of_parse_phandle_with_args(map_np, "cooling-device", "#cooling-cells", in __thermal_of_unbind()
322 static int __thermal_of_bind(struct device_node *map_np, int index, int trip_id, in __thermal_of_bind() argument
328 of_property_read_u32(map_np, "contribution", &weight); in __thermal_of_bind()
330 ret = of_parse_phandle_with_args(map_np, "cooling-device", "#cooling-cells", in __thermal_of_bind()
357 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 tr_np = of_parse_phandle(map_np, "trip", 0); in thermal_of_for_each_cooling_device()
373 count = of_count_phandle_with_args(map_np, "cooling-device", "#cooling-cells"); in thermal_of_for_each_cooling_device()
385 action(map_np, i, trip_id, tz, cdev); in thermal_of_for_each_cooling_device()