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

Function rt_ofw_prop_read_bool

components/drivers/include/drivers/ofw.h:323–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323rt_inline rt_bool_t rt_ofw_prop_read_bool(const struct rt_ofw_node *np, const char *propname)
324{
325 return rt_ofw_get_prop(np, propname, RT_NULL) ? RT_TRUE : RT_FALSE;
326}
327
328rt_inline int rt_ofw_prop_count_of_u8(const struct rt_ofw_node *np, const char *propname)
329{

Callers 15

spi_device_ofw_parseFunction · 0.85
spi_bus_scan_devicesFunction · 0.85
ofw_get_reset_controlFunction · 0.85
ofw_pin_ctrl_confs_applyFunction · 0.85
gpio_led_probeFunction · 0.85
ofw_parse_objectFunction · 0.85
rt_ofw_get_clk_arrayFunction · 0.85
gicv2m_ofw_probeFunction · 0.85
gicv3_ofw_initFunction · 0.85
its_set_non_coherentFunction · 0.85
gicv3_its_ofw_probeFunction · 0.85
gicv2_ofw_initFunction · 0.85

Calls 1

rt_ofw_get_propFunction · 0.85

Tested by

no test coverage detected