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

Function rt_ofw_parse_phandle_cells

components/drivers/ofw/base.c:1549–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1547}
1548
1549rt_err_t rt_ofw_parse_phandle_cells(const struct rt_ofw_node *np, const char *list_name, const char *cells_name,
1550 int index, struct rt_ofw_cell_args *out_args)
1551{
1552 rt_err_t err;
1553
1554 if (np && list_name && index >= 0 && out_args)
1555 {
1556 err = ofw_parse_phandle_cells(np, list_name, cells_name, index, out_args);
1557 }
1558 else
1559 {
1560 err = -RT_EINVAL;
1561 }
1562
1563 return err;
1564}
1565
1566int rt_ofw_count_phandle_cells(const struct rt_ofw_node *np, const char *list_name, const char *cells_name)
1567{

Callers 15

ofw_get_reset_controlFunction · 0.85
ofw_find_power_domainFunction · 0.85
rt_ofw_get_named_pinFunction · 0.85
ofw_parse_irq_cellsFunction · 0.85
rt_ofw_parse_phandleFunction · 0.85
ofw_get_clk_no_lockFunction · 0.85
gicv3_its_irq_alloc_msiFunction · 0.85
ofw_find_dma_controllerFunction · 0.85
ofw_phye_get_by_indexFunction · 0.85
thermal_ofw_setupFunction · 0.85

Calls 1

ofw_parse_phandle_cellsFunction · 0.85

Tested by

no test coverage detected