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

Function rt_fdt_node_name

components/drivers/ofw/fdt.c:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#endif
45
46const char *rt_fdt_node_name(const char *full_name)
47{
48 const char *node_name = strrchr(full_name, '/');
49
50 return node_name ? node_name + 1 : full_name;
51}
52
53rt_uint64_t rt_fdt_read_number(const fdt32_t *cell, int size)
54{

Callers 3

ofw_device_renameFunction · 0.85
rt_ofw_node_tag_equFunction · 0.85
rt_ofw_node_tag_prefixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected