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

Function rt_ofw_node_test_flag

components/drivers/include/drivers/ofw.h:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114#define rt_ofw_data(np) ((struct rt_ofw_node *)np)->rt_data
115
116rt_inline rt_bool_t rt_ofw_node_test_flag(const struct rt_ofw_node *np, int flag)
117{
118 return rt_bitmap_test_bit((rt_bitmap_t *)&np->flags, flag);
119}
120
121rt_inline void rt_ofw_node_set_flag(struct rt_ofw_node *np, int flag)
122{

Callers 5

rt_ofw_stub_probe_rangeFunction · 0.85
ofw_node_destroyFunction · 0.85

Calls 1

rt_bitmap_test_bitFunction · 0.85

Tested by

no test coverage detected