MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / dtb_node_get_chosen_node

Function dtb_node_get_chosen_node

components/legacy/fdt/src/dtb_base.c:302–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302struct dtb_node *dtb_node_get_chosen_node(const char *name)
303{
304 const char *prop;
305
306 prop = dtb_node_get_chosen_prop(name);
307 if (!prop)
308 return NULL;
309
310 return dtb_node_path(prop);
311}
312
313const void *dtb_node_get_property(const struct dtb_node *node, const char *propname, int *lenp)
314{

Callers

nothing calls this directly

Calls 2

dtb_node_get_chosen_propFunction · 0.85
dtb_node_pathFunction · 0.85

Tested by

no test coverage detected