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

Function rt_ofw_node_get

components/drivers/ofw/base.c:251–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251struct rt_ofw_node *rt_ofw_node_get(struct rt_ofw_node *np)
252{
253 if (np)
254 {
255 LOG_D("%s get ref = %d", np->full_name, rt_ref_read(&np->ref));
256 rt_ref_get(&np->ref);
257 }
258
259 return np;
260}
261
262static void ofw_node_release(struct rt_ref *r)
263{

Callers 12

rt_ofw_find_irq_parentFunction · 0.85
rt_ofw_find_node_by_nameFunction · 0.85
rt_ofw_find_node_by_pathFunction · 0.85
rt_ofw_get_parentFunction · 0.85
rt_ofw_get_next_nodeFunction · 0.85
rt_ofw_get_next_parentFunction · 0.85
rt_ofw_get_next_childFunction · 0.85
rt_ofw_get_next_cpu_nodeFunction · 0.85
rt_ofw_append_childFunction · 0.85

Calls 2

rt_ref_readFunction · 0.85
rt_ref_getFunction · 0.85

Tested by

no test coverage detected