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

Function dtb_node_get_parent

components/legacy/fdt/src/dtb_access.c:396–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396struct dtb_node *dtb_node_get_parent(const struct dtb_node *node)
397{
398 const struct dtb_node *dn;
399
400 if (!node)
401 return NULL;
402
403 dn = dtb_node_get(node->parent);
404
405 return (struct dtb_node *)dn;
406}
407
408struct dtb_node *dtb_node_find_node_by_phandle(phandle handle)
409{

Callers 2

dtb_node_get_addressFunction · 0.85
dtb_node_irq_find_parentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected