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

Function dtb_node_get_name

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

Source from the content-addressed store, hash-verified

178}
179
180const char *dtb_node_get_name(const struct dtb_node *node)
181{
182 if (!dtb_node_valid(node))
183 {
184 debug("%s node not valid\n", __func__);
185 return NULL;
186 }
187
188 return strrchr(node->path, '/') + 1;
189
190}
191
192struct dtb_node *dtb_node_get_by_phandle(uint32_t phandle)
193{

Callers 1

dtb_node_find_subnodeFunction · 0.85

Calls 1

dtb_node_validFunction · 0.85

Tested by

no test coverage detected