Searched refs:node_off (Results 1 – 3 of 3) sorted by relevance
| /components/legacy/fdt/src/ |
| A D | dtb_set.c | 108 int node_off; in dtb_node_set_dtb_property() local 115 node_off = fdt_path_offset(fdt, pathname); in dtb_node_set_dtb_property() 117 if (node_off >= 0 && cells_size != 0) in dtb_node_set_dtb_property() 119 fdt_setprop(fdt, node_off, property_name, cells, cells_size); in dtb_node_set_dtb_property()
|
| A D | dtb_get.c | 24 static int _dtb_node_get_dtb_properties_list(struct dtb_property *dtb_property, off_t node_off) in _dtb_node_get_dtb_properties_list() argument 27 off_t property_off = fdt_first_property_offset(current_fdt, node_off); in _dtb_node_get_dtb_properties_list() 68 off_t node_off; in _dtb_node_get_dtb_nodes_list() local 80 node_off = fdt_first_subnode(current_fdt, root_off); in _dtb_node_get_dtb_nodes_list() 82 if (node_off < 0) in _dtb_node_get_dtb_nodes_list() 91 dtb_node->name = fdt_get_name(current_fdt, node_off, &node_name_sz); in _dtb_node_get_dtb_nodes_list() 112 dtb_node->handle = fdt_get_phandle(current_fdt, node_off); in _dtb_node_get_dtb_nodes_list() 123 fdt_exec_status = _dtb_node_get_dtb_properties_list(dtb_node->properties, node_off); in _dtb_node_get_dtb_nodes_list() 145 node_off = fdt_next_subnode(current_fdt, node_off); in _dtb_node_get_dtb_nodes_list() 146 if (node_off >= 0) in _dtb_node_get_dtb_nodes_list()
|
| /components/drivers/ofw/ |
| A D | fdt.c | 902 static rt_err_t fdt_unflatten_props(struct rt_ofw_node *np, int node_off) in fdt_unflatten_props() argument 906 int prop_off = fdt_first_property_offset(_fdt, node_off); in fdt_unflatten_props() 959 np->full_name = fdt_get_name(_fdt, node_off, RT_NULL); in fdt_unflatten_single() 960 np->phandle = fdt_get_phandle(_fdt, node_off); in fdt_unflatten_single() 975 if ((err = fdt_unflatten_props(np, node_off))) in fdt_unflatten_single() 988 rt_ofw_data(np) = (void *)(rt_ubase_t)node_off; in fdt_unflatten_single() 991 node_off = fdt_first_subnode(_fdt, node_off); in fdt_unflatten_single() 993 if (node_off >= 0) in fdt_unflatten_single() 1009 node_off = (long)rt_ofw_data(np); in fdt_unflatten_single() 1013 node_off = fdt_next_subnode(_fdt, node_off); in fdt_unflatten_single() [all …]
|
Completed in 9 milliseconds