| 297 | } |
| 298 | |
| 299 | struct dtb_node *dtb_node_find_compatible_node(struct dtb_node *from, const char *compatible) |
| 300 | { |
| 301 | struct dtb_node *dn; |
| 302 | |
| 303 | for_each_of_allnodes_from(from, dn) |
| 304 | { |
| 305 | if (dtb_node_get_dtb_node_compatible_match(dn, compatible) && |
| 306 | dtb_node_get(dn)) |
| 307 | break; |
| 308 | } |
| 309 | dtb_node_put(from); |
| 310 | |
| 311 | return dn; |
| 312 | } |
| 313 | |
| 314 | void *dtb_node_get_dtb_node_property_value(const struct dtb_node *dtb_node, const char *property_name, int *property_size) |
| 315 | { |
nothing calls this directly
no test coverage detected